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:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
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"/>
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"/>
60 <xs:element name="description">
61 <xs:complexType mixed="true">
62 <xs:attribute ref="xml:lang"/>
63 <xs:anyAttribute namespace="##any" processContents="lax"/>
66 <xs:element name="compatibility">
68 <xs:anyAttribute namespace="##any" processContents="lax"/>
71 <xs:element name="profile">
73 <xs:attribute name="name" use="required" type="xs:string"/>
74 <xs:anyAttribute namespace="##any" processContents="lax"/>
77 <xs:element name="watch-application">
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"/>
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"/>
91 <xs:element name="watchface">
93 <xs:element name="service-application">
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"/>
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"/>
121 <xs:element name="ui-application">
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"/>
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"/>
172 <xs:element name="ime-application">
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"/>
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"/>
188 <xs:element name="shortcut-list">
190 <xs:element name="widget">
192 <xs:element name="widget-application">
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"/>
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"/>
211 <xs:element name="account">
213 <xs:element name="notifications">
215 <xs:element name="ime">
217 <xs:element name="feature">
219 <xs:element name="trust-anchor">
221 <xs:attribute name="use-system-certs" type="xs:string"/>
224 <xs:element name="privileges">
226 <xs:choice maxOccurs="unbounded" minOccurs="0">
227 <xs:element ref="packages:privilege"/>
228 <xs:element ref="packages:appdefined-privilege"/>
232 <xs:element name="privilege">
233 <xs:complexType mixed="true">
234 <xs:attribute name="type" type="xs:string"/>
237 <xs:element name="provides-appdefined-privileges">
239 <xs:choice maxOccurs="unbounded" minOccurs="0">
240 <xs:element ref="packages:appdefined-privilege"/>
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"/>
250 <xs:element name="font">
252 <xs:element name="label">
253 <xs:complexType mixed="true">
254 <xs:attribute ref="xml:lang"/>
255 <xs:anyAttribute namespace="##any" processContents="lax"/>
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"/>
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"/>
274 <xs:element name="application-service">
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"/>
285 <xs:element name="app-control">
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"/>
294 <xs:attribute name="id" type="xs:string"/>
295 <xs:attribute name="visibility" type="xs:string"/>
296 <xs:anyAttribute namespace="##any" processContents="lax"/>
299 <xs:element name="category">
301 <xs:choice maxOccurs="unbounded">
302 <xs:any minOccurs="0" processContents="lax"/>
304 <xs:attribute name="name" use="required"/>
305 <xs:anyAttribute processContents="lax"/>
308 <xs:element name="metadata">
310 <xs:attribute name="key" use="required" type="xs:string"/>
311 <xs:attribute name="value" type="xs:string"/>
312 <xs:anyAttribute processContents="lax"/>
315 <xs:element name="permission">
317 <xs:attribute name="type" type="xs:string"/>
318 <xs:anyAttribute processContents="lax"/>
321 <xs:element name="datacontrol">
323 <xs:choice maxOccurs="unbounded" minOccurs="0">
324 <xs:element ref="packages:privilege"/>
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"/>
333 <xs:element name="operation">
335 <xs:attribute name="name" use="required"/>
336 <xs:anyAttribute processContents="lax"/>
339 <xs:element name="uri">
341 <xs:attribute name="name" use="required"/>
342 <xs:anyAttribute processContents="lax"/>
345 <xs:element name="mime">
347 <xs:attribute name="name" use="required"/>
348 <xs:anyAttribute processContents="lax"/>
351 <xs:element name="subapp">
353 <xs:attribute name="name" use="required"/>
354 <xs:anyAttribute namespace="##any" processContents="lax"/>
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"/>
363 <xs:element name="support-size">
365 <xs:element name="splash-screens">
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"/>
373 <xs:element name="splash-screen">
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"/>
385 <xs:element name="component-based-application">
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"/>
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"/>
407 <xs:element name="dependencies">
409 <xs:choice maxOccurs="unbounded" minOccurs="0">
410 <xs:element ref="packages:dependency"/>
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:anyAttribute namespace="##any" processContents="lax"/>