|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.s60.com/xml/cenrep/1" xmlns:cenrep="http://www.s60.com/xml/cenrep/1"> |
|
3 <xs:element name="repository"> |
|
4 <xs:complexType> |
|
5 <xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
6 <xs:element minOccurs="0" maxOccurs="2" ref="cenrep:access" /> |
|
7 <xs:element minOccurs="0" maxOccurs="1" ref="cenrep:desc" /> |
|
8 <xs:element minOccurs="0" maxOccurs="unbounded" ref="cenrep:key" /> |
|
9 <xs:element minOccurs="0" maxOccurs="unbounded" ref="cenrep:keyRange" /> |
|
10 </xs:choice> |
|
11 <xs:attribute name="backup" type="xs:boolean"/> |
|
12 <xs:attribute name="rfs" type="xs:boolean"/> |
|
13 <xs:attribute name="initialialisationFileVersion" type="xs:integer"/> |
|
14 <xs:attribute name="owner" type="xs:string"/> |
|
15 <xs:attribute name="uidName" type="xs:string"/> |
|
16 <xs:attribute name="uidValue" type="xs:string"/> |
|
17 <xs:attribute name="version" type="xs:decimal" use="optional"/> |
|
18 </xs:complexType> |
|
19 </xs:element> |
|
20 <xs:element name="desc" type="xs:string"/> |
|
21 <xs:element name="key"> |
|
22 <xs:complexType> |
|
23 <xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
24 <xs:element minOccurs="0" maxOccurs="2" |
|
25 ref="cenrep:access" /> |
|
26 <xs:element minOccurs="0" maxOccurs="unbounded" |
|
27 ref="cenrep:value" /> |
|
28 <xs:element minOccurs="0" maxOccurs="unbounded" |
|
29 ref="cenrep:bit" /> |
|
30 <xs:element ref="cenrep:desc" minOccurs="0" maxOccurs="1"></xs:element> |
|
31 </xs:choice> |
|
32 |
|
33 <xs:attribute name="backup" type="xs:boolean"/> |
|
34 <xs:attribute name="int" type="xs:string"/> |
|
35 <xs:attribute name="name" type="xs:string"/> |
|
36 <xs:attribute name="readOnly" type="xs:boolean"/> |
|
37 <xs:attribute name="ref" type="xs:string"/> |
|
38 <xs:attribute name="type" type="cenrep:typeType"/> |
|
39 </xs:complexType> |
|
40 </xs:element> |
|
41 <xs:element name="value"> |
|
42 <xs:complexType mixed="true"> |
|
43 <xs:attribute name="desc" /> |
|
44 <xs:attribute name="value" type="xs:string"/> |
|
45 </xs:complexType> |
|
46 </xs:element> |
|
47 <xs:element name="bit"> |
|
48 <xs:complexType> |
|
49 <xs:simpleContent> |
|
50 <xs:extension base="xs:integer"> |
|
51 <xs:attribute name="ref" type="xs:string"/> |
|
52 <xs:attribute name="value" type="xs:boolean"/> |
|
53 </xs:extension> |
|
54 </xs:simpleContent> |
|
55 </xs:complexType> |
|
56 </xs:element> |
|
57 <xs:element name="keyRange"> |
|
58 <xs:complexType> |
|
59 <xs:sequence> |
|
60 <xs:element minOccurs="0" maxOccurs="unbounded" |
|
61 ref="cenrep:access" /> |
|
62 <xs:element ref="cenrep:desc" minOccurs="0" maxOccurs="1"></xs:element> |
|
63 </xs:sequence> |
|
64 <xs:attribute name="backup" type="xs:boolean"/> |
|
65 <xs:attribute name="countInt" type="xs:int"/> |
|
66 <xs:attribute name="firstIndex" type="xs:int"/> |
|
67 <xs:attribute name="firstInt" type="xs:string"/> |
|
68 <xs:attribute name="indexBits" type="xs:string"/> |
|
69 <xs:attribute name="int" type="xs:int"/> |
|
70 <xs:attribute name="lastInt" type="xs:string"/> |
|
71 <xs:attribute name="name" type="xs:string"/> |
|
72 <xs:attribute name="ref" type="xs:string"/> |
|
73 </xs:complexType> |
|
74 </xs:element> |
|
75 <xs:element name="access"> |
|
76 <xs:complexType> |
|
77 <xs:choice> |
|
78 <xs:element ref="cenrep:desc" minOccurs="0" maxOccurs="1"></xs:element> |
|
79 </xs:choice> |
|
80 <xs:attribute name="capabilities" type="xs:string" /> |
|
81 <xs:attribute name="sid" type="xs:string" /> |
|
82 <xs:attribute name="type" type="xs:NMTOKEN" /> |
|
83 </xs:complexType> |
|
84 </xs:element> |
|
85 <xs:simpleType name="typeType"> |
|
86 <xs:restriction base="xs:string"> |
|
87 <xs:enumeration id="int" value="int"></xs:enumeration> |
|
88 <xs:enumeration value="binary"></xs:enumeration> |
|
89 <xs:enumeration value="real"></xs:enumeration> |
|
90 <xs:enumeration value="string"></xs:enumeration> |
|
91 <xs:enumeration value="string8"></xs:enumeration> |
|
92 </xs:restriction> |
|
93 </xs:simpleType> |
|
94 |
|
95 </xs:schema> |