remove 'preload_list.txt' which is not manageable.
[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:attribute name="preload" type="xs:boolean"/>
47       <xs:attribute name="preload-removable" 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:sequence>
80         <xs:choice maxOccurs="unbounded" minOccurs="0">
81           <xs:element ref="packages:label"/>
82           <xs:element ref="packages:icon"/>
83         </xs:choice>
84         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
85       </xs:sequence>
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: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:sequence>
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:choice>
108         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
109       </xs:sequence>
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:anyAttribute namespace="##any" processContents="lax"/>
121     </xs:complexType>
122   </xs:element>
123   <xs:element name="ui-application">
124     <xs:complexType>
125       <xs:sequence>
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:choice>
138         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
139       </xs:sequence>
140       <xs:attribute name="appid" use="required" type="xs:string"/>
141       <xs:attribute name="exec" use="required"/>
142       <xs:attribute name="multiple" type="xs:boolean"/>
143       <xs:attribute name="nodisplay" type="xs:boolean"/>
144       <xs:attribute name="taskmanage" type="xs:boolean"/>
145       <xs:attribute name="enabled" type="xs:boolean"/>
146       <xs:attribute name="type" use="required" type="xs:string"/>
147       <xs:attribute name="categories" type="xs:NCName"/>
148       <xs:attribute name="extraid"/>
149       <xs:attribute name="hw-acceleration" type="xs:string"/>
150       <xs:attribute name="screen-reader" type="xs:string"/>
151       <xs:attribute name="recentimage" type="xs:string"/>
152       <xs:attribute name="mainapp" type="xs:boolean"/>
153       <xs:attribute name="indicatordisplay" type="xs:boolean"/>
154       <xs:attribute name="portrait-effectimage" type="xs:string"/>
155       <xs:attribute name="landscape-effectimage" type="xs:string"/>
156       <xs:attribute name="effectimage-type" type="xs:string"/>
157       <xs:attribute name="guestmode-visibility" type="xs:string"/>
158       <xs:attribute name="launchcondition" type="xs:boolean"/>
159       <xs:attribute name="permission-type" type="xs:string"/>
160       <xs:attribute name="component-type" type="xs:string"/>
161       <xs:attribute name="submode" type="xs:boolean"/>
162       <xs:attribute name="submode-mainid" type="xs:string"/>
163       <xs:attribute name="process-pool" type="xs:boolean"/>
164       <xs:attribute name="auto-restart" type="xs:boolean"/>
165       <xs:attribute name="on-boot" type="xs:boolean"/>
166       <xs:attribute name="multi-instance" type="xs:boolean"/>
167       <xs:attribute name="multi-instance-mainid" type="xs:string"/>
168       <xs:attribute name="ui-gadget" type="xs:boolean"/>
169       <xs:attribute name="launch_mode" type="xs:string"/>
170       <xs:anyAttribute namespace="##any" processContents="lax"/>
171     </xs:complexType>
172   </xs:element>
173   <xs:element name="ime-application">
174     <xs:complexType>
175       <xs:sequence>
176         <xs:choice maxOccurs="unbounded">
177           <xs:element ref="packages:label"/>
178           <xs:element ref="packages:icon"/>
179         </xs:choice>
180         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
181       </xs:sequence>
182       <xs:attribute name="appid" use="required" type="xs:string"/>
183       <xs:attribute name="exec" use="required" type="xs:NCName"/>
184       <xs:attribute name="multiple" type="xs:boolean"/>
185       <xs:attribute name="nodisplay" type="xs:boolean"/>
186       <xs:attribute name="type" use="required" type="xs:string"/>
187       <xs:anyAttribute namespace="##any" processContents="lax"/>
188     </xs:complexType>
189   </xs:element>
190   <xs:element name="shortcut-list">
191   </xs:element>
192   <xs:element name="widget">
193   </xs:element>
194   <xs:element name="widget-application">
195     <xs:complexType>
196       <xs:sequence>
197         <xs:choice maxOccurs="unbounded" minOccurs="0">
198           <xs:element ref="packages:label"/>
199           <xs:element ref="packages:icon"/>
200           <xs:element ref="packages:support-size"/>
201         </xs:choice>
202         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
203       </xs:sequence>
204       <xs:attribute name="appid" use="required" type="xs:string"/>
205       <xs:attribute name="exec" use="required"/>
206       <xs:attribute name="main" type="xs:boolean"/>
207       <xs:attribute name="update-period" type="xs:nonNegativeInteger"/>
208       <xs:attribute name="preview" type="xs:string"/>
209       <xs:anyAttribute namespace="##any" processContents="lax"/>
210     </xs:complexType>
211   </xs:element>
212   <xs:element name="account">
213   </xs:element>
214   <xs:element name="notifications">
215   </xs:element>
216   <xs:element name="ime">
217   </xs:element>
218   <xs:element name="feature">
219   </xs:element>
220   <xs:element name="privileges">
221     <xs:complexType>
222       <xs:sequence>
223         <xs:choice maxOccurs="unbounded" minOccurs="0">
224           <xs:element ref="packages:privilege"/>
225         </xs:choice>
226       </xs:sequence>
227     </xs:complexType>
228   </xs:element>
229   <xs:element name="privilege">
230   </xs:element>
231   <xs:element name="font">
232   </xs:element>
233   <xs:element name="label">
234     <xs:complexType mixed="true">
235       <xs:attribute ref="xml:lang"/>
236       <xs:anyAttribute namespace="##any" processContents="lax"/>
237     </xs:complexType>
238   </xs:element>
239   <xs:element name="icon">
240   <xs:complexType mixed="true">
241     <xs:attribute ref="xml:lang"/>
242     <xs:attribute name="section" type="xs:string"/>
243     <xs:attribute name="resolution" type="xs:string"/>
244       <xs:anyAttribute namespace="##any" processContents="lax"/>
245   </xs:complexType>
246   </xs:element>
247   <xs:element name="image">
248   <xs:complexType mixed="true">
249     <xs:attribute ref="xml:lang"/>
250     <xs:attribute name="section" type="xs:string"/>
251       <xs:anyAttribute namespace="##any" processContents="lax"/>
252   </xs:complexType>
253   </xs:element>
254   <xs:element name="application-service">
255     <xs:complexType>
256       <xs:sequence>
257         <xs:choice maxOccurs="unbounded">
258           <xs:element ref="packages:operation"/>
259           <xs:element ref="packages:uri"/>
260           <xs:element ref="packages:mime"/>
261           <xs:element ref="packages:subapp"/>
262           <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
263         </xs:choice>
264       </xs:sequence>
265     </xs:complexType>
266   </xs:element>
267   <xs:element name="app-control">
268     <xs:complexType>
269       <xs:sequence>
270         <xs:choice maxOccurs="unbounded">
271           <xs:element ref="packages:operation"/>
272           <xs:element ref="packages:uri"/>
273           <xs:element ref="packages:mime"/>
274           <xs:element ref="packages:subapp"/>
275           <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
276         </xs:choice>
277       </xs:sequence>
278     </xs:complexType>
279   </xs:element>
280   <xs:element name="category">
281     <xs:complexType>
282       <xs:sequence>
283         <xs:choice maxOccurs="unbounded">
284           <xs:any minOccurs="0" processContents="lax"/>
285         </xs:choice>
286       </xs:sequence>
287       <xs:attribute name="name" use="required"/>
288       <xs:anyAttribute processContents="lax"/>
289     </xs:complexType>
290   </xs:element>
291   <xs:element name="metadata">
292     <xs:complexType>
293       <xs:attribute name="key" use="required" type="xs:string"/>
294       <xs:attribute name="value" type="xs:string"/>
295       <xs:anyAttribute processContents="lax"/>
296     </xs:complexType>
297   </xs:element>
298   <xs:element name="permission">
299   <xs:complexType>
300     <xs:attribute name="type" type="xs:string"/>
301     <xs:anyAttribute processContents="lax"/>
302   </xs:complexType>
303   </xs:element>
304   <xs:element name="datacontrol">
305   <xs:complexType>
306     <xs:attribute name="providerid" type="xs:string"/>
307     <xs:attribute name="access" type="xs:string"/>
308     <xs:attribute name="type" type="xs:string"/>
309     <xs:anyAttribute processContents="lax"/>
310   </xs:complexType>
311   </xs:element>
312   <xs:element name="operation">
313     <xs:complexType>
314       <xs:attribute name="name" use="required"/>
315       <xs:anyAttribute processContents="lax"/>
316     </xs:complexType>
317   </xs:element>
318   <xs:element name="uri">
319     <xs:complexType>
320       <xs:attribute name="name" use="required"/>
321       <xs:anyAttribute processContents="lax"/>
322     </xs:complexType>
323   </xs:element>
324   <xs:element name="mime">
325     <xs:complexType>
326       <xs:attribute name="name" use="required"/>
327       <xs:anyAttribute processContents="lax"/>
328     </xs:complexType>
329   </xs:element>
330   <xs:element name="subapp">
331     <xs:complexType>
332       <xs:attribute name="name" use="required"/>
333       <xs:anyAttribute namespace="##any" processContents="lax"/>
334     </xs:complexType>
335   </xs:element>
336   <xs:element name="background-category">
337     <xs:complexType mixed="true">
338       <xs:attribute name="value" type="xs:string"/>
339       <xs:anyAttribute namespace="##any" processContents="lax"/>
340     </xs:complexType>
341   </xs:element>
342   <xs:element name="support-size">
343   </xs:element>
344 </xs:schema>