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"/>
5 <xs:element name="manifest">
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"/>
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"/>
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"/>
61 <xs:element name="description">
62 <xs:complexType mixed="true">
63 <xs:attribute ref="xml:lang"/>
64 <xs:anyAttribute namespace="##any" processContents="lax"/>
67 <xs:element name="compatibility">
69 <xs:anyAttribute namespace="##any" processContents="lax"/>
72 <xs:element name="profile">
74 <xs:attribute name="name" use="required" type="xs:string"/>
75 <xs:anyAttribute namespace="##any" processContents="lax"/>
78 <xs:element name="watch-application">
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"/>
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"/>
93 <xs:element name="watchface">
95 <xs:element name="service-application">
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"/>
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"/>
125 <xs:element name="ui-application">
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"/>
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"/>
178 <xs:element name="ime-application">
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"/>
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"/>
195 <xs:element name="shortcut-list">
197 <xs:element name="widget">
199 <xs:element name="widget-application">
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"/>
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"/>
219 <xs:element name="account">
221 <xs:element name="notifications">
223 <xs:element name="ime">
225 <xs:element name="feature">
227 <xs:element name="trust-anchor">
229 <xs:attribute name="use-system-certs" type="xs:string"/>
232 <xs:element name="privileges">
234 <xs:choice maxOccurs="unbounded" minOccurs="0">
235 <xs:element ref="packages:privilege"/>
236 <xs:element ref="packages:appdefined-privilege"/>
240 <xs:element name="privilege">
241 <xs:complexType mixed="true">
242 <xs:attribute name="type" type="xs:string"/>
245 <xs:element name="provides-appdefined-privileges">
247 <xs:choice maxOccurs="unbounded" minOccurs="0">
248 <xs:element ref="packages:appdefined-privilege"/>
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"/>
258 <xs:element name="font">
260 <xs:element name="label">
261 <xs:complexType mixed="true">
262 <xs:attribute ref="xml:lang"/>
263 <xs:anyAttribute namespace="##any" processContents="lax"/>
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"/>
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"/>
282 <xs:element name="application-service">
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"/>
293 <xs:element name="app-control">
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"/>
302 <xs:attribute name="id" type="xs:string"/>
303 <xs:attribute name="visibility" type="xs:string"/>
304 <xs:anyAttribute namespace="##any" processContents="lax"/>
307 <xs:element name="category">
309 <xs:choice maxOccurs="unbounded">
310 <xs:any minOccurs="0" processContents="lax"/>
312 <xs:attribute name="name" use="required"/>
313 <xs:anyAttribute processContents="lax"/>
316 <xs:element name="metadata">
318 <xs:attribute name="key" use="required" type="xs:string"/>
319 <xs:attribute name="value" type="xs:string"/>
320 <xs:anyAttribute processContents="lax"/>
323 <xs:element name="permission">
325 <xs:attribute name="type" type="xs:string"/>
326 <xs:anyAttribute processContents="lax"/>
329 <xs:element name="datacontrol">
331 <xs:choice maxOccurs="unbounded" minOccurs="0">
332 <xs:element ref="packages:privilege"/>
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"/>
341 <xs:element name="operation">
343 <xs:attribute name="name" use="required"/>
344 <xs:anyAttribute processContents="lax"/>
347 <xs:element name="uri">
349 <xs:attribute name="name" use="required"/>
350 <xs:anyAttribute processContents="lax"/>
353 <xs:element name="mime">
355 <xs:attribute name="name" use="required"/>
356 <xs:anyAttribute processContents="lax"/>
359 <xs:element name="subapp">
361 <xs:attribute name="name" use="required"/>
362 <xs:anyAttribute namespace="##any" processContents="lax"/>
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"/>
371 <xs:element name="support-size">
373 <xs:element name="splash-screens">
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"/>
381 <xs:element name="splash-screen">
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"/>
393 <xs:element name="component-based-application">
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"/>
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"/>
416 <xs:element name="dependencies">
418 <xs:choice maxOccurs="unbounded" minOccurs="0">
419 <xs:element ref="packages:dependency"/>
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"/>
430 <xs:element name="res-control">
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"/>
439 <xs:element name="boot-sequence">
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"/>
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"/>
463 <xs:element name="light-user">
465 <xs:attribute name="switch-mode" use="required" type="xs:string"/>
466 <xs:anyAttribute namespace="##any" processContents="lax"/>