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"/>
147 <xs:element name="watchface">
149 <xs:element name="service-application">
151 <xs:choice maxOccurs="unbounded" minOccurs="0">
152 <xs:element ref="packages:label"/>
153 <xs:element ref="packages:icon"/>
154 <xs:element ref="packages:application-service"/>
155 <xs:element ref="packages:app-control"/>
156 <xs:element ref="packages:category"/>
157 <xs:element ref="packages:metadata"/>
158 <xs:element ref="packages:permission"/>
159 <xs:element ref="packages:datacontrol"/>
160 <xs:element ref="packages:background-category"/>
162 <xs:attribute name="appid" use="required" type="xs:string"/>
163 <xs:attribute name="auto-restart" type="xs:boolean"/>
164 <xs:attribute name="exec" use="required"/>
165 <xs:attribute name="on-boot" type="xs:boolean"/>
166 <xs:attribute name="type" use="required" type="packages:TypeType"/>
167 <xs:attribute name="multiple" type="xs:boolean"/>
168 <xs:attribute name="taskmanage" type="xs:boolean"/>
169 <xs:attribute name="permission-type" type="xs:string"/>
170 <xs:attribute name="component-type" type="xs:string"/>
171 <xs:attribute name="nodisplay" type="xs:boolean"/>
174 <xs:element name="ui-application">
176 <xs:choice maxOccurs="unbounded" minOccurs="0">
177 <xs:element ref="packages:label"/>
178 <xs:element ref="packages:icon"/>
179 <xs:element ref="packages:image"/>
180 <xs:element ref="packages:application-service"/>
181 <xs:element ref="packages:app-control"/>
182 <xs:element ref="packages:category"/>
183 <xs:element ref="packages:metadata"/>
184 <xs:element ref="packages:permission"/>
185 <xs:element ref="packages:datacontrol"/>
186 <xs:element ref="packages:background-category"/>
187 <xs:element ref="packages:splash-screens"/>
189 <xs:attribute name="appid" use="required" type="xs:string"/>
190 <xs:attribute name="exec" use="required"/>
191 <xs:attribute name="multiple" type="xs:boolean"/>
192 <xs:attribute name="nodisplay" type="xs:boolean"/>
193 <xs:attribute name="taskmanage" type="xs:boolean"/>
194 <xs:attribute name="enabled" type="xs:boolean"/>
195 <xs:attribute name="type" use="required" type="packages:TypeType"/>
196 <xs:attribute name="categories" type="xs:NCName"/>
197 <xs:attribute name="extraid"/>
198 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
199 <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
200 <xs:attribute name="recentimage" type="packages:RecentImage"/>
201 <xs:attribute name="mainapp" type="xs:boolean"/>
202 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
203 <xs:attribute name="portrait-effectimage" type="xs:string"/>
204 <xs:attribute name="landscape-effectimage" type="xs:string"/>
205 <xs:attribute name="effectimage-type" type="xs:string"/>
206 <xs:attribute name="guestmode-visibility" type="xs:string"/>
207 <xs:attribute name="launchcondition" type="xs:boolean"/>
208 <xs:attribute name="permission-type" type="xs:string"/>
209 <xs:attribute name="component-type" type="xs:string"/>
210 <xs:attribute name="submode" type="xs:boolean"/>
211 <xs:attribute name="submode-mainid" type="xs:string"/>
212 <xs:attribute name="process-pool" type="xs:boolean"/>
213 <xs:attribute name="auto-restart" type="xs:boolean"/>
214 <xs:attribute name="on-boot" type="xs:boolean"/>
215 <xs:attribute name="multi-instance" type="xs:boolean"/>
216 <xs:attribute name="multi-instance-mainid" type="xs:string"/>
217 <xs:attribute name="ui-gadget" type="xs:boolean"/>
218 <xs:attribute name="launch_mode" type="packages:LaunchType"/>
219 <xs:attribute name="splash-screen-display" type="xs:boolean"/>
222 <xs:element name="ime-application">
224 <xs:choice maxOccurs="unbounded">
225 <xs:element ref="packages:label"/>
226 <xs:element ref="packages:icon"/>
228 <xs:attribute name="appid" use="required" type="xs:string"/>
229 <xs:attribute name="exec" use="required" type="xs:NCName"/>
230 <xs:attribute name="multiple" type="xs:boolean"/>
231 <xs:attribute name="nodisplay" type="xs:boolean"/>
232 <xs:attribute name="type" use="required" type="packages:TypeType"/>
235 <xs:element name="shortcut-list">
237 <xs:element name="widget">
239 <xs:element name="widget-application">
241 <xs:choice maxOccurs="unbounded" minOccurs="0">
242 <xs:element ref="packages:label"/>
243 <xs:element ref="packages:icon"/>
244 <xs:element ref="packages:support-size"/>
246 <xs:attribute name="appid" use="required" type="xs:ID"/>
247 <xs:attribute name="exec" use="required"/>
248 <xs:attribute name="main" type="xs:boolean"/>
249 <xs:attribute name="update-period" type="xs:positiveInteger"/>
250 <xs:attribute name="preview" type="xs:string"/>
253 <xs:element name="account">
255 <xs:element name="notifications">
257 <xs:element name="ime">
259 <xs:element name="feature">
261 <xs:element name="trust-anchor">
263 <xs:attribute name="use-system-certs" type="xs:string"/>
266 <xs:element name="privileges">
268 <xs:choice maxOccurs="unbounded" minOccurs="0">
269 <xs:element ref="packages:privilege"/>
270 <xs:element ref="packages:appdefined-privilege"/>
274 <xs:element name="privilege">
275 <xs:complexType mixed="true">
276 <xs:attribute name="type" type="PrivilegeType"/>
279 <xs:element name="provides-appdefined-privileges">
281 <xs:choice maxOccurs="unbounded" minOccurs="0">
282 <xs:element ref="packages:appdefined-privilege"/>
286 <xs:element name="appdefined-privilege">
287 <xs:complexType mixed="true">
288 <xs:attribute name="type" type="PrivilegeType"/>
289 <xs:attribute name="license" type="xs:string"/>
292 <xs:element name="font">
294 <xs:element name="label">
295 <xs:complexType mixed="true">
296 <xs:attribute ref="xml:lang"/>
299 <xs:element name="icon">
300 <xs:complexType mixed="true">
301 <xs:attribute ref="xml:lang"/>
302 <xs:attribute name="section" type="xs:string"/>
303 <xs:attribute name="resolution" type="packages:ResolutionType"/>
304 <xs:attribute name="dpi" type="xs:string"/>
307 <xs:element name="image">
308 <xs:complexType mixed="true">
309 <xs:attribute ref="xml:lang"/>
310 <xs:attribute name="section" type="xs:string"/>
313 <xs:simpleType name="SectionType">
314 <xs:restriction base="xs:string">
315 <xs:enumeration value="notification"/>
316 <xs:enumeration value="setting"/>
319 <xs:simpleType name="LaunchType">
320 <xs:restriction base="xs:string">
321 <xs:enumeration value="caller"/>
322 <xs:enumeration value="single"/>
323 <xs:enumeration value="group"/>
324 <xs:enumeration value="singleton"/>
327 <xs:simpleType name="ResolutionType">
328 <xs:restriction base="xs:string">
329 <xs:enumeration value="xhigh"/>
330 <xs:enumeration value="high"/>
333 <xs:element name="application-service">
335 <xs:choice maxOccurs="unbounded">
336 <xs:element ref="packages:operation"/>
337 <xs:element ref="packages:uri"/>
338 <xs:element ref="packages:mime"/>
339 <xs:element ref="packages:subapp"/>
343 <xs:element name="app-control">
345 <xs:choice maxOccurs="unbounded">
346 <xs:element ref="packages:operation"/>
347 <xs:element ref="packages:uri"/>
348 <xs:element ref="packages:mime"/>
349 <xs:element ref="packages:subapp"/>
351 <xs:attribute name="id" type="xs:string"/>
352 <xs:attribute name="visibility" type="packages:AppControlVisibilityType"/>
355 <xs:element name="category">
357 <xs:choice maxOccurs="unbounded">
358 <xs:any minOccurs="0" processContents="lax"/>
360 <xs:attribute name="name" use="required"/>
361 <xs:anyAttribute processContents="lax"/>
364 <xs:element name="metadata">
366 <xs:attribute name="key" use="required" type="xs:string"/>
367 <xs:attribute name="value" type="xs:string"/>
370 <xs:element name="permission">
372 <xs:attribute name="type" type="xs:string"/>
375 <xs:element name="datacontrol">
377 <xs:choice maxOccurs="unbounded" minOccurs="0">
378 <xs:element ref="packages:privilege"/>
380 <xs:attribute name="providerid" type="xs:string"/>
381 <xs:attribute name="access" type="xs:string"/>
382 <xs:attribute name="type" type="xs:string"/>
385 <xs:element name="operation">
387 <xs:attribute name="name" use="required"/>
390 <xs:element name="uri">
392 <xs:attribute name="name" use="required"/>
395 <xs:element name="mime">
397 <xs:attribute name="name" use="required"/>
400 <xs:element name="subapp">
402 <xs:attribute name="name" use="required"/>
405 <xs:element name="background-category">
406 <xs:complexType mixed="true">
407 <xs:attribute name="value" type="packages:BackgroundCategoryType"/>
410 <xs:simpleType name="BackgroundCategoryType">
411 <xs:restriction base="xs:string">
412 <xs:enumeration value="media"/>
413 <xs:enumeration value="download"/>
414 <xs:enumeration value="background-network"/>
415 <xs:enumeration value="location"/>
416 <xs:enumeration value="sensor"/>
417 <xs:enumeration value="iot-communication"/>
418 <xs:enumeration value="system"/>
421 <xs:element name="support-size">
423 <xs:element name="splash-screens">
425 <xs:choice maxOccurs="unbounded" minOccurs="0">
426 <xs:element ref="packages:splash-screen"/>
430 <xs:element name="splash-screen">
432 <xs:attribute name="src" use="required" type="xs:string"/>
433 <xs:attribute name="type" use="required" type="xs:string"/>
434 <xs:attribute name="dpi" type="xs:string"/>
435 <xs:attribute name="orientation" use="required" type="xs:string"/>
436 <xs:attribute name="indicator-display" type="xs:string"/>
437 <xs:attribute name="app-control-operation" type="xs:string"/>
438 <xs:attribute name="color-depth" type="xs:string"/>
441 <xs:element name="component-based-application">
443 <xs:choice maxOccurs="unbounded" minOccurs="0">
444 <xs:element ref="packages:icon"/>
445 <xs:element ref="packages:label"/>
446 <xs:element ref="packages:metadata"/>
447 <xs:element ref="packages:background-category"/>
448 <xs:element ref="packages:frame-component"/>
449 <xs:element ref="packages:service-component"/>
451 <xs:attribute name="appid" use="required" type="xs:string"/>
452 <xs:attribute name="exec" use="required"/>
453 <xs:attribute name="type" use="required" type="xs:string"/>
456 <xs:element name="frame-component">
458 <xs:attribute name="id" use="required" type="xs:string"/>
459 <xs:attribute name="launch_mode" type="xs:string"/>
462 <xs:element name="service-component">
464 <xs:attribute name="id" use="required" type="xs:string"/>
467 <xs:element name="dependencies">
469 <xs:choice maxOccurs="unbounded" minOccurs="0">
470 <xs:element ref="packages:dependency"/>
474 <xs:element name="dependency">
475 <xs:complexType mixed="true">
476 <xs:attribute name="type" use="required" type="xs:string"/>
477 <xs:attribute name="required-version" type="xs:string"/>