blob: 5aefdbd5f3fe35c3bf0e7f2cbd35177e2d48c235 [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" />
ramangrover2940374042013-05-01 23:18:14 -070010 <xs:element name="coredumpPath" type="xs:string" />
ramangrover29330a5412013-04-29 20:59:17 -070011 <xs:element name="storeDirs" type="xs:string" />
12 <xs:element name="ncId" type="xs:string" />
13 <xs:element name="name" type="xs:string" />
14 <xs:element name="value" type="xs:string" />
15 <xs:element name="description" type="xs:string" />
16
17 <!-- definition of complex elements -->
18 <xs:element name="store">
19 <xs:complexType>
20 <xs:sequence>
21 <xs:element ref="mg:ncId" />
22 <xs:element ref="mg:storeDirs" />
23 </xs:sequence>
24 </xs:complexType>
25 </xs:element>
26
ramangrover2940374042013-05-01 23:18:14 -070027 <xs:element name="coredump">
28 <xs:complexType>
29 <xs:sequence>
30 <xs:element ref="mg:ncId" />
31 <xs:element ref="mg:coredumpPath" />
32 </xs:sequence>
33 </xs:complexType>
34 </xs:element>
35
ramangrover29330a5412013-04-29 20:59:17 -070036 <xs:element name="property">
37 <xs:complexType>
38 <xs:sequence>
39 <xs:element ref="mg:name" />
40 <xs:element ref="mg:value" />
41 <xs:element ref="mg:description" />
42 </xs:sequence>
43 </xs:complexType>
44 </xs:element>
45
46
47 <xs:element name="asterixConfiguration">
48 <xs:complexType>
49 <xs:sequence>
50 <xs:element ref="mg:metadataNode" minOccurs="0"/>
51 <xs:element ref="mg:store" maxOccurs="unbounded" />
ramangrover2940374042013-05-01 23:18:14 -070052 <xs:element ref="mg:coredump" maxOccurs="unbounded" />
ramangrover29330a5412013-04-29 20:59:17 -070053 <xs:element ref="mg:property" minOccurs="0" maxOccurs="unbounded" />
54 </xs:sequence>
55 </xs:complexType>
56 </xs:element>
57
58</xs:schema>