Change type of attribute 'update-period'
[platform/core/appfw/pkgmgr-info.git] / parser / manifest.xsd.in
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:profile"/>
15           <xs:element ref="packages:watch-application"/>
16           <xs:element ref="packages:watchface"/> <!-- TBD -->
17           <xs:element ref="packages:service-application"/>
18           <xs:element ref="packages:ui-application"/>
19           <xs:element ref="packages:ime-application"/> <!-- TBD -->
20           <xs:element ref="packages:shortcut-list"/> <!-- TBD -->
21           <xs:element ref="packages:widget"/> <!-- TBD -->
22           <xs:element ref="packages:widget-application"/> <!-- TBD -->
23           <xs:element ref="packages:account"/> <!-- TBD -->
24           <xs:element ref="packages:notifications"/> <!-- TBD -->
25           <xs:element ref="packages:privileges"/>
26           <xs:element ref="packages:font"/> <!-- TBD -->
27           <xs:element ref="packages:ime"/> <!-- TBD -->
28           <xs:element ref="packages:feature"/> <!-- TBD -->
29         </xs:choice>
30         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
31       </xs:sequence>
32       <xs:attribute name="storeclient-id" type="xs:string"/>
33       <xs:attribute name="install-location" type="xs:string"/>
34       <xs:attribute name="package" use="required" type="xs:string"/>
35       <xs:attribute name="type" type="xs:string"/>
36       <xs:attribute name="version" use="required" type="xs:string"/>
37       <xs:attribute name="size" type="xs:NMTOKEN"/>
38       <xs:attribute name="root_path" type="xs:string"/>
39       <xs:attribute name="csc_path" type="xs:string"/>
40       <xs:attribute name="appsetting" type="xs:boolean"/>
41       <xs:attribute name="nodisplay-setting" type="xs:boolean"/>
42       <xs:attribute name="url" type="xs:string"/>
43       <xs:attribute name="support-disable" type="xs:boolean"/>
44       <xs:attribute name="api-version" type="xs:string"/>
45       <xs:attribute name="backend-installer" type="xs:string"/>
46       <xs:anyAttribute namespace="##any" processContents="lax"/>
47     </xs:complexType>
48   </xs:element>
49
50   <xs:element name="author">
51     <xs:complexType mixed="true">
52       <xs:attribute name="email"/>
53       <xs:attribute name="href"/>
54       <xs:attribute ref="xml:lang"/>
55       <xs:anyAttribute namespace="##any" processContents="lax"/>
56     </xs:complexType>
57   </xs:element>
58   <xs:element name="description">
59     <xs:complexType mixed="true">
60       <xs:attribute ref="xml:lang"/>
61       <xs:anyAttribute namespace="##any" processContents="lax"/>
62     </xs:complexType>
63   </xs:element>
64   <xs:element name="compatibility">
65     <xs:complexType>
66       <xs:anyAttribute namespace="##any" processContents="lax"/>
67     </xs:complexType>
68   </xs:element>
69   <xs:element name="profile">
70     <xs:complexType>
71       <xs:attribute name="name" use="required" type="xs:string"/>
72       <xs:anyAttribute namespace="##any" processContents="lax"/>
73     </xs:complexType>
74   </xs:element>
75   <xs:element name="watch-application">
76     <xs:complexType>
77       <xs:sequence>
78         <xs:choice maxOccurs="unbounded" minOccurs="0">
79           <xs:element ref="packages:label"/>
80           <xs:element ref="packages:icon"/>
81         </xs:choice>
82         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
83       </xs:sequence>
84       <xs:attribute name="appid" use="required" type="xs:string"/>
85       <xs:attribute name="exec" use="required"/>
86       <xs:attribute name="ambient-support" type="xs:boolean"/>
87       <xs:anyAttribute namespace="##any" processContents="lax"/>
88     </xs:complexType>
89   </xs:element>
90   <xs:element name="watchface">
91   </xs:element>
92   <xs:element name="service-application">
93     <xs:complexType>
94       <xs:sequence>
95         <xs:choice maxOccurs="unbounded" minOccurs="0">
96           <xs:element ref="packages:label"/>
97           <xs:element ref="packages:icon"/>
98           <xs:element ref="packages:application-service"/>
99           <xs:element ref="packages:app-control"/>
100           <xs:element ref="packages:category"/>
101           <xs:element ref="packages:metadata"/>
102           <xs:element ref="packages:permission"/>
103           <xs:element ref="packages:datacontrol"/>
104           <xs:element ref="packages:background-category"/>
105         </xs:choice>
106         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
107       </xs:sequence>
108       <xs:attribute name="appid" use="required" type="xs:string"/>
109       <xs:attribute name="auto-restart" type="xs:boolean"/>
110       <xs:attribute name="exec" use="required"/>
111       <xs:attribute name="on-boot" type="xs:boolean"/>
112       <xs:attribute name="type" use="required" type="xs:string"/>
113       <xs:attribute name="multiple" type="xs:boolean"/>
114       <xs:attribute name="taskmanage" type="xs:boolean"/>
115       <xs:attribute name="permission-type" type="xs:string"/>
116       <xs:attribute name="component-type" type="xs:string"/>
117       <xs:attribute name="nodisplay" type="xs:boolean"/>
118       <xs:anyAttribute namespace="##any" processContents="lax"/>
119     </xs:complexType>
120   </xs:element>
121   <xs:element name="ui-application">
122     <xs:complexType>
123       <xs:sequence>
124         <xs:choice maxOccurs="unbounded" minOccurs="0">
125           <xs:element ref="packages:label"/>
126           <xs:element ref="packages:icon"/>
127           <xs:element ref="packages:image"/>
128           <xs:element ref="packages:application-service"/>
129           <xs:element ref="packages:app-control"/>
130           <xs:element ref="packages:category"/>
131           <xs:element ref="packages:metadata"/>
132           <xs:element ref="packages:permission"/>
133           <xs:element ref="packages:datacontrol"/>
134           <xs:element ref="packages:background-category"/>
135         </xs:choice>
136         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
137       </xs:sequence>
138       <xs:attribute name="appid" use="required" type="xs:string"/>
139       <xs:attribute name="exec" use="required"/>
140       <xs:attribute name="multiple" type="xs:boolean"/>
141       <xs:attribute name="nodisplay" type="xs:boolean"/>
142       <xs:attribute name="taskmanage" type="xs:boolean"/>
143       <xs:attribute name="enabled" type="xs:boolean"/>
144       <xs:attribute name="type" use="required" type="xs:string"/>
145       <xs:attribute name="categories" type="xs:NCName"/>
146       <xs:attribute name="extraid"/>
147       <xs:attribute name="hw-acceleration" type="xs:string"/>
148       <xs:attribute name="screen-reader" type="xs:string"/>
149       <xs:attribute name="recentimage" type="xs:string"/>
150       <xs:attribute name="mainapp" type="xs:boolean"/>
151       <xs:attribute name="indicatordisplay" type="xs:boolean"/>
152       <xs:attribute name="portrait-effectimage" type="xs:string"/>
153       <xs:attribute name="landscape-effectimage" type="xs:string"/>
154       <xs:attribute name="effectimage-type" type="xs:string"/>
155       <xs:attribute name="guestmode-visibility" type="xs:string"/>
156       <xs:attribute name="launchcondition" type="xs:boolean"/>
157       <xs:attribute name="permission-type" type="xs:string"/>
158       <xs:attribute name="component-type" type="xs:string"/>
159       <xs:attribute name="submode" type="xs:boolean"/>
160       <xs:attribute name="submode-mainid" type="xs:string"/>
161       <xs:attribute name="process-pool" type="xs:boolean"/>
162       <xs:attribute name="auto-restart" type="xs:boolean"/>
163       <xs:attribute name="on-boot" type="xs:boolean"/>
164       <xs:attribute name="multi-instance" type="xs:boolean"/>
165       <xs:attribute name="multi-instance-mainid" type="xs:string"/>
166       <xs:attribute name="ui-gadget" type="xs:boolean"/>
167       <xs:attribute name="launch_mode" type="xs:string"/>
168       <xs:anyAttribute namespace="##any" processContents="lax"/>
169     </xs:complexType>
170   </xs:element>
171   <xs:element name="ime-application">
172     <xs:complexType>
173       <xs:sequence>
174         <xs:choice maxOccurs="unbounded">
175           <xs:element ref="packages:label"/>
176           <xs:element ref="packages:icon"/>
177         </xs:choice>
178         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
179       </xs:sequence>
180       <xs:attribute name="appid" use="required" type="xs:string"/>
181       <xs:attribute name="exec" use="required" type="xs:NCName"/>
182       <xs:attribute name="multiple" type="xs:boolean"/>
183       <xs:attribute name="nodisplay" type="xs:boolean"/>
184       <xs:attribute name="type" use="required" type="xs:string"/>
185       <xs:anyAttribute namespace="##any" processContents="lax"/>
186     </xs:complexType>
187   </xs:element>
188   <xs:element name="shortcut-list">
189   </xs:element>
190   <xs:element name="widget">
191   </xs:element>
192   <xs:element name="widget-application">
193     <xs:complexType>
194       <xs:sequence>
195         <xs:choice maxOccurs="unbounded" minOccurs="0">
196           <xs:element ref="packages:label"/>
197           <xs:element ref="packages:icon"/>
198           <xs:element ref="packages:support-size"/>
199         </xs:choice>
200         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
201       </xs:sequence>
202       <xs:attribute name="appid" use="required" type="xs:string"/>
203       <xs:attribute name="exec" use="required"/>
204       <xs:attribute name="main" type="xs:boolean"/>
205       <xs:attribute name="update-period" type="xs:nonNegativeInteger"/>
206       <xs:attribute name="preview" type="xs:string"/>
207       <xs:anyAttribute namespace="##any" processContents="lax"/>
208     </xs:complexType>
209   </xs:element>
210   <xs:element name="account">
211   </xs:element>
212   <xs:element name="notifications">
213   </xs:element>
214   <xs:element name="ime">
215   </xs:element>
216   <xs:element name="feature">
217   </xs:element>
218   <xs:element name="privileges">
219     <xs:complexType>
220       <xs:sequence>
221         <xs:choice maxOccurs="unbounded" minOccurs="0">
222           <xs:element ref="packages:privilege"/>
223         </xs:choice>
224       </xs:sequence>
225     </xs:complexType>
226   </xs:element>
227   <xs:element name="privilege">
228   </xs:element>
229   <xs:element name="font">
230   </xs:element>
231   <xs:element name="label">
232     <xs:complexType mixed="true">
233       <xs:attribute ref="xml:lang"/>
234       <xs:anyAttribute namespace="##any" processContents="lax"/>
235     </xs:complexType>
236   </xs:element>
237   <xs:element name="icon">
238   <xs:complexType mixed="true">
239     <xs:attribute ref="xml:lang"/>
240     <xs:attribute name="section" type="xs:string"/>
241     <xs:attribute name="resolution" type="xs:string"/>
242       <xs:anyAttribute namespace="##any" processContents="lax"/>
243   </xs:complexType>
244   </xs:element>
245   <xs:element name="image">
246   <xs:complexType mixed="true">
247     <xs:attribute ref="xml:lang"/>
248     <xs:attribute name="section" type="xs:string"/>
249       <xs:anyAttribute namespace="##any" processContents="lax"/>
250   </xs:complexType>
251   </xs:element>
252   <xs:element name="application-service">
253     <xs:complexType>
254       <xs:sequence>
255         <xs:choice maxOccurs="unbounded">
256           <xs:element ref="packages:operation"/>
257           <xs:element ref="packages:uri"/>
258           <xs:element ref="packages:mime"/>
259           <xs:element ref="packages:subapp"/>
260           <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
261         </xs:choice>
262       </xs:sequence>
263     </xs:complexType>
264   </xs:element>
265   <xs:element name="app-control">
266     <xs:complexType>
267       <xs:sequence>
268         <xs:choice maxOccurs="unbounded">
269           <xs:element ref="packages:operation"/>
270           <xs:element ref="packages:uri"/>
271           <xs:element ref="packages:mime"/>
272           <xs:element ref="packages:subapp"/>
273           <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
274         </xs:choice>
275       </xs:sequence>
276     </xs:complexType>
277   </xs:element>
278   <xs:element name="category">
279     <xs:complexType>
280       <xs:sequence>
281         <xs:choice maxOccurs="unbounded">
282           <xs:any minOccurs="0" processContents="lax"/>
283         </xs:choice>
284       </xs:sequence>
285       <xs:attribute name="name" use="required"/>
286       <xs:anyAttribute processContents="lax"/>
287     </xs:complexType>
288   </xs:element>
289   <xs:element name="metadata">
290     <xs:complexType>
291       <xs:attribute name="key" use="required" type="xs:string"/>
292       <xs:attribute name="value" type="xs:string"/>
293       <xs:anyAttribute processContents="lax"/>
294     </xs:complexType>
295   </xs:element>
296   <xs:element name="permission">
297   <xs:complexType>
298     <xs:attribute name="type" type="xs:string"/>
299     <xs:anyAttribute processContents="lax"/>
300   </xs:complexType>
301   </xs:element>
302   <xs:element name="datacontrol">
303   <xs:complexType>
304     <xs:attribute name="providerid" type="xs:string"/>
305     <xs:attribute name="access" type="xs:string"/>
306     <xs:attribute name="type" type="xs:string"/>
307     <xs:anyAttribute processContents="lax"/>
308   </xs:complexType>
309   </xs:element>
310   <xs:element name="operation">
311     <xs:complexType>
312       <xs:attribute name="name" use="required"/>
313       <xs:anyAttribute processContents="lax"/>
314     </xs:complexType>
315   </xs:element>
316   <xs:element name="uri">
317     <xs:complexType>
318       <xs:attribute name="name" use="required"/>
319       <xs:anyAttribute processContents="lax"/>
320     </xs:complexType>
321   </xs:element>
322   <xs:element name="mime">
323     <xs:complexType>
324       <xs:attribute name="name" use="required"/>
325       <xs:anyAttribute processContents="lax"/>
326     </xs:complexType>
327   </xs:element>
328   <xs:element name="subapp">
329     <xs:complexType>
330       <xs:attribute name="name" use="required"/>
331       <xs:anyAttribute namespace="##any" processContents="lax"/>
332     </xs:complexType>
333   </xs:element>
334   <xs:element name="background-category">
335     <xs:complexType mixed="true">
336       <xs:attribute name="value" type="xs:string"/>
337       <xs:anyAttribute namespace="##any" processContents="lax"/>
338     </xs:complexType>
339   </xs:element>
340   <xs:element name="support-size">
341   </xs:element>
342 </xs:schema>