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"/>
31 <xs:attribute name="storeclient-id" type="xs:string"/>
32 <xs:attribute name="install-location" type="packages:InstallLocationType"/>
33 <xs:attribute name="package" use="required" type="xs:string"/>
34 <xs:attribute name="type" type="packages:PackageType"/>
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"/>
49 <xs:simpleType name="InstallLocationType">
50 <xs:restriction base="xs:string">
51 <xs:enumeration value="auto"/>
52 <xs:enumeration value="internal-only"/>
53 <xs:enumeration value="prefer-external"/>
56 <xs:simpleType name="PackageType">
57 <xs:restriction base="xs:string">
58 <xs:enumeration value="rpm"/>
59 <xs:enumeration value="tpk"/>
60 <xs:enumeration value="wgt"/>
63 <xs:simpleType name="ProfileType">
64 <xs:restriction base="xs:string">
65 <xs:enumeration value="mobile"/>
66 <xs:enumeration value="wearable"/>
67 <xs:enumeration value="TV"/>
70 <xs:simpleType name="TypeType">
71 <xs:restriction base="xs:string">
72 <xs:enumeration value="capp"/>
73 <xs:enumeration value="c++app"/>
74 <xs:enumeration value="webapp"/>
75 <xs:enumeration value="jsapp"/>
78 <xs:simpleType name="HwAccelerationType">
79 <xs:restriction base="xs:string">
80 <xs:enumeration value="on"/>
81 <xs:enumeration value="off"/>
82 <xs:enumeration value="default"/>
83 <xs:enumeration value="use-GL"/>
84 <xs:enumeration value="not-use-GL"/>
85 <xs:enumeration value="use-system-setting"/>
88 <xs:simpleType name="ScreenReaderType">
89 <xs:restriction base="xs:string">
90 <xs:enumeration value="screenreader-off"/>
91 <xs:enumeration value="screenreader-on"/>
92 <xs:enumeration value="use-system-setting"/>
95 <xs:simpleType name="RecentImage">
96 <xs:restriction base="xs:string">
97 <xs:enumeration value="icon"/>
98 <xs:enumeration value="capture"/>
101 <xs:simpleType name="PrivilegeType">
102 <xs:restriction base="xs:string">
103 <xs:enumeration value="tpk"/>
104 <xs:enumeration value="wgt"/>
108 <xs:element name="author">
109 <xs:complexType mixed="true">
110 <xs:attribute name="email"/>
111 <xs:attribute name="href"/>
112 <xs:attribute ref="xml:lang"/>
115 <xs:element name="description">
116 <xs:complexType mixed="true">
117 <xs:attribute ref="xml:lang"/>
120 <xs:element name="compatibility">
123 <xs:element name="profile">
125 <xs:attribute name="name" use="required" type="packages:ProfileType"/>
128 <xs:element name="watch-application">
131 <xs:choice maxOccurs="unbounded" minOccurs="0">
132 <xs:element ref="packages:label"/>
133 <xs:element ref="packages:icon"/>
136 <xs:attribute name="appid" use="required" type="xs:string"/>
137 <xs:attribute name="exec" use="required"/>
138 <xs:attribute name="ambient-support" type="xs:boolean"/>
141 <xs:element name="watchface">
143 <xs:element name="service-application">
146 <xs:choice maxOccurs="unbounded" minOccurs="0">
147 <xs:element ref="packages:label"/>
148 <xs:element ref="packages:icon"/>
149 <xs:element ref="packages:application-service"/>
150 <xs:element ref="packages:app-control"/>
151 <xs:element ref="packages:category"/>
152 <xs:element ref="packages:metadata"/>
153 <xs:element ref="packages:permission"/>
154 <xs:element ref="packages:datacontrol"/>
155 <xs:element ref="packages:background-category"/>
158 <xs:attribute name="appid" use="required" type="xs:string"/>
159 <xs:attribute name="auto-restart" type="xs:boolean"/>
160 <xs:attribute name="exec" use="required"/>
161 <xs:attribute name="on-boot" type="xs:boolean"/>
162 <xs:attribute name="type" use="required" type="packages:TypeType"/>
163 <xs:attribute name="multiple" type="xs:boolean"/>
164 <xs:attribute name="taskmanage" type="xs:boolean"/>
165 <xs:attribute name="permission-type" type="xs:string"/>
166 <xs:attribute name="component-type" type="xs:string"/>
167 <xs:attribute name="nodisplay" type="xs:boolean"/>
170 <xs:element name="ui-application">
173 <xs:choice maxOccurs="unbounded" minOccurs="0">
174 <xs:element ref="packages:label"/>
175 <xs:element ref="packages:icon"/>
176 <xs:element ref="packages:image"/>
177 <xs:element ref="packages:application-service"/>
178 <xs:element ref="packages:app-control"/>
179 <xs:element ref="packages:category"/>
180 <xs:element ref="packages:metadata"/>
181 <xs:element ref="packages:permission"/>
182 <xs:element ref="packages:datacontrol"/>
183 <xs:element ref="packages:background-category"/>
184 <xs:element ref="packages:splash-screens"/>
187 <xs:attribute name="appid" use="required" type="xs:string"/>
188 <xs:attribute name="exec" use="required"/>
189 <xs:attribute name="multiple" type="xs:boolean"/>
190 <xs:attribute name="nodisplay" type="xs:boolean"/>
191 <xs:attribute name="taskmanage" type="xs:boolean"/>
192 <xs:attribute name="enabled" type="xs:boolean"/>
193 <xs:attribute name="type" use="required" type="packages:TypeType"/>
194 <xs:attribute name="categories" type="xs:NCName"/>
195 <xs:attribute name="extraid"/>
196 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
197 <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
198 <xs:attribute name="recentimage" type="packages:RecentImage"/>
199 <xs:attribute name="mainapp" type="xs:boolean"/>
200 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
201 <xs:attribute name="portrait-effectimage" type="xs:string"/>
202 <xs:attribute name="landscape-effectimage" type="xs:string"/>
203 <xs:attribute name="effectimage-type" type="xs:string"/>
204 <xs:attribute name="guestmode-visibility" type="xs:string"/>
205 <xs:attribute name="launchcondition" type="xs:boolean"/>
206 <xs:attribute name="permission-type" type="xs:string"/>
207 <xs:attribute name="component-type" type="xs:string"/>
208 <xs:attribute name="submode" type="xs:boolean"/>
209 <xs:attribute name="submode-mainid" type="xs:string"/>
210 <xs:attribute name="process-pool" type="xs:boolean"/>
211 <xs:attribute name="auto-restart" type="xs:boolean"/>
212 <xs:attribute name="on-boot" type="xs:boolean"/>
213 <xs:attribute name="multi-instance" type="xs:boolean"/>
214 <xs:attribute name="multi-instance-mainid" type="xs:string"/>
215 <xs:attribute name="ui-gadget" type="xs:boolean"/>
216 <xs:attribute name="launch_mode" type="packages:LaunchType"/>
217 <xs:attribute name="splash-screen-display" type="xs:boolean"/>
220 <xs:element name="ime-application">
223 <xs:choice maxOccurs="unbounded">
224 <xs:element ref="packages:label"/>
225 <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">
242 <xs:choice maxOccurs="unbounded" minOccurs="0">
243 <xs:element ref="packages:label"/>
244 <xs:element ref="packages:icon"/>
245 <xs:element ref="packages:support-size"/>
248 <xs:attribute name="appid" use="required" type="xs:ID"/>
249 <xs:attribute name="exec" use="required"/>
250 <xs:attribute name="main" type="xs:boolean"/>
251 <xs:attribute name="update-period" type="xs:positiveInteger"/>
252 <xs:attribute name="preview" type="xs:string"/>
255 <xs:element name="account">
257 <xs:element name="notifications">
259 <xs:element name="ime">
261 <xs:element name="feature">
263 <xs:element name="privileges">
266 <xs:choice maxOccurs="unbounded" minOccurs="0">
267 <xs:element ref="packages:privilege"/>
272 <xs:element name="privilege">
273 <xs:complexType mixed="true">
274 <xs:attribute name="type" type="PrivilegeType"/>
277 <xs:element name="font">
279 <xs:element name="label">
280 <xs:complexType mixed="true">
281 <xs:attribute ref="xml:lang"/>
284 <xs:element name="icon">
285 <xs:complexType mixed="true">
286 <xs:attribute ref="xml:lang"/>
287 <xs:attribute name="section" type="xs:string"/>
288 <xs:attribute name="resolution" type="packages:ResolutionType"/>
289 <xs:attribute name="dpi" type="xs:string"/>
292 <xs:element name="image">
293 <xs:complexType mixed="true">
294 <xs:attribute ref="xml:lang"/>
295 <xs:attribute name="section" type="xs:string"/>
298 <xs:simpleType name="SectionType">
299 <xs:restriction base="xs:string">
300 <xs:enumeration value="notification"/>
301 <xs:enumeration value="setting"/>
304 <xs:simpleType name="LaunchType">
305 <xs:restriction base="xs:string">
306 <xs:enumeration value="caller"/>
307 <xs:enumeration value="single"/>
308 <xs:enumeration value="group"/>
309 <xs:enumeration value="singleton"/>
312 <xs:simpleType name="ResolutionType">
313 <xs:restriction base="xs:string">
314 <xs:enumeration value="xhigh"/>
315 <xs:enumeration value="high"/>
318 <xs:element name="application-service">
321 <xs:choice maxOccurs="unbounded">
322 <xs:element ref="packages:operation"/>
323 <xs:element ref="packages:uri"/>
324 <xs:element ref="packages:mime"/>
325 <xs:element ref="packages:subapp"/>
330 <xs:element name="app-control">
333 <xs:choice maxOccurs="unbounded">
334 <xs:element ref="packages:operation"/>
335 <xs:element ref="packages:uri"/>
336 <xs:element ref="packages:mime"/>
337 <xs:element ref="packages:subapp"/>
342 <xs:element name="category">
345 <xs:choice maxOccurs="unbounded">
346 <xs:any minOccurs="0" processContents="lax"/>
349 <xs:attribute name="name" use="required"/>
350 <xs:anyAttribute processContents="lax"/>
353 <xs:element name="metadata">
355 <xs:attribute name="key" use="required" type="xs:string"/>
356 <xs:attribute name="value" type="xs:string"/>
359 <xs:element name="permission">
361 <xs:attribute name="type" type="xs:string"/>
364 <xs:element name="datacontrol">
366 <xs:attribute name="providerid" type="xs:string"/>
367 <xs:attribute name="access" type="xs:string"/>
368 <xs:attribute name="type" type="xs:string"/>
371 <xs:element name="operation">
373 <xs:attribute name="name" use="required"/>
376 <xs:element name="uri">
378 <xs:attribute name="name" use="required"/>
381 <xs:element name="mime">
383 <xs:attribute name="name" use="required"/>
386 <xs:element name="subapp">
388 <xs:attribute name="name" use="required"/>
391 <xs:element name="background-category">
392 <xs:complexType mixed="true">
393 <xs:attribute name="value" type="packages:BackgroundCategoryType"/>
396 <xs:simpleType name="BackgroundCategoryType">
397 <xs:restriction base="xs:string">
398 <xs:enumeration value="media"/>
399 <xs:enumeration value="download"/>
400 <xs:enumeration value="background-network"/>
401 <xs:enumeration value="location"/>
402 <xs:enumeration value="sensor"/>
403 <xs:enumeration value="iot-communication"/>
404 <xs:enumeration value="system"/>
407 <xs:element name="support-size">
409 <xs:element name="splash-screens">
412 <xs:choice maxOccurs="unbounded" minOccurs="0">
413 <xs:element ref="packages:splash-screen"/>
418 <xs:element name="splash-screen">
420 <xs:attribute name="src" use="required" type="xs:string"/>
421 <xs:attribute name="type" use="required" type="xs:string"/>
422 <xs:attribute name="dpi" type="xs:string"/>
423 <xs:attribute name="orientation" use="required" type="xs:string"/>
424 <xs:attribute name="indicator-display" type="xs:string"/>
425 <xs:attribute name="app-control-operation" type="xs:string"/>
426 <xs:attribute name="color-depth" type="xs:string"/>