|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <xs:schema |
|
3 targetNamespace="http://www.symbian.com/sdbcreator/symbiansecuritysettings" |
|
4 xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
5 xmlns:sym="http://www.symbian.com/sdbcreator/symbiansecuritysettings"> |
|
6 |
|
7 <xs:element name="sdbcreator"> |
|
8 <xs:complexType> |
|
9 <xs:sequence> |
|
10 <xs:element name="policy" minOccurs="1" maxOccurs="4"> |
|
11 <xs:complexType> |
|
12 <xs:sequence> |
|
13 <xs:element name="capability" minOccurs="0" maxOccurs="7"> |
|
14 <xs:complexType> |
|
15 <xs:attribute name="type" type="sym:capabilitytype"/> |
|
16 </xs:complexType> |
|
17 </xs:element> |
|
18 </xs:sequence> |
|
19 <xs:attribute name="type" type="sym:PolicyType" use="required"/> |
|
20 <xs:attribute name="VID" type="xs:string" use="optional"/> |
|
21 <xs:attribute name="SID" type="xs:string" use="optional"/> |
|
22 <xs:attribute name="always" type="sym:always" use="optional"/> |
|
23 </xs:complexType> |
|
24 </xs:element> |
|
25 |
|
26 <xs:element name="configuration" minOccurs="0" maxOccurs="2"> |
|
27 <xs:complexType> |
|
28 <xs:attribute name="name" use="required" type="sym:config_name"/> |
|
29 <xs:attribute name="value" use="required"/> |
|
30 </xs:complexType> |
|
31 </xs:element> |
|
32 |
|
33 |
|
34 </xs:sequence> |
|
35 |
|
36 <xs:attribute name="version" use="optional" default="1.0"> |
|
37 <xs:simpleType> |
|
38 <xs:restriction base="xs:string"> |
|
39 <xs:pattern value="\d+(.)?\d*"></xs:pattern> |
|
40 </xs:restriction> |
|
41 </xs:simpleType> |
|
42 </xs:attribute> |
|
43 </xs:complexType> |
|
44 </xs:element> |
|
45 |
|
46 <xs:simpleType name="capabilitytype"> |
|
47 <xs:restriction base="xs:string"> |
|
48 <xs:enumeration value="NetworkServices" /> |
|
49 <xs:enumeration value="LocalServices" /> |
|
50 <xs:enumeration value="ReadUserData" /> |
|
51 <xs:enumeration value="WriteUserData" /> |
|
52 <xs:enumeration value="Location" /> |
|
53 <xs:enumeration value="UserEnvironment" /> |
|
54 <xs:enumeration value="TCB" /> |
|
55 <xs:enumeration value="CommDD" /> |
|
56 <xs:enumeration value="PowerMgmt" /> |
|
57 <xs:enumeration value="MultimediaDD" /> |
|
58 <xs:enumeration value="ReadDeviceData" /> |
|
59 <xs:enumeration value="WriteDeviceData" /> |
|
60 <xs:enumeration value="DRM" /> |
|
61 <xs:enumeration value="TrustedUI" /> |
|
62 <xs:enumeration value="ProtSrv" /> |
|
63 <xs:enumeration value="DiskAdmin" /> |
|
64 <xs:enumeration value="NetworkControl" /> |
|
65 <xs:enumeration value="AllFiles" /> |
|
66 <xs:enumeration value="SwEvent" /> |
|
67 <xs:enumeration value="SurroundingsDD" /> |
|
68 </xs:restriction> |
|
69 </xs:simpleType> |
|
70 |
|
71 <xs:simpleType name="PolicyType"> |
|
72 <xs:restriction base="xs:string"> |
|
73 <xs:enumeration value="default"/> |
|
74 <xs:enumeration value="read"/> |
|
75 <xs:enumeration value="schema"/> |
|
76 <xs:enumeration value="write"/> |
|
77 </xs:restriction> |
|
78 </xs:simpleType> |
|
79 |
|
80 <xs:simpleType name="always"> |
|
81 <xs:restriction base="xs:string"> |
|
82 <xs:enumeration value="pass"/> |
|
83 <xs:enumeration value="fail"/> |
|
84 </xs:restriction> |
|
85 </xs:simpleType> |
|
86 |
|
87 <xs:simpleType name="config_name"> |
|
88 <xs:restriction base="xs:string"> |
|
89 <xs:enumeration value="page_size"/> |
|
90 <xs:enumeration value="encoding"/> |
|
91 </xs:restriction> |
|
92 </xs:simpleType> |
|
93 |
|
94 |
|
95 </xs:schema> |