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"/>
38 <xs:simpleType name="InstallLocationType">
39 <xs:restriction base="xs:string">
40 <xs:enumeration value="auto"/>
41 <xs:enumeration value="internal-only"/>
42 <xs:enumeration value="prefer-external"/>
45 <xs:simpleType name="PackageType">
46 <xs:restriction base="xs:string">
47 <xs:enumeration value="rpm"/>
48 <xs:enumeration value="tpk"/>
49 <xs:enumeration value="wgt"/>
50 <xs:enumeration value="apk"/>
53 <xs:simpleType name="TypeType">
54 <xs:restriction base="xs:string">
55 <xs:enumeration value="capp"/>
56 <xs:enumeration value="c++app"/>
57 <xs:enumeration value="webapp"/>
60 <xs:simpleType name="HwAccelerationType">
61 <xs:restriction base="xs:string">
62 <xs:enumeration value="use-GL"/>
63 <xs:enumeration value="not-use-GL"/>
64 <xs:enumeration value="use-system-setting"/>
67 <xs:simpleType name="RecentImage">
68 <xs:restriction base="xs:string">
69 <xs:enumeration value="icon"/>
70 <xs:enumeration value="capture"/>
74 <xs:element name="author">
75 <xs:complexType mixed="true">
76 <xs:attribute name="email"/>
77 <xs:attribute name="href"/>
78 <xs:attribute ref="xml:lang"/>
81 <xs:element name="description">
82 <xs:complexType mixed="true">
83 <xs:attribute ref="xml:lang"/>
86 <xs:element name="compatibility">
89 <xs:element name="device-profile">
92 <xs:element name="service-application">
95 <xs:choice maxOccurs="unbounded" minOccurs="0">
96 <xs:element ref="packages:label"/>
97 <xs:element ref="packages:icon"/>
98 <xs:element ref="packages:application-service"/>
99 <xs:element ref="packages:app-control"/>
100 <xs:element ref="packages:category"/>
101 <xs:element ref="packages:metadata"/>
102 <xs:element ref="packages:permission"/>
105 <xs:attribute name="appid" use="required" type="xs:string"/>
106 <xs:attribute name="auto-restart" use="required" type="xs:boolean"/>
107 <xs:attribute name="exec" use="required"/>
108 <xs:attribute name="on-boot" use="required" type="xs:boolean"/>
109 <xs:attribute name="type" use="required" type="packages:TypeType"/>
112 <xs:element name="ui-application">
115 <xs:choice maxOccurs="unbounded" minOccurs="0">
116 <xs:element ref="packages:label"/>
117 <xs:element ref="packages:icon"/>
118 <xs:element ref="packages:image"/>
119 <xs:element ref="packages:application-service"/>
120 <xs:element ref="packages:app-control"/>
121 <xs:element ref="packages:category"/>
122 <xs:element ref="packages:metadata"/>
123 <xs:element ref="packages:permission"/>
126 <xs:attribute name="appid" use="required" type="xs:string"/>
127 <xs:attribute name="exec" use="required"/>
128 <xs:attribute name="multiple" type="xs:boolean"/>
129 <xs:attribute name="nodisplay" type="xs:boolean"/>
130 <xs:attribute name="taskmanage" type="xs:boolean"/>
131 <xs:attribute name="enabled" type="xs:boolean"/>
132 <xs:attribute name="type" use="required" type="packages:TypeType"/>
133 <xs:attribute name="categories" type="xs:NCName"/>
134 <xs:attribute name="extraid"/>
135 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
136 <xs:attribute name="recentimage" type="packages:RecentImage"/>
137 <xs:attribute name="mainapp" type="xs:boolean"/>
138 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
139 <xs:attribute name="portrait-effectimage" type="xs:string"/>
140 <xs:attribute name="landscape-effectimage" type="xs:string"/>
141 <xs:attribute name="guestmode-visibility" type="xs:string"/>
144 <xs:element name="ime-application">
147 <xs:choice maxOccurs="unbounded">
148 <xs:element ref="packages:label"/>
149 <xs:element ref="packages:icon"/>
152 <xs:attribute name="appid" use="required" type="xs:string"/>
153 <xs:attribute name="exec" use="required" type="xs:NCName"/>
154 <xs:attribute name="multiple" type="xs:boolean"/>
155 <xs:attribute name="nodisplay" type="xs:boolean"/>
156 <xs:attribute name="type" use="required" type="packages:TypeType"/>
159 <xs:element name="shortcut-list">
161 <xs:element name="livebox">
163 <xs:element name="account">
165 <xs:element name="notifications">
167 <xs:element name="ime">
169 <xs:element name="privileges">
172 <xs:choice maxOccurs="unbounded" minOccurs="0">
173 <xs:element ref="packages:privilege"/>
178 <xs:element name="privilege">
180 <xs:element name="font">
183 <xs:element ref="packages:label"/>
184 <xs:element ref="packages:icon"/>
188 <xs:element name="label">
189 <xs:complexType mixed="true">
190 <xs:attribute ref="xml:lang"/>
193 <xs:element name="icon">
194 <xs:complexType mixed="true">
195 <xs:attribute ref="xml:lang"/>
196 <xs:attribute name="section" type="xs:string"/>
197 <xs:attribute name="resolution" type="packages:ResolutionType"/>
200 <xs:element name="image">
201 <xs:complexType mixed="true">
202 <xs:attribute ref="xml:lang"/>
203 <xs:attribute name="section" type="xs:string"/>
206 <xs:simpleType name="SectionType">
207 <xs:restriction base="xs:string">
208 <xs:enumeration value="notification"/>
209 <xs:enumeration value="setting"/>
212 <xs:simpleType name="ResolutionType">
213 <xs:restriction base="xs:string">
214 <xs:enumeration value="xhigh"/>
215 <xs:enumeration value="high"/>
218 <xs:element name="application-service">
221 <xs:choice maxOccurs="unbounded">
222 <xs:element ref="packages:operation"/>
223 <xs:element ref="packages:uri"/>
224 <xs:element ref="packages:mime"/>
225 <xs:element ref="packages:subapp"/>
230 <xs:element name="app-control">
233 <xs:choice maxOccurs="unbounded">
234 <xs:element ref="packages:operation"/>
235 <xs:element ref="packages:uri"/>
236 <xs:element ref="packages:mime"/>
237 <xs:element ref="packages:subapp"/>
242 <xs:element name="category">
245 <xs:choice maxOccurs="unbounded">
246 <xs:any minOccurs="0" processContents="lax"/>
249 <xs:anyAttribute processContents="lax"/>
252 <xs:element name="metadata">
254 <xs:attribute name="key" use="required" type="xs:string"/>
255 <xs:attribute name="value" type="xs:string"/>
258 <xs:element name="permission">
260 <xs:attribute name="type" type="xs:string"/>
263 <xs:element name="operation">
265 <xs:attribute name="name" use="required"/>
268 <xs:element name="uri">
270 <xs:attribute name="name" use="required"/>
273 <xs:element name="mime">
275 <xs:attribute name="name" use="required"/>
278 <xs:element name="subapp">
280 <xs:attribute name="name" use="required"/>