<xs:element name="manifest">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="packages:label"/>
- <xs:element ref="packages:icon"/>
- <xs:element ref="packages:author"/>
- <xs:element ref="packages:description"/>
- <xs:element ref="packages:compatibility"/>
- <xs:element ref="packages:profile"/>
- <xs:element ref="packages:watch-application"/>
- <xs:element ref="packages:watchface"/>
- <xs:element ref="packages:service-application"/>
- <xs:element ref="packages:ui-application"/>
- <xs:element ref="packages:ime-application"/>
- <xs:element ref="packages:shortcut-list"/>
- <xs:element ref="packages:widget"/>
- <xs:element ref="packages:widget-application"/>
- <xs:element ref="packages:account"/>
- <xs:element ref="packages:notifications"/>
- <xs:element ref="packages:privileges"/>
- <xs:element ref="packages:font"/>
- <xs:element ref="packages:ime"/>
- <xs:element ref="packages:feature"/>
- </xs:choice>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="packages:label"/>
+ <xs:element ref="packages:icon"/>
+ <xs:element ref="packages:author"/>
+ <xs:element ref="packages:description"/>
+ <xs:element ref="packages:compatibility"/>
+ <xs:element ref="packages:profile"/>
+ <xs:element ref="packages:watch-application"/>
+ <xs:element ref="packages:watchface"/>
+ <xs:element ref="packages:service-application"/>
+ <xs:element ref="packages:ui-application"/>
+ <xs:element ref="packages:ime-application"/>
+ <xs:element ref="packages:shortcut-list"/>
+ <xs:element ref="packages:widget"/>
+ <xs:element ref="packages:widget-application"/>
+ <xs:element ref="packages:account"/>
+ <xs:element ref="packages:notifications"/>
+ <xs:element ref="packages:privileges"/>
+ <xs:element ref="packages:font"/>
+ <xs:element ref="packages:ime"/>
+ <xs:element ref="packages:feature"/>
+ <xs:element ref="packages:trust-anchor"/>
+ <xs:element ref="packages:component-based-application"/>
+ <xs:element ref="packages:dependencies"/>
+ <xs:element ref="packages:light-user"/>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
- </xs:sequence>
+ </xs:choice>
<xs:attribute name="storeclient-id" type="xs:string"/>
<xs:attribute name="install-location" type="xs:string"/>
<xs:attribute name="package" use="required" type="xs:string"/>
</xs:element>
<xs:element name="watch-application">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="packages:label"/>
- <xs:element ref="packages:icon"/>
- </xs:choice>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="packages:label"/>
+ <xs:element ref="packages:icon"/>
+ <xs:element ref="packages:res-control"/>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
- </xs:sequence>
+ </xs:choice>
<xs:attribute name="appid" use="required" type="xs:string"/>
<xs:attribute name="exec" use="required"/>
<xs:attribute name="ambient-support" type="xs:boolean"/>
+ <xs:attribute name="api-version" type="xs:string"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
</xs:element>
<xs:element name="service-application">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="packages:label"/>
- <xs:element ref="packages:icon"/>
- <xs:element ref="packages:application-service"/>
- <xs:element ref="packages:app-control"/>
- <xs:element ref="packages:category"/>
- <xs:element ref="packages:metadata"/>
- <xs:element ref="packages:permission"/>
- <xs:element ref="packages:datacontrol"/>
- <xs:element ref="packages:background-category"/>
- </xs:choice>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="packages:label"/>
+ <xs:element ref="packages:icon"/>
+ <xs:element ref="packages:application-service"/>
+ <xs:element ref="packages:app-control"/>
+ <xs:element ref="packages:category"/>
+ <xs:element ref="packages:metadata"/>
+ <xs:element ref="packages:permission"/>
+ <xs:element ref="packages:datacontrol"/>
+ <xs:element ref="packages:background-category"/>
+ <xs:element ref="packages:res-control"/>
+ <xs:element ref="packages:boot-sequence"/>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
- </xs:sequence>
+ </xs:choice>
<xs:attribute name="appid" use="required" type="xs:string"/>
<xs:attribute name="auto-restart" type="xs:boolean"/>
<xs:attribute name="exec" use="required"/>
<xs:attribute name="permission-type" type="xs:string"/>
<xs:attribute name="component-type" type="xs:string"/>
<xs:attribute name="nodisplay" type="xs:boolean"/>
+ <xs:attribute name="api-version" type="xs:string"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
<xs:element name="ui-application">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="packages:label"/>
- <xs:element ref="packages:icon"/>
- <xs:element ref="packages:image"/>
- <xs:element ref="packages:application-service"/>
- <xs:element ref="packages:app-control"/>
- <xs:element ref="packages:category"/>
- <xs:element ref="packages:metadata"/>
- <xs:element ref="packages:permission"/>
- <xs:element ref="packages:datacontrol"/>
- <xs:element ref="packages:background-category"/>
- <xs:element ref="packages:splash-screens"/>
- </xs:choice>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="packages:label"/>
+ <xs:element ref="packages:icon"/>
+ <xs:element ref="packages:image"/>
+ <xs:element ref="packages:application-service"/>
+ <xs:element ref="packages:app-control"/>
+ <xs:element ref="packages:category"/>
+ <xs:element ref="packages:metadata"/>
+ <xs:element ref="packages:permission"/>
+ <xs:element ref="packages:datacontrol"/>
+ <xs:element ref="packages:background-category"/>
+ <xs:element ref="packages:splash-screens"/>
+ <xs:element ref="packages:res-control"/>
+ <xs:element ref="packages:boot-sequence"/>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
- </xs:sequence>
+ </xs:choice>
<xs:attribute name="appid" use="required" type="xs:string"/>
<xs:attribute name="exec" use="required"/>
<xs:attribute name="multiple" type="xs:boolean"/>
<xs:attribute name="ui-gadget" type="xs:boolean"/>
<xs:attribute name="launch_mode" type="xs:string"/>
<xs:attribute name="splash-screen-display" type="xs:boolean"/>
+ <xs:attribute name="api-version" type="xs:string"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
<xs:element name="ime-application">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="packages:label"/>
- <xs:element ref="packages:icon"/>
- </xs:choice>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="packages:label"/>
+ <xs:element ref="packages:icon"/>
+ <xs:element ref="packages:res-control"/>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
- </xs:sequence>
+ </xs:choice>
<xs:attribute name="appid" use="required" type="xs:string"/>
<xs:attribute name="exec" use="required" type="xs:NCName"/>
<xs:attribute name="multiple" type="xs:boolean"/>
<xs:attribute name="nodisplay" type="xs:boolean"/>
<xs:attribute name="type" use="required" type="xs:string"/>
+ <xs:attribute name="api-version" type="xs:string"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
</xs:element>
<xs:element name="widget-application">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="packages:label"/>
- <xs:element ref="packages:icon"/>
- <xs:element ref="packages:support-size"/>
- </xs:choice>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="packages:label"/>
+ <xs:element ref="packages:icon"/>
+ <xs:element ref="packages:metadata"/>
+ <xs:element ref="packages:support-size"/>
+ <xs:element ref="packages:res-control"/>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
- </xs:sequence>
+ </xs:choice>
<xs:attribute name="appid" use="required" type="xs:string"/>
<xs:attribute name="exec" use="required"/>
<xs:attribute name="main" type="xs:boolean"/>
<xs:attribute name="update-period" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="max-instance" type="xs:nonNegativeInteger"/>
<xs:attribute name="preview" type="xs:string"/>
+ <xs:attribute name="api-version" type="xs:string"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
</xs:element>
<xs:element name="feature">
</xs:element>
+ <xs:element name="trust-anchor">
+ <xs:complexType>
+ <xs:attribute name="use-system-certs" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
<xs:element name="privileges">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="packages:privilege"/>
- </xs:choice>
- </xs:sequence>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="packages:privilege"/>
+ <xs:element ref="packages:appdefined-privilege"/>
+ </xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="privilege">
+ <xs:complexType mixed="true">
+ <xs:attribute name="type" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="provides-appdefined-privileges">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="packages:appdefined-privilege"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="appdefined-privilege">
+ <xs:complexType mixed="true">
+ <xs:attribute name="type" type="xs:string"/>
+ <xs:attribute name="license" type="xs:string"/>
+ </xs:complexType>
</xs:element>
<xs:element name="font">
</xs:element>
</xs:element>
<xs:element name="application-service">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="packages:operation"/>
- <xs:element ref="packages:uri"/>
- <xs:element ref="packages:mime"/>
- <xs:element ref="packages:subapp"/>
- <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
- </xs:choice>
- </xs:sequence>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="packages:operation"/>
+ <xs:element ref="packages:uri"/>
+ <xs:element ref="packages:mime"/>
+ <xs:element ref="packages:subapp"/>
+ <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
+ </xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="app-control">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="packages:operation"/>
- <xs:element ref="packages:uri"/>
- <xs:element ref="packages:mime"/>
- <xs:element ref="packages:subapp"/>
- <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
- </xs:choice>
- </xs:sequence>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="packages:operation"/>
+ <xs:element ref="packages:uri"/>
+ <xs:element ref="packages:mime"/>
+ <xs:element ref="packages:subapp"/>
+ <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
+ </xs:choice>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="visibility" type="xs:string"/>
+ <xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
<xs:element name="category">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:any minOccurs="0" processContents="lax"/>
- </xs:choice>
- </xs:sequence>
+ <xs:choice maxOccurs="unbounded">
+ <xs:any minOccurs="0" processContents="lax"/>
+ </xs:choice>
<xs:attribute name="name" use="required"/>
<xs:anyAttribute processContents="lax"/>
</xs:complexType>
</xs:element>
<xs:element name="datacontrol">
<xs:complexType>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="packages:privilege"/>
+ </xs:choice>
<xs:attribute name="providerid" type="xs:string"/>
<xs:attribute name="access" type="xs:string"/>
<xs:attribute name="type" type="xs:string"/>
+ <xs:attribute name="trusted" type="xs:boolean"/>
<xs:anyAttribute processContents="lax"/>
</xs:complexType>
</xs:element>
</xs:element>
<xs:element name="splash-screens">
<xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="packages:splash-screen"/>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
- </xs:choice>
- </xs:sequence>
+ </xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="splash-screen">
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
+ <xs:element name="component-based-application">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="packages:icon"/>
+ <xs:element ref="packages:label"/>
+ <xs:element ref="packages:metadata"/>
+ <xs:element ref="packages:background-category"/>
+ <xs:element ref="packages:res-control"/>
+ <xs:element ref="packages:app-control"/>
+ <xs:element ref="packages:category"/>
+ <xs:element ref="packages:datacontrol"/>
+ <xs:element ref="packages:splash-screens"/>
+ <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
+ </xs:choice>
+ <xs:attribute name="appid" use="required" type="xs:string"/>
+ <xs:attribute name="exec" use="required"/>
+ <xs:attribute name="type" use="required" type="xs:string"/>
+ <xs:attribute name="api-version" type="xs:string"/>
+ <xs:attribute name="hw-acceleration" type="xs:string"/>
+ <xs:attribute name="splash-screen-display" type="xs:boolean"/>
+ <xs:anyAttribute namespace="##any" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="dependencies">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="packages:dependency"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="dependency">
+ <xs:complexType mixed="true">
+ <xs:attribute name="type" use="required" type="xs:string"/>
+ <xs:attribute name="required-version" type="xs:string"/>
+ <xs:anyAttribute namespace="##any" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="res-control">
+ <xs:complexType>
+ <xs:attribute name="resource-type" use="required" type="xs:string"/>
+ <xs:attribute name="min-res-version" type="xs:string"/>
+ <xs:attribute name="max-res-version" type="xs:string"/>
+ <xs:attribute name="auto-close" type="xs:string"/>
+ <xs:anyAttribute namespace="##any" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="boot-sequence">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element name="dependency">
+ <xs:complexType mixed="true">
+ <xs:attribute name="requires" type="xs:string"/>
+ <xs:attribute name="after" type="xs:string"/>
+ <xs:attribute name="before" type="xs:string"/>
+ <xs:attribute name="wants" type="xs:string"/>
+ <xs:attribute name="vconf" type="xs:string"/>
+ <xs:attribute name="path-exists" type="xs:string"/>
+ <xs:anyAttribute namespace="##any" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="option">
+ <xs:complexType mixed="true">
+ <xs:attribute name="args" type="xs:string"/>
+ <xs:attribute name="background-launch" type="xs:string"/>
+ <xs:anyAttribute namespace="##any" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="light-user">
+ <xs:complexType>
+ <xs:attribute name="switch-mode" use="required" type="xs:string"/>
+ <xs:anyAttribute namespace="##any" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
</xs:schema>