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