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">
8 <xs:choice maxOccurs="unbounded">
9 <xs:element ref="packages:label"/>
10 <xs:element ref="packages:icon"/>
11 <xs:element ref="packages:author"/>
12 <xs:element ref="packages:description"/>
13 <xs:element ref="packages:compatibility"/>
14 <xs:element ref="packages:profile"/>
15 <xs:element ref="packages:watch-application"/>
16 <xs:element ref="packages:watchface"/>
17 <xs:element ref="packages:service-application"/>
18 <xs:element ref="packages:ui-application"/>
19 <xs:element ref="packages:ime-application"/>
20 <xs:element ref="packages:shortcut-list"/>
21 <xs:element ref="packages:widget"/>
22 <xs:element ref="packages:widget-application"/>
23 <xs:element ref="packages:account"/>
24 <xs:element ref="packages:notifications"/>
25 <xs:element ref="packages:privileges"/>
26 <xs:element ref="packages:font"/>
27 <xs:element ref="packages:ime"/>
28 <xs:element ref="packages:feature"/>
29 <xs:element ref="packages:trust-anchor"/>
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">
80 <xs:choice maxOccurs="unbounded" minOccurs="0">
81 <xs:element ref="packages:label"/>
82 <xs:element ref="packages:icon"/>
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:anyAttribute namespace="##any" processContents="lax"/>
92 <xs:element name="watchface">
94 <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"/>
108 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
110 <xs:attribute name="appid" use="required" type="xs:string"/>
111 <xs:attribute name="auto-restart" type="xs:boolean"/>
112 <xs:attribute name="exec" use="required"/>
113 <xs:attribute name="on-boot" type="xs:boolean"/>
114 <xs:attribute name="type" use="required" type="xs:string"/>
115 <xs:attribute name="multiple" type="xs:boolean"/>
116 <xs:attribute name="taskmanage" type="xs:boolean"/>
117 <xs:attribute name="permission-type" type="xs:string"/>
118 <xs:attribute name="component-type" type="xs:string"/>
119 <xs:attribute name="nodisplay" type="xs:boolean"/>
120 <xs:anyAttribute namespace="##any" processContents="lax"/>
123 <xs:element name="ui-application">
126 <xs:choice maxOccurs="unbounded" minOccurs="0">
127 <xs:element ref="packages:label"/>
128 <xs:element ref="packages:icon"/>
129 <xs:element ref="packages:image"/>
130 <xs:element ref="packages:application-service"/>
131 <xs:element ref="packages:app-control"/>
132 <xs:element ref="packages:category"/>
133 <xs:element ref="packages:metadata"/>
134 <xs:element ref="packages:permission"/>
135 <xs:element ref="packages:datacontrol"/>
136 <xs:element ref="packages:background-category"/>
137 <xs:element ref="packages:splash-screens"/>
139 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
141 <xs:attribute name="appid" use="required" type="xs:string"/>
142 <xs:attribute name="exec" use="required"/>
143 <xs:attribute name="multiple" type="xs:boolean"/>
144 <xs:attribute name="nodisplay" type="xs:boolean"/>
145 <xs:attribute name="taskmanage" type="xs:boolean"/>
146 <xs:attribute name="enabled" type="xs:boolean"/>
147 <xs:attribute name="type" use="required" type="xs:string"/>
148 <xs:attribute name="categories" type="xs:NCName"/>
149 <xs:attribute name="extraid"/>
150 <xs:attribute name="hw-acceleration" type="xs:string"/>
151 <xs:attribute name="screen-reader" type="xs:string"/>
152 <xs:attribute name="recentimage" type="xs:string"/>
153 <xs:attribute name="mainapp" type="xs:boolean"/>
154 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
155 <xs:attribute name="portrait-effectimage" type="xs:string"/>
156 <xs:attribute name="landscape-effectimage" type="xs:string"/>
157 <xs:attribute name="effectimage-type" type="xs:string"/>
158 <xs:attribute name="guestmode-visibility" type="xs:string"/>
159 <xs:attribute name="launchcondition" type="xs:boolean"/>
160 <xs:attribute name="permission-type" type="xs:string"/>
161 <xs:attribute name="component-type" type="xs:string"/>
162 <xs:attribute name="submode" type="xs:boolean"/>
163 <xs:attribute name="submode-mainid" type="xs:string"/>
164 <xs:attribute name="process-pool" type="xs:boolean"/>
165 <xs:attribute name="auto-restart" type="xs:boolean"/>
166 <xs:attribute name="on-boot" type="xs:boolean"/>
167 <xs:attribute name="multi-instance" type="xs:boolean"/>
168 <xs:attribute name="multi-instance-mainid" type="xs:string"/>
169 <xs:attribute name="ui-gadget" type="xs:boolean"/>
170 <xs:attribute name="launch_mode" type="xs:string"/>
171 <xs:attribute name="splash-screen-display" type="xs:boolean"/>
172 <xs:anyAttribute namespace="##any" processContents="lax"/>
175 <xs:element name="ime-application">
178 <xs:choice maxOccurs="unbounded">
179 <xs:element ref="packages:label"/>
180 <xs:element ref="packages:icon"/>
182 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
184 <xs:attribute name="appid" use="required" type="xs:string"/>
185 <xs:attribute name="exec" use="required" type="xs:NCName"/>
186 <xs:attribute name="multiple" type="xs:boolean"/>
187 <xs:attribute name="nodisplay" type="xs:boolean"/>
188 <xs:attribute name="type" use="required" type="xs:string"/>
189 <xs:anyAttribute namespace="##any" processContents="lax"/>
192 <xs:element name="shortcut-list">
194 <xs:element name="widget">
196 <xs:element name="widget-application">
199 <xs:choice maxOccurs="unbounded" minOccurs="0">
200 <xs:element ref="packages:label"/>
201 <xs:element ref="packages:icon"/>
202 <xs:element ref="packages:metadata"/>
203 <xs:element ref="packages:support-size"/>
205 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
207 <xs:attribute name="appid" use="required" type="xs:string"/>
208 <xs:attribute name="exec" use="required"/>
209 <xs:attribute name="main" type="xs:boolean"/>
210 <xs:attribute name="update-period" type="xs:nonNegativeInteger"/>
211 <xs:attribute name="max-instance" type="xs:nonNegativeInteger"/>
212 <xs:attribute name="preview" type="xs:string"/>
213 <xs:anyAttribute namespace="##any" processContents="lax"/>
216 <xs:element name="account">
218 <xs:element name="notifications">
220 <xs:element name="ime">
222 <xs:element name="feature">
224 <xs:element name="trust-anchor">
226 <xs:attribute name="pkg-certs-dir" type="xs:string"/>
227 <xs:attribute name="use-system-certs" type="xs:string"/>
230 <xs:element name="privileges">
233 <xs:choice maxOccurs="unbounded" minOccurs="0">
234 <xs:element ref="packages:privilege"/>
235 <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">
248 <xs:choice maxOccurs="unbounded" minOccurs="0">
249 <xs:element ref="packages:appdefined-privilege"/>
254 <xs:element name="appdefined-privilege">
255 <xs:complexType mixed="true">
256 <xs:attribute name="type" type="xs:string"/>
257 <xs:attribute name="license" type="xs:string"/>
260 <xs:element name="font">
262 <xs:element name="label">
263 <xs:complexType mixed="true">
264 <xs:attribute ref="xml:lang"/>
265 <xs:anyAttribute namespace="##any" processContents="lax"/>
268 <xs:element name="icon">
269 <xs:complexType mixed="true">
270 <xs:attribute ref="xml:lang"/>
271 <xs:attribute name="section" type="xs:string"/>
272 <xs:attribute name="resolution" type="xs:string"/>
273 <xs:attribute name="dpi" type="xs:string"/>
274 <xs:anyAttribute namespace="##any" processContents="lax"/>
277 <xs:element name="image">
278 <xs:complexType mixed="true">
279 <xs:attribute ref="xml:lang"/>
280 <xs:attribute name="section" type="xs:string"/>
281 <xs:anyAttribute namespace="##any" processContents="lax"/>
284 <xs:element name="application-service">
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"/>
297 <xs:element name="app-control">
300 <xs:choice maxOccurs="unbounded">
301 <xs:element ref="packages:operation"/>
302 <xs:element ref="packages:uri"/>
303 <xs:element ref="packages:mime"/>
304 <xs:element ref="packages:subapp"/>
305 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
310 <xs:element name="category">
313 <xs:choice maxOccurs="unbounded">
314 <xs:any minOccurs="0" processContents="lax"/>
317 <xs:attribute name="name" use="required"/>
318 <xs:anyAttribute processContents="lax"/>
321 <xs:element name="metadata">
323 <xs:attribute name="key" use="required" type="xs:string"/>
324 <xs:attribute name="value" type="xs:string"/>
325 <xs:anyAttribute processContents="lax"/>
328 <xs:element name="permission">
330 <xs:attribute name="type" type="xs:string"/>
331 <xs:anyAttribute processContents="lax"/>
334 <xs:element name="datacontrol">
337 <xs:choice maxOccurs="unbounded" minOccurs="0">
338 <xs:element ref="packages:privilege"/>
341 <xs:attribute name="providerid" type="xs:string"/>
342 <xs:attribute name="access" type="xs:string"/>
343 <xs:attribute name="type" type="xs:string"/>
344 <xs:attribute name="trusted" type="xs:boolean"/>
345 <xs:anyAttribute processContents="lax"/>
348 <xs:element name="operation">
350 <xs:attribute name="name" use="required"/>
351 <xs:anyAttribute processContents="lax"/>
354 <xs:element name="uri">
356 <xs:attribute name="name" use="required"/>
357 <xs:anyAttribute processContents="lax"/>
360 <xs:element name="mime">
362 <xs:attribute name="name" use="required"/>
363 <xs:anyAttribute processContents="lax"/>
366 <xs:element name="subapp">
368 <xs:attribute name="name" use="required"/>
369 <xs:anyAttribute namespace="##any" processContents="lax"/>
372 <xs:element name="background-category">
373 <xs:complexType mixed="true">
374 <xs:attribute name="value" type="xs:string"/>
375 <xs:anyAttribute namespace="##any" processContents="lax"/>
378 <xs:element name="support-size">
380 <xs:element name="splash-screens">
383 <xs:choice maxOccurs="unbounded" minOccurs="0">
384 <xs:element ref="packages:splash-screen"/>
385 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
390 <xs:element name="splash-screen">
392 <xs:attribute name="src" use="required" type="xs:string"/>
393 <xs:attribute name="type" use="required" type="xs:string"/>
394 <xs:attribute name="dpi" type="xs:string"/>
395 <xs:attribute name="orientation" use="required" type="xs:string"/>
396 <xs:attribute name="indicator-display" type="xs:string"/>
397 <xs:attribute name="app-control-operation" type="xs:string"/>
398 <xs:attribute name="color-depth" type="xs:string"/>
399 <xs:anyAttribute namespace="##any" processContents="lax"/>