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"/>
27 <xs:attribute name="storeclient-id" type="xs:string"/>
28 <xs:attribute name="install-location" type="packages:InstallLocationType"/>
29 <xs:attribute name="package" use="required" type="xs:string"/>
30 <xs:attribute name="main_package" type="xs:string"/>
31 <xs:attribute name="type" type="packages:PackageType"/>
32 <xs:attribute name="version" use="required" type="xs:NMTOKEN"/>
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"/>
43 <xs:simpleType name="InstallLocationType">
44 <xs:restriction base="xs:string">
45 <xs:enumeration value="auto"/>
46 <xs:enumeration value="internal-only"/>
47 <xs:enumeration value="prefer-external"/>
50 <xs:simpleType name="PackageType">
51 <xs:restriction base="xs:string">
52 <xs:enumeration value="rpm"/>
53 <xs:enumeration value="tpk"/>
54 <xs:enumeration value="wgt"/>
55 <xs:enumeration value="apk"/>
56 <xs:enumeration value="coretpk"/>
59 <xs:simpleType name="ProfileType">
60 <xs:restriction base="xs:string">
61 <xs:enumeration value="mobile"/>
62 <xs:enumeration value="wearable"/>
63 <xs:enumeration value="TV"/>
66 <xs:simpleType name="TypeType">
67 <xs:restriction base="xs:string">
68 <xs:enumeration value="capp"/>
69 <xs:enumeration value="c++app"/>
70 <xs:enumeration value="webapp"/>
73 <xs:simpleType name="HwAccelerationType">
74 <xs:restriction base="xs:string">
75 <xs:enumeration value="use-GL"/>
76 <xs:enumeration value="not-use-GL"/>
77 <xs:enumeration value="use-system-setting"/>
80 <xs:simpleType name="ScreenReaderType">
81 <xs:restriction base="xs:string">
82 <xs:enumeration value="screenreader-off"/>
83 <xs:enumeration value="screenreader-on"/>
84 <xs:enumeration value="use-system-setting"/>
87 <xs:simpleType name="RecentImage">
88 <xs:restriction base="xs:string">
89 <xs:enumeration value="icon"/>
90 <xs:enumeration value="capture"/>
94 <xs:element name="author">
95 <xs:complexType mixed="true">
96 <xs:attribute name="email"/>
97 <xs:attribute name="href"/>
98 <xs:attribute ref="xml:lang"/>
101 <xs:element name="description">
102 <xs:complexType mixed="true">
103 <xs:attribute ref="xml:lang"/>
106 <xs:element name="compatibility">
109 <xs:element name="device-profile">
112 <xs:element name="profile">
114 <xs:attribute name="name" type="packages:ProfileType"/>
117 <xs:element name="service-application">
120 <xs:choice maxOccurs="unbounded" minOccurs="0">
121 <xs:element ref="packages:label"/>
122 <xs:element ref="packages:icon"/>
123 <xs:element ref="packages:application-service"/>
124 <xs:element ref="packages:app-control"/>
125 <xs:element ref="packages:category"/>
126 <xs:element ref="packages:metadata"/>
127 <xs:element ref="packages:permission"/>
128 <xs:element ref="packages:datacontrol"/>
131 <xs:attribute name="appid" use="required" type="xs:string"/>
132 <xs:attribute name="auto-restart" use="required" type="xs:boolean"/>
133 <xs:attribute name="exec" use="required"/>
134 <xs:attribute name="on-boot" use="required" type="xs:boolean"/>
135 <xs:attribute name="type" use="required" type="packages:TypeType"/>
136 <xs:attribute name="permission-type" type="xs:string"/>
139 <xs:element name="ui-application">
142 <xs:choice maxOccurs="unbounded" minOccurs="0">
143 <xs:element ref="packages:label"/>
144 <xs:element ref="packages:icon"/>
145 <xs:element ref="packages:image"/>
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"/>
153 <xs:attribute name="appid" use="required" type="xs:string"/>
154 <xs:attribute name="exec" use="required"/>
155 <xs:attribute name="multiple" type="xs:boolean"/>
156 <xs:attribute name="nodisplay" type="xs:boolean"/>
157 <xs:attribute name="taskmanage" type="xs:boolean"/>
158 <xs:attribute name="enabled" type="xs:boolean"/>
159 <xs:attribute name="type" use="required" type="packages:TypeType"/>
160 <xs:attribute name="categories" type="xs:NCName"/>
161 <xs:attribute name="extraid"/>
162 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
163 <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
164 <xs:attribute name="recentimage" type="packages:RecentImage"/>
165 <xs:attribute name="mainapp" type="xs:boolean"/>
166 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
167 <xs:attribute name="portrait-effectimage" type="xs:string"/>
168 <xs:attribute name="landscape-effectimage" type="xs:string"/>
169 <xs:attribute name="guestmode-visibility" type="xs:string"/>
170 <xs:attribute name="launchcondition" type="xs:boolean"/>
171 <xs:attribute name="permission-type" type="xs:string"/>
172 <xs:attribute name="component-type" type="xs:string"/>
173 <xs:attribute name="submode" type="xs:boolean"/>
174 <xs:attribute name="submode-mainid" type="xs:string"/>
177 <xs:element name="ime-application">
180 <xs:choice maxOccurs="unbounded">
181 <xs:element ref="packages:label"/>
182 <xs:element ref="packages:icon"/>
185 <xs:attribute name="appid" use="required" type="xs:string"/>
186 <xs:attribute name="exec" use="required" type="xs:NCName"/>
187 <xs:attribute name="multiple" type="xs:boolean"/>
188 <xs:attribute name="nodisplay" type="xs:boolean"/>
189 <xs:attribute name="type" use="required" type="packages:TypeType"/>
192 <xs:element name="shortcut-list">
194 <xs:element name="livebox">
196 <xs:element name="account">
198 <xs:element name="notifications">
200 <xs:element name="ime">
202 <xs:element name="privileges">
205 <xs:choice maxOccurs="unbounded" minOccurs="0">
206 <xs:element ref="packages:privilege"/>
211 <xs:element name="privilege">
213 <xs:element name="font">
215 <xs:element name="label">
216 <xs:complexType mixed="true">
217 <xs:attribute ref="xml:lang"/>
220 <xs:element name="icon">
221 <xs:complexType mixed="true">
222 <xs:attribute ref="xml:lang"/>
223 <xs:attribute name="section" type="xs:string"/>
224 <xs:attribute name="resolution" type="packages:ResolutionType"/>
227 <xs:element name="image">
228 <xs:complexType mixed="true">
229 <xs:attribute ref="xml:lang"/>
230 <xs:attribute name="section" type="xs:string"/>
233 <xs:simpleType name="SectionType">
234 <xs:restriction base="xs:string">
235 <xs:enumeration value="notification"/>
236 <xs:enumeration value="setting"/>
239 <xs:simpleType name="ResolutionType">
240 <xs:restriction base="xs:string">
241 <xs:enumeration value="xhigh"/>
242 <xs:enumeration value="high"/>
245 <xs:element name="application-service">
248 <xs:choice maxOccurs="unbounded">
249 <xs:element ref="packages:operation"/>
250 <xs:element ref="packages:uri"/>
251 <xs:element ref="packages:mime"/>
252 <xs:element ref="packages:subapp"/>
257 <xs:element name="app-control">
260 <xs:choice maxOccurs="unbounded">
261 <xs:element ref="packages:operation"/>
262 <xs:element ref="packages:uri"/>
263 <xs:element ref="packages:mime"/>
264 <xs:element ref="packages:subapp"/>
269 <xs:element name="category">
272 <xs:choice maxOccurs="unbounded">
273 <xs:any minOccurs="0" processContents="lax"/>
276 <xs:anyAttribute processContents="lax"/>
279 <xs:element name="metadata">
281 <xs:attribute name="key" use="required" type="xs:string"/>
282 <xs:attribute name="value" type="xs:string"/>
285 <xs:element name="permission">
287 <xs:attribute name="type" type="xs:string"/>
290 <xs:element name="datacontrol">
292 <xs:attribute name="providerid" type="xs:string"/>
293 <xs:attribute name="access" type="xs:string"/>
294 <xs:attribute name="type" type="xs:string"/>
297 <xs:element name="operation">
299 <xs:attribute name="name" use="required"/>
302 <xs:element name="uri">
304 <xs:attribute name="name" use="required"/>
307 <xs:element name="mime">
309 <xs:attribute name="name" use="required"/>
312 <xs:element name="subapp">
314 <xs:attribute name="name" use="required"/>