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"/> <!-- TBD -->
17 <xs:element ref="packages:service-application"/>
18 <xs:element ref="packages:ui-application"/>
19 <xs:element ref="packages:ime-application"/> <!-- TBD -->
20 <xs:element ref="packages:shortcut-list"/> <!-- TBD -->
21 <xs:element ref="packages:widget"/> <!-- TBD -->
22 <xs:element ref="packages:widget-application"/> <!-- TBD -->
23 <xs:element ref="packages:account"/> <!-- TBD -->
24 <xs:element ref="packages:notifications"/> <!-- TBD -->
25 <xs:element ref="packages:privileges"/>
26 <xs:element ref="packages:font"/> <!-- TBD -->
27 <xs:element ref="packages:ime"/> <!-- TBD -->
28 <xs:element ref="packages:feature"/> <!-- TBD -->
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"/>
46 <xs:attribute name="preload-removable" 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"/>
62 <xs:enumeration value="apk"/>
63 <xs:enumeration value="coretpk"/>
66 <xs:simpleType name="ProfileType">
67 <xs:restriction base="xs:string">
68 <xs:enumeration value="mobile"/>
69 <xs:enumeration value="wearable"/>
70 <xs:enumeration value="TV"/>
73 <xs:simpleType name="TypeType">
74 <xs:restriction base="xs:string">
75 <xs:enumeration value="capp"/>
76 <xs:enumeration value="c++app"/>
77 <xs:enumeration value="webapp"/>
78 <xs:enumeration value="jsapp"/>
81 <xs:simpleType name="HwAccelerationType">
82 <xs:restriction base="xs:string">
83 <xs:enumeration value="on"/>
84 <xs:enumeration value="off"/>
85 <xs:enumeration value="default"/>
86 <xs:enumeration value="use-GL"/>
87 <xs:enumeration value="not-use-GL"/>
88 <xs:enumeration value="use-system-setting"/>
91 <xs:simpleType name="ScreenReaderType">
92 <xs:restriction base="xs:string">
93 <xs:enumeration value="screenreader-off"/>
94 <xs:enumeration value="screenreader-on"/>
95 <xs:enumeration value="use-system-setting"/>
98 <xs:simpleType name="RecentImage">
99 <xs:restriction base="xs:string">
100 <xs:enumeration value="icon"/>
101 <xs:enumeration value="capture"/>
105 <xs:element name="author">
106 <xs:complexType mixed="true">
107 <xs:attribute name="email"/>
108 <xs:attribute name="href"/>
109 <xs:attribute ref="xml:lang"/>
112 <xs:element name="description">
113 <xs:complexType mixed="true">
114 <xs:attribute ref="xml:lang"/>
117 <xs:element name="compatibility">
120 <xs:element name="profile">
122 <xs:attribute name="name" use="required" type="packages:ProfileType"/>
125 <xs:element name="watch-application">
128 <xs:choice maxOccurs="unbounded" minOccurs="0">
129 <xs:element ref="packages:label"/>
130 <xs:element ref="packages:icon"/>
133 <xs:attribute name="appid" use="required" type="xs:string"/>
134 <xs:attribute name="exec" use="required"/>
135 <xs:attribute name="ambient-support" type="xs:boolean"/>
138 <xs:element name="watchface">
140 <xs:element name="service-application">
143 <xs:choice maxOccurs="unbounded" minOccurs="0">
144 <xs:element ref="packages:label"/>
145 <xs:element ref="packages:icon"/>
146 <xs:element ref="packages:application-service"/>
147 <xs:element ref="packages:app-control"/>
148 <xs:element ref="packages:category"/>
149 <xs:element ref="packages:metadata"/>
150 <xs:element ref="packages:permission"/>
151 <xs:element ref="packages:datacontrol"/>
152 <xs:element ref="packages:background-category"/>
155 <xs:attribute name="appid" use="required" type="xs:string"/>
156 <xs:attribute name="auto-restart" type="xs:boolean"/>
157 <xs:attribute name="exec" use="required"/>
158 <xs:attribute name="on-boot" type="xs:boolean"/>
159 <xs:attribute name="type" use="required" type="packages:TypeType"/>
160 <xs:attribute name="multiple" type="xs:boolean"/>
161 <xs:attribute name="taskmanage" type="xs:boolean"/>
162 <xs:attribute name="permission-type" type="xs:string"/>
163 <xs:attribute name="component-type" type="xs:string"/>
164 <xs:attribute name="nodisplay" type="xs:boolean"/>
167 <xs:element name="ui-application">
170 <xs:choice maxOccurs="unbounded" minOccurs="0">
171 <xs:element ref="packages:label"/>
172 <xs:element ref="packages:icon"/>
173 <xs:element ref="packages:image"/>
174 <xs:element ref="packages:application-service"/>
175 <xs:element ref="packages:app-control"/>
176 <xs:element ref="packages:category"/>
177 <xs:element ref="packages:metadata"/>
178 <xs:element ref="packages:permission"/>
179 <xs:element ref="packages:datacontrol"/>
180 <xs:element ref="packages:background-category"/>
183 <xs:attribute name="appid" use="required" type="xs:string"/>
184 <xs:attribute name="exec" use="required"/>
185 <xs:attribute name="multiple" type="xs:boolean"/>
186 <xs:attribute name="nodisplay" type="xs:boolean"/>
187 <xs:attribute name="taskmanage" type="xs:boolean"/>
188 <xs:attribute name="enabled" type="xs:boolean"/>
189 <xs:attribute name="type" use="required" type="packages:TypeType"/>
190 <xs:attribute name="categories" type="xs:NCName"/>
191 <xs:attribute name="extraid"/>
192 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
193 <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
194 <xs:attribute name="recentimage" type="packages:RecentImage"/>
195 <xs:attribute name="mainapp" type="xs:boolean"/>
196 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
197 <xs:attribute name="portrait-effectimage" type="xs:string"/>
198 <xs:attribute name="landscape-effectimage" type="xs:string"/>
199 <xs:attribute name="effectimage-type" type="xs:string"/>
200 <xs:attribute name="guestmode-visibility" type="xs:string"/>
201 <xs:attribute name="launchcondition" type="xs:boolean"/>
202 <xs:attribute name="permission-type" type="xs:string"/>
203 <xs:attribute name="component-type" type="xs:string"/>
204 <xs:attribute name="submode" type="xs:boolean"/>
205 <xs:attribute name="submode-mainid" type="xs:string"/>
206 <xs:attribute name="process-pool" type="xs:boolean"/>
207 <xs:attribute name="auto-restart" type="xs:boolean"/>
208 <xs:attribute name="on-boot" type="xs:boolean"/>
209 <xs:attribute name="multi-instance" type="xs:boolean"/>
210 <xs:attribute name="multi-instance-mainid" type="xs:string"/>
211 <xs:attribute name="ui-gadget" type="xs:boolean"/>
212 <xs:attribute name="launch_mode" type="packages:LaunchType"/>
215 <xs:element name="ime-application">
218 <xs:choice maxOccurs="unbounded">
219 <xs:element ref="packages:label"/>
220 <xs:element ref="packages:icon"/>
223 <xs:attribute name="appid" use="required" type="xs:string"/>
224 <xs:attribute name="exec" use="required" type="xs:NCName"/>
225 <xs:attribute name="multiple" type="xs:boolean"/>
226 <xs:attribute name="nodisplay" type="xs:boolean"/>
227 <xs:attribute name="type" use="required" type="packages:TypeType"/>
230 <xs:element name="shortcut-list">
232 <xs:element name="widget">
234 <xs:element name="widget-application">
237 <xs:choice maxOccurs="unbounded" minOccurs="0">
238 <xs:element ref="packages:label"/>
239 <xs:element ref="packages:icon"/>
240 <xs:element ref="packages:support-size"/>
243 <xs:attribute name="appid" use="required" type="xs:ID"/>
244 <xs:attribute name="exec" use="required"/>
245 <xs:attribute name="main" type="xs:boolean"/>
246 <xs:attribute name="update-period" type="xs:positiveInteger"/>
247 <xs:attribute name="preview" type="xs:string"/>
250 <xs:element name="account">
252 <xs:element name="notifications">
254 <xs:element name="ime">
256 <xs:element name="feature">
258 <xs:element name="privileges">
261 <xs:choice maxOccurs="unbounded" minOccurs="0">
262 <xs:element ref="packages:privilege"/>
267 <xs:element name="privilege">
269 <xs:element name="font">
271 <xs:element name="label">
272 <xs:complexType mixed="true">
273 <xs:attribute ref="xml:lang"/>
276 <xs:element name="icon">
277 <xs:complexType mixed="true">
278 <xs:attribute ref="xml:lang"/>
279 <xs:attribute name="section" type="xs:string"/>
280 <xs:attribute name="resolution" type="packages:ResolutionType"/>
283 <xs:element name="image">
284 <xs:complexType mixed="true">
285 <xs:attribute ref="xml:lang"/>
286 <xs:attribute name="section" type="xs:string"/>
289 <xs:simpleType name="SectionType">
290 <xs:restriction base="xs:string">
291 <xs:enumeration value="notification"/>
292 <xs:enumeration value="setting"/>
295 <xs:simpleType name="LaunchType">
296 <xs:restriction base="xs:string">
297 <xs:enumeration value="caller"/>
298 <xs:enumeration value="single"/>
299 <xs:enumeration value="group"/>
300 <xs:enumeration value="singleton"/>
303 <xs:simpleType name="ResolutionType">
304 <xs:restriction base="xs:string">
305 <xs:enumeration value="xhigh"/>
306 <xs:enumeration value="high"/>
309 <xs:element name="application-service">
312 <xs:choice maxOccurs="unbounded">
313 <xs:element ref="packages:operation"/>
314 <xs:element ref="packages:uri"/>
315 <xs:element ref="packages:mime"/>
316 <xs:element ref="packages:subapp"/>
321 <xs:element name="app-control">
324 <xs:choice maxOccurs="unbounded">
325 <xs:element ref="packages:operation"/>
326 <xs:element ref="packages:uri"/>
327 <xs:element ref="packages:mime"/>
328 <xs:element ref="packages:subapp"/>
333 <xs:element name="category">
336 <xs:choice maxOccurs="unbounded">
337 <xs:any minOccurs="0" processContents="lax"/>
340 <xs:attribute name="name" use="required"/>
341 <xs:anyAttribute processContents="lax"/>
344 <xs:element name="metadata">
346 <xs:attribute name="key" use="required" type="xs:string"/>
347 <xs:attribute name="value" type="xs:string"/>
350 <xs:element name="permission">
352 <xs:attribute name="type" type="xs:string"/>
355 <xs:element name="datacontrol">
357 <xs:attribute name="providerid" type="xs:string"/>
358 <xs:attribute name="access" type="xs:string"/>
359 <xs:attribute name="type" type="xs:string"/>
362 <xs:element name="operation">
364 <xs:attribute name="name" use="required"/>
367 <xs:element name="uri">
369 <xs:attribute name="name" use="required"/>
372 <xs:element name="mime">
374 <xs:attribute name="name" use="required"/>
377 <xs:element name="subapp">
379 <xs:attribute name="name" use="required"/>
382 <xs:element name="background-category">
383 <xs:complexType mixed="true">
384 <xs:attribute name="value" type="packages:BackgroundCategoryType"/>
387 <xs:simpleType name="BackgroundCategoryType">
388 <xs:restriction base="xs:string">
389 <xs:enumeration value="media"/>
390 <xs:enumeration value="download"/>
391 <xs:enumeration value="background-network"/>
392 <xs:enumeration value="location"/>
393 <xs:enumeration value="sensor"/>
394 <xs:enumeration value="iot-communication"/>
395 <xs:enumeration value="system"/>
398 <xs:element name="support-size">