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:device-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="type" type="packages:PackageType"/>
31 <xs:attribute name="version" use="required" type="xs:NMTOKEN"/>
32 <xs:attribute name="size" type="xs:NMTOKEN"/>
33 <xs:attribute name="root_path" type="xs:string"/>
34 <xs:attribute name="appsetting" type="xs:boolean"/>
35 <xs:attribute name="nodisplay-setting" type="xs:boolean"/>
36 <xs:attribute name="url" type="xs:string"/>
40 <xs:simpleType name="InstallLocationType">
41 <xs:restriction base="xs:string">
42 <xs:enumeration value="auto"/>
43 <xs:enumeration value="internal-only"/>
44 <xs:enumeration value="prefer-external"/>
47 <xs:simpleType name="PackageType">
48 <xs:restriction base="xs:string">
49 <xs:enumeration value="rpm"/>
50 <xs:enumeration value="tpk"/>
51 <xs:enumeration value="wgt"/>
52 <xs:enumeration value="apk"/>
55 <xs:simpleType name="TypeType">
56 <xs:restriction base="xs:string">
57 <xs:enumeration value="capp"/>
58 <xs:enumeration value="c++app"/>
59 <xs:enumeration value="webapp"/>
62 <xs:simpleType name="HwAccelerationType">
63 <xs:restriction base="xs:string">
64 <xs:enumeration value="use-GL"/>
65 <xs:enumeration value="not-use-GL"/>
66 <xs:enumeration value="use-system-setting"/>
69 <xs:simpleType name="RecentImage">
70 <xs:restriction base="xs:string">
71 <xs:enumeration value="icon"/>
72 <xs:enumeration value="capture"/>
76 <xs:element name="author">
77 <xs:complexType mixed="true">
78 <xs:attribute name="email"/>
79 <xs:attribute name="href"/>
80 <xs:attribute ref="xml:lang"/>
83 <xs:element name="description">
84 <xs:complexType mixed="true">
85 <xs:attribute ref="xml:lang"/>
88 <xs:element name="compatibility">
91 <xs:element name="device-profile">
94 <xs:element name="service-application">
97 <xs:choice maxOccurs="unbounded" minOccurs="0">
98 <xs:element ref="packages:label"/>
99 <xs:element ref="packages:icon"/>
100 <xs:element ref="packages:application-service"/>
101 <xs:element ref="packages:app-control"/>
102 <xs:element ref="packages:category"/>
103 <xs:element ref="packages:metadata"/>
104 <xs:element ref="packages:permission"/>
107 <xs:attribute name="appid" use="required" type="xs:string"/>
108 <xs:attribute name="auto-restart" use="required" type="xs:boolean"/>
109 <xs:attribute name="exec" use="required"/>
110 <xs:attribute name="on-boot" use="required" type="xs:boolean"/>
111 <xs:attribute name="type" use="required" type="packages:TypeType"/>
112 <xs:attribute name="permission-type" type="xs:string"/>
115 <xs:element name="ui-application">
118 <xs:choice maxOccurs="unbounded" minOccurs="0">
119 <xs:element ref="packages:label"/>
120 <xs:element ref="packages:icon"/>
121 <xs:element ref="packages:image"/>
122 <xs:element ref="packages:application-service"/>
123 <xs:element ref="packages:app-control"/>
124 <xs:element ref="packages:category"/>
125 <xs:element ref="packages:metadata"/>
126 <xs:element ref="packages:permission"/>
129 <xs:attribute name="appid" use="required" type="xs:string"/>
130 <xs:attribute name="exec" use="required"/>
131 <xs:attribute name="multiple" type="xs:boolean"/>
132 <xs:attribute name="nodisplay" type="xs:boolean"/>
133 <xs:attribute name="taskmanage" type="xs:boolean"/>
134 <xs:attribute name="enabled" type="xs:boolean"/>
135 <xs:attribute name="type" use="required" type="packages:TypeType"/>
136 <xs:attribute name="categories" type="xs:NCName"/>
137 <xs:attribute name="extraid"/>
138 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
139 <xs:attribute name="recentimage" type="packages:RecentImage"/>
140 <xs:attribute name="mainapp" type="xs:boolean"/>
141 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
142 <xs:attribute name="portrait-effectimage" type="xs:string"/>
143 <xs:attribute name="landscape-effectimage" type="xs:string"/>
144 <xs:attribute name="guestmode-visibility" type="xs:string"/>
145 <xs:attribute name="launchcondition" type="xs:boolean"/>
146 <xs:attribute name="permission-type" type="xs:string"/>
149 <xs:element name="ime-application">
152 <xs:choice maxOccurs="unbounded">
153 <xs:element ref="packages:label"/>
154 <xs:element ref="packages:icon"/>
157 <xs:attribute name="appid" use="required" type="xs:string"/>
158 <xs:attribute name="exec" use="required" type="xs:NCName"/>
159 <xs:attribute name="multiple" type="xs:boolean"/>
160 <xs:attribute name="nodisplay" type="xs:boolean"/>
161 <xs:attribute name="type" use="required" type="packages:TypeType"/>
164 <xs:element name="shortcut-list">
166 <xs:element name="livebox">
168 <xs:element name="account">
170 <xs:element name="notifications">
172 <xs:element name="ime">
174 <xs:element name="privileges">
177 <xs:choice maxOccurs="unbounded" minOccurs="0">
178 <xs:element ref="packages:privilege"/>
183 <xs:element name="privilege">
185 <xs:element name="font">
187 <xs:element name="label">
188 <xs:complexType mixed="true">
189 <xs:attribute ref="xml:lang"/>
192 <xs:element name="icon">
193 <xs:complexType mixed="true">
194 <xs:attribute ref="xml:lang"/>
195 <xs:attribute name="section" type="xs:string"/>
196 <xs:attribute name="resolution" type="packages:ResolutionType"/>
199 <xs:element name="image">
200 <xs:complexType mixed="true">
201 <xs:attribute ref="xml:lang"/>
202 <xs:attribute name="section" type="xs:string"/>
205 <xs:simpleType name="SectionType">
206 <xs:restriction base="xs:string">
207 <xs:enumeration value="notification"/>
208 <xs:enumeration value="setting"/>
211 <xs:simpleType name="ResolutionType">
212 <xs:restriction base="xs:string">
213 <xs:enumeration value="xhigh"/>
214 <xs:enumeration value="high"/>
217 <xs:element name="application-service">
220 <xs:choice maxOccurs="unbounded">
221 <xs:element ref="packages:operation"/>
222 <xs:element ref="packages:uri"/>
223 <xs:element ref="packages:mime"/>
224 <xs:element ref="packages:subapp"/>
229 <xs:element name="app-control">
232 <xs:choice maxOccurs="unbounded">
233 <xs:element ref="packages:operation"/>
234 <xs:element ref="packages:uri"/>
235 <xs:element ref="packages:mime"/>
236 <xs:element ref="packages:subapp"/>
241 <xs:element name="category">
244 <xs:choice maxOccurs="unbounded">
245 <xs:any minOccurs="0" processContents="lax"/>
248 <xs:anyAttribute processContents="lax"/>
251 <xs:element name="metadata">
253 <xs:attribute name="key" use="required" type="xs:string"/>
254 <xs:attribute name="value" type="xs:string"/>
257 <xs:element name="permission">
259 <xs:attribute name="type" type="xs:string"/>
262 <xs:element name="operation">
264 <xs:attribute name="name" use="required"/>
267 <xs:element name="uri">
269 <xs:attribute name="name" use="required"/>
272 <xs:element name="mime">
274 <xs:attribute name="name" use="required"/>
277 <xs:element name="subapp">
279 <xs:attribute name="name" use="required"/>