supports multi-values for one-key (REFACTORING)
[platform/core/appfw/vconf-internal-keys.git] / check.xsd
1 <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>
2
3         <xs:element name="vconfkeylists">
4                 <xs:complexType>
5                         <xs:sequence>
6                                 <xs:element ref="filedef" minOccurs='1' maxOccurs='1'/>
7                                 <xs:element ref="vconfkey" minOccurs='0' maxOccurs='unbounded'/>
8                         </xs:sequence>
9                 </xs:complexType>
10         </xs:element>
11
12         <xs:element name="vconfkey">
13                 <xs:complexType>
14                         <xs:sequence>
15                                 <xs:element ref="header" minOccurs='1' maxOccurs='1'/>
16                                 <xs:element name="val" type="Value" minOccurs='1' maxOccurs='unbounded'/>
17                                 <xs:element ref="creator" minOccurs='0' maxOccurs='1'/>
18                                 <xs:element ref="email" minOccurs='0' maxOccurs='1'/>
19                                 <xs:element ref="comment" minOccurs='0' maxOccurs='1'/>
20                                 <xs:element ref="enumlist" minOccurs='0' maxOccurs='unbounded'/>
21                         </xs:sequence>
22                         <xs:attribute name="name" type='xs:string'/>
23                         <xs:attribute name="type" type='xs:string'/>
24
25                         <xs:attribute name="headeronly" type='xs:string'/>
26
27                         <xs:attribute name="gid" type='xs:string'/>
28                         <xs:attribute name="uid" type='xs:string'/>
29                         <xs:attribute name="layer" type='xs:string'/>
30                         <xs:attribute name="readPriv" type='xs:string'/>
31                         <xs:attribute name="writePriv" type='xs:string'/>
32                         <xs:attribute name="private_spec" type='xs:string'/>
33                         <xs:attribute name="label" type='xs:string'/>
34                 </xs:complexType>
35         </xs:element>
36
37
38         <xs:element name="enumlist">
39                 <xs:complexType>
40                         <xs:sequence>
41                                 <xs:element ref="enumdata" minOccurs='1' maxOccurs='unbounded'/>
42                         </xs:sequence>
43                         <xs:attribute name="name" type='xs:string'/>
44                 </xs:complexType>
45         </xs:element>
46
47         <xs:element name="enumdata">
48                 <xs:complexType>
49                         <xs:simpleContent>
50                                 <xs:extension base="xs:string">
51                                         <xs:attribute name="value" type="xs:string"/>
52                                 </xs:extension>
53                         </xs:simpleContent>
54                 </xs:complexType>
55         </xs:element>
56
57         <xs:element name="filedef">
58                 <xs:complexType>
59                         <xs:simpleContent>
60                                 <xs:extension base="xs:string">
61                                         <xs:attribute name="name" type="xs:string"/>
62                                 </xs:extension>
63                         </xs:simpleContent>
64                 </xs:complexType>
65         </xs:element>
66
67         <xs:element name="header" type='xs:string'/>
68
69         <xs:element name="val">
70                 <xs:complexType>
71                         <xs:attribute name="model" type='xs:string'/>
72                 </xs:complexType>
73         </xs:element>
74
75         <xs:element name="creator" type='xs:string'/>
76         <xs:element name="email" type='xs:string'/>
77         <xs:element name="comment" type='xs:string'/>
78
79
80         <xs:complexType name="Value">
81                 <xs:simpleContent>
82                         <xs:extension base="xs:string">
83                                 <xs:attribute name="model" type="xs:string"/>
84                         </xs:extension>
85                 </xs:simpleContent>
86         </xs:complexType>
87
88 </xs:schema>