1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Widget Configuration Document Extensions XSD For TIZEN -->
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tizen="http://tizen.org/ns/widgets" targetNamespace="http://tizen.org/ns/widgets" xmlns:widgets="http://www.w3.org/ns/widgets">
4 <xs:import namespace="http://www.w3.org/ns/widgets" schemaLocation="config.xsd"/>
5 <xs:simpleType name="appserviceOperationType">
7 <xs:restriction base="xs:token">
8 <xs:enumeration value="http://tizen.org/appsvc/operation/edit"/>
9 <xs:enumeration value="http://tizen.org/appsvc/operation/view"/>
10 <xs:enumeration value="http://tizen.org/appsvc/operation/pick"/>
11 <xs:enumeration value="http://tizen.org/appsvc/operation/create_content"/>
12 <xs:enumeration value="http://tizen.org/appsvc/operation/call"/>
13 <xs:enumeration value="http://tizen.org/appsvc/operation/send"/>
14 <xs:enumeration value="http://tizen.org/appsvc/operation/dial"/>
15 <xs:enumeration value="http://tizen.org/appsvc/operation/search"/>
18 <xs:restriction base="xs:anyURI"/>
21 <xs:simpleType name="applicationIdType">
22 <xs:restriction base="xs:string">
23 <xs:pattern value="[0-9a-zA-Z]{10}"/>
27 <xs:simpleType name="screenOrientationType">
28 <xs:restriction base="xs:token">
29 <xs:enumeration value="portrait"/>
30 <xs:enumeration value="landscape"/>
34 <xs:simpleType name="activationType">
35 <xs:restriction base="xs:token">
36 <xs:enumeration value="enable"/>
37 <xs:enumeration value="disable"/>
41 <xs:element name="content">
43 <xs:attribute name="src" use="required" type="xs:anyURI"/>
47 <!-- TODO : appservice will be removed. Please use app-control-->
48 <xs:element name="appservice">
50 <xs:attribute name="src" type="xs:NCName" use="required"/>
51 <xs:attribute name="operation" type="tizen:appserviceOperationType" use="required"/>
52 <xs:attribute name="scheme" type="xs:string" use="optional"/>
53 <xs:attribute name="mime" type="xs:string" use="optional"/>
57 <xs:element name="application">
59 <xs:attribute name="id" type="tizen:applicationIdType" use="required"/>
60 <xs:attribute name="required_version" type="xs:float" use="required"/>
64 <xs:element name="setting">
66 <xs:attribute name="screen-orientation" type="tizen:screenOrientationType" use="optional"/> <!-- default: portrait -->
67 <xs:attribute name="context-menu" type="tizen:activationType" use="optional"/> <!-- default: enable -->
68 <xs:attribute name="background-support" type="tizen:activationType" use="optional"/> <!-- default: enable -->
69 <xs:attribute name="encryption" type="tizen:activationType" use="optional"/> <!-- default: disable -->
70 <xs:attribute name="nodisplay" type="widgets:data.boolean" use="optional"/> <!-- default: false -->
74 <xs:element name="app-control">
77 <xs:choice maxOccurs="unbounded">
78 <xs:element ref="packages:src"/>
79 <xs:element ref="packages:operation"/>
80 <xs:element ref="packages:scheme"/>
81 <xs:element ref="packages:mime"/>
87 <xs:element name="category">
89 <xs:anyAttribute processContents="lax"/>
93 <xs:element name="src">
95 <xs:attribute name="name" type="xs:NCName" use="required"/>
99 <xs:element name="operation">
101 <xs:attribute name="name" type="tizen:appserviceOperationType" use="required"/>
105 <xs:element name="scheme">
107 <xs:attribute name="name" type="xs:string" use="optional"/>
111 <xs:element name="mime">
113 <xs:attribute name="name" type="xs:string" use="optional"/>