Fix manifest schema for support tizen 2.3 tpk package
[platform/core/appfw/pkgmgr-info.git] / parser / manifest.xsd.in
index 0523d5d..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"/>
@@ -27,6 +27,7 @@
          <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"/>
@@ -35,6 +36,7 @@
          <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="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"/>