<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:choice>
<xs:attribute name="storeclient-id" type="xs:string"/>
<xs:attribute name="install-location" type="packages:InstallLocationType"/>
<xs:enumeration value="wgt"/>
</xs:restriction>
</xs:simpleType>
+ <xs:simpleType name="AppControlVisibilityType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="local-only"/>
+ <xs:enumeration value="remote-only"/>
+ <xs:enumeration value="both"/>
+ </xs:restriction>
+ </xs:simpleType>
<xs:element name="author">
<xs:complexType mixed="true">
<xs:element ref="packages:mime"/>
<xs:element ref="packages:subapp"/>
</xs:choice>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="visibility" type="packages:AppControlVisibilityType"/>
</xs:complexType>
</xs:element>
<xs:element name="category">
<xs:attribute name="color-depth" type="xs:string"/>
</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:frame-component"/>
+ <xs:element ref="packages:service-component"/>
+ </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:complexType>
+ </xs:element>
+ <xs:element name="frame-component">
+ <xs:complexType>
+ <xs:attribute name="id" use="required" type="xs:string"/>
+ <xs:attribute name="launch_mode" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="service-component">
+ <xs:complexType>
+ <xs:attribute name="id" use="required" type="xs:string"/>
+ </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:complexType>
+ </xs:element>
</xs:schema>