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="version" use="required" type="xs:NMTOKEN"/>
28 <xs:simpleType name="InstallLocationType">
29 <xs:restriction base="xs:string">
30 <xs:enumeration value="auto"/>
31 <xs:enumeration value="internal-only"/>
32 <xs:enumeration value="prefer-external"/>
35 <xs:simpleType name="TypeType">
36 <xs:restriction base="xs:string">
37 <xs:enumeration value="capp"/>
38 <xs:enumeration value="c++app"/>
42 <xs:element name="author">
43 <xs:complexType mixed="true">
44 <xs:attribute name="email"/>
45 <xs:attribute name="href" type="xs:NCName"/>
46 <xs:attribute ref="xml:lang"/>
49 <xs:element name="description">
50 <xs:complexType mixed="true">
51 <xs:attribute ref="xml:lang"/>
54 <xs:element name="compatibility">
57 <xs:element name="device-profile">
60 <xs:element name="service-application">
63 <xs:choice maxOccurs="unbounded">
64 <xs:element ref="packages:label"/>
65 <xs:element ref="packages:icon"/>
66 <xs:element ref="packages:application-service"/>
69 <xs:attribute name="appid" use="required" type="xs:NCName"/>
70 <xs:attribute name="auto-restart" use="required" type="xs:boolean"/>
71 <xs:attribute name="exec" use="required"/>
72 <xs:attribute name="on-boot" use="required" type="xs:boolean"/>
73 <xs:attribute name="type" use="required" type="packages:TypeType"/>
76 <xs:element name="ui-application">
79 <xs:choice maxOccurs="unbounded">
80 <xs:element ref="packages:label"/>
81 <xs:element ref="packages:icon"/>
82 <xs:element ref="packages:application-service"/>
85 <xs:attribute name="appid" use="required" type="xs:NCName"/>
86 <xs:attribute name="exec" use="required"/>
87 <xs:attribute name="multiple" type="xs:boolean"/>
88 <xs:attribute name="nodisplay" type="xs:boolean"/>
89 <xs:attribute name="taskmanage" type="xs:boolean"/>
90 <xs:attribute name="type" use="required" type="packages:TypeType"/>
91 <xs:attribute name="categories" type="xs:NCName"/>
94 <xs:element name="ime-application">
97 <xs:choice maxOccurs="unbounded">
98 <xs:element ref="packages:label"/>
99 <xs:element ref="packages:icon"/>
102 <xs:attribute name="appid" use="required" type="xs:NCName"/>
103 <xs:attribute name="exec" use="required" type="xs:NCName"/>
104 <xs:attribute name="multiple" type="xs:boolean"/>
105 <xs:attribute name="nodisplay" type="xs:boolean"/>
106 <xs:attribute name="type" use="required" type="packages:TypeType"/>
109 <xs:element name="font">
112 <xs:element ref="packages:label"/>
113 <xs:element ref="packages:icon"/>
117 <xs:element name="livebox">
120 <xs:element name="label">
121 <xs:complexType mixed="true">
122 <xs:attribute ref="xml:lang"/>
125 <xs:element name="icon">
128 <xs:extension base="xs:NCName">
129 <xs:attribute ref="xml:lang"/>
134 <xs:element name="application-service">
137 <xs:choice maxOccurs="unbounded">
138 <xs:element ref="packages:operation"/>
139 <xs:element ref="packages:uri"/>
140 <xs:element ref="packages:mime"/>
145 <xs:element name="operation">
147 <xs:attribute name="name" use="required"/>
150 <xs:element name="uri">
152 <xs:attribute name="name" use="required"/>
155 <xs:element name="mime">
157 <xs:attribute name="name" use="required"/>