Add new elements for component-based application
[platform/core/appfw/pkgmgr-info.git] / parser / manifest.xsd.ref
index 253eef4..6aa3d7f 100644 (file)
@@ -26,6 +26,7 @@
         <xs:element ref="packages:ime"/>
         <xs:element ref="packages:feature"/>
         <xs:element ref="packages:trust-anchor"/>
+        <xs:element ref="packages:component-based-application"/>
       </xs:choice>
       <xs:attribute name="storeclient-id" type="xs:string"/>
       <xs:attribute name="install-location" type="packages:InstallLocationType"/>
       <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:schema>