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:service-application"/>
16 <xs:element ref="packages:ui-application"/>
17 <xs:element ref="packages:ime-application"/>
18 <xs:element ref="packages:shortcut-list"/>
19 <xs:element ref="packages:livebox"/>
20 <xs:element ref="packages:account"/>
21 <xs:element ref="packages:notifications"/>
22 <xs:element ref="packages:privileges"/>
23 <xs:element ref="packages:font"/>
24 <xs:element ref="packages:ime"/>
25 <xs:element ref="packages:feature"/>
28 <xs:attribute name="storeclient-id" type="xs:string"/>
29 <xs:attribute name="install-location" type="packages:InstallLocationType"/>
30 <xs:attribute name="package" use="required" type="xs:string"/>
31 <xs:attribute name="main_package" type="xs:string"/>
32 <xs:attribute name="type" type="packages:PackageType"/>
33 <xs:attribute name="version" use="required" type="xs:string"/>
34 <xs:attribute name="size" type="xs:NMTOKEN"/>
35 <xs:attribute name="root_path" type="xs:string"/>
36 <xs:attribute name="csc_path" type="xs:string"/>
37 <xs:attribute name="appsetting" type="xs:boolean"/>
38 <xs:attribute name="nodisplay-setting" type="xs:boolean"/>
39 <xs:attribute name="url" type="xs:string"/>
40 <xs:attribute name="api-version" type="xs:string"/>
44 <xs:simpleType name="InstallLocationType">
45 <xs:restriction base="xs:string">
46 <xs:enumeration value="auto"/>
47 <xs:enumeration value="internal-only"/>
48 <xs:enumeration value="prefer-external"/>
51 <xs:simpleType name="PackageType">
52 <xs:restriction base="xs:string">
53 <xs:enumeration value="rpm"/>
54 <xs:enumeration value="tpk"/>
55 <xs:enumeration value="wgt"/>
56 <xs:enumeration value="apk"/>
57 <xs:enumeration value="coretpk"/>
60 <xs:simpleType name="ProfileType">
61 <xs:restriction base="xs:string">
62 <xs:enumeration value="mobile"/>
63 <xs:enumeration value="wearable"/>
64 <xs:enumeration value="TV"/>
67 <xs:simpleType name="TypeType">
68 <xs:restriction base="xs:string">
69 <xs:enumeration value="capp"/>
70 <xs:enumeration value="c++app"/>
71 <xs:enumeration value="webapp"/>
74 <xs:simpleType name="HwAccelerationType">
75 <xs:restriction base="xs:string">
76 <xs:enumeration value="use-GL"/>
77 <xs:enumeration value="not-use-GL"/>
78 <xs:enumeration value="use-system-setting"/>
81 <xs:simpleType name="ScreenReaderType">
82 <xs:restriction base="xs:string">
83 <xs:enumeration value="screenreader-off"/>
84 <xs:enumeration value="screenreader-on"/>
85 <xs:enumeration value="use-system-setting"/>
88 <xs:simpleType name="RecentImage">
89 <xs:restriction base="xs:string">
90 <xs:enumeration value="icon"/>
91 <xs:enumeration value="capture"/>
95 <xs:element name="author">
96 <xs:complexType mixed="true">
97 <xs:attribute name="email"/>
98 <xs:attribute name="href"/>
99 <xs:attribute ref="xml:lang"/>
102 <xs:element name="description">
103 <xs:complexType mixed="true">
104 <xs:attribute ref="xml:lang"/>
107 <xs:element name="compatibility">
110 <xs:element name="device-profile">
113 <xs:element name="profile">
115 <xs:attribute name="name" type="packages:ProfileType"/>
118 <xs:element name="service-application">
121 <xs:choice maxOccurs="unbounded" minOccurs="0">
122 <xs:element ref="packages:label"/>
123 <xs:element ref="packages:icon"/>
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"/>
132 <xs:attribute name="appid" use="required" type="xs:string"/>
133 <xs:attribute name="auto-restart" type="xs:boolean"/>
134 <xs:attribute name="exec" use="required"/>
135 <xs:attribute name="on-boot" type="xs:boolean"/>
136 <xs:attribute name="type" use="required" type="packages:TypeType"/>
137 <xs:attribute name="multiple" type="xs:boolean"/>
138 <xs:attribute name="taskmanage" type="xs:boolean"/>
139 <xs:attribute name="permission-type" type="xs:string"/>
142 <xs:element name="ui-application">
145 <xs:choice maxOccurs="unbounded" minOccurs="0">
146 <xs:element ref="packages:label"/>
147 <xs:element ref="packages:icon"/>
148 <xs:element ref="packages:image"/>
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"/>
157 <xs:attribute name="appid" use="required" type="xs:string"/>
158 <xs:attribute name="exec" use="required"/>
159 <xs:attribute name="multiple" type="xs:boolean"/>
160 <xs:attribute name="nodisplay" type="xs:boolean"/>
161 <xs:attribute name="taskmanage" type="xs:boolean"/>
162 <xs:attribute name="enabled" type="xs:boolean"/>
163 <xs:attribute name="type" use="required" type="packages:TypeType"/>
164 <xs:attribute name="categories" type="xs:NCName"/>
165 <xs:attribute name="extraid"/>
166 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
167 <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
168 <xs:attribute name="recentimage" type="packages:RecentImage"/>
169 <xs:attribute name="mainapp" type="xs:boolean"/>
170 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
171 <xs:attribute name="portrait-effectimage" type="xs:string"/>
172 <xs:attribute name="landscape-effectimage" type="xs:string"/>
173 <xs:attribute name="guestmode-visibility" type="xs:string"/>
174 <xs:attribute name="launchcondition" type="xs:boolean"/>
175 <xs:attribute name="permission-type" type="xs:string"/>
176 <xs:attribute name="component-type" type="xs:string"/>
177 <xs:attribute name="submode" type="xs:boolean"/>
178 <xs:attribute name="submode-mainid" type="xs:string"/>
179 <xs:attribute name="launch_mode" type="packages:LaunchType"/>
180 <xs:attribute name="on-boot" type="xs:boolean"/>
181 <xs:attribute name="auto-restart" type="xs:boolean"/>
184 <xs:element name="ime-application">
187 <xs:choice maxOccurs="unbounded">
188 <xs:element ref="packages:label"/>
189 <xs:element ref="packages:icon"/>
192 <xs:attribute name="appid" use="required" type="xs:string"/>
193 <xs:attribute name="exec" use="required" type="xs:NCName"/>
194 <xs:attribute name="multiple" type="xs:boolean"/>
195 <xs:attribute name="nodisplay" type="xs:boolean"/>
196 <xs:attribute name="type" use="required" type="packages:TypeType"/>
199 <xs:element name="shortcut-list">
201 <xs:element name="livebox">
203 <xs:element name="account">
205 <xs:element name="notifications">
207 <xs:element name="ime">
209 <xs:element name="feature">
211 <xs:element name="privileges">
214 <xs:choice maxOccurs="unbounded" minOccurs="0">
215 <xs:element ref="packages:privilege"/>
220 <xs:element name="privilege">
222 <xs:element name="font">
224 <xs:element name="label">
225 <xs:complexType mixed="true">
226 <xs:attribute ref="xml:lang"/>
229 <xs:element name="icon">
230 <xs:complexType mixed="true">
231 <xs:attribute ref="xml:lang"/>
232 <xs:attribute name="section" type="xs:string"/>
233 <xs:attribute name="resolution" type="packages:ResolutionType"/>
236 <xs:element name="image">
237 <xs:complexType mixed="true">
238 <xs:attribute ref="xml:lang"/>
239 <xs:attribute name="section" type="xs:string"/>
242 <xs:simpleType name="SectionType">
243 <xs:restriction base="xs:string">
244 <xs:enumeration value="notification"/>
245 <xs:enumeration value="setting"/>
248 <xs:simpleType name="LaunchType">
249 <xs:restriction base="xs:string">
250 <xs:enumeration value="caller"/>
251 <xs:enumeration value="single"/>
252 <xs:enumeration value="group"/>
255 <xs:simpleType name="ResolutionType">
256 <xs:restriction base="xs:string">
257 <xs:enumeration value="xhigh"/>
258 <xs:enumeration value="high"/>
261 <xs:element name="application-service">
264 <xs:choice maxOccurs="unbounded">
265 <xs:element ref="packages:operation"/>
266 <xs:element ref="packages:uri"/>
267 <xs:element ref="packages:mime"/>
268 <xs:element ref="packages:subapp"/>
273 <xs:element name="app-control">
276 <xs:choice maxOccurs="unbounded">
277 <xs:element ref="packages:operation"/>
278 <xs:element ref="packages:uri"/>
279 <xs:element ref="packages:mime"/>
280 <xs:element ref="packages:subapp"/>
285 <xs:element name="category">
288 <xs:choice maxOccurs="unbounded">
289 <xs:any minOccurs="0" processContents="lax"/>
292 <xs:anyAttribute processContents="lax"/>
295 <xs:element name="metadata">
297 <xs:attribute name="key" use="required" type="xs:string"/>
298 <xs:attribute name="value" type="xs:string"/>
301 <xs:element name="permission">
303 <xs:attribute name="type" type="xs:string"/>
306 <xs:element name="datacontrol">
308 <xs:attribute name="providerid" type="xs:string"/>
309 <xs:attribute name="access" type="xs:string"/>
310 <xs:attribute name="type" type="xs:string"/>
313 <xs:element name="operation">
315 <xs:attribute name="name" use="required"/>
318 <xs:element name="uri">
320 <xs:attribute name="name" use="required"/>
323 <xs:element name="mime">
325 <xs:attribute name="name" use="required"/>
328 <xs:element name="subapp">
330 <xs:attribute name="name" use="required"/>