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="csc_path" type="xs:string"/>
35 <xs:attribute name="appsetting" type="xs:boolean"/>
36 <xs:attribute name="nodisplay-setting" type="xs:boolean"/>
37 <xs:attribute name="url" type="xs:string"/>
41 <xs:simpleType name="InstallLocationType">
42 <xs:restriction base="xs:string">
43 <xs:enumeration value="auto"/>
44 <xs:enumeration value="internal-only"/>
45 <xs:enumeration value="prefer-external"/>
48 <xs:simpleType name="PackageType">
49 <xs:restriction base="xs:string">
50 <xs:enumeration value="rpm"/>
51 <xs:enumeration value="tpk"/>
52 <xs:enumeration value="wgt"/>
53 <xs:enumeration value="apk"/>
56 <xs:simpleType name="TypeType">
57 <xs:restriction base="xs:string">
58 <xs:enumeration value="capp"/>
59 <xs:enumeration value="c++app"/>
60 <xs:enumeration value="webapp"/>
63 <xs:simpleType name="HwAccelerationType">
64 <xs:restriction base="xs:string">
65 <xs:enumeration value="use-GL"/>
66 <xs:enumeration value="not-use-GL"/>
67 <xs:enumeration value="use-system-setting"/>
70 <xs:simpleType name="RecentImage">
71 <xs:restriction base="xs:string">
72 <xs:enumeration value="icon"/>
73 <xs:enumeration value="capture"/>
77 <xs:element name="author">
78 <xs:complexType mixed="true">
79 <xs:attribute name="email"/>
80 <xs:attribute name="href"/>
81 <xs:attribute ref="xml:lang"/>
84 <xs:element name="description">
85 <xs:complexType mixed="true">
86 <xs:attribute ref="xml:lang"/>
89 <xs:element name="compatibility">
92 <xs:element name="device-profile">
95 <xs:element name="service-application">
98 <xs:choice maxOccurs="unbounded" minOccurs="0">
99 <xs:element ref="packages:label"/>
100 <xs:element ref="packages:icon"/>
101 <xs:element ref="packages:application-service"/>
102 <xs:element ref="packages:app-control"/>
103 <xs:element ref="packages:category"/>
104 <xs:element ref="packages:metadata"/>
105 <xs:element ref="packages:permission"/>
108 <xs:attribute name="appid" use="required" type="xs:string"/>
109 <xs:attribute name="auto-restart" use="required" type="xs:boolean"/>
110 <xs:attribute name="exec" use="required"/>
111 <xs:attribute name="on-boot" use="required" type="xs:boolean"/>
112 <xs:attribute name="type" use="required" type="packages:TypeType"/>
113 <xs:attribute name="permission-type" type="xs:string"/>
116 <xs:element name="ui-application">
119 <xs:choice maxOccurs="unbounded" minOccurs="0">
120 <xs:element ref="packages:label"/>
121 <xs:element ref="packages:icon"/>
122 <xs:element ref="packages:image"/>
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="exec" use="required"/>
132 <xs:attribute name="multiple" type="xs:boolean"/>
133 <xs:attribute name="nodisplay" type="xs:boolean"/>
134 <xs:attribute name="taskmanage" type="xs:boolean"/>
135 <xs:attribute name="enabled" type="xs:boolean"/>
136 <xs:attribute name="type" use="required" type="packages:TypeType"/>
137 <xs:attribute name="categories" type="xs:NCName"/>
138 <xs:attribute name="extraid"/>
139 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
140 <xs:attribute name="recentimage" type="packages:RecentImage"/>
141 <xs:attribute name="mainapp" type="xs:boolean"/>
142 <xs:attribute name="indicatordisplay" type="xs:boolean"/>
143 <xs:attribute name="portrait-effectimage" type="xs:string"/>
144 <xs:attribute name="landscape-effectimage" type="xs:string"/>
145 <xs:attribute name="guestmode-visibility" type="xs:string"/>
146 <xs:attribute name="launchcondition" type="xs:boolean"/>
147 <xs:attribute name="permission-type" type="xs:string"/>
150 <xs:element name="ime-application">
153 <xs:choice maxOccurs="unbounded">
154 <xs:element ref="packages:label"/>
155 <xs:element ref="packages:icon"/>
158 <xs:attribute name="appid" use="required" type="xs:string"/>
159 <xs:attribute name="exec" use="required" type="xs:NCName"/>
160 <xs:attribute name="multiple" type="xs:boolean"/>
161 <xs:attribute name="nodisplay" type="xs:boolean"/>
162 <xs:attribute name="type" use="required" type="packages:TypeType"/>
165 <xs:element name="shortcut-list">
167 <xs:element name="livebox">
169 <xs:element name="account">
171 <xs:element name="notifications">
173 <xs:element name="ime">
175 <xs:element name="privileges">
178 <xs:choice maxOccurs="unbounded" minOccurs="0">
179 <xs:element ref="packages:privilege"/>
184 <xs:element name="privilege">
186 <xs:element name="font">
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"/>