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"/>
130 <xs:attribute name="appid" use="required" type="xs:string"/>
131 <xs:attribute name="auto-restart" use="required" type="xs:boolean"/>
132 <xs:attribute name="exec" use="required"/>
133 <xs:attribute name="on-boot" use="required" type="xs:boolean"/>
134 <xs:attribute name="type" use="required" type="packages:TypeType"/>
135 <xs:attribute name="permission-type" type="xs:string"/>
138 <xs:element name="ui-application">
141 <xs:choice maxOccurs="unbounded" minOccurs="0">
142 <xs:element ref="packages:label"/>
143 <xs:element ref="packages:icon"/>
144 <xs:element ref="packages:image"/>
145 <xs:element ref="packages:application-service"/>
146 <xs:element ref="packages:app-control"/>
147 <xs:element ref="packages:category"/>
148 <xs:element ref="packages:metadata"/>
149 <xs:element ref="packages:permission"/>
152 <xs:attribute name="appid" use="required" type="xs:string"/>
153 <xs:attribute name="exec" use="required"/>
154 <xs:attribute name="multiple" type="xs:boolean"/>
155 <xs:attribute name="nodisplay" type="xs:boolean"/>
156 <xs:attribute name="taskmanage" type="xs:boolean"/>
157 <xs:attribute name="enabled" type="xs:boolean"/>
158 <xs:attribute name="type" use="required" type="packages:TypeType"/>
159 <xs:attribute name="categories" type="xs:NCName"/>
160 <xs:attribute name="extraid"/>
161 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
162 <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
163 <xs:attribute name="recentimage" type="packages:RecentImage"/>
164 <xs:attribute name="mainapp" type="xs:boolean"/>
165 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
166 <xs:attribute name="portrait-effectimage" type="xs:string"/>
167 <xs:attribute name="landscape-effectimage" type="xs:string"/>
168 <xs:attribute name="guestmode-visibility" type="xs:string"/>
169 <xs:attribute name="launchcondition" type="xs:boolean"/>
170 <xs:attribute name="permission-type" type="xs:string"/>
171 <xs:attribute name="component-type" type="xs:string"/>
172 <xs:attribute name="submode" type="xs:boolean"/>
173 <xs:attribute name="submode-mainid" type="xs:string"/>
176 <xs:element name="ime-application">
179 <xs:choice maxOccurs="unbounded">
180 <xs:element ref="packages:label"/>
181 <xs:element ref="packages:icon"/>
184 <xs:attribute name="appid" use="required" type="xs:string"/>
185 <xs:attribute name="exec" use="required" type="xs:NCName"/>
186 <xs:attribute name="multiple" type="xs:boolean"/>
187 <xs:attribute name="nodisplay" type="xs:boolean"/>
188 <xs:attribute name="type" use="required" type="packages:TypeType"/>
191 <xs:element name="shortcut-list">
193 <xs:element name="livebox">
195 <xs:element name="account">
197 <xs:element name="notifications">
199 <xs:element name="ime">
201 <xs:element name="privileges">
204 <xs:choice maxOccurs="unbounded" minOccurs="0">
205 <xs:element ref="packages:privilege"/>
210 <xs:element name="privilege">
212 <xs:element name="font">
214 <xs:element name="label">
215 <xs:complexType mixed="true">
216 <xs:attribute ref="xml:lang"/>
219 <xs:element name="icon">
220 <xs:complexType mixed="true">
221 <xs:attribute ref="xml:lang"/>
222 <xs:attribute name="section" type="xs:string"/>
223 <xs:attribute name="resolution" type="packages:ResolutionType"/>
226 <xs:element name="image">
227 <xs:complexType mixed="true">
228 <xs:attribute ref="xml:lang"/>
229 <xs:attribute name="section" type="xs:string"/>
232 <xs:simpleType name="SectionType">
233 <xs:restriction base="xs:string">
234 <xs:enumeration value="notification"/>
235 <xs:enumeration value="setting"/>
238 <xs:simpleType name="ResolutionType">
239 <xs:restriction base="xs:string">
240 <xs:enumeration value="xhigh"/>
241 <xs:enumeration value="high"/>
244 <xs:element name="application-service">
247 <xs:choice maxOccurs="unbounded">
248 <xs:element ref="packages:operation"/>
249 <xs:element ref="packages:uri"/>
250 <xs:element ref="packages:mime"/>
251 <xs:element ref="packages:subapp"/>
256 <xs:element name="app-control">
259 <xs:choice maxOccurs="unbounded">
260 <xs:element ref="packages:operation"/>
261 <xs:element ref="packages:uri"/>
262 <xs:element ref="packages:mime"/>
263 <xs:element ref="packages:subapp"/>
268 <xs:element name="category">
271 <xs:choice maxOccurs="unbounded">
272 <xs:any minOccurs="0" processContents="lax"/>
275 <xs:anyAttribute processContents="lax"/>
278 <xs:element name="metadata">
280 <xs:attribute name="key" use="required" type="xs:string"/>
281 <xs:attribute name="value" type="xs:string"/>
284 <xs:element name="permission">
286 <xs:attribute name="type" type="xs:string"/>
289 <xs:element name="operation">
291 <xs:attribute name="name" use="required"/>
294 <xs:element name="uri">
296 <xs:attribute name="name" use="required"/>
299 <xs:element name="mime">
301 <xs:attribute name="name" use="required"/>
304 <xs:element name="subapp">
306 <xs:attribute name="name" use="required"/>