Release version 0.24.4
[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:choice maxOccurs="unbounded">
8         <xs:element ref="packages:label"/>
9         <xs:element ref="packages:icon"/>
10         <xs:element ref="packages:author"/>
11         <xs:element ref="packages:description"/>
12         <xs:element ref="packages:compatibility"/>
13         <xs:element ref="packages:profile"/>
14         <xs:element ref="packages:watch-application"/>
15         <xs:element ref="packages:watchface"/>
16         <xs:element ref="packages:service-application"/>
17         <xs:element ref="packages:ui-application"/>
18         <xs:element ref="packages:ime-application"/>
19         <xs:element ref="packages:shortcut-list"/>
20         <xs:element ref="packages:widget"/>
21         <xs:element ref="packages:widget-application"/>
22         <xs:element ref="packages:account"/>
23         <xs:element ref="packages:notifications"/>
24         <xs:element ref="packages:privileges"/>
25         <xs:element ref="packages:font"/>
26         <xs:element ref="packages:ime"/>
27         <xs:element ref="packages:feature"/>
28         <xs:element ref="packages:trust-anchor"/>
29         <xs:element ref="packages:component-based-application"/>
30         <xs:element ref="packages:dependencies"/>
31         <xs:element ref="packages:light-user"/>
32         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
33       </xs:choice>
34       <xs:attribute name="storeclient-id" type="xs:string"/>
35       <xs:attribute name="install-location" type="xs:string"/>
36       <xs:attribute name="package" use="required" type="xs:string"/>
37       <xs:attribute name="type" type="xs:string"/>
38       <xs:attribute name="version" use="required" type="xs:string"/>
39       <xs:attribute name="size" type="xs:NMTOKEN"/>
40       <xs:attribute name="root_path" type="xs:string"/>
41       <xs:attribute name="csc_path" type="xs:string"/>
42       <xs:attribute name="appsetting" type="xs:boolean"/>
43       <xs:attribute name="nodisplay-setting" type="xs:boolean"/>
44       <xs:attribute name="url" type="xs:string"/>
45       <xs:attribute name="support-disable" type="xs:boolean"/>
46       <xs:attribute name="api-version" type="xs:string"/>
47       <xs:attribute name="backend-installer" type="xs:string"/>
48       <xs:attribute name="preload" type="xs:boolean"/>
49       <xs:anyAttribute namespace="##any" processContents="lax"/>
50     </xs:complexType>
51   </xs:element>
52
53   <xs:element name="author">
54     <xs:complexType mixed="true">
55       <xs:attribute name="email"/>
56       <xs:attribute name="href"/>
57       <xs:attribute ref="xml:lang"/>
58       <xs:anyAttribute namespace="##any" processContents="lax"/>
59     </xs:complexType>
60   </xs:element>
61   <xs:element name="description">
62     <xs:complexType mixed="true">
63       <xs:attribute ref="xml:lang"/>
64       <xs:anyAttribute namespace="##any" processContents="lax"/>
65     </xs:complexType>
66   </xs:element>
67   <xs:element name="compatibility">
68     <xs:complexType>
69       <xs:anyAttribute namespace="##any" processContents="lax"/>
70     </xs:complexType>
71   </xs:element>
72   <xs:element name="profile">
73     <xs:complexType>
74       <xs:attribute name="name" use="required" type="xs:string"/>
75       <xs:anyAttribute namespace="##any" processContents="lax"/>
76     </xs:complexType>
77   </xs:element>
78   <xs:element name="watch-application">
79     <xs:complexType>
80       <xs:choice maxOccurs="unbounded" minOccurs="0">
81         <xs:element ref="packages:label"/>
82         <xs:element ref="packages:icon"/>
83         <xs:element ref="packages:res-control"/>
84         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
85       </xs:choice>
86       <xs:attribute name="appid" use="required" type="xs:string"/>
87       <xs:attribute name="exec" use="required"/>
88       <xs:attribute name="ambient-support" type="xs:boolean"/>
89       <xs:attribute name="api-version" type="xs:string"/>
90       <xs:anyAttribute namespace="##any" processContents="lax"/>
91     </xs:complexType>
92   </xs:element>
93   <xs:element name="watchface">
94   </xs:element>
95   <xs:element name="service-application">
96     <xs:complexType>
97       <xs:choice maxOccurs="unbounded" minOccurs="0">
98         <xs:element ref="packages:label"/>
99         <xs:element ref="packages:icon"/>
100         <xs:element ref="packages:application-service"/>
101         <xs:element ref="packages:app-control"/>
102         <xs:element ref="packages:category"/>
103         <xs:element ref="packages:metadata"/>
104         <xs:element ref="packages:permission"/>
105         <xs:element ref="packages:datacontrol"/>
106         <xs:element ref="packages:background-category"/>
107         <xs:element ref="packages:res-control"/>
108         <xs:element ref="packages:boot-sequence"/>
109         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
110       </xs:choice>
111       <xs:attribute name="appid" use="required" type="xs:string"/>
112       <xs:attribute name="auto-restart" type="xs:boolean"/>
113       <xs:attribute name="exec" use="required"/>
114       <xs:attribute name="on-boot" type="xs:boolean"/>
115       <xs:attribute name="type" use="required" type="xs:string"/>
116       <xs:attribute name="multiple" type="xs:boolean"/>
117       <xs:attribute name="taskmanage" type="xs:boolean"/>
118       <xs:attribute name="permission-type" type="xs:string"/>
119       <xs:attribute name="component-type" type="xs:string"/>
120       <xs:attribute name="nodisplay" type="xs:boolean"/>
121       <xs:attribute name="api-version" type="xs:string"/>
122       <xs:anyAttribute namespace="##any" processContents="lax"/>
123     </xs:complexType>
124   </xs:element>
125   <xs:element name="ui-application">
126     <xs:complexType>
127       <xs:choice maxOccurs="unbounded" minOccurs="0">
128         <xs:element ref="packages:label"/>
129         <xs:element ref="packages:icon"/>
130         <xs:element ref="packages:image"/>
131         <xs:element ref="packages:application-service"/>
132         <xs:element ref="packages:app-control"/>
133         <xs:element ref="packages:category"/>
134         <xs:element ref="packages:metadata"/>
135         <xs:element ref="packages:permission"/>
136         <xs:element ref="packages:datacontrol"/>
137         <xs:element ref="packages:background-category"/>
138         <xs:element ref="packages:splash-screens"/>
139         <xs:element ref="packages:res-control"/>
140         <xs:element ref="packages:boot-sequence"/>
141         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
142       </xs:choice>
143       <xs:attribute name="appid" use="required" type="xs:string"/>
144       <xs:attribute name="exec" use="required"/>
145       <xs:attribute name="multiple" type="xs:boolean"/>
146       <xs:attribute name="nodisplay" type="xs:boolean"/>
147       <xs:attribute name="taskmanage" type="xs:boolean"/>
148       <xs:attribute name="enabled" type="xs:boolean"/>
149       <xs:attribute name="type" use="required" type="xs:string"/>
150       <xs:attribute name="categories" type="xs:NCName"/>
151       <xs:attribute name="extraid"/>
152       <xs:attribute name="hw-acceleration" type="xs:string"/>
153       <xs:attribute name="screen-reader" type="xs:string"/>
154       <xs:attribute name="recentimage" type="xs:string"/>
155       <xs:attribute name="mainapp" type="xs:boolean"/>
156       <xs:attribute name="indicatordisplay" type="xs:boolean"/>
157       <xs:attribute name="portrait-effectimage" type="xs:string"/>
158       <xs:attribute name="landscape-effectimage" type="xs:string"/>
159       <xs:attribute name="effectimage-type" type="xs:string"/>
160       <xs:attribute name="guestmode-visibility" type="xs:string"/>
161       <xs:attribute name="launchcondition" type="xs:boolean"/>
162       <xs:attribute name="permission-type" type="xs:string"/>
163       <xs:attribute name="component-type" type="xs:string"/>
164       <xs:attribute name="submode" type="xs:boolean"/>
165       <xs:attribute name="submode-mainid" type="xs:string"/>
166       <xs:attribute name="process-pool" type="xs:boolean"/>
167       <xs:attribute name="auto-restart" type="xs:boolean"/>
168       <xs:attribute name="on-boot" type="xs:boolean"/>
169       <xs:attribute name="multi-instance" type="xs:boolean"/>
170       <xs:attribute name="multi-instance-mainid" type="xs:string"/>
171       <xs:attribute name="ui-gadget" type="xs:boolean"/>
172       <xs:attribute name="launch_mode" type="xs:string"/>
173       <xs:attribute name="splash-screen-display" type="xs:boolean"/>
174       <xs:attribute name="api-version" type="xs:string"/>
175       <xs:anyAttribute namespace="##any" processContents="lax"/>
176     </xs:complexType>
177   </xs:element>
178   <xs:element name="ime-application">
179     <xs:complexType>
180       <xs:choice maxOccurs="unbounded">
181         <xs:element ref="packages:label"/>
182         <xs:element ref="packages:icon"/>
183         <xs:element ref="packages:res-control"/>
184         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
185       </xs:choice>
186       <xs:attribute name="appid" use="required" type="xs:string"/>
187       <xs:attribute name="exec" use="required" type="xs:NCName"/>
188       <xs:attribute name="multiple" type="xs:boolean"/>
189       <xs:attribute name="nodisplay" type="xs:boolean"/>
190       <xs:attribute name="type" use="required" type="xs:string"/>
191       <xs:attribute name="api-version" type="xs:string"/>
192       <xs:anyAttribute namespace="##any" processContents="lax"/>
193     </xs:complexType>
194   </xs:element>
195   <xs:element name="shortcut-list">
196   </xs:element>
197   <xs:element name="widget">
198   </xs:element>
199   <xs:element name="widget-application">
200     <xs:complexType>
201       <xs:choice maxOccurs="unbounded" minOccurs="0">
202         <xs:element ref="packages:label"/>
203         <xs:element ref="packages:icon"/>
204         <xs:element ref="packages:metadata"/>
205         <xs:element ref="packages:support-size"/>
206         <xs:element ref="packages:res-control"/>
207         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
208       </xs:choice>
209       <xs:attribute name="appid" use="required" type="xs:string"/>
210       <xs:attribute name="exec" use="required"/>
211       <xs:attribute name="main" type="xs:boolean"/>
212       <xs:attribute name="update-period" type="xs:nonNegativeInteger"/>
213       <xs:attribute name="max-instance" type="xs:nonNegativeInteger"/>
214       <xs:attribute name="preview" type="xs:string"/>
215       <xs:attribute name="api-version" type="xs:string"/>
216       <xs:anyAttribute namespace="##any" processContents="lax"/>
217     </xs:complexType>
218   </xs:element>
219   <xs:element name="account">
220   </xs:element>
221   <xs:element name="notifications">
222   </xs:element>
223   <xs:element name="ime">
224   </xs:element>
225   <xs:element name="feature">
226   </xs:element>
227   <xs:element name="trust-anchor">
228     <xs:complexType>
229       <xs:attribute name="use-system-certs" type="xs:string"/>
230     </xs:complexType>
231   </xs:element>
232   <xs:element name="privileges">
233     <xs:complexType>
234       <xs:choice maxOccurs="unbounded" minOccurs="0">
235         <xs:element ref="packages:privilege"/>
236         <xs:element ref="packages:appdefined-privilege"/>
237       </xs:choice>
238     </xs:complexType>
239   </xs:element>
240   <xs:element name="privilege">
241     <xs:complexType mixed="true">
242       <xs:attribute name="type" type="xs:string"/>
243     </xs:complexType>
244   </xs:element>
245   <xs:element name="provides-appdefined-privileges">
246     <xs:complexType>
247       <xs:choice maxOccurs="unbounded" minOccurs="0">
248         <xs:element ref="packages:appdefined-privilege"/>
249       </xs:choice>
250     </xs:complexType>
251   </xs:element>
252   <xs:element name="appdefined-privilege">
253     <xs:complexType mixed="true">
254       <xs:attribute name="type" type="xs:string"/>
255       <xs:attribute name="license" type="xs:string"/>
256     </xs:complexType>
257   </xs:element>
258   <xs:element name="font">
259   </xs:element>
260   <xs:element name="label">
261     <xs:complexType mixed="true">
262       <xs:attribute ref="xml:lang"/>
263       <xs:anyAttribute namespace="##any" processContents="lax"/>
264     </xs:complexType>
265   </xs:element>
266   <xs:element name="icon">
267   <xs:complexType mixed="true">
268     <xs:attribute ref="xml:lang"/>
269     <xs:attribute name="section" type="xs:string"/>
270     <xs:attribute name="resolution" type="xs:string"/>
271     <xs:attribute name="dpi" type="xs:string"/>
272     <xs:anyAttribute namespace="##any" processContents="lax"/>
273   </xs:complexType>
274   </xs:element>
275   <xs:element name="image">
276   <xs:complexType mixed="true">
277     <xs:attribute ref="xml:lang"/>
278     <xs:attribute name="section" type="xs:string"/>
279       <xs:anyAttribute namespace="##any" processContents="lax"/>
280   </xs:complexType>
281   </xs:element>
282   <xs:element name="application-service">
283     <xs:complexType>
284       <xs:choice maxOccurs="unbounded">
285         <xs:element ref="packages:operation"/>
286         <xs:element ref="packages:uri"/>
287         <xs:element ref="packages:mime"/>
288         <xs:element ref="packages:subapp"/>
289         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
290       </xs:choice>
291     </xs:complexType>
292   </xs:element>
293   <xs:element name="app-control">
294     <xs:complexType>
295       <xs:choice maxOccurs="unbounded">
296         <xs:element ref="packages:operation"/>
297         <xs:element ref="packages:uri"/>
298         <xs:element ref="packages:mime"/>
299         <xs:element ref="packages:subapp"/>
300         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
301       </xs:choice>
302       <xs:attribute name="id" type="xs:string"/>
303       <xs:attribute name="visibility" type="xs:string"/>
304       <xs:anyAttribute namespace="##any" processContents="lax"/>
305     </xs:complexType>
306   </xs:element>
307   <xs:element name="category">
308     <xs:complexType>
309       <xs:choice maxOccurs="unbounded">
310         <xs:any minOccurs="0" processContents="lax"/>
311       </xs:choice>
312       <xs:attribute name="name" use="required"/>
313       <xs:anyAttribute processContents="lax"/>
314     </xs:complexType>
315   </xs:element>
316   <xs:element name="metadata">
317     <xs:complexType>
318       <xs:attribute name="key" use="required" type="xs:string"/>
319       <xs:attribute name="value" type="xs:string"/>
320       <xs:anyAttribute processContents="lax"/>
321     </xs:complexType>
322   </xs:element>
323   <xs:element name="permission">
324   <xs:complexType>
325     <xs:attribute name="type" type="xs:string"/>
326     <xs:anyAttribute processContents="lax"/>
327   </xs:complexType>
328   </xs:element>
329   <xs:element name="datacontrol">
330   <xs:complexType>
331     <xs:choice maxOccurs="unbounded" minOccurs="0">
332       <xs:element ref="packages:privilege"/>
333     </xs:choice>
334     <xs:attribute name="providerid" type="xs:string"/>
335     <xs:attribute name="access" type="xs:string"/>
336     <xs:attribute name="type" type="xs:string"/>
337     <xs:attribute name="trusted" type="xs:boolean"/>
338     <xs:anyAttribute processContents="lax"/>
339   </xs:complexType>
340   </xs:element>
341   <xs:element name="operation">
342     <xs:complexType>
343       <xs:attribute name="name" use="required"/>
344       <xs:anyAttribute processContents="lax"/>
345     </xs:complexType>
346   </xs:element>
347   <xs:element name="uri">
348     <xs:complexType>
349       <xs:attribute name="name" use="required"/>
350       <xs:anyAttribute processContents="lax"/>
351     </xs:complexType>
352   </xs:element>
353   <xs:element name="mime">
354     <xs:complexType>
355       <xs:attribute name="name" use="required"/>
356       <xs:anyAttribute processContents="lax"/>
357     </xs:complexType>
358   </xs:element>
359   <xs:element name="subapp">
360     <xs:complexType>
361       <xs:attribute name="name" use="required"/>
362       <xs:anyAttribute namespace="##any" processContents="lax"/>
363     </xs:complexType>
364   </xs:element>
365   <xs:element name="background-category">
366     <xs:complexType mixed="true">
367       <xs:attribute name="value" type="xs:string"/>
368       <xs:anyAttribute namespace="##any" processContents="lax"/>
369     </xs:complexType>
370   </xs:element>
371   <xs:element name="support-size">
372   </xs:element>
373   <xs:element name="splash-screens">
374     <xs:complexType>
375       <xs:choice maxOccurs="unbounded" minOccurs="0">
376         <xs:element ref="packages:splash-screen"/>
377         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
378       </xs:choice>
379     </xs:complexType>
380   </xs:element>
381   <xs:element name="splash-screen">
382     <xs:complexType>
383       <xs:attribute name="src" use="required" type="xs:string"/>
384       <xs:attribute name="type" use="required" type="xs:string"/>
385       <xs:attribute name="dpi" type="xs:string"/>
386       <xs:attribute name="orientation" use="required" type="xs:string"/>
387       <xs:attribute name="indicator-display" type="xs:string"/>
388       <xs:attribute name="app-control-operation" type="xs:string"/>
389       <xs:attribute name="color-depth" type="xs:string"/>
390       <xs:anyAttribute namespace="##any" processContents="lax"/>
391     </xs:complexType>
392   </xs:element>
393   <xs:element name="component-based-application">
394     <xs:complexType>
395       <xs:choice maxOccurs="unbounded" minOccurs="0">
396         <xs:element ref="packages:icon"/>
397         <xs:element ref="packages:label"/>
398         <xs:element ref="packages:metadata"/>
399         <xs:element ref="packages:background-category"/>
400         <xs:element ref="packages:res-control"/>
401         <xs:element ref="packages:app-control"/>
402         <xs:element ref="packages:category"/>
403         <xs:element ref="packages:datacontrol"/>
404         <xs:element ref="packages:splash-screens"/>
405         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
406       </xs:choice>
407       <xs:attribute name="appid" use="required" type="xs:string"/>
408       <xs:attribute name="exec" use="required"/>
409       <xs:attribute name="type" use="required" type="xs:string"/>
410       <xs:attribute name="api-version" type="xs:string"/>
411       <xs:attribute name="hw-acceleration" type="xs:string"/>
412       <xs:attribute name="splash-screen-display" type="xs:boolean"/>
413       <xs:anyAttribute namespace="##any" processContents="lax"/>
414     </xs:complexType>
415   </xs:element>
416   <xs:element name="dependencies">
417     <xs:complexType>
418       <xs:choice maxOccurs="unbounded" minOccurs="0">
419         <xs:element ref="packages:dependency"/>
420       </xs:choice>
421     </xs:complexType>
422   </xs:element>
423   <xs:element name="dependency">
424     <xs:complexType mixed="true">
425       <xs:attribute name="type" use="required" type="xs:string"/>
426       <xs:attribute name="required-version" type="xs:string"/>
427       <xs:anyAttribute namespace="##any" processContents="lax"/>
428     </xs:complexType>
429   </xs:element>
430   <xs:element name="res-control">
431     <xs:complexType>
432       <xs:attribute name="resource-type" use="required" type="xs:string"/>
433       <xs:attribute name="min-res-version" type="xs:string"/>
434       <xs:attribute name="max-res-version" type="xs:string"/>
435       <xs:attribute name="auto-close" type="xs:string"/>
436       <xs:anyAttribute namespace="##any" processContents="lax"/>
437     </xs:complexType>
438   </xs:element>
439   <xs:element name="boot-sequence">
440     <xs:complexType>
441       <xs:choice maxOccurs="unbounded" minOccurs="0">
442         <xs:element name="dependency">
443           <xs:complexType mixed="true">
444             <xs:attribute name="requires" type="xs:string"/>
445             <xs:attribute name="after" type="xs:string"/>
446             <xs:attribute name="before" type="xs:string"/>
447             <xs:attribute name="wants" type="xs:string"/>
448             <xs:attribute name="vconf" type="xs:string"/>
449             <xs:attribute name="path-exists" type="xs:string"/>
450             <xs:anyAttribute namespace="##any" processContents="lax"/>
451           </xs:complexType>
452         </xs:element>
453         <xs:element name="option">
454           <xs:complexType mixed="true">
455             <xs:attribute name="args" type="xs:string"/>
456             <xs:attribute name="background-launch" type="xs:string"/>
457             <xs:anyAttribute namespace="##any" processContents="lax"/>
458           </xs:complexType>
459         </xs:element>
460       </xs:choice>
461     </xs:complexType>
462   </xs:element>
463   <xs:element name="light-user">
464     <xs:complexType>
465       <xs:attribute name="switch-mode" use="required" type="xs:string"/>
466       <xs:anyAttribute namespace="##any" processContents="lax"/>
467     </xs:complexType>
468   </xs:element>
469 </xs:schema>