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"/>
32 <xs:attribute name="storeclient-id" type="xs:string"/>
33 <xs:attribute name="install-location" type="packages:InstallLocationType"/>
34 <xs:attribute name="package" use="required" type="xs:string"/>
35 <xs:attribute name="type" type="packages:PackageType"/>
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"/>
50 <xs:simpleType name="InstallLocationType">
51 <xs:restriction base="xs:string">
52 <xs:enumeration value="auto"/>
53 <xs:enumeration value="internal-only"/>
54 <xs:enumeration value="prefer-external"/>
57 <xs:simpleType name="PackageType">
58 <xs:restriction base="xs:string">
59 <xs:enumeration value="rpm"/>
60 <xs:enumeration value="tpk"/>
61 <xs:enumeration value="wgt"/>
64 <xs:simpleType name="ProfileType">
65 <xs:restriction base="xs:string">
66 <xs:enumeration value="mobile"/>
67 <xs:enumeration value="wearable"/>
68 <xs:enumeration value="TV"/>
71 <xs:simpleType name="TypeType">
72 <xs:restriction base="xs:string">
73 <xs:enumeration value="capp"/>
74 <xs:enumeration value="c++app"/>
75 <xs:enumeration value="webapp"/>
76 <xs:enumeration value="jsapp"/>
79 <xs:simpleType name="HwAccelerationType">
80 <xs:restriction base="xs:string">
81 <xs:enumeration value="on"/>
82 <xs:enumeration value="off"/>
83 <xs:enumeration value="default"/>
84 <xs:enumeration value="use-GL"/>
85 <xs:enumeration value="not-use-GL"/>
86 <xs:enumeration value="use-system-setting"/>
89 <xs:simpleType name="ScreenReaderType">
90 <xs:restriction base="xs:string">
91 <xs:enumeration value="screenreader-off"/>
92 <xs:enumeration value="screenreader-on"/>
93 <xs:enumeration value="use-system-setting"/>
96 <xs:simpleType name="RecentImage">
97 <xs:restriction base="xs:string">
98 <xs:enumeration value="icon"/>
99 <xs:enumeration value="capture"/>
102 <xs:simpleType name="PrivilegeType">
103 <xs:restriction base="xs:string">
104 <xs:enumeration value="tpk"/>
105 <xs:enumeration value="wgt"/>
108 <xs:simpleType name="AppControlVisibilityType">
109 <xs:restriction base="xs:string">
110 <xs:enumeration value="local-only"/>
111 <xs:enumeration value="remote-only"/>
112 <xs:enumeration value="both"/>
116 <xs:element name="author">
117 <xs:complexType mixed="true">
118 <xs:attribute name="email"/>
119 <xs:attribute name="href"/>
120 <xs:attribute ref="xml:lang"/>
123 <xs:element name="description">
124 <xs:complexType mixed="true">
125 <xs:attribute ref="xml:lang"/>
128 <xs:element name="compatibility">
131 <xs:element name="profile">
133 <xs:attribute name="name" use="required" type="packages:ProfileType"/>
136 <xs:element name="watch-application">
138 <xs:choice maxOccurs="unbounded" minOccurs="0">
139 <xs:element ref="packages:label"/>
140 <xs:element ref="packages:icon"/>
142 <xs:attribute name="appid" use="required" type="xs:string"/>
143 <xs:attribute name="exec" use="required"/>
144 <xs:attribute name="ambient-support" type="xs:boolean"/>
145 <xs:attribute name="api-version" type="xs:string"/>
148 <xs:element name="watchface">
150 <xs:element name="service-application">
152 <xs:choice maxOccurs="unbounded" minOccurs="0">
153 <xs:element ref="packages:label"/>
154 <xs:element ref="packages:icon"/>
155 <xs:element ref="packages:application-service"/>
156 <xs:element ref="packages:app-control"/>
157 <xs:element ref="packages:category"/>
158 <xs:element ref="packages:metadata"/>
159 <xs:element ref="packages:permission"/>
160 <xs:element ref="packages:datacontrol"/>
161 <xs:element ref="packages:background-category"/>
163 <xs:attribute name="appid" use="required" type="xs:string"/>
164 <xs:attribute name="auto-restart" type="xs:boolean"/>
165 <xs:attribute name="exec" use="required"/>
166 <xs:attribute name="on-boot" type="xs:boolean"/>
167 <xs:attribute name="type" use="required" type="packages:TypeType"/>
168 <xs:attribute name="multiple" type="xs:boolean"/>
169 <xs:attribute name="taskmanage" type="xs:boolean"/>
170 <xs:attribute name="permission-type" type="xs:string"/>
171 <xs:attribute name="component-type" type="xs:string"/>
172 <xs:attribute name="nodisplay" type="xs:boolean"/>
173 <xs:attribute name="api-version" type="xs:string"/>
176 <xs:element name="ui-application">
178 <xs:choice maxOccurs="unbounded" minOccurs="0">
179 <xs:element ref="packages:label"/>
180 <xs:element ref="packages:icon"/>
181 <xs:element ref="packages:image"/>
182 <xs:element ref="packages:application-service"/>
183 <xs:element ref="packages:app-control"/>
184 <xs:element ref="packages:category"/>
185 <xs:element ref="packages:metadata"/>
186 <xs:element ref="packages:permission"/>
187 <xs:element ref="packages:datacontrol"/>
188 <xs:element ref="packages:background-category"/>
189 <xs:element ref="packages:splash-screens"/>
191 <xs:attribute name="appid" use="required" type="xs:string"/>
192 <xs:attribute name="exec" use="required"/>
193 <xs:attribute name="multiple" type="xs:boolean"/>
194 <xs:attribute name="nodisplay" type="xs:boolean"/>
195 <xs:attribute name="taskmanage" type="xs:boolean"/>
196 <xs:attribute name="enabled" type="xs:boolean"/>
197 <xs:attribute name="type" use="required" type="packages:TypeType"/>
198 <xs:attribute name="categories" type="xs:NCName"/>
199 <xs:attribute name="extraid"/>
200 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
201 <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
202 <xs:attribute name="recentimage" type="packages:RecentImage"/>
203 <xs:attribute name="mainapp" type="xs:boolean"/>
204 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
205 <xs:attribute name="portrait-effectimage" type="xs:string"/>
206 <xs:attribute name="landscape-effectimage" type="xs:string"/>
207 <xs:attribute name="effectimage-type" type="xs:string"/>
208 <xs:attribute name="guestmode-visibility" type="xs:string"/>
209 <xs:attribute name="launchcondition" type="xs:boolean"/>
210 <xs:attribute name="permission-type" type="xs:string"/>
211 <xs:attribute name="component-type" type="xs:string"/>
212 <xs:attribute name="submode" type="xs:boolean"/>
213 <xs:attribute name="submode-mainid" type="xs:string"/>
214 <xs:attribute name="process-pool" type="xs:boolean"/>
215 <xs:attribute name="auto-restart" type="xs:boolean"/>
216 <xs:attribute name="on-boot" type="xs:boolean"/>
217 <xs:attribute name="multi-instance" type="xs:boolean"/>
218 <xs:attribute name="multi-instance-mainid" type="xs:string"/>
219 <xs:attribute name="ui-gadget" type="xs:boolean"/>
220 <xs:attribute name="launch_mode" type="packages:LaunchType"/>
221 <xs:attribute name="splash-screen-display" type="xs:boolean"/>
222 <xs:attribute name="api-version" type="xs:string"/>
225 <xs:element name="ime-application">
227 <xs:choice maxOccurs="unbounded">
228 <xs:element ref="packages:label"/>
229 <xs:element ref="packages:icon"/>
231 <xs:attribute name="appid" use="required" type="xs:string"/>
232 <xs:attribute name="exec" use="required" type="xs:NCName"/>
233 <xs:attribute name="multiple" type="xs:boolean"/>
234 <xs:attribute name="nodisplay" type="xs:boolean"/>
235 <xs:attribute name="type" use="required" type="packages:TypeType"/>
236 <xs:attribute name="api-version" type="xs:string"/>
239 <xs:element name="shortcut-list">
241 <xs:element name="widget">
243 <xs:element name="widget-application">
245 <xs:choice maxOccurs="unbounded" minOccurs="0">
246 <xs:element ref="packages:label"/>
247 <xs:element ref="packages:icon"/>
248 <xs:element ref="packages:support-size"/>
250 <xs:attribute name="appid" use="required" type="xs:ID"/>
251 <xs:attribute name="exec" use="required"/>
252 <xs:attribute name="main" type="xs:boolean"/>
253 <xs:attribute name="update-period" type="xs:positiveInteger"/>
254 <xs:attribute name="preview" type="xs:string"/>
255 <xs:attribute name="api-version" type="xs:string"/>
258 <xs:element name="account">
260 <xs:element name="notifications">
262 <xs:element name="ime">
264 <xs:element name="feature">
266 <xs:element name="trust-anchor">
268 <xs:attribute name="use-system-certs" type="xs:string"/>
271 <xs:element name="privileges">
273 <xs:choice maxOccurs="unbounded" minOccurs="0">
274 <xs:element ref="packages:privilege"/>
275 <xs:element ref="packages:appdefined-privilege"/>
279 <xs:element name="privilege">
280 <xs:complexType mixed="true">
281 <xs:attribute name="type" type="PrivilegeType"/>
284 <xs:element name="provides-appdefined-privileges">
286 <xs:choice maxOccurs="unbounded" minOccurs="0">
287 <xs:element ref="packages:appdefined-privilege"/>
291 <xs:element name="appdefined-privilege">
292 <xs:complexType mixed="true">
293 <xs:attribute name="type" type="PrivilegeType"/>
294 <xs:attribute name="license" type="xs:string"/>
297 <xs:element name="font">
299 <xs:element name="label">
300 <xs:complexType mixed="true">
301 <xs:attribute ref="xml:lang"/>
304 <xs:element name="icon">
305 <xs:complexType mixed="true">
306 <xs:attribute ref="xml:lang"/>
307 <xs:attribute name="section" type="xs:string"/>
308 <xs:attribute name="resolution" type="packages:ResolutionType"/>
309 <xs:attribute name="dpi" type="xs:string"/>
312 <xs:element name="image">
313 <xs:complexType mixed="true">
314 <xs:attribute ref="xml:lang"/>
315 <xs:attribute name="section" type="xs:string"/>
318 <xs:simpleType name="SectionType">
319 <xs:restriction base="xs:string">
320 <xs:enumeration value="notification"/>
321 <xs:enumeration value="setting"/>
324 <xs:simpleType name="LaunchType">
325 <xs:restriction base="xs:string">
326 <xs:enumeration value="caller"/>
327 <xs:enumeration value="single"/>
328 <xs:enumeration value="group"/>
329 <xs:enumeration value="singleton"/>
332 <xs:simpleType name="ResolutionType">
333 <xs:restriction base="xs:string">
334 <xs:enumeration value="xhigh"/>
335 <xs:enumeration value="high"/>
338 <xs:element name="application-service">
340 <xs:choice maxOccurs="unbounded">
341 <xs:element ref="packages:operation"/>
342 <xs:element ref="packages:uri"/>
343 <xs:element ref="packages:mime"/>
344 <xs:element ref="packages:subapp"/>
348 <xs:element name="app-control">
350 <xs:choice maxOccurs="unbounded">
351 <xs:element ref="packages:operation"/>
352 <xs:element ref="packages:uri"/>
353 <xs:element ref="packages:mime"/>
354 <xs:element ref="packages:subapp"/>
356 <xs:attribute name="id" type="xs:string"/>
357 <xs:attribute name="visibility" type="packages:AppControlVisibilityType"/>
360 <xs:element name="category">
362 <xs:choice maxOccurs="unbounded">
363 <xs:any minOccurs="0" processContents="lax"/>
365 <xs:attribute name="name" use="required"/>
366 <xs:anyAttribute processContents="lax"/>
369 <xs:element name="metadata">
371 <xs:attribute name="key" use="required" type="xs:string"/>
372 <xs:attribute name="value" type="xs:string"/>
375 <xs:element name="permission">
377 <xs:attribute name="type" type="xs:string"/>
380 <xs:element name="datacontrol">
382 <xs:choice maxOccurs="unbounded" minOccurs="0">
383 <xs:element ref="packages:privilege"/>
385 <xs:attribute name="providerid" type="xs:string"/>
386 <xs:attribute name="access" type="xs:string"/>
387 <xs:attribute name="type" type="xs:string"/>
390 <xs:element name="operation">
392 <xs:attribute name="name" use="required"/>
395 <xs:element name="uri">
397 <xs:attribute name="name" use="required"/>
400 <xs:element name="mime">
402 <xs:attribute name="name" use="required"/>
405 <xs:element name="subapp">
407 <xs:attribute name="name" use="required"/>
410 <xs:element name="background-category">
411 <xs:complexType mixed="true">
412 <xs:attribute name="value" type="packages:BackgroundCategoryType"/>
415 <xs:simpleType name="BackgroundCategoryType">
416 <xs:restriction base="xs:string">
417 <xs:enumeration value="media"/>
418 <xs:enumeration value="download"/>
419 <xs:enumeration value="background-network"/>
420 <xs:enumeration value="location"/>
421 <xs:enumeration value="sensor"/>
422 <xs:enumeration value="iot-communication"/>
423 <xs:enumeration value="system"/>
426 <xs:element name="support-size">
428 <xs:element name="splash-screens">
430 <xs:choice maxOccurs="unbounded" minOccurs="0">
431 <xs:element ref="packages:splash-screen"/>
435 <xs:element name="splash-screen">
437 <xs:attribute name="src" use="required" type="xs:string"/>
438 <xs:attribute name="type" use="required" type="xs:string"/>
439 <xs:attribute name="dpi" type="xs:string"/>
440 <xs:attribute name="orientation" use="required" type="xs:string"/>
441 <xs:attribute name="indicator-display" type="xs:string"/>
442 <xs:attribute name="app-control-operation" type="xs:string"/>
443 <xs:attribute name="color-depth" type="xs:string"/>
446 <xs:element name="component-based-application">
448 <xs:choice maxOccurs="unbounded" minOccurs="0">
449 <xs:element ref="packages:icon"/>
450 <xs:element ref="packages:label"/>
451 <xs:element ref="packages:metadata"/>
452 <xs:element ref="packages:background-category"/>
453 <xs:element ref="packages:app-control"/>
454 <xs:element ref="packages:category"/>
455 <xs:element ref="packages:datacontrol"/>
456 <xs:element ref="packages:splash-screens"/>
458 <xs:attribute name="appid" use="required" type="xs:string"/>
459 <xs:attribute name="exec" use="required"/>
460 <xs:attribute name="type" use="required" type="xs:string"/>
461 <xs:attribute name="api-version" type="xs:string"/>
462 <xs:attribute name="hw-acceleration" type="xs:string"/>
463 <xs:attribute name="splash-screen-display" type="xs:boolean"/>
466 <xs:element name="dependencies">
468 <xs:choice maxOccurs="unbounded" minOccurs="0">
469 <xs:element ref="packages:dependency"/>
473 <xs:element name="dependency">
474 <xs:complexType mixed="true">
475 <xs:attribute name="type" use="required" type="xs:DependencyType"/>
476 <xs:attribute name="required-version" type="xs:string"/>
477 <xs:anyAttribute namespace="##any" processContents="lax"/>
480 <xs:simpleType name="DependencyType">
481 <xs:restriction base="xs:string">
482 <xs:enumeration value="requires"/>
483 <xs:enumeration value="wants"/>