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:font"/>
19 <xs:element ref="packages:livebox"/>
22 <xs:attribute name="install-location" type="packages:InstallLocationType"/>
23 <xs:attribute name="package" use="required" type="xs:NCName"/>
24 <xs:attribute name="type" type="packages:PackageType"/>
25 <xs:attribute name="version" use="required" type="xs:NMTOKEN"/>
29 <xs:simpleType name="InstallLocationType">
30 <xs:restriction base="xs:string">
31 <xs:enumeration value="auto"/>
32 <xs:enumeration value="internal-only"/>
33 <xs:enumeration value="prefer-external"/>
36 <xs:simpleType name="PackageType">
37 <xs:restriction base="xs:string">
38 <xs:enumeration value="rpm"/>
39 <xs:enumeration value="tpk"/>
40 <xs:enumeration value="wgt"/>
43 <xs:simpleType name="TypeType">
44 <xs:restriction base="xs:string">
45 <xs:enumeration value="capp"/>
46 <xs:enumeration value="c++app"/>
47 <xs:enumeration value="webapp"/>
51 <xs:element name="author">
52 <xs:complexType mixed="true">
53 <xs:attribute name="email"/>
54 <xs:attribute name="href"/>
55 <xs:attribute ref="xml:lang"/>
58 <xs:element name="description">
59 <xs:complexType mixed="true">
60 <xs:attribute ref="xml:lang"/>
63 <xs:element name="compatibility">
66 <xs:element name="device-profile">
69 <xs:element name="service-application">
72 <xs:choice maxOccurs="unbounded">
73 <xs:element ref="packages:label"/>
74 <xs:element ref="packages:icon"/>
75 <xs:element ref="packages:application-service"/>
78 <xs:attribute name="appid" use="required" type="xs:string"/>
79 <xs:attribute name="auto-restart" use="required" type="xs:boolean"/>
80 <xs:attribute name="exec" use="required"/>
81 <xs:attribute name="on-boot" use="required" type="xs:boolean"/>
82 <xs:attribute name="type" use="required" type="packages:TypeType"/>
85 <xs:element name="ui-application">
88 <xs:choice maxOccurs="unbounded">
89 <xs:element ref="packages:label"/>
90 <xs:element ref="packages:icon"/>
91 <xs:element ref="packages:application-service"/>
94 <xs:attribute name="appid" use="required" type="xs:string"/>
95 <xs:attribute name="exec" use="required"/>
96 <xs:attribute name="multiple" type="xs:boolean"/>
97 <xs:attribute name="nodisplay" type="xs:boolean"/>
98 <xs:attribute name="taskmanage" type="xs:boolean"/>
99 <xs:attribute name="type" use="required" type="packages:TypeType"/>
100 <xs:attribute name="categories" type="xs:NCName"/>
101 <xs:attribute name="extraid"/>
104 <xs:element name="ime-application">
107 <xs:choice maxOccurs="unbounded">
108 <xs:element ref="packages:label"/>
109 <xs:element ref="packages:icon"/>
112 <xs:attribute name="appid" use="required" type="xs:string"/>
113 <xs:attribute name="exec" use="required" type="xs:NCName"/>
114 <xs:attribute name="multiple" type="xs:boolean"/>
115 <xs:attribute name="nodisplay" type="xs:boolean"/>
116 <xs:attribute name="type" use="required" type="packages:TypeType"/>
119 <xs:element name="font">
122 <xs:element ref="packages:label"/>
123 <xs:element ref="packages:icon"/>
127 <xs:element name="livebox">
130 <xs:element name="label">
131 <xs:complexType mixed="true">
132 <xs:attribute ref="xml:lang"/>
135 <xs:element name="icon">
138 <xs:extension base="xs:string">
139 <xs:attribute ref="xml:lang"/>
144 <xs:element name="application-service">
147 <xs:choice maxOccurs="unbounded">
148 <xs:element ref="packages:operation"/>
149 <xs:element ref="packages:uri"/>
150 <xs:element ref="packages:mime"/>
155 <xs:element name="operation">
157 <xs:attribute name="name" use="required"/>
160 <xs:element name="uri">
162 <xs:attribute name="name" use="required"/>
165 <xs:element name="mime">
167 <xs:attribute name="name" use="required"/>