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:Accounts"/>
21 <xs:element ref="packages:account"/>
22 <xs:element ref="packages:font"/>
25 <xs:attribute name="install-location" type="packages:InstallLocationType"/>
26 <xs:attribute name="package" use="required" type="xs:string"/>
27 <xs:attribute name="type" type="packages:PackageType"/>
28 <xs:attribute name="version" use="required" type="xs:NMTOKEN"/>
29 <xs:attribute name="size" type="xs:NMTOKEN"/>
33 <xs:simpleType name="InstallLocationType">
34 <xs:restriction base="xs:string">
35 <xs:enumeration value="auto"/>
36 <xs:enumeration value="internal-only"/>
37 <xs:enumeration value="prefer-external"/>
40 <xs:simpleType name="PackageType">
41 <xs:restriction base="xs:string">
42 <xs:enumeration value="rpm"/>
43 <xs:enumeration value="tpk"/>
44 <xs:enumeration value="wgt"/>
45 <xs:enumeration value="apk"/>
48 <xs:simpleType name="TypeType">
49 <xs:restriction base="xs:string">
50 <xs:enumeration value="capp"/>
51 <xs:enumeration value="c++app"/>
52 <xs:enumeration value="webapp"/>
55 <xs:simpleType name="HwAccelerationType">
56 <xs:restriction base="xs:string">
57 <xs:enumeration value="use-GL"/>
58 <xs:enumeration value="not-use-GL"/>
59 <xs:enumeration value="use-system-setting"/>
62 <xs:simpleType name="RecentImage">
63 <xs:restriction base="xs:string">
64 <xs:enumeration value="icon"/>
65 <xs:enumeration value="capture"/>
69 <xs:element name="author">
70 <xs:complexType mixed="true">
71 <xs:attribute name="email"/>
72 <xs:attribute name="href"/>
73 <xs:attribute ref="xml:lang"/>
76 <xs:element name="description">
77 <xs:complexType mixed="true">
78 <xs:attribute ref="xml:lang"/>
81 <xs:element name="compatibility">
84 <xs:element name="device-profile">
87 <xs:element name="service-application">
90 <xs:choice maxOccurs="unbounded" minOccurs="0">
91 <xs:element ref="packages:label"/>
92 <xs:element ref="packages:icon"/>
93 <xs:element ref="packages:application-service"/>
94 <xs:element ref="packages:app-control"/>
95 <xs:element ref="packages:category"/>
98 <xs:attribute name="appid" use="required" type="xs:string"/>
99 <xs:attribute name="auto-restart" use="required" type="xs:boolean"/>
100 <xs:attribute name="exec" use="required"/>
101 <xs:attribute name="on-boot" use="required" type="xs:boolean"/>
102 <xs:attribute name="type" use="required" type="packages:TypeType"/>
105 <xs:element name="ui-application">
108 <xs:choice maxOccurs="unbounded" minOccurs="0">
109 <xs:element ref="packages:label"/>
110 <xs:element ref="packages:icon"/>
111 <xs:element ref="packages:application-service"/>
112 <xs:element ref="packages:app-control"/>
113 <xs:element ref="packages:category"/>
116 <xs:attribute name="appid" use="required" type="xs:string"/>
117 <xs:attribute name="exec" use="required"/>
118 <xs:attribute name="multiple" type="xs:boolean"/>
119 <xs:attribute name="nodisplay" type="xs:boolean"/>
120 <xs:attribute name="taskmanage" type="xs:boolean"/>
121 <xs:attribute name="type" use="required" type="packages:TypeType"/>
122 <xs:attribute name="categories" type="xs:NCName"/>
123 <xs:attribute name="extraid"/>
124 <xs:attribute name="hw-acceleration" type="packages:HwAccelerationType"/>
125 <xs:attribute name="recentimage" type="packages:RecentImage"/>
126 <xs:attribute name="mainapp" type="xs:boolean"/>
129 <xs:element name="ime-application">
132 <xs:choice maxOccurs="unbounded">
133 <xs:element ref="packages:label"/>
134 <xs:element ref="packages:icon"/>
137 <xs:attribute name="appid" use="required" type="xs:string"/>
138 <xs:attribute name="exec" use="required" type="xs:NCName"/>
139 <xs:attribute name="multiple" type="xs:boolean"/>
140 <xs:attribute name="nodisplay" type="xs:boolean"/>
141 <xs:attribute name="type" use="required" type="packages:TypeType"/>
144 <xs:element name="shortcut-list">
146 <xs:element name="livebox">
148 <xs:element name="Accounts">
150 <xs:element name="account">
152 <xs:element name="font">
155 <xs:element ref="packages:label"/>
156 <xs:element ref="packages:icon"/>
160 <xs:element name="label">
161 <xs:complexType mixed="true">
162 <xs:attribute ref="xml:lang"/>
165 <xs:element name="icon">
166 <xs:complexType mixed="true">
167 <xs:attribute ref="xml:lang"/>
168 <xs:attribute name="section" type="packages:SectionType"/>
169 <xs:attribute name="resolution" type="packages:ResolutionType"/>
172 <xs:simpleType name="SectionType">
173 <xs:restriction base="xs:string">
174 <xs:enumeration value="notification"/>
175 <xs:enumeration value="setting"/>
178 <xs:simpleType name="ResolutionType">
179 <xs:restriction base="xs:string">
180 <xs:enumeration value="xhigh"/>
181 <xs:enumeration value="high"/>
184 <xs:element name="application-service">
187 <xs:choice maxOccurs="unbounded">
188 <xs:element ref="packages:operation"/>
189 <xs:element ref="packages:uri"/>
190 <xs:element ref="packages:mime"/>
191 <xs:element ref="packages:subapp"/>
196 <xs:element name="app-control">
199 <xs:choice maxOccurs="unbounded">
200 <xs:element ref="packages:operation"/>
201 <xs:element ref="packages:uri"/>
202 <xs:element ref="packages:mime"/>
203 <xs:element ref="packages:subapp"/>
208 <xs:element name="category">
211 <xs:choice maxOccurs="unbounded">
212 <xs:any minOccurs="0" processContents="lax"/>
215 <xs:anyAttribute processContents="lax"/>
218 <xs:element name="operation">
220 <xs:attribute name="name" use="required"/>
223 <xs:element name="uri">
225 <xs:attribute name="name" use="required"/>
228 <xs:element name="mime">
230 <xs:attribute name="name" use="required"/>
233 <xs:element name="subapp">
235 <xs:attribute name="name" use="required"/>