Fix manifest schema for support tizen 2.3 tpk package
[platform/core/appfw/pkgmgr-info.git] / parser / manifest.xsd.in
index b9c5211..df8240b 100755 (executable)
@@ -11,7 +11,7 @@
           <xs:element ref="packages:author"/>
           <xs:element ref="packages:description"/>
           <xs:element ref="packages:compatibility"/>
-          <xs:element ref="packages:device-profile"/>
+          <xs:element ref="packages:profile"/>
           <xs:element ref="packages:service-application"/>
           <xs:element ref="packages:ui-application"/>
           <xs:element ref="packages:ime-application"/>
                  <xs:element ref="packages:notifications"/>
                  <xs:element ref="packages:privileges"/>
           <xs:element ref="packages:font"/>
+                 <xs:element ref="packages:ime"/>
         </xs:choice>
       </xs:sequence>
+         <xs:attribute name="storeclient-id" type="xs:string"/>
       <xs:attribute name="install-location" type="packages:InstallLocationType"/>
       <xs:attribute name="package" use="required" type="xs:string"/>
+         <xs:attribute name="main_package" type="xs:string"/>
       <xs:attribute name="type" type="packages:PackageType"/>
       <xs:attribute name="version" use="required" type="xs:NMTOKEN"/>
       <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="appsetting" type="xs:boolean"/>
+         <xs:attribute name="nodisplay-setting" type="xs:boolean"/>
+         <xs:attribute name="url" type="xs:string"/>
+         <xs:attribute name="api-version" type="xs:string"/>
     </xs:complexType>
   </xs:element>
 
         <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="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:element name="device-profile">
     <xs:complexType/>
   </xs:element>
+  <xs:element name="profile">
+    <xs:complexType>
+      <xs:attribute name="name" type="packages:ProfileType"/>
+    </xs:complexType>
+  </xs:element>
   <xs:element name="service-application">
     <xs:complexType>
       <xs:sequence>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="on-boot" use="required" type="xs:boolean"/>
       <xs:attribute name="type" use="required" type="packages:TypeType"/>
+         <xs:attribute name="permission-type" type="xs:string"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="ui-application">
       <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="mainapp" type="xs:boolean"/>
       <xs:attribute name="indicatordisplay" type="xs:boolean"/>
       <xs:attribute name="portrait-effectimage" type="xs:string"/>
       <xs:attribute name="landscape-effectimage" type="xs:string"/>
       <xs:attribute name="guestmode-visibility" type="xs:string"/>
+         <xs:attribute name="launchcondition" type="xs:boolean"/>
+         <xs:attribute name="permission-type" type="xs:string"/>
+         <xs:attribute name="component-type" type="xs:string"/>
+         <xs:attribute name="submode" type="xs:boolean"/>
+         <xs:attribute name="submode-mainid" type="xs:string"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="ime-application">
   </xs:element>
   <xs:element name="notifications">
   </xs:element>
-  <xs:element name="privileges">
+  <xs:element name="ime">
   </xs:element>
-  <xs:element name="font">
+  <xs:element name="privileges">
     <xs:complexType>
       <xs:sequence>
-        <xs:element ref="packages:label"/>
-        <xs:element ref="packages:icon"/>
+        <xs:choice maxOccurs="unbounded" minOccurs="0">
+          <xs:element ref="packages:privilege"/>
+        </xs:choice>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
+  <xs:element name="privilege">
+  </xs:element>
+  <xs:element name="font">
+  </xs:element>
   <xs:element name="label">
     <xs:complexType mixed="true">
       <xs:attribute ref="xml:lang"/>
   </xs:element>
   <xs:element name="metadata">
     <xs:complexType>
-      <xs:attribute name="name" use="required" type="xs:string"/>
-      <xs:attribute name="value" use="required" type="xs:string"/>
+      <xs:attribute name="key" use="required" type="xs:string"/>
+      <xs:attribute name="value" type="xs:string"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="permission">