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:dynamicbox"/>
21 <xs:element ref="packages:account"/>
22 <xs:element ref="packages:notifications"/>
23 <xs:element ref="packages:privileges"/>
24 <xs:element ref="packages:font"/>
25 <xs:element ref="packages:ime"/>
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: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="support-disable" type="xs:boolean"/>
40 <xs:attribute name="mother-package" type="xs:boolean"/>
41 <xs:attribute name="api-version" type="xs:string"/>
42 <xs:attribute name="support-mode" type="xs:string"/>
43 <xs:attribute name="support-reset" type="xs:string"/>
47 <xs:simpleType name="InstallLocationType">
48 <xs:restriction base="xs:string">
49 <xs:enumeration value="auto"/>
50 <xs:enumeration value="internal-only"/>
51 <xs:enumeration value="prefer-external"/>
54 <xs:simpleType name="PackageType">
55 <xs:restriction base="xs:string">
56 <xs:enumeration value="rpm"/>
57 <xs:enumeration value="tpk"/>
58 <xs:enumeration value="wgt"/>
59 <xs:enumeration value="apk"/>
60 <xs:enumeration value="coretpk"/>
63 <xs:simpleType name="ProfileType">
64 <xs:restriction base="xs:string">
65 <xs:enumeration value="mobile"/>
66 <xs:enumeration value="wearable"/>
67 <xs:enumeration value="TV"/>
70 <xs:simpleType name="TypeType">
71 <xs:restriction base="xs:string">
72 <xs:enumeration value="capp"/>
73 <xs:enumeration value="c++app"/>
74 <xs:enumeration value="webapp"/>
77 <xs:simpleType name="HwAccelerationType">
78 <xs:restriction base="xs:string">
79 <xs:enumeration value="use-GL"/>
80 <xs:enumeration value="not-use-GL"/>
81 <xs:enumeration value="use-system-setting"/>
84 <xs:simpleType name="ScreenReaderType">
85 <xs:restriction base="xs:string">
86 <xs:enumeration value="screenreader-off"/>
87 <xs:enumeration value="screenreader-on"/>
88 <xs:enumeration value="use-system-setting"/>
91 <xs:simpleType name="RecentImage">
92 <xs:restriction base="xs:string">
93 <xs:enumeration value="icon"/>
94 <xs:enumeration value="capture"/>
98 <xs:element name="author">
99 <xs:complexType mixed="true">
100 <xs:attribute name="email"/>
101 <xs:attribute name="href"/>
102 <xs:attribute ref="xml:lang"/>
105 <xs:element name="description">
106 <xs:complexType mixed="true">
107 <xs:attribute ref="xml:lang"/>
110 <xs:element name="compatibility">
113 <xs:element name="profile">
115 <xs:attribute name="name" use="required" type="packages:ProfileType"/>
118 <xs:element name="service-application">
120 <xs:element name="ui-application">
123 <xs:choice maxOccurs="unbounded" minOccurs="0">
124 <xs:element ref="packages:label"/>
125 <xs:element ref="packages:icon"/>
126 <xs:element ref="packages:image"/>
127 <xs:element ref="packages:application-service"/>
128 <xs:element ref="packages:app-control"/>
129 <xs:element ref="packages:category"/>
130 <xs:element ref="packages:metadata"/>
131 <xs:element ref="packages:permission"/>
132 <xs:element ref="packages:datacontrol"/>
135 <xs:attribute name="appid" use="required" type="xs:string"/>
136 <xs:attribute name="exec" use="required"/>
137 <xs:attribute name="multiple" type="xs:boolean"/>
138 <xs:attribute name="nodisplay" type="xs:boolean"/>
139 <xs:attribute name="taskmanage" type="xs:boolean"/>
140 <xs:attribute name="enabled" type="xs:boolean"/>
141 <xs:attribute name="type" use="required" type="packages:TypeType"/>
142 <xs:attribute name="categories" type="xs:NCName"/>
143 <xs:attribute name="extraid"/>
144 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
145 <xs:attribute name="screen-reader" type="packages:ScreenReaderType"/>
146 <xs:attribute name="recentimage" type="packages:RecentImage"/>
147 <xs:attribute name="mainapp" type="xs:boolean"/>
148 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
149 <xs:attribute name="portrait-effectimage" type="xs:string"/>
150 <xs:attribute name="landscape-effectimage" type="xs:string"/>
151 <xs:attribute name="effectimage-type" type="xs:string"/>
152 <xs:attribute name="guestmode-visibility" type="xs:string"/>
153 <xs:attribute name="launchcondition" type="xs:boolean"/>
154 <xs:attribute name="permission-type" type="xs:string"/>
155 <xs:attribute name="component-type" type="xs:string"/>
156 <xs:attribute name="submode" type="xs:boolean"/>
157 <xs:attribute name="submode-mainid" type="xs:string"/>
158 <xs:attribute name="process-pool" type="xs:boolean"/>
159 <xs:attribute name="auto-restart" type="xs:boolean"/>
160 <xs:attribute name="on-boot" type="xs:boolean"/>
161 <xs:attribute name="multi-instance" type="xs:boolean"/>
162 <xs:attribute name="multi-instance-mainid" type="xs:string"/>
163 <xs:attribute name="ui-gadget" type="xs:boolean"/>
166 <xs:element name="ime-application">
169 <xs:choice maxOccurs="unbounded">
170 <xs:element ref="packages:label"/>
171 <xs:element ref="packages:icon"/>
174 <xs:attribute name="appid" use="required" type="xs:string"/>
175 <xs:attribute name="exec" use="required" type="xs:NCName"/>
176 <xs:attribute name="multiple" type="xs:boolean"/>
177 <xs:attribute name="nodisplay" type="xs:boolean"/>
178 <xs:attribute name="type" use="required" type="packages:TypeType"/>
181 <xs:element name="shortcut-list">
183 <xs:element name="livebox">
185 <xs:element name="dynamicbox">
187 <xs:element name="account">
189 <xs:element name="notifications">
191 <xs:element name="ime">
193 <xs:element name="privileges">
196 <xs:choice maxOccurs="unbounded" minOccurs="0">
197 <xs:element ref="packages:privilege"/>
202 <xs:element name="privilege">
204 <xs:element name="font">
206 <xs:element name="label">
207 <xs:complexType mixed="true">
208 <xs:attribute ref="xml:lang"/>
211 <xs:element name="icon">
212 <xs:complexType mixed="true">
213 <xs:attribute ref="xml:lang"/>
214 <xs:attribute name="section" type="xs:string"/>
215 <xs:attribute name="resolution" type="packages:ResolutionType"/>
218 <xs:element name="image">
219 <xs:complexType mixed="true">
220 <xs:attribute ref="xml:lang"/>
221 <xs:attribute name="section" type="xs:string"/>
224 <xs:simpleType name="SectionType">
225 <xs:restriction base="xs:string">
226 <xs:enumeration value="notification"/>
227 <xs:enumeration value="setting"/>
230 <xs:simpleType name="ResolutionType">
231 <xs:restriction base="xs:string">
232 <xs:enumeration value="xhigh"/>
233 <xs:enumeration value="high"/>
236 <xs:element name="application-service">
239 <xs:choice maxOccurs="unbounded">
240 <xs:element ref="packages:operation"/>
241 <xs:element ref="packages:uri"/>
242 <xs:element ref="packages:mime"/>
243 <xs:element ref="packages:subapp"/>
248 <xs:element name="app-control">
251 <xs:choice maxOccurs="unbounded">
252 <xs:element ref="packages:operation"/>
253 <xs:element ref="packages:uri"/>
254 <xs:element ref="packages:mime"/>
255 <xs:element ref="packages:subapp"/>
260 <xs:element name="category">
263 <xs:choice maxOccurs="unbounded">
264 <xs:any minOccurs="0" processContents="lax"/>
267 <xs:anyAttribute processContents="lax"/>
270 <xs:element name="metadata">
272 <xs:attribute name="key" use="required" type="xs:string"/>
273 <xs:attribute name="value" type="xs:string"/>
276 <xs:element name="permission">
278 <xs:attribute name="type" type="xs:string"/>
281 <xs:element name="datacontrol">
283 <xs:attribute name="providerid" type="xs:string"/>
284 <xs:attribute name="access" type="xs:string"/>
285 <xs:attribute name="type" type="xs:string"/>
288 <xs:element name="operation">
290 <xs:attribute name="name" use="required"/>
293 <xs:element name="uri">
295 <xs:attribute name="name" use="required"/>
298 <xs:element name="mime">
300 <xs:attribute name="name" use="required"/>
303 <xs:element name="subapp">
305 <xs:attribute name="name" use="required"/>