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:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
31 <xs:attribute name="storeclient-id" type="xs:string"/>
32 <xs:attribute name="install-location" type="xs:string"/>
33 <xs:attribute name="package" use="required" type="xs:string"/>
34 <xs:attribute name="type" type="xs:string"/>
35 <xs:attribute name="version" use="required" type="xs:string"/>
36 <xs:attribute name="size" type="xs:NMTOKEN"/>
37 <xs:attribute name="root_path" type="xs:string"/>
38 <xs:attribute name="csc_path" type="xs:string"/>
39 <xs:attribute name="appsetting" type="xs:boolean"/>
40 <xs:attribute name="nodisplay-setting" type="xs:boolean"/>
41 <xs:attribute name="url" type="xs:string"/>
42 <xs:attribute name="support-disable" type="xs:boolean"/>
43 <xs:attribute name="api-version" type="xs:string"/>
44 <xs:attribute name="backend-installer" type="xs:string"/>
45 <xs:attribute name="preload" type="xs:boolean"/>
46 <xs:anyAttribute namespace="##any" processContents="lax"/>
50 <xs:element name="author">
51 <xs:complexType mixed="true">
52 <xs:attribute name="email"/>
53 <xs:attribute name="href"/>
54 <xs:attribute ref="xml:lang"/>
55 <xs:anyAttribute namespace="##any" processContents="lax"/>
58 <xs:element name="description">
59 <xs:complexType mixed="true">
60 <xs:attribute ref="xml:lang"/>
61 <xs:anyAttribute namespace="##any" processContents="lax"/>
64 <xs:element name="compatibility">
66 <xs:anyAttribute namespace="##any" processContents="lax"/>
69 <xs:element name="profile">
71 <xs:attribute name="name" use="required" type="xs:string"/>
72 <xs:anyAttribute namespace="##any" processContents="lax"/>
75 <xs:element name="watch-application">
77 <xs:choice maxOccurs="unbounded" minOccurs="0">
78 <xs:element ref="packages:label"/>
79 <xs:element ref="packages:icon"/>
80 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
82 <xs:attribute name="appid" use="required" type="xs:string"/>
83 <xs:attribute name="exec" use="required"/>
84 <xs:attribute name="ambient-support" type="xs:boolean"/>
85 <xs:anyAttribute namespace="##any" processContents="lax"/>
88 <xs:element name="watchface">
90 <xs:element name="service-application">
92 <xs:choice maxOccurs="unbounded" minOccurs="0">
93 <xs:element ref="packages:label"/>
94 <xs:element ref="packages:icon"/>
95 <xs:element ref="packages:application-service"/>
96 <xs:element ref="packages:app-control"/>
97 <xs:element ref="packages:category"/>
98 <xs:element ref="packages:metadata"/>
99 <xs:element ref="packages:permission"/>
100 <xs:element ref="packages:datacontrol"/>
101 <xs:element ref="packages:background-category"/>
102 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
104 <xs:attribute name="appid" use="required" type="xs:string"/>
105 <xs:attribute name="auto-restart" type="xs:boolean"/>
106 <xs:attribute name="exec" use="required"/>
107 <xs:attribute name="on-boot" type="xs:boolean"/>
108 <xs:attribute name="type" use="required" type="xs:string"/>
109 <xs:attribute name="multiple" type="xs:boolean"/>
110 <xs:attribute name="taskmanage" type="xs:boolean"/>
111 <xs:attribute name="permission-type" type="xs:string"/>
112 <xs:attribute name="component-type" type="xs:string"/>
113 <xs:attribute name="nodisplay" type="xs:boolean"/>
114 <xs:anyAttribute namespace="##any" processContents="lax"/>
117 <xs:element name="ui-application">
119 <xs:choice maxOccurs="unbounded" minOccurs="0">
120 <xs:element ref="packages:label"/>
121 <xs:element ref="packages:icon"/>
122 <xs:element ref="packages:image"/>
123 <xs:element ref="packages:application-service"/>
124 <xs:element ref="packages:app-control"/>
125 <xs:element ref="packages:category"/>
126 <xs:element ref="packages:metadata"/>
127 <xs:element ref="packages:permission"/>
128 <xs:element ref="packages:datacontrol"/>
129 <xs:element ref="packages:background-category"/>
130 <xs:element ref="packages:splash-screens"/>
131 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
133 <xs:attribute name="appid" use="required" type="xs:string"/>
134 <xs:attribute name="exec" use="required"/>
135 <xs:attribute name="multiple" type="xs:boolean"/>
136 <xs:attribute name="nodisplay" type="xs:boolean"/>
137 <xs:attribute name="taskmanage" type="xs:boolean"/>
138 <xs:attribute name="enabled" type="xs:boolean"/>
139 <xs:attribute name="type" use="required" type="xs:string"/>
140 <xs:attribute name="categories" type="xs:NCName"/>
141 <xs:attribute name="extraid"/>
142 <xs:attribute name="hw-acceleration" type="xs:string"/>
143 <xs:attribute name="screen-reader" type="xs:string"/>
144 <xs:attribute name="recentimage" type="xs:string"/>
145 <xs:attribute name="mainapp" type="xs:boolean"/>
146 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
147 <xs:attribute name="portrait-effectimage" type="xs:string"/>
148 <xs:attribute name="landscape-effectimage" type="xs:string"/>
149 <xs:attribute name="effectimage-type" type="xs:string"/>
150 <xs:attribute name="guestmode-visibility" type="xs:string"/>
151 <xs:attribute name="launchcondition" type="xs:boolean"/>
152 <xs:attribute name="permission-type" type="xs:string"/>
153 <xs:attribute name="component-type" type="xs:string"/>
154 <xs:attribute name="submode" type="xs:boolean"/>
155 <xs:attribute name="submode-mainid" type="xs:string"/>
156 <xs:attribute name="process-pool" type="xs:boolean"/>
157 <xs:attribute name="auto-restart" type="xs:boolean"/>
158 <xs:attribute name="on-boot" type="xs:boolean"/>
159 <xs:attribute name="multi-instance" type="xs:boolean"/>
160 <xs:attribute name="multi-instance-mainid" type="xs:string"/>
161 <xs:attribute name="ui-gadget" type="xs:boolean"/>
162 <xs:attribute name="launch_mode" type="xs:string"/>
163 <xs:attribute name="splash-screen-display" type="xs:boolean"/>
164 <xs:anyAttribute namespace="##any" processContents="lax"/>
167 <xs:element name="ime-application">
169 <xs:choice maxOccurs="unbounded">
170 <xs:element ref="packages:label"/>
171 <xs:element ref="packages:icon"/>
172 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
174 <xs:attribute name="appid" use="required" type="xs:string"/>
175 <xs:attribute name="exec" use="required" type="xs:NCName"/>
176 <xs:attribute name="multiple" type="xs:boolean"/>
177 <xs:attribute name="nodisplay" type="xs:boolean"/>
178 <xs:attribute name="type" use="required" type="xs:string"/>
179 <xs:anyAttribute namespace="##any" processContents="lax"/>
182 <xs:element name="shortcut-list">
184 <xs:element name="widget">
186 <xs:element name="widget-application">
188 <xs:choice maxOccurs="unbounded" minOccurs="0">
189 <xs:element ref="packages:label"/>
190 <xs:element ref="packages:icon"/>
191 <xs:element ref="packages:metadata"/>
192 <xs:element ref="packages:support-size"/>
193 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
195 <xs:attribute name="appid" use="required" type="xs:string"/>
196 <xs:attribute name="exec" use="required"/>
197 <xs:attribute name="main" type="xs:boolean"/>
198 <xs:attribute name="update-period" type="xs:nonNegativeInteger"/>
199 <xs:attribute name="max-instance" type="xs:nonNegativeInteger"/>
200 <xs:attribute name="preview" type="xs:string"/>
201 <xs:anyAttribute namespace="##any" processContents="lax"/>
204 <xs:element name="account">
206 <xs:element name="notifications">
208 <xs:element name="ime">
210 <xs:element name="feature">
212 <xs:element name="trust-anchor">
214 <xs:attribute name="use-system-certs" type="xs:string"/>
217 <xs:element name="privileges">
219 <xs:choice maxOccurs="unbounded" minOccurs="0">
220 <xs:element ref="packages:privilege"/>
221 <xs:element ref="packages:appdefined-privilege"/>
225 <xs:element name="privilege">
226 <xs:complexType mixed="true">
227 <xs:attribute name="type" type="xs:string"/>
230 <xs:element name="provides-appdefined-privileges">
232 <xs:choice maxOccurs="unbounded" minOccurs="0">
233 <xs:element ref="packages:appdefined-privilege"/>
237 <xs:element name="appdefined-privilege">
238 <xs:complexType mixed="true">
239 <xs:attribute name="type" type="xs:string"/>
240 <xs:attribute name="license" type="xs:string"/>
243 <xs:element name="font">
245 <xs:element name="label">
246 <xs:complexType mixed="true">
247 <xs:attribute ref="xml:lang"/>
248 <xs:anyAttribute namespace="##any" processContents="lax"/>
251 <xs:element name="icon">
252 <xs:complexType mixed="true">
253 <xs:attribute ref="xml:lang"/>
254 <xs:attribute name="section" type="xs:string"/>
255 <xs:attribute name="resolution" type="xs:string"/>
256 <xs:attribute name="dpi" type="xs:string"/>
257 <xs:anyAttribute namespace="##any" processContents="lax"/>
260 <xs:element name="image">
261 <xs:complexType mixed="true">
262 <xs:attribute ref="xml:lang"/>
263 <xs:attribute name="section" type="xs:string"/>
264 <xs:anyAttribute namespace="##any" processContents="lax"/>
267 <xs:element name="application-service">
269 <xs:choice maxOccurs="unbounded">
270 <xs:element ref="packages:operation"/>
271 <xs:element ref="packages:uri"/>
272 <xs:element ref="packages:mime"/>
273 <xs:element ref="packages:subapp"/>
274 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
278 <xs:element name="app-control">
280 <xs:choice maxOccurs="unbounded">
281 <xs:element ref="packages:operation"/>
282 <xs:element ref="packages:uri"/>
283 <xs:element ref="packages:mime"/>
284 <xs:element ref="packages:subapp"/>
285 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
289 <xs:element name="category">
291 <xs:choice maxOccurs="unbounded">
292 <xs:any minOccurs="0" processContents="lax"/>
294 <xs:attribute name="name" use="required"/>
295 <xs:anyAttribute processContents="lax"/>
298 <xs:element name="metadata">
300 <xs:attribute name="key" use="required" type="xs:string"/>
301 <xs:attribute name="value" type="xs:string"/>
302 <xs:anyAttribute processContents="lax"/>
305 <xs:element name="permission">
307 <xs:attribute name="type" type="xs:string"/>
308 <xs:anyAttribute processContents="lax"/>
311 <xs:element name="datacontrol">
313 <xs:choice maxOccurs="unbounded" minOccurs="0">
314 <xs:element ref="packages:privilege"/>
316 <xs:attribute name="providerid" type="xs:string"/>
317 <xs:attribute name="access" type="xs:string"/>
318 <xs:attribute name="type" type="xs:string"/>
319 <xs:attribute name="trusted" type="xs:boolean"/>
320 <xs:anyAttribute processContents="lax"/>
323 <xs:element name="operation">
325 <xs:attribute name="name" use="required"/>
326 <xs:anyAttribute processContents="lax"/>
329 <xs:element name="uri">
331 <xs:attribute name="name" use="required"/>
332 <xs:anyAttribute processContents="lax"/>
335 <xs:element name="mime">
337 <xs:attribute name="name" use="required"/>
338 <xs:anyAttribute processContents="lax"/>
341 <xs:element name="subapp">
343 <xs:attribute name="name" use="required"/>
344 <xs:anyAttribute namespace="##any" processContents="lax"/>
347 <xs:element name="background-category">
348 <xs:complexType mixed="true">
349 <xs:attribute name="value" type="xs:string"/>
350 <xs:anyAttribute namespace="##any" processContents="lax"/>
353 <xs:element name="support-size">
355 <xs:element name="splash-screens">
357 <xs:choice maxOccurs="unbounded" minOccurs="0">
358 <xs:element ref="packages:splash-screen"/>
359 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
363 <xs:element name="splash-screen">
365 <xs:attribute name="src" use="required" type="xs:string"/>
366 <xs:attribute name="type" use="required" type="xs:string"/>
367 <xs:attribute name="dpi" type="xs:string"/>
368 <xs:attribute name="orientation" use="required" type="xs:string"/>
369 <xs:attribute name="indicator-display" type="xs:string"/>
370 <xs:attribute name="app-control-operation" type="xs:string"/>
371 <xs:attribute name="color-depth" type="xs:string"/>
372 <xs:anyAttribute namespace="##any" processContents="lax"/>