Release version 0.17.8
[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:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
83       </xs:choice>
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:attribute name="api-version" type="xs:string"/>
88       <xs:anyAttribute namespace="##any" processContents="lax"/>
89     </xs:complexType>
90   </xs:element>
91   <xs:element name="watchface">
92   </xs:element>
93   <xs:element name="service-application">
94     <xs:complexType>
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:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
106       </xs:choice>
107       <xs:attribute name="appid" use="required" type="xs:string"/>
108       <xs:attribute name="auto-restart" type="xs:boolean"/>
109       <xs:attribute name="exec" use="required"/>
110       <xs:attribute name="on-boot" type="xs:boolean"/>
111       <xs:attribute name="type" use="required" type="xs:string"/>
112       <xs:attribute name="multiple" type="xs:boolean"/>
113       <xs:attribute name="taskmanage" type="xs:boolean"/>
114       <xs:attribute name="permission-type" type="xs:string"/>
115       <xs:attribute name="component-type" type="xs:string"/>
116       <xs:attribute name="nodisplay" type="xs:boolean"/>
117       <xs:attribute name="api-version" type="xs:string"/>
118       <xs:anyAttribute namespace="##any" processContents="lax"/>
119     </xs:complexType>
120   </xs:element>
121   <xs:element name="ui-application">
122     <xs:complexType>
123       <xs:choice maxOccurs="unbounded" minOccurs="0">
124         <xs:element ref="packages:label"/>
125         <xs:element ref="packages:icon"/>
126         <xs:element ref="packages:image"/>
127         <xs:element ref="packages:application-service"/>
128         <xs:element ref="packages:app-control"/>
129         <xs:element ref="packages:category"/>
130         <xs:element ref="packages:metadata"/>
131         <xs:element ref="packages:permission"/>
132         <xs:element ref="packages:datacontrol"/>
133         <xs:element ref="packages:background-category"/>
134         <xs:element ref="packages:splash-screens"/>
135         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
136       </xs:choice>
137       <xs:attribute name="appid" use="required" type="xs:string"/>
138       <xs:attribute name="exec" use="required"/>
139       <xs:attribute name="multiple" type="xs:boolean"/>
140       <xs:attribute name="nodisplay" type="xs:boolean"/>
141       <xs:attribute name="taskmanage" type="xs:boolean"/>
142       <xs:attribute name="enabled" type="xs:boolean"/>
143       <xs:attribute name="type" use="required" type="xs:string"/>
144       <xs:attribute name="categories" type="xs:NCName"/>
145       <xs:attribute name="extraid"/>
146       <xs:attribute name="hw-acceleration" type="xs:string"/>
147       <xs:attribute name="screen-reader" type="xs:string"/>
148       <xs:attribute name="recentimage" type="xs:string"/>
149       <xs:attribute name="mainapp" type="xs:boolean"/>
150       <xs:attribute name="indicatordisplay" type="xs:boolean"/>
151       <xs:attribute name="portrait-effectimage" type="xs:string"/>
152       <xs:attribute name="landscape-effectimage" type="xs:string"/>
153       <xs:attribute name="effectimage-type" type="xs:string"/>
154       <xs:attribute name="guestmode-visibility" type="xs:string"/>
155       <xs:attribute name="launchcondition" type="xs:boolean"/>
156       <xs:attribute name="permission-type" type="xs:string"/>
157       <xs:attribute name="component-type" type="xs:string"/>
158       <xs:attribute name="submode" type="xs:boolean"/>
159       <xs:attribute name="submode-mainid" type="xs:string"/>
160       <xs:attribute name="process-pool" type="xs:boolean"/>
161       <xs:attribute name="auto-restart" type="xs:boolean"/>
162       <xs:attribute name="on-boot" type="xs:boolean"/>
163       <xs:attribute name="multi-instance" type="xs:boolean"/>
164       <xs:attribute name="multi-instance-mainid" type="xs:string"/>
165       <xs:attribute name="ui-gadget" type="xs:boolean"/>
166       <xs:attribute name="launch_mode" type="xs:string"/>
167       <xs:attribute name="splash-screen-display" type="xs:boolean"/>
168       <xs:attribute name="api-version" type="xs:string"/>
169       <xs:anyAttribute namespace="##any" processContents="lax"/>
170     </xs:complexType>
171   </xs:element>
172   <xs:element name="ime-application">
173     <xs:complexType>
174       <xs:choice maxOccurs="unbounded">
175         <xs:element ref="packages:label"/>
176         <xs:element ref="packages:icon"/>
177         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
178       </xs:choice>
179       <xs:attribute name="appid" use="required" type="xs:string"/>
180       <xs:attribute name="exec" use="required" type="xs:NCName"/>
181       <xs:attribute name="multiple" type="xs:boolean"/>
182       <xs:attribute name="nodisplay" type="xs:boolean"/>
183       <xs:attribute name="type" use="required" type="xs:string"/>
184       <xs:attribute name="api-version" 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:choice maxOccurs="unbounded" minOccurs="0">
195         <xs:element ref="packages:label"/>
196         <xs:element ref="packages:icon"/>
197         <xs:element ref="packages:metadata"/>
198         <xs:element ref="packages:support-size"/>
199         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
200       </xs:choice>
201       <xs:attribute name="appid" use="required" type="xs:string"/>
202       <xs:attribute name="exec" use="required"/>
203       <xs:attribute name="main" type="xs:boolean"/>
204       <xs:attribute name="update-period" type="xs:nonNegativeInteger"/>
205       <xs:attribute name="max-instance" type="xs:nonNegativeInteger"/>
206       <xs:attribute name="preview" type="xs:string"/>
207       <xs:attribute name="api-version" type="xs:string"/>
208       <xs:anyAttribute namespace="##any" processContents="lax"/>
209     </xs:complexType>
210   </xs:element>
211   <xs:element name="account">
212   </xs:element>
213   <xs:element name="notifications">
214   </xs:element>
215   <xs:element name="ime">
216   </xs:element>
217   <xs:element name="feature">
218   </xs:element>
219   <xs:element name="trust-anchor">
220     <xs:complexType>
221       <xs:attribute name="use-system-certs" type="xs:string"/>
222     </xs:complexType>
223   </xs:element>
224   <xs:element name="privileges">
225     <xs:complexType>
226       <xs:choice maxOccurs="unbounded" minOccurs="0">
227         <xs:element ref="packages:privilege"/>
228         <xs:element ref="packages:appdefined-privilege"/>
229       </xs:choice>
230     </xs:complexType>
231   </xs:element>
232   <xs:element name="privilege">
233     <xs:complexType mixed="true">
234       <xs:attribute name="type" type="xs:string"/>
235     </xs:complexType>
236   </xs:element>
237   <xs:element name="provides-appdefined-privileges">
238     <xs:complexType>
239       <xs:choice maxOccurs="unbounded" minOccurs="0">
240         <xs:element ref="packages:appdefined-privilege"/>
241       </xs:choice>
242     </xs:complexType>
243   </xs:element>
244   <xs:element name="appdefined-privilege">
245     <xs:complexType mixed="true">
246       <xs:attribute name="type" type="xs:string"/>
247       <xs:attribute name="license" type="xs:string"/>
248     </xs:complexType>
249   </xs:element>
250   <xs:element name="font">
251   </xs:element>
252   <xs:element name="label">
253     <xs:complexType mixed="true">
254       <xs:attribute ref="xml:lang"/>
255       <xs:anyAttribute namespace="##any" processContents="lax"/>
256     </xs:complexType>
257   </xs:element>
258   <xs:element name="icon">
259   <xs:complexType mixed="true">
260     <xs:attribute ref="xml:lang"/>
261     <xs:attribute name="section" type="xs:string"/>
262     <xs:attribute name="resolution" type="xs:string"/>
263     <xs:attribute name="dpi" type="xs:string"/>
264     <xs:anyAttribute namespace="##any" processContents="lax"/>
265   </xs:complexType>
266   </xs:element>
267   <xs:element name="image">
268   <xs:complexType mixed="true">
269     <xs:attribute ref="xml:lang"/>
270     <xs:attribute name="section" type="xs:string"/>
271       <xs:anyAttribute namespace="##any" processContents="lax"/>
272   </xs:complexType>
273   </xs:element>
274   <xs:element name="application-service">
275     <xs:complexType>
276       <xs:choice maxOccurs="unbounded">
277         <xs:element ref="packages:operation"/>
278         <xs:element ref="packages:uri"/>
279         <xs:element ref="packages:mime"/>
280         <xs:element ref="packages:subapp"/>
281         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
282       </xs:choice>
283     </xs:complexType>
284   </xs:element>
285   <xs:element name="app-control">
286     <xs:complexType>
287       <xs:choice maxOccurs="unbounded">
288         <xs:element ref="packages:operation"/>
289         <xs:element ref="packages:uri"/>
290         <xs:element ref="packages:mime"/>
291         <xs:element ref="packages:subapp"/>
292         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
293       </xs:choice>
294       <xs:attribute name="id" type="xs:string"/>
295       <xs:attribute name="visibility" type="xs:string"/>
296       <xs:anyAttribute namespace="##any" processContents="lax"/>
297     </xs:complexType>
298   </xs:element>
299   <xs:element name="category">
300     <xs:complexType>
301       <xs:choice maxOccurs="unbounded">
302         <xs:any minOccurs="0" processContents="lax"/>
303       </xs:choice>
304       <xs:attribute name="name" use="required"/>
305       <xs:anyAttribute processContents="lax"/>
306     </xs:complexType>
307   </xs:element>
308   <xs:element name="metadata">
309     <xs:complexType>
310       <xs:attribute name="key" use="required" type="xs:string"/>
311       <xs:attribute name="value" type="xs:string"/>
312       <xs:anyAttribute processContents="lax"/>
313     </xs:complexType>
314   </xs:element>
315   <xs:element name="permission">
316   <xs:complexType>
317     <xs:attribute name="type" type="xs:string"/>
318     <xs:anyAttribute processContents="lax"/>
319   </xs:complexType>
320   </xs:element>
321   <xs:element name="datacontrol">
322   <xs:complexType>
323     <xs:choice maxOccurs="unbounded" minOccurs="0">
324       <xs:element ref="packages:privilege"/>
325     </xs:choice>
326     <xs:attribute name="providerid" type="xs:string"/>
327     <xs:attribute name="access" type="xs:string"/>
328     <xs:attribute name="type" type="xs:string"/>
329     <xs:attribute name="trusted" type="xs:boolean"/>
330     <xs:anyAttribute processContents="lax"/>
331   </xs:complexType>
332   </xs:element>
333   <xs:element name="operation">
334     <xs:complexType>
335       <xs:attribute name="name" use="required"/>
336       <xs:anyAttribute processContents="lax"/>
337     </xs:complexType>
338   </xs:element>
339   <xs:element name="uri">
340     <xs:complexType>
341       <xs:attribute name="name" use="required"/>
342       <xs:anyAttribute processContents="lax"/>
343     </xs:complexType>
344   </xs:element>
345   <xs:element name="mime">
346     <xs:complexType>
347       <xs:attribute name="name" use="required"/>
348       <xs:anyAttribute processContents="lax"/>
349     </xs:complexType>
350   </xs:element>
351   <xs:element name="subapp">
352     <xs:complexType>
353       <xs:attribute name="name" use="required"/>
354       <xs:anyAttribute namespace="##any" processContents="lax"/>
355     </xs:complexType>
356   </xs:element>
357   <xs:element name="background-category">
358     <xs:complexType mixed="true">
359       <xs:attribute name="value" type="xs:string"/>
360       <xs:anyAttribute namespace="##any" processContents="lax"/>
361     </xs:complexType>
362   </xs:element>
363   <xs:element name="support-size">
364   </xs:element>
365   <xs:element name="splash-screens">
366     <xs:complexType>
367       <xs:choice maxOccurs="unbounded" minOccurs="0">
368         <xs:element ref="packages:splash-screen"/>
369         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
370       </xs:choice>
371     </xs:complexType>
372   </xs:element>
373   <xs:element name="splash-screen">
374     <xs:complexType>
375       <xs:attribute name="src" use="required" type="xs:string"/>
376       <xs:attribute name="type" use="required" type="xs:string"/>
377       <xs:attribute name="dpi" type="xs:string"/>
378       <xs:attribute name="orientation" use="required" type="xs:string"/>
379       <xs:attribute name="indicator-display" type="xs:string"/>
380       <xs:attribute name="app-control-operation" type="xs:string"/>
381       <xs:attribute name="color-depth" type="xs:string"/>
382       <xs:anyAttribute namespace="##any" processContents="lax"/>
383     </xs:complexType>
384   </xs:element>
385   <xs:element name="component-based-application">
386     <xs:complexType>
387       <xs:choice maxOccurs="unbounded" minOccurs="0">
388         <xs:element ref="packages:icon"/>
389         <xs:element ref="packages:label"/>
390         <xs:element ref="packages:metadata"/>
391         <xs:element ref="packages:background-category"/>
392         <xs:element ref="packages:app-control"/>
393         <xs:element ref="packages:category"/>
394         <xs:element ref="packages:datacontrol"/>
395         <xs:element ref="packages:splash-screens"/>
396         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
397       </xs:choice>
398       <xs:attribute name="appid" use="required" type="xs:string"/>
399       <xs:attribute name="exec" use="required"/>
400       <xs:attribute name="type" use="required" type="xs:string"/>
401       <xs:attribute name="api-version" type="xs:string"/>
402       <xs:attribute name="hw-acceleration" type="xs:string"/>
403       <xs:attribute name="splash-screen-display" type="xs:boolean"/>
404       <xs:anyAttribute namespace="##any" processContents="lax"/>
405     </xs:complexType>
406   </xs:element>
407   <xs:element name="dependencies">
408     <xs:complexType>
409       <xs:choice maxOccurs="unbounded" minOccurs="0">
410         <xs:element ref="packages:dependency"/>
411       </xs:choice>
412     </xs:complexType>
413   </xs:element>
414   <xs:element name="dependency">
415     <xs:complexType mixed="true">
416       <xs:attribute name="type" use="required" type="xs:string"/>
417       <xs:attribute name="required-version" type="xs:string"/>
418     </xs:complexType>
419   </xs:element>
420 </xs:schema>