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"/>
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"/>
109 <xs:element name="author">
110 <xs:complexType mixed="true">
111 <xs:attribute name="email"/>
112 <xs:attribute name="href"/>
113 <xs:attribute ref="xml:lang"/>
116 <xs:element name="description">
117 <xs:complexType mixed="true">
118 <xs:attribute ref="xml:lang"/>
121 <xs:element name="compatibility">
124 <xs:element name="profile">
126 <xs:attribute name="name" use="required" type="packages:ProfileType"/>
129 <xs:element name="watch-application">
132 <xs:choice maxOccurs="unbounded" minOccurs="0">
133 <xs:element ref="packages:label"/>
134 <xs:element ref="packages:icon"/>
137 <xs:attribute name="appid" use="required" type="xs:string"/>
138 <xs:attribute name="exec" use="required"/>
139 <xs:attribute name="ambient-support" type="xs:boolean"/>
142 <xs:element name="watchface">
144 <xs:element name="service-application">
147 <xs:choice maxOccurs="unbounded" minOccurs="0">
148 <xs:element ref="packages:label"/>
149 <xs:element ref="packages:icon"/>
150 <xs:element ref="packages:application-service"/>
151 <xs:element ref="packages:app-control"/>
152 <xs:element ref="packages:category"/>
153 <xs:element ref="packages:metadata"/>
154 <xs:element ref="packages:permission"/>
155 <xs:element ref="packages:datacontrol"/>
156 <xs:element ref="packages:background-category"/>
159 <xs:attribute name="appid" use="required" type="xs:string"/>
160 <xs:attribute name="auto-restart" type="xs:boolean"/>
161 <xs:attribute name="exec" use="required"/>
162 <xs:attribute name="on-boot" type="xs:boolean"/>
163 <xs:attribute name="type" use="required" type="packages:TypeType"/>
164 <xs:attribute name="multiple" type="xs:boolean"/>
165 <xs:attribute name="taskmanage" type="xs:boolean"/>
166 <xs:attribute name="permission-type" type="xs:string"/>
167 <xs:attribute name="component-type" type="xs:string"/>
168 <xs:attribute name="nodisplay" type="xs:boolean"/>
171 <xs:element name="ui-application">
174 <xs:choice maxOccurs="unbounded" minOccurs="0">
175 <xs:element ref="packages:label"/>
176 <xs:element ref="packages:icon"/>
177 <xs:element ref="packages:image"/>
178 <xs:element ref="packages:application-service"/>
179 <xs:element ref="packages:app-control"/>
180 <xs:element ref="packages:category"/>
181 <xs:element ref="packages:metadata"/>
182 <xs:element ref="packages:permission"/>
183 <xs:element ref="packages:datacontrol"/>
184 <xs:element ref="packages:background-category"/>
185 <xs:element ref="packages:splash-screens"/>
188 <xs:attribute name="appid" use="required" type="xs:string"/>
189 <xs:attribute name="exec" use="required"/>
190 <xs:attribute name="multiple" type="xs:boolean"/>
191 <xs:attribute name="nodisplay" type="xs:boolean"/>
192 <xs:attribute name="taskmanage" type="xs:boolean"/>
193 <xs:attribute name="enabled" type="xs:boolean"/>
194 <xs:attribute name="type" use="required" type="packages:TypeType"/>
195 <xs:attribute name="categories" type="xs:NCName"/>
196 <xs:attribute name="extraid"/>
197 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
198 <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
199 <xs:attribute name="recentimage" type="packages:RecentImage"/>
200 <xs:attribute name="mainapp" type="xs:boolean"/>
201 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
202 <xs:attribute name="portrait-effectimage" type="xs:string"/>
203 <xs:attribute name="landscape-effectimage" type="xs:string"/>
204 <xs:attribute name="effectimage-type" type="xs:string"/>
205 <xs:attribute name="guestmode-visibility" type="xs:string"/>
206 <xs:attribute name="launchcondition" type="xs:boolean"/>
207 <xs:attribute name="permission-type" type="xs:string"/>
208 <xs:attribute name="component-type" type="xs:string"/>
209 <xs:attribute name="submode" type="xs:boolean"/>
210 <xs:attribute name="submode-mainid" type="xs:string"/>
211 <xs:attribute name="process-pool" type="xs:boolean"/>
212 <xs:attribute name="auto-restart" type="xs:boolean"/>
213 <xs:attribute name="on-boot" type="xs:boolean"/>
214 <xs:attribute name="multi-instance" type="xs:boolean"/>
215 <xs:attribute name="multi-instance-mainid" type="xs:string"/>
216 <xs:attribute name="ui-gadget" type="xs:boolean"/>
217 <xs:attribute name="launch_mode" type="packages:LaunchType"/>
218 <xs:attribute name="splash-screen-display" type="xs:boolean"/>
221 <xs:element name="ime-application">
224 <xs:choice maxOccurs="unbounded">
225 <xs:element ref="packages:label"/>
226 <xs:element ref="packages:icon"/>
229 <xs:attribute name="appid" use="required" type="xs:string"/>
230 <xs:attribute name="exec" use="required" type="xs:NCName"/>
231 <xs:attribute name="multiple" type="xs:boolean"/>
232 <xs:attribute name="nodisplay" type="xs:boolean"/>
233 <xs:attribute name="type" use="required" type="packages:TypeType"/>
236 <xs:element name="shortcut-list">
238 <xs:element name="widget">
240 <xs:element name="widget-application">
243 <xs:choice maxOccurs="unbounded" minOccurs="0">
244 <xs:element ref="packages:label"/>
245 <xs:element ref="packages:icon"/>
246 <xs:element ref="packages:support-size"/>
249 <xs:attribute name="appid" use="required" type="xs:ID"/>
250 <xs:attribute name="exec" use="required"/>
251 <xs:attribute name="main" type="xs:boolean"/>
252 <xs:attribute name="update-period" type="xs:positiveInteger"/>
253 <xs:attribute name="preview" type="xs:string"/>
256 <xs:element name="account">
258 <xs:element name="notifications">
260 <xs:element name="ime">
262 <xs:element name="feature">
264 <xs:element name="trust-anchor">
266 <xs:attribute name="pkg-certs-dir" type="xs:string"/>
267 <xs:attribute name="use-system-certs" type="xs:string"/>
270 <xs:element name="privileges">
273 <xs:choice maxOccurs="unbounded" minOccurs="0">
274 <xs:element ref="packages:privilege"/>
275 <xs:element ref="packages:appdefined-privilege"/>
280 <xs:element name="privilege">
281 <xs:complexType mixed="true">
282 <xs:attribute name="type" type="PrivilegeType"/>
285 <xs:element name="provides-appdefined-privileges">
288 <xs:choice maxOccurs="unbounded" minOccurs="0">
289 <xs:element ref="packages:appdefined-privilege"/>
294 <xs:element name="appdefined-privilege">
295 <xs:complexType mixed="true">
296 <xs:attribute name="type" type="PrivilegeType"/>
297 <xs:attribute name="license" type="xs:string"/>
300 <xs:element name="font">
302 <xs:element name="label">
303 <xs:complexType mixed="true">
304 <xs:attribute ref="xml:lang"/>
307 <xs:element name="icon">
308 <xs:complexType mixed="true">
309 <xs:attribute ref="xml:lang"/>
310 <xs:attribute name="section" type="xs:string"/>
311 <xs:attribute name="resolution" type="packages:ResolutionType"/>
312 <xs:attribute name="dpi" type="xs:string"/>
315 <xs:element name="image">
316 <xs:complexType mixed="true">
317 <xs:attribute ref="xml:lang"/>
318 <xs:attribute name="section" type="xs:string"/>
321 <xs:simpleType name="SectionType">
322 <xs:restriction base="xs:string">
323 <xs:enumeration value="notification"/>
324 <xs:enumeration value="setting"/>
327 <xs:simpleType name="LaunchType">
328 <xs:restriction base="xs:string">
329 <xs:enumeration value="caller"/>
330 <xs:enumeration value="single"/>
331 <xs:enumeration value="group"/>
332 <xs:enumeration value="singleton"/>
335 <xs:simpleType name="ResolutionType">
336 <xs:restriction base="xs:string">
337 <xs:enumeration value="xhigh"/>
338 <xs:enumeration value="high"/>
341 <xs:element name="application-service">
344 <xs:choice maxOccurs="unbounded">
345 <xs:element ref="packages:operation"/>
346 <xs:element ref="packages:uri"/>
347 <xs:element ref="packages:mime"/>
348 <xs:element ref="packages:subapp"/>
353 <xs:element name="app-control">
356 <xs:choice maxOccurs="unbounded">
357 <xs:element ref="packages:operation"/>
358 <xs:element ref="packages:uri"/>
359 <xs:element ref="packages:mime"/>
360 <xs:element ref="packages:subapp"/>
365 <xs:element name="category">
368 <xs:choice maxOccurs="unbounded">
369 <xs:any minOccurs="0" processContents="lax"/>
372 <xs:attribute name="name" use="required"/>
373 <xs:anyAttribute processContents="lax"/>
376 <xs:element name="metadata">
378 <xs:attribute name="key" use="required" type="xs:string"/>
379 <xs:attribute name="value" type="xs:string"/>
382 <xs:element name="permission">
384 <xs:attribute name="type" type="xs:string"/>
387 <xs:element name="datacontrol">
390 <xs:choice maxOccurs="unbounded" minOccurs="0">
391 <xs:element ref="packages:privilege"/>
394 <xs:attribute name="providerid" type="xs:string"/>
395 <xs:attribute name="access" type="xs:string"/>
396 <xs:attribute name="type" type="xs:string"/>
399 <xs:element name="operation">
401 <xs:attribute name="name" use="required"/>
404 <xs:element name="uri">
406 <xs:attribute name="name" use="required"/>
409 <xs:element name="mime">
411 <xs:attribute name="name" use="required"/>
414 <xs:element name="subapp">
416 <xs:attribute name="name" use="required"/>
419 <xs:element name="background-category">
420 <xs:complexType mixed="true">
421 <xs:attribute name="value" type="packages:BackgroundCategoryType"/>
424 <xs:simpleType name="BackgroundCategoryType">
425 <xs:restriction base="xs:string">
426 <xs:enumeration value="media"/>
427 <xs:enumeration value="download"/>
428 <xs:enumeration value="background-network"/>
429 <xs:enumeration value="location"/>
430 <xs:enumeration value="sensor"/>
431 <xs:enumeration value="iot-communication"/>
432 <xs:enumeration value="system"/>
435 <xs:element name="support-size">
437 <xs:element name="splash-screens">
440 <xs:choice maxOccurs="unbounded" minOccurs="0">
441 <xs:element ref="packages:splash-screen"/>
446 <xs:element name="splash-screen">
448 <xs:attribute name="src" use="required" type="xs:string"/>
449 <xs:attribute name="type" use="required" type="xs:string"/>
450 <xs:attribute name="dpi" type="xs:string"/>
451 <xs:attribute name="orientation" use="required" type="xs:string"/>
452 <xs:attribute name="indicator-display" type="xs:string"/>
453 <xs:attribute name="app-control-operation" type="xs:string"/>
454 <xs:attribute name="color-depth" type="xs:string"/>