Add lightuser feature
[platform/core/appfw/pkgmgr-info.git] / parser / manifest.xsd.ref
index 6aa3d7f..885131c 100644 (file)
@@ -27,6 +27,8 @@
         <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:choice>
       <xs:attribute name="storeclient-id" type="xs:string"/>
       <xs:attribute name="install-location" type="packages:InstallLocationType"/>
       <xs:choice maxOccurs="unbounded" minOccurs="0">
         <xs:element ref="packages:label"/>
         <xs:element ref="packages:icon"/>
+        <xs:element ref="packages:res-control"/>
       </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:complexType>
   </xs:element>
   <xs:element name="watchface">
         <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:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="auto-restart" type="xs:boolean"/>
       <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:complexType>
   </xs:element>
   <xs:element name="ui-application">
         <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:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="ui-gadget" type="xs:boolean"/>
       <xs:attribute name="launch_mode" type="packages:LaunchType"/>
       <xs:attribute name="splash-screen-display" type="xs:boolean"/>
+      <xs:attribute name="api-version" type="xs:string"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="ime-application">
       <xs:choice maxOccurs="unbounded">
         <xs:element ref="packages:label"/>
         <xs:element ref="packages:icon"/>
+        <xs:element ref="packages:res-control"/>
       </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="packages:TypeType"/>
+      <xs:attribute name="api-version" type="xs:string"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="shortcut-list">
         <xs:element ref="packages:label"/>
         <xs:element ref="packages:icon"/>
         <xs:element ref="packages:support-size"/>
+        <xs:element ref="packages:res-control"/>
       </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:ID"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="main" type="xs:boolean"/>
       <xs:attribute name="update-period" type="xs:positiveInteger"/>
       <xs:attribute name="preview" type="xs:string"/>
+      <xs:attribute name="api-version" type="xs:string"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="account">
         <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: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: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:complexType>
   </xs:element>
-  <xs:element name="frame-component">
+  <xs:element name="dependencies">
     <xs:complexType>
-      <xs:attribute name="id" use="required" type="xs:string"/>
-      <xs:attribute name="launch_mode" type="xs:string"/>
+      <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:DependencyType"/>
+      <xs:attribute name="required-version" type="xs:string"/>
+      <xs:anyAttribute namespace="##any" processContents="lax"/>
+    </xs:complexType>
+  </xs:element>
+  <xs:simpleType name="DependencyType">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="requires"/>
+      <xs:enumeration value="wants"/>
+    </xs:restriction>
+  </xs:simpleType>
+  <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="service-component">
+  <xs:element name="light-user">
     <xs:complexType>
-      <xs:attribute name="id" use="required" type="xs:string"/>
+      <xs:attribute name="switch-mode" use="required" type="xs:string"/>
+      <xs:anyAttribute namespace="##any" processContents="lax"/>
     </xs:complexType>
   </xs:element>
 </xs:schema>