Merge "[Bug] Fix N_SE-11764 : get size of all music files from db using APIs of capi...
[apps/core/preloaded/settings.git] / manifest.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://tizen.org/ns/packages" xmlns:packages="http://tizen.org/ns/packages">
3   <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
4
5   <xs:element name="manifest">
6     <xs:complexType>
7       <xs:sequence>
8         <xs:choice maxOccurs="unbounded">
9           <xs:element ref="packages:label"/>
10           <xs:element ref="packages:icon"/>
11           <xs:element ref="packages:author"/>
12           <xs:element ref="packages:description"/>
13           <xs:element ref="packages:compatibility"/>
14           <xs:element ref="packages:device-profile"/>
15           <xs:element ref="packages:service-application"/>
16           <xs:element ref="packages:ui-application"/>
17           <xs:element ref="packages:ime-application"/>
18           <xs:element ref="packages:font"/>
19           <xs:element ref="packages:livebox"/>
20         </xs:choice>
21       </xs:sequence>
22       <xs:attribute name="install-location" type="packages:InstallLocationType"/>
23       <xs:attribute name="package" use="required" type="xs:NCName"/>
24       <xs:attribute name="version" use="required" type="xs:NMTOKEN"/>
25     </xs:complexType>
26   </xs:element>
27
28     <xs:simpleType name="InstallLocationType">
29       <xs:restriction base="xs:string">
30         <xs:enumeration value="auto"/>
31         <xs:enumeration value="internal-only"/>
32         <xs:enumeration value="prefer-external"/>
33       </xs:restriction>
34     </xs:simpleType>
35     <xs:simpleType name="TypeType">
36       <xs:restriction base="xs:string">
37         <xs:enumeration value="capp"/>
38         <xs:enumeration value="c++app"/>
39        </xs:restriction>
40     </xs:simpleType>
41    
42   <xs:element name="author">
43     <xs:complexType mixed="true">
44       <xs:attribute name="email"/>
45       <xs:attribute name="href" type="xs:NCName"/>
46       <xs:attribute ref="xml:lang"/>
47     </xs:complexType>
48   </xs:element>
49   <xs:element name="description">
50     <xs:complexType mixed="true">
51       <xs:attribute ref="xml:lang"/>
52     </xs:complexType>
53   </xs:element>  
54   <xs:element name="compatibility">
55     <xs:complexType/>
56   </xs:element>
57   <xs:element name="device-profile">
58     <xs:complexType/>
59   </xs:element>
60   <xs:element name="service-application">
61     <xs:complexType>
62       <xs:sequence>
63         <xs:choice maxOccurs="unbounded">
64           <xs:element ref="packages:label"/>
65           <xs:element ref="packages:icon"/>
66           <xs:element ref="packages:application-service"/>
67         </xs:choice>
68       </xs:sequence>
69       <xs:attribute name="appid" use="required" type="xs:NCName"/>
70       <xs:attribute name="auto-restart" use="required" type="xs:boolean"/>
71       <xs:attribute name="exec" use="required"/>
72       <xs:attribute name="on-boot" use="required" type="xs:boolean"/>
73       <xs:attribute name="type" use="required" type="packages:TypeType"/>
74     </xs:complexType>
75   </xs:element>
76   <xs:element name="ui-application">
77     <xs:complexType>
78       <xs:sequence>
79         <xs:choice maxOccurs="unbounded">
80           <xs:element ref="packages:label"/>
81           <xs:element ref="packages:icon"/>
82           <xs:element ref="packages:application-service"/>
83         </xs:choice>
84       </xs:sequence>
85       <xs:attribute name="appid" use="required" type="xs:NCName"/>
86       <xs:attribute name="exec" use="required"/>
87       <xs:attribute name="multiple" type="xs:boolean"/>
88       <xs:attribute name="nodisplay" type="xs:boolean"/>
89       <xs:attribute name="taskmanage" type="xs:boolean"/>
90       <xs:attribute name="type" use="required" type="packages:TypeType"/>
91       <xs:attribute name="categories" type="xs:NCName"/>
92     </xs:complexType>
93   </xs:element>
94   <xs:element name="ime-application">
95     <xs:complexType>
96       <xs:sequence>
97         <xs:choice maxOccurs="unbounded">
98           <xs:element ref="packages:label"/>
99           <xs:element ref="packages:icon"/>
100         </xs:choice>
101       </xs:sequence>
102       <xs:attribute name="appid" use="required" type="xs:NCName"/>
103       <xs:attribute name="exec" use="required" type="xs:NCName"/>
104       <xs:attribute name="multiple" type="xs:boolean"/>
105       <xs:attribute name="nodisplay" type="xs:boolean"/>
106       <xs:attribute name="type" use="required" type="packages:TypeType"/>
107     </xs:complexType>
108   </xs:element>
109   <xs:element name="font">
110     <xs:complexType>
111       <xs:sequence>
112         <xs:element ref="packages:label"/>
113         <xs:element ref="packages:icon"/>
114       </xs:sequence>
115     </xs:complexType>
116   </xs:element>
117   <xs:element name="livebox">
118     <xs:complexType/>
119   </xs:element>
120   <xs:element name="label">
121     <xs:complexType mixed="true">
122       <xs:attribute ref="xml:lang"/>
123     </xs:complexType>
124   </xs:element>
125   <xs:element name="icon">
126     <xs:complexType>
127       <xs:simpleContent>
128         <xs:extension base="xs:NCName">
129           <xs:attribute ref="xml:lang"/>
130         </xs:extension>
131       </xs:simpleContent>
132     </xs:complexType>
133   </xs:element>
134   <xs:element name="application-service">
135     <xs:complexType>
136       <xs:sequence>
137         <xs:choice maxOccurs="unbounded">
138           <xs:element ref="packages:operation"/>
139           <xs:element ref="packages:uri"/>
140           <xs:element ref="packages:mime"/>
141         </xs:choice>
142       </xs:sequence>
143     </xs:complexType>
144   </xs:element>
145   <xs:element name="operation">
146     <xs:complexType>
147       <xs:attribute name="name" use="required"/>
148     </xs:complexType>
149   </xs:element>
150   <xs:element name="uri">
151     <xs:complexType>
152       <xs:attribute name="name" use="required"/>
153     </xs:complexType>
154   </xs:element>
155   <xs:element name="mime">
156     <xs:complexType>
157       <xs:attribute name="name" use="required"/>
158     </xs:complexType>
159   </xs:element>
160 </xs:schema>
161