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="appservice">
43 <xs:attribute name="src" type="xs:NCName" use="required"/>
44 <xs:attribute name="operation" type="tizen:appserviceOperationType" use="required"/>
45 <xs:attribute name="scheme" type="xs:string" use="optional"/>
46 <xs:attribute name="mime" type="xs:string" use="optional"/>
50 <xs:element name="application">
52 <xs:attribute name="id" type="tizen:applicationIdType" use="required"/>
53 <xs:attribute name="required_version" type="xs:float" use="required"/>
57 <xs:element name="setting">
59 <xs:attribute name="screen-orientation" type="tizen:screenOrientationType" use="optional"/> <!-- default: portrait -->
60 <xs:attribute name="contextmenu" type="tizen:activationType" use="optional"/>
61 <xs:attribute name="context-menu" type="tizen:activationType" use="optional"/>
62 <xs:attribute name="background-support" type="tizen:activationType" use="optional"/>
63 <xs:attribute name="nodisplay" type="widgets:data.boolean" use="optional"/>