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="type" type="packages:PackageType"/>
32 <xs:attribute name="version" use="required" type="xs:string"/>
33 <xs:attribute name="size" type="xs:NMTOKEN"/>
34 <xs:attribute name="root_path" type="xs:string"/>
35 <xs:attribute name="csc_path" type="xs:string"/>
36 <xs:attribute name="appsetting" type="xs:boolean"/>
37 <xs:attribute name="nodisplay-setting" type="xs:boolean"/>
38 <xs:attribute name="url" type="xs:string"/>
39 <xs:attribute name="api-version" type="xs:string"/>
40 <xs:attribute name="support-disable" type="xs:boolean"/>
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"/>
182 <xs:attribute name="process-pool" type="xs:boolean"/>
183 <xs:attribute name="ui-gadget" type="xs:boolean"/>
186 <xs:element name="ime-application">
189 <xs:choice maxOccurs="unbounded">
190 <xs:element ref="packages:label"/>
191 <xs:element ref="packages:icon"/>
194 <xs:attribute name="appid" use="required" type="xs:string"/>
195 <xs:attribute name="exec" use="required" type="xs:NCName"/>
196 <xs:attribute name="multiple" type="xs:boolean"/>
197 <xs:attribute name="nodisplay" type="xs:boolean"/>
198 <xs:attribute name="type" use="required" type="packages:TypeType"/>
201 <xs:element name="shortcut-list">
203 <xs:element name="livebox">
205 <xs:element name="account">
207 <xs:element name="notifications">
209 <xs:element name="ime">
211 <xs:element name="feature">
213 <xs:element name="privileges">
216 <xs:choice maxOccurs="unbounded" minOccurs="0">
217 <xs:element ref="packages:privilege"/>
222 <xs:element name="privilege">
224 <xs:element name="font">
226 <xs:element name="label">
227 <xs:complexType mixed="true">
228 <xs:attribute ref="xml:lang"/>
231 <xs:element name="icon">
232 <xs:complexType mixed="true">
233 <xs:attribute ref="xml:lang"/>
234 <xs:attribute name="section" type="xs:string"/>
235 <xs:attribute name="resolution" type="packages:ResolutionType"/>
238 <xs:element name="image">
239 <xs:complexType mixed="true">
240 <xs:attribute ref="xml:lang"/>
241 <xs:attribute name="section" type="xs:string"/>
244 <xs:simpleType name="SectionType">
245 <xs:restriction base="xs:string">
246 <xs:enumeration value="notification"/>
247 <xs:enumeration value="setting"/>
250 <xs:simpleType name="LaunchType">
251 <xs:restriction base="xs:string">
252 <xs:enumeration value="caller"/>
253 <xs:enumeration value="single"/>
254 <xs:enumeration value="group"/>
257 <xs:simpleType name="ResolutionType">
258 <xs:restriction base="xs:string">
259 <xs:enumeration value="xhigh"/>
260 <xs:enumeration value="high"/>
263 <xs:element name="application-service">
266 <xs:choice maxOccurs="unbounded">
267 <xs:element ref="packages:operation"/>
268 <xs:element ref="packages:uri"/>
269 <xs:element ref="packages:mime"/>
270 <xs:element ref="packages:subapp"/>
275 <xs:element name="app-control">
278 <xs:choice maxOccurs="unbounded">
279 <xs:element ref="packages:operation"/>
280 <xs:element ref="packages:uri"/>
281 <xs:element ref="packages:mime"/>
282 <xs:element ref="packages:subapp"/>
287 <xs:element name="category">
290 <xs:choice maxOccurs="unbounded">
291 <xs:any minOccurs="0" processContents="lax"/>
294 <xs:anyAttribute processContents="lax"/>
297 <xs:element name="metadata">
299 <xs:attribute name="key" use="required" type="xs:string"/>
300 <xs:attribute name="value" type="xs:string"/>
303 <xs:element name="permission">
305 <xs:attribute name="type" type="xs:string"/>
308 <xs:element name="datacontrol">
310 <xs:attribute name="providerid" type="xs:string"/>
311 <xs:attribute name="access" type="xs:string"/>
312 <xs:attribute name="type" type="xs:string"/>
315 <xs:element name="operation">
317 <xs:attribute name="name" use="required"/>
320 <xs:element name="uri">
322 <xs:attribute name="name" use="required"/>
325 <xs:element name="mime">
327 <xs:attribute name="name" use="required"/>
330 <xs:element name="subapp">
332 <xs:attribute name="name" use="required"/>