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:service-application"/>
17 <xs:element ref="packages:ui-application"/>
18 <xs:element ref="packages:ime-application"/>
19 <xs:element ref="packages:shortcut-list"/>
20 <xs:element ref="packages:livebox"/>
21 <xs:element ref="packages:widget"/>
22 <xs:element ref="packages:account"/>
23 <xs:element ref="packages:notifications"/>
24 <xs:element ref="packages:privileges"/>
25 <xs:element ref="packages:font"/>
26 <xs:element ref="packages:ime"/>
29 <xs:attribute name="storeclient-id" type="xs:string"/>
30 <xs:attribute name="install-location" type="packages:InstallLocationType"/>
31 <xs:attribute name="package" use="required" type="xs:string"/>
32 <xs:attribute name="type" type="packages:PackageType"/>
33 <xs:attribute name="version" use="required" type="xs:NMTOKEN"/>
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="support-disable" type="xs:boolean"/>
41 <xs:attribute name="mother-package" type="xs:boolean"/>
42 <xs:attribute name="api-version" type="xs:string"/>
43 <xs:attribute name="support-mode" type="xs:string"/>
44 <xs:attribute name="support-reset" type="xs:string"/>
48 <xs:simpleType name="InstallLocationType">
49 <xs:restriction base="xs:string">
50 <xs:enumeration value="auto"/>
51 <xs:enumeration value="internal-only"/>
52 <xs:enumeration value="prefer-external"/>
55 <xs:simpleType name="PackageType">
56 <xs:restriction base="xs:string">
57 <xs:enumeration value="rpm"/>
58 <xs:enumeration value="tpk"/>
59 <xs:enumeration value="wgt"/>
60 <xs:enumeration value="apk"/>
61 <xs:enumeration value="coretpk"/>
64 <xs:simpleType name="ProfileType">
65 <xs:restriction base="xs:string">
66 <xs:enumeration value="mobile"/>
67 <xs:enumeration value="wearable"/>
68 <xs:enumeration value="TV"/>
71 <xs:simpleType name="TypeType">
72 <xs:restriction base="xs:string">
73 <xs:enumeration value="capp"/>
74 <xs:enumeration value="c++app"/>
75 <xs:enumeration value="webapp"/>
78 <xs:simpleType name="HwAccelerationType">
79 <xs:restriction base="xs:string">
80 <xs:enumeration value="on"/>
81 <xs:enumeration value="off"/>
82 <xs:enumeration value="default"/>
83 <xs:enumeration value="use-GL"/>
84 <xs:enumeration value="not-use-GL"/>
85 <xs:enumeration value="use-system-setting"/>
88 <xs:simpleType name="ScreenReaderType">
89 <xs:restriction base="xs:string">
90 <xs:enumeration value="screenreader-off"/>
91 <xs:enumeration value="screenreader-on"/>
92 <xs:enumeration value="use-system-setting"/>
95 <xs:simpleType name="RecentImage">
96 <xs:restriction base="xs:string">
97 <xs:enumeration value="icon"/>
98 <xs:enumeration value="capture"/>
102 <xs:element name="author">
103 <xs:complexType mixed="true">
104 <xs:attribute name="email"/>
105 <xs:attribute name="href"/>
106 <xs:attribute ref="xml:lang"/>
109 <xs:element name="description">
110 <xs:complexType mixed="true">
111 <xs:attribute ref="xml:lang"/>
114 <xs:element name="compatibility">
117 <xs:element name="profile">
119 <xs:attribute name="name" use="required" type="packages:ProfileType"/>
122 <xs:element name="watch-application">
124 <xs:element name="service-application">
126 <xs:element name="ui-application">
129 <xs:choice maxOccurs="unbounded" minOccurs="0">
130 <xs:element ref="packages:label"/>
131 <xs:element ref="packages:icon"/>
132 <xs:element ref="packages:image"/>
133 <xs:element ref="packages:application-service"/>
134 <xs:element ref="packages:app-control"/>
135 <xs:element ref="packages:category"/>
136 <xs:element ref="packages:metadata"/>
137 <xs:element ref="packages:permission"/>
138 <xs:element ref="packages:datacontrol"/>
141 <xs:attribute name="appid" use="required" type="xs:string"/>
142 <xs:attribute name="exec" use="required"/>
143 <xs:attribute name="ambient-support" type="xs:boolean"/>
144 <xs:attribute name="multiple" type="xs:boolean"/>
145 <xs:attribute name="nodisplay" type="xs:boolean"/>
146 <xs:attribute name="taskmanage" type="xs:boolean"/>
147 <xs:attribute name="enabled" type="xs:boolean"/>
148 <xs:attribute name="type" use="required" type="packages:TypeType"/>
149 <xs:attribute name="categories" type="xs:NCName"/>
150 <xs:attribute name="extraid"/>
151 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
152 <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
153 <xs:attribute name="recentimage" type="packages:RecentImage"/>
154 <xs:attribute name="mainapp" type="xs:boolean"/>
155 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
156 <xs:attribute name="portrait-effectimage" type="xs:string"/>
157 <xs:attribute name="landscape-effectimage" type="xs:string"/>
158 <xs:attribute name="effectimage-type" type="xs:string"/>
159 <xs:attribute name="guestmode-visibility" type="xs:string"/>
160 <xs:attribute name="launchcondition" type="xs:boolean"/>
161 <xs:attribute name="permission-type" type="xs:string"/>
162 <xs:attribute name="component-type" type="xs:string"/>
163 <xs:attribute name="submode" type="xs:boolean"/>
164 <xs:attribute name="submode-mainid" type="xs:string"/>
165 <xs:attribute name="process-pool" type="xs:boolean"/>
166 <xs:attribute name="auto-restart" type="xs:boolean"/>
167 <xs:attribute name="on-boot" type="xs:boolean"/>
168 <xs:attribute name="multi-instance" type="xs:boolean"/>
169 <xs:attribute name="multi-instance-mainid" type="xs:string"/>
170 <xs:attribute name="ui-gadget" type="xs:boolean"/>
173 <xs:element name="ime-application">
176 <xs:choice maxOccurs="unbounded">
177 <xs:element ref="packages:label"/>
178 <xs:element ref="packages:icon"/>
181 <xs:attribute name="appid" use="required" type="xs:string"/>
182 <xs:attribute name="exec" use="required" type="xs:NCName"/>
183 <xs:attribute name="multiple" type="xs:boolean"/>
184 <xs:attribute name="nodisplay" type="xs:boolean"/>
185 <xs:attribute name="type" use="required" type="packages:TypeType"/>
188 <xs:element name="shortcut-list">
190 <xs:element name="livebox">
192 <xs:element name="widget">
194 <xs:element name="account">
196 <xs:element name="notifications">
198 <xs:element name="ime">
200 <xs:element name="privileges">
203 <xs:choice maxOccurs="unbounded" minOccurs="0">
204 <xs:element ref="packages:privilege"/>
209 <xs:element name="privilege">
211 <xs:element name="font">
213 <xs:element name="label">
214 <xs:complexType mixed="true">
215 <xs:attribute ref="xml:lang"/>
218 <xs:element name="icon">
219 <xs:complexType mixed="true">
220 <xs:attribute ref="xml:lang"/>
221 <xs:attribute name="section" type="xs:string"/>
222 <xs:attribute name="resolution" type="packages:ResolutionType"/>
225 <xs:element name="image">
226 <xs:complexType mixed="true">
227 <xs:attribute ref="xml:lang"/>
228 <xs:attribute name="section" type="xs:string"/>
231 <xs:simpleType name="SectionType">
232 <xs:restriction base="xs:string">
233 <xs:enumeration value="notification"/>
234 <xs:enumeration value="setting"/>
237 <xs:simpleType name="ResolutionType">
238 <xs:restriction base="xs:string">
239 <xs:enumeration value="xhigh"/>
240 <xs:enumeration value="high"/>
243 <xs:element name="application-service">
246 <xs:choice maxOccurs="unbounded">
247 <xs:element ref="packages:operation"/>
248 <xs:element ref="packages:uri"/>
249 <xs:element ref="packages:mime"/>
250 <xs:element ref="packages:subapp"/>
255 <xs:element name="app-control">
258 <xs:choice maxOccurs="unbounded">
259 <xs:element ref="packages:operation"/>
260 <xs:element ref="packages:uri"/>
261 <xs:element ref="packages:mime"/>
262 <xs:element ref="packages:subapp"/>
267 <xs:element name="category">
270 <xs:choice maxOccurs="unbounded">
271 <xs:any minOccurs="0" processContents="lax"/>
274 <xs:anyAttribute processContents="lax"/>
277 <xs:element name="metadata">
279 <xs:attribute name="key" use="required" type="xs:string"/>
280 <xs:attribute name="value" type="xs:string"/>
283 <xs:element name="permission">
285 <xs:attribute name="type" type="xs:string"/>
288 <xs:element name="datacontrol">
290 <xs:attribute name="providerid" type="xs:string"/>
291 <xs:attribute name="access" type="xs:string"/>
292 <xs:attribute name="type" type="xs:string"/>
295 <xs:element name="operation">
297 <xs:attribute name="name" use="required"/>
300 <xs:element name="uri">
302 <xs:attribute name="name" use="required"/>
305 <xs:element name="mime">
307 <xs:attribute name="name" use="required"/>
310 <xs:element name="subapp">
312 <xs:attribute name="name" use="required"/>