blob: f53fb4b12d5f0d5f99b4ed3bc590f31ff0fae285 [file] [log] [blame]
ramangrover29330a5412013-04-29 20:59:17 -07001<?xml version="1.0" encoding="ISO-8859-1" ?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 xmlns:mg="asterixconf" targetNamespace="asterixconf"
4 elementFormDefault="qualified">
5
6 <!-- definition of simple types -->
7
8
9 <xs:element name="metadataNode" type="xs:string" />
10 <xs:element name="storeDirs" type="xs:string" />
11 <xs:element name="ncId" type="xs:string" />
12 <xs:element name="name" type="xs:string" />
13 <xs:element name="value" type="xs:string" />
14 <xs:element name="description" type="xs:string" />
15
16 <!-- definition of complex elements -->
17 <xs:element name="store">
18 <xs:complexType>
19 <xs:sequence>
20 <xs:element ref="mg:ncId" />
21 <xs:element ref="mg:storeDirs" />
22 </xs:sequence>
23 </xs:complexType>
24 </xs:element>
25
26 <xs:element name="property">
27 <xs:complexType>
28 <xs:sequence>
29 <xs:element ref="mg:name" />
30 <xs:element ref="mg:value" />
31 <xs:element ref="mg:description" />
32 </xs:sequence>
33 </xs:complexType>
34 </xs:element>
35
36
37 <xs:element name="asterixConfiguration">
38 <xs:complexType>
39 <xs:sequence>
40 <xs:element ref="mg:metadataNode" minOccurs="0"/>
41 <xs:element ref="mg:store" maxOccurs="unbounded" />
42 <xs:element ref="mg:property" minOccurs="0" maxOccurs="unbounded" />
43 </xs:sequence>
44 </xs:complexType>
45 </xs:element>
46
47</xs:schema>