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:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
32 <xs:attribute name="storeclient-id" type="xs:string"/>
33 <xs:attribute name="install-location" type="xs:string"/>
34 <xs:attribute name="package" use="required" type="xs:string"/>
35 <xs:attribute name="type" type="xs:string"/>
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"/>
47 <xs:anyAttribute namespace="##any" processContents="lax"/>
51 <xs:element name="author">
52 <xs:complexType mixed="true">
53 <xs:attribute name="email"/>
54 <xs:attribute name="href"/>
55 <xs:attribute ref="xml:lang"/>
56 <xs:anyAttribute namespace="##any" processContents="lax"/>
59 <xs:element name="description">
60 <xs:complexType mixed="true">
61 <xs:attribute ref="xml:lang"/>
62 <xs:anyAttribute namespace="##any" processContents="lax"/>
65 <xs:element name="compatibility">
67 <xs:anyAttribute namespace="##any" processContents="lax"/>
70 <xs:element name="profile">
72 <xs:attribute name="name" use="required" type="xs:string"/>
73 <xs:anyAttribute namespace="##any" processContents="lax"/>
76 <xs:element name="watch-application">
78 <xs:choice maxOccurs="unbounded" minOccurs="0">
79 <xs:element ref="packages:label"/>
80 <xs:element ref="packages:icon"/>
81 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
83 <xs:attribute name="appid" use="required" type="xs:string"/>
84 <xs:attribute name="exec" use="required"/>
85 <xs:attribute name="ambient-support" type="xs:boolean"/>
86 <xs:anyAttribute namespace="##any" processContents="lax"/>
89 <xs:element name="watchface">
91 <xs:element name="service-application">
93 <xs:choice maxOccurs="unbounded" minOccurs="0">
94 <xs:element ref="packages:label"/>
95 <xs:element ref="packages:icon"/>
96 <xs:element ref="packages:application-service"/>
97 <xs:element ref="packages:app-control"/>
98 <xs:element ref="packages:category"/>
99 <xs:element ref="packages:metadata"/>
100 <xs:element ref="packages:permission"/>
101 <xs:element ref="packages:datacontrol"/>
102 <xs:element ref="packages:background-category"/>
103 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
105 <xs:attribute name="appid" use="required" type="xs:string"/>
106 <xs:attribute name="auto-restart" type="xs:boolean"/>
107 <xs:attribute name="exec" use="required"/>
108 <xs:attribute name="on-boot" type="xs:boolean"/>
109 <xs:attribute name="type" use="required" type="xs:string"/>
110 <xs:attribute name="multiple" type="xs:boolean"/>
111 <xs:attribute name="taskmanage" type="xs:boolean"/>
112 <xs:attribute name="permission-type" type="xs:string"/>
113 <xs:attribute name="component-type" type="xs:string"/>
114 <xs:attribute name="nodisplay" type="xs:boolean"/>
115 <xs:anyAttribute namespace="##any" processContents="lax"/>
118 <xs:element name="ui-application">
120 <xs:choice maxOccurs="unbounded" minOccurs="0">
121 <xs:element ref="packages:label"/>
122 <xs:element ref="packages:icon"/>
123 <xs:element ref="packages:image"/>
124 <xs:element ref="packages:application-service"/>
125 <xs:element ref="packages:app-control"/>
126 <xs:element ref="packages:category"/>
127 <xs:element ref="packages:metadata"/>
128 <xs:element ref="packages:permission"/>
129 <xs:element ref="packages:datacontrol"/>
130 <xs:element ref="packages:background-category"/>
131 <xs:element ref="packages:splash-screens"/>
132 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
134 <xs:attribute name="appid" use="required" type="xs:string"/>
135 <xs:attribute name="exec" use="required"/>
136 <xs:attribute name="multiple" type="xs:boolean"/>
137 <xs:attribute name="nodisplay" type="xs:boolean"/>
138 <xs:attribute name="taskmanage" type="xs:boolean"/>
139 <xs:attribute name="enabled" type="xs:boolean"/>
140 <xs:attribute name="type" use="required" type="xs:string"/>
141 <xs:attribute name="categories" type="xs:NCName"/>
142 <xs:attribute name="extraid"/>
143 <xs:attribute name="hw-acceleration" type="xs:string"/>
144 <xs:attribute name="screen-reader" type="xs:string"/>
145 <xs:attribute name="recentimage" type="xs:string"/>
146 <xs:attribute name="mainapp" type="xs:boolean"/>
147 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
148 <xs:attribute name="portrait-effectimage" type="xs:string"/>
149 <xs:attribute name="landscape-effectimage" type="xs:string"/>
150 <xs:attribute name="effectimage-type" type="xs:string"/>
151 <xs:attribute name="guestmode-visibility" type="xs:string"/>
152 <xs:attribute name="launchcondition" type="xs:boolean"/>
153 <xs:attribute name="permission-type" type="xs:string"/>
154 <xs:attribute name="component-type" type="xs:string"/>
155 <xs:attribute name="submode" type="xs:boolean"/>
156 <xs:attribute name="submode-mainid" type="xs:string"/>
157 <xs:attribute name="process-pool" type="xs:boolean"/>
158 <xs:attribute name="auto-restart" type="xs:boolean"/>
159 <xs:attribute name="on-boot" type="xs:boolean"/>
160 <xs:attribute name="multi-instance" type="xs:boolean"/>
161 <xs:attribute name="multi-instance-mainid" type="xs:string"/>
162 <xs:attribute name="ui-gadget" type="xs:boolean"/>
163 <xs:attribute name="launch_mode" type="xs:string"/>
164 <xs:attribute name="splash-screen-display" type="xs:boolean"/>
165 <xs:anyAttribute namespace="##any" processContents="lax"/>
168 <xs:element name="ime-application">
170 <xs:choice maxOccurs="unbounded">
171 <xs:element ref="packages:label"/>
172 <xs:element ref="packages:icon"/>
173 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
175 <xs:attribute name="appid" use="required" type="xs:string"/>
176 <xs:attribute name="exec" use="required" type="xs:NCName"/>
177 <xs:attribute name="multiple" type="xs:boolean"/>
178 <xs:attribute name="nodisplay" type="xs:boolean"/>
179 <xs:attribute name="type" use="required" type="xs:string"/>
180 <xs:anyAttribute namespace="##any" processContents="lax"/>
183 <xs:element name="shortcut-list">
185 <xs:element name="widget">
187 <xs:element name="widget-application">
189 <xs:choice maxOccurs="unbounded" minOccurs="0">
190 <xs:element ref="packages:label"/>
191 <xs:element ref="packages:icon"/>
192 <xs:element ref="packages:metadata"/>
193 <xs:element ref="packages:support-size"/>
194 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
196 <xs:attribute name="appid" use="required" type="xs:string"/>
197 <xs:attribute name="exec" use="required"/>
198 <xs:attribute name="main" type="xs:boolean"/>
199 <xs:attribute name="update-period" type="xs:nonNegativeInteger"/>
200 <xs:attribute name="max-instance" type="xs:nonNegativeInteger"/>
201 <xs:attribute name="preview" type="xs:string"/>
202 <xs:anyAttribute namespace="##any" processContents="lax"/>
205 <xs:element name="account">
207 <xs:element name="notifications">
209 <xs:element name="ime">
211 <xs:element name="feature">
213 <xs:element name="trust-anchor">
215 <xs:attribute name="use-system-certs" type="xs:string"/>
218 <xs:element name="privileges">
220 <xs:choice maxOccurs="unbounded" minOccurs="0">
221 <xs:element ref="packages:privilege"/>
222 <xs:element ref="packages:appdefined-privilege"/>
226 <xs:element name="privilege">
227 <xs:complexType mixed="true">
228 <xs:attribute name="type" type="xs:string"/>
231 <xs:element name="provides-appdefined-privileges">
233 <xs:choice maxOccurs="unbounded" minOccurs="0">
234 <xs:element ref="packages:appdefined-privilege"/>
238 <xs:element name="appdefined-privilege">
239 <xs:complexType mixed="true">
240 <xs:attribute name="type" type="xs:string"/>
241 <xs:attribute name="license" type="xs:string"/>
244 <xs:element name="font">
246 <xs:element name="label">
247 <xs:complexType mixed="true">
248 <xs:attribute ref="xml:lang"/>
249 <xs:anyAttribute namespace="##any" processContents="lax"/>
252 <xs:element name="icon">
253 <xs:complexType mixed="true">
254 <xs:attribute ref="xml:lang"/>
255 <xs:attribute name="section" type="xs:string"/>
256 <xs:attribute name="resolution" type="xs:string"/>
257 <xs:attribute name="dpi" type="xs:string"/>
258 <xs:anyAttribute namespace="##any" processContents="lax"/>
261 <xs:element name="image">
262 <xs:complexType mixed="true">
263 <xs:attribute ref="xml:lang"/>
264 <xs:attribute name="section" type="xs:string"/>
265 <xs:anyAttribute namespace="##any" processContents="lax"/>
268 <xs:element name="application-service">
270 <xs:choice maxOccurs="unbounded">
271 <xs:element ref="packages:operation"/>
272 <xs:element ref="packages:uri"/>
273 <xs:element ref="packages:mime"/>
274 <xs:element ref="packages:subapp"/>
275 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
279 <xs:element name="app-control">
281 <xs:choice maxOccurs="unbounded">
282 <xs:element ref="packages:operation"/>
283 <xs:element ref="packages:uri"/>
284 <xs:element ref="packages:mime"/>
285 <xs:element ref="packages:subapp"/>
286 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
288 <xs:attribute name="id" type="xs:string"/>
289 <xs:attribute name="visibility" type="xs:string"/>
290 <xs:anyAttribute namespace="##any" processContents="lax"/>
293 <xs:element name="category">
295 <xs:choice maxOccurs="unbounded">
296 <xs:any minOccurs="0" processContents="lax"/>
298 <xs:attribute name="name" use="required"/>
299 <xs:anyAttribute processContents="lax"/>
302 <xs:element name="metadata">
304 <xs:attribute name="key" use="required" type="xs:string"/>
305 <xs:attribute name="value" type="xs:string"/>
306 <xs:anyAttribute processContents="lax"/>
309 <xs:element name="permission">
311 <xs:attribute name="type" type="xs:string"/>
312 <xs:anyAttribute processContents="lax"/>
315 <xs:element name="datacontrol">
317 <xs:choice maxOccurs="unbounded" minOccurs="0">
318 <xs:element ref="packages:privilege"/>
320 <xs:attribute name="providerid" type="xs:string"/>
321 <xs:attribute name="access" type="xs:string"/>
322 <xs:attribute name="type" type="xs:string"/>
323 <xs:attribute name="trusted" type="xs:boolean"/>
324 <xs:anyAttribute processContents="lax"/>
327 <xs:element name="operation">
329 <xs:attribute name="name" use="required"/>
330 <xs:anyAttribute processContents="lax"/>
333 <xs:element name="uri">
335 <xs:attribute name="name" use="required"/>
336 <xs:anyAttribute processContents="lax"/>
339 <xs:element name="mime">
341 <xs:attribute name="name" use="required"/>
342 <xs:anyAttribute processContents="lax"/>
345 <xs:element name="subapp">
347 <xs:attribute name="name" use="required"/>
348 <xs:anyAttribute namespace="##any" processContents="lax"/>
351 <xs:element name="background-category">
352 <xs:complexType mixed="true">
353 <xs:attribute name="value" type="xs:string"/>
354 <xs:anyAttribute namespace="##any" processContents="lax"/>
357 <xs:element name="support-size">
359 <xs:element name="splash-screens">
361 <xs:choice maxOccurs="unbounded" minOccurs="0">
362 <xs:element ref="packages:splash-screen"/>
363 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
367 <xs:element name="splash-screen">
369 <xs:attribute name="src" use="required" type="xs:string"/>
370 <xs:attribute name="type" use="required" type="xs:string"/>
371 <xs:attribute name="dpi" type="xs:string"/>
372 <xs:attribute name="orientation" use="required" type="xs:string"/>
373 <xs:attribute name="indicator-display" type="xs:string"/>
374 <xs:attribute name="app-control-operation" type="xs:string"/>
375 <xs:attribute name="color-depth" type="xs:string"/>
376 <xs:anyAttribute namespace="##any" processContents="lax"/>
379 <xs:element name="component-based-application">
381 <xs:choice maxOccurs="unbounded" minOccurs="0">
382 <xs:element ref="packages:icon"/>
383 <xs:element ref="packages:label"/>
384 <xs:element ref="packages:metadata"/>
385 <xs:element ref="packages:background-category"/>
386 <xs:element ref="packages:frame-component"/>
387 <xs:element ref="packages:service-component"/>
388 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
390 <xs:attribute name="appid" use="required" type="xs:string"/>
391 <xs:attribute name="exec" use="required"/>
392 <xs:attribute name="type" use="required" type="xs:string"/>
393 <xs:anyAttribute namespace="##any" processContents="lax"/>
396 <xs:element name="frame-component">
398 <xs:choice maxOccurs="unbounded" minOccurs="0">
399 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
401 <xs:attribute name="id" use="required" type="xs:string"/>
402 <xs:attribute name="launch_mode" type="xs:string"/>
405 <xs:element name="service-component">
407 <xs:choice maxOccurs="unbounded" minOccurs="0">
408 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
410 <xs:attribute name="id" use="required" type="xs:string"/>