<xs:element ref="packages:compatibility"/>
<xs:element ref="packages:profile"/>
<xs:element ref="packages:watch-application"/>
- <xs:element ref="packages:watchface"/> <!-- TBD -->
+ <xs:element ref="packages:watchface"/>
<xs:element ref="packages:service-application"/>
<xs:element ref="packages:ui-application"/>
- <xs:element ref="packages:ime-application"/> <!-- TBD -->
- <xs:element ref="packages:shortcut-list"/> <!-- TBD -->
- <xs:element ref="packages:widget"/> <!-- TBD -->
- <xs:element ref="packages:widget-application"/> <!-- TBD -->
- <xs:element ref="packages:account"/> <!-- TBD -->
- <xs:element ref="packages:notifications"/> <!-- TBD -->
+ <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"/> <!-- TBD -->
- <xs:element ref="packages:ime"/> <!-- TBD -->
- <xs:element ref="packages:feature"/> <!-- TBD -->
+ <xs:element ref="packages:font"/>
+ <xs:element ref="packages:ime"/>
+ <xs:element ref="packages:feature"/>
</xs:choice>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xs:sequence>
<xs:attribute name="storeclient-id" type="xs:string"/>
- <xs:attribute name="install-location" type="packages:InstallLocationType"/>
+ <xs:attribute name="install-location" type="xs:string"/>
<xs:attribute name="package" use="required" type="xs:string"/>
- <xs:attribute name="type" type="packages:PackageType"/>
- <xs:attribute name="version" use="required" type="xs:NMTOKEN"/>
+ <xs:attribute name="type" type="xs:string"/>
+ <xs:attribute name="version" use="required" type="xs:string"/>
<xs:attribute name="size" type="xs:NMTOKEN"/>
<xs:attribute name="root_path" type="xs:string"/>
<xs:attribute name="csc_path" type="xs:string"/>
<xs:attribute name="support-disable" type="xs:boolean"/>
<xs:attribute name="api-version" type="xs:string"/>
<xs:attribute name="backend-installer" type="xs:string"/>
+ <xs:attribute name="preload" type="xs:boolean"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
- <xs:simpleType name="InstallLocationType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="auto"/>
- <xs:enumeration value="internal-only"/>
- <xs:enumeration value="prefer-external"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="PackageType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="rpm"/>
- <xs:enumeration value="tpk"/>
- <xs:enumeration value="wgt"/>
- <xs:enumeration value="apk"/>
- <xs:enumeration value="coretpk"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="ProfileType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="mobile"/>
- <xs:enumeration value="wearable"/>
- <xs:enumeration value="TV"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="TypeType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="capp"/>
- <xs:enumeration value="c++app"/>
- <xs:enumeration value="webapp"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="HwAccelerationType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="on"/>
- <xs:enumeration value="off"/>
- <xs:enumeration value="default"/>
- <xs:enumeration value="use-GL"/>
- <xs:enumeration value="not-use-GL"/>
- <xs:enumeration value="use-system-setting"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="ScreenReaderType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="screenreader-off"/>
- <xs:enumeration value="screenreader-on"/>
- <xs:enumeration value="use-system-setting"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="RecentImage">
- <xs:restriction base="xs:string">
- <xs:enumeration value="icon"/>
- <xs:enumeration value="capture"/>
- </xs:restriction>
- </xs:simpleType>
-
<xs:element name="author">
<xs:complexType mixed="true">
<xs:attribute name="email"/>
</xs:element>
<xs:element name="profile">
<xs:complexType>
- <xs:attribute name="name" use="required" type="packages:ProfileType"/>
+ <xs:attribute name="name" use="required" type="xs:string"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
<xs:attribute name="auto-restart" type="xs:boolean"/>
<xs:attribute name="exec" use="required"/>
<xs:attribute name="on-boot" type="xs:boolean"/>
- <xs:attribute name="type" use="required" type="packages:TypeType"/>
+ <xs:attribute name="type" use="required" type="xs:string"/>
<xs:attribute name="multiple" type="xs:boolean"/>
<xs:attribute name="taskmanage" type="xs:boolean"/>
<xs:attribute name="permission-type" type="xs:string"/>
<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:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xs:sequence>
<xs:attribute name="nodisplay" type="xs:boolean"/>
<xs:attribute name="taskmanage" type="xs:boolean"/>
<xs:attribute name="enabled" type="xs:boolean"/>
- <xs:attribute name="type" use="required" type="packages:TypeType"/>
+ <xs:attribute name="type" use="required" type="xs:string"/>
<xs:attribute name="categories" type="xs:NCName"/>
<xs:attribute name="extraid"/>
- <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
- <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
- <xs:attribute name="recentimage" type="packages:RecentImage"/>
+ <xs:attribute name="hw-acceleration" type="xs:string"/>
+ <xs:attribute name="screen-reader" type="xs:string"/>
+ <xs:attribute name="recentimage" type="xs:string"/>
<xs:attribute name="mainapp" type="xs:boolean"/>
<xs:attribute name="indicatordisplay" type="xs:boolean"/>
<xs:attribute name="portrait-effectimage" type="xs:string"/>
<xs:attribute name="multi-instance" type="xs:boolean"/>
<xs:attribute name="multi-instance-mainid" type="xs:string"/>
<xs:attribute name="ui-gadget" type="xs:boolean"/>
- <xs:attribute name="launch_mode" type="packages:LaunchType"/>
+ <xs:attribute name="launch_mode" type="xs:string"/>
+ <xs:attribute name="splash-screen-display" type="xs:boolean"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
<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="packages:TypeType"/>
+ <xs:attribute name="type" use="required" type="xs:string"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
<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:choice>
<xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
<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:positiveInteger"/>
+ <xs:attribute name="update-period" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="max-instance" type="xs:nonNegativeInteger"/>
<xs:attribute name="preview" type="xs:string"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</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="font">
</xs:element>
<xs:complexType mixed="true">
<xs:attribute ref="xml:lang"/>
<xs:attribute name="section" type="xs:string"/>
- <xs:attribute name="resolution" type="packages:ResolutionType"/>
- <xs:anyAttribute namespace="##any" processContents="lax"/>
+ <xs:attribute name="resolution" type="xs:string"/>
+ <xs:attribute name="dpi" type="xs:string"/>
+ <xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
<xs:element name="image">
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
- <xs:simpleType name="SectionType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="notification"/>
- <xs:enumeration value="setting"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="LaunchType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="caller"/>
- <xs:enumeration value="single"/>
- <xs:enumeration value="group"/>
- <xs:enumeration value="singleton"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="ResolutionType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="xhigh"/>
- <xs:enumeration value="high"/>
- </xs:restriction>
- </xs:simpleType>
<xs:element name="application-service">
<xs:complexType>
<xs:sequence>
<xs:any minOccurs="0" processContents="lax"/>
</xs:choice>
</xs:sequence>
+ <xs:attribute name="name" use="required"/>
<xs:anyAttribute processContents="lax"/>
</xs:complexType>
</xs:element>
<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="support-size">
</xs:element>
+ <xs:element name="splash-screens">
+ <xs:complexType>
+ <xs:sequence>
+ <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:complexType>
+ </xs:element>
+ <xs:element name="splash-screen">
+ <xs:complexType>
+ <xs:attribute name="src" use="required" type="xs:string"/>
+ <xs:attribute name="type" use="required" type="xs:string"/>
+ <xs:attribute name="dpi" type="xs:string"/>
+ <xs:attribute name="orientation" use="required" type="xs:string"/>
+ <xs:attribute name="indicator-display" type="xs:string"/>
+ <xs:attribute name="app-control-operation" type="xs:string"/>
+ <xs:attribute name="color-depth" type="xs:string"/>
+ <xs:anyAttribute namespace="##any" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
</xs:schema>