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