Add 'script' tag to handle init code with bash script
[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="script" minOccurs='0' maxOccurs='1'/>
21                                 <xs:element ref="enumlist" minOccurs='0' maxOccurs='unbounded'/>
22                         </xs:sequence>
23                         <xs:attribute name="name" type='xs:string'/>
24                         <xs:attribute name="type" type='xs:string'/>
25
26                         <xs:attribute name="headeronly" type='xs:string'/>
27
28                         <xs:attribute name="layer" type='xs:string'/>
29                         <xs:attribute name="readPriv" type='xs:string'/>
30                         <xs:attribute name="writePriv" type='xs:string'/>
31                         <xs:attribute name="label" type='xs:string'/>
32                 </xs:complexType>
33         </xs:element>
34
35
36         <xs:element name="enumlist">
37                 <xs:complexType>
38                         <xs:sequence>
39                                 <xs:element ref="enumdata" minOccurs='1' maxOccurs='unbounded'/>
40                         </xs:sequence>
41                         <xs:attribute name="name" type='xs:string'/>
42                 </xs:complexType>
43         </xs:element>
44
45         <xs:element name="enumdata">
46                 <xs:complexType>
47                         <xs:simpleContent>
48                                 <xs:extension base="xs:string">
49                                         <xs:attribute name="value" type="xs:string"/>
50                                 </xs:extension>
51                         </xs:simpleContent>
52                 </xs:complexType>
53         </xs:element>
54
55         <xs:element name="filedef">
56                 <xs:complexType>
57                         <xs:simpleContent>
58                                 <xs:extension base="xs:string">
59                                         <xs:attribute name="name" type="xs:string"/>
60                                 </xs:extension>
61                         </xs:simpleContent>
62                 </xs:complexType>
63         </xs:element>
64
65         <xs:element name="header" type='xs:string'/>
66
67         <xs:element name="val">
68                 <xs:complexType>
69                         <xs:attribute name="model" type='xs:string'/>
70                 </xs:complexType>
71         </xs:element>
72
73         <xs:element name="creator" type='xs:string'/>
74         <xs:element name="email" type='xs:string'/>
75         <xs:element name="comment" type='xs:string'/>
76         <xs:element name="script" type='xs:string'/>
77
78
79         <xs:complexType name="Value">
80                 <xs:simpleContent>
81                         <xs:extension base="xs:string">
82                                 <xs:attribute name="model" type="xs:string"/>
83                         </xs:extension>
84                 </xs:simpleContent>
85         </xs:complexType>
86
87 </xs:schema>