blob: f4617236a7f00d847922177cfbf52dd28408e5db [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" />
ramangrover29fa0a5782013-06-05 03:17:57 -070016 <xs:element name="txnLogDirPath" type="xs:string" />
17
ramangrover29330a5412013-04-29 20:59:17 -070018
19 <!-- definition of complex elements -->
20 <xs:element name="store">
21 <xs:complexType>
22 <xs:sequence>
23 <xs:element ref="mg:ncId" />
24 <xs:element ref="mg:storeDirs" />
25 </xs:sequence>
26 </xs:complexType>
27 </xs:element>
28
ramangrover2940374042013-05-01 23:18:14 -070029 <xs:element name="coredump">
30 <xs:complexType>
31 <xs:sequence>
32 <xs:element ref="mg:ncId" />
33 <xs:element ref="mg:coredumpPath" />
34 </xs:sequence>
35 </xs:complexType>
36 </xs:element>
ramangrover29fa0a5782013-06-05 03:17:57 -070037
38 <xs:element name="transactionLogDir">
39 <xs:complexType>
40 <xs:sequence>
41 <xs:element ref="mg:ncId" />
42 <xs:element ref="mg:txnLogDirPath" />
43 </xs:sequence>
44 </xs:complexType>
45 </xs:element>
ramangrover2940374042013-05-01 23:18:14 -070046
ramangrover29330a5412013-04-29 20:59:17 -070047 <xs:element name="property">
48 <xs:complexType>
49 <xs:sequence>
50 <xs:element ref="mg:name" />
51 <xs:element ref="mg:value" />
52 <xs:element ref="mg:description" />
53 </xs:sequence>
54 </xs:complexType>
55 </xs:element>
56
57
58 <xs:element name="asterixConfiguration">
59 <xs:complexType>
60 <xs:sequence>
61 <xs:element ref="mg:metadataNode" minOccurs="0"/>
62 <xs:element ref="mg:store" maxOccurs="unbounded" />
ramangrover2940374042013-05-01 23:18:14 -070063 <xs:element ref="mg:coredump" maxOccurs="unbounded" />
ramangrover29fa0a5782013-06-05 03:17:57 -070064 <xs:element ref="mg:transactionLogDir" maxOccurs="unbounded"/>
ramangrover29330a5412013-04-29 20:59:17 -070065 <xs:element ref="mg:property" minOccurs="0" maxOccurs="unbounded" />
66 </xs:sequence>
67 </xs:complexType>
68 </xs:element>
69
70</xs:schema>