blob: efda4b7fdfb23b3a0856b4bbbc0b535a3aabecf3 [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
ramangrover29f7f449a2013-06-10 10:50:21 -07008
ramangrover298a0f7382013-06-03 08:27:50 -07009 <xs:element name="instanceName" type="xs:string" />
Ian Maxon69375a12015-06-29 16:12:53 -070010 <xs:element name="version" type="xs:string"/>
ramangrover29330a5412013-04-29 20:59:17 -070011 <xs:element name="metadataNode" type="xs:string" />
ramangrover2940374042013-05-01 23:18:14 -070012 <xs:element name="coredumpPath" type="xs:string" />
ramangrover29330a5412013-04-29 20:59:17 -070013 <xs:element name="storeDirs" type="xs:string" />
14 <xs:element name="ncId" type="xs:string" />
15 <xs:element name="name" type="xs:string" />
16 <xs:element name="value" type="xs:string" />
17 <xs:element name="description" type="xs:string" />
ramangrover29f7f449a2013-06-10 10:50:21 -070018 <xs:element name="txnLogDirPath" type="xs:string" />
19
20
ramangrover29330a5412013-04-29 20:59:17 -070021 <!-- definition of complex elements -->
22 <xs:element name="store">
23 <xs:complexType>
24 <xs:sequence>
25 <xs:element ref="mg:ncId" />
26 <xs:element ref="mg:storeDirs" />
27 </xs:sequence>
28 </xs:complexType>
29 </xs:element>
30
ramangrover2940374042013-05-01 23:18:14 -070031 <xs:element name="coredump">
32 <xs:complexType>
33 <xs:sequence>
34 <xs:element ref="mg:ncId" />
35 <xs:element ref="mg:coredumpPath" />
36 </xs:sequence>
37 </xs:complexType>
38 </xs:element>
ramangrover29f7f449a2013-06-10 10:50:21 -070039
ramangrover29fa0a5782013-06-05 03:17:57 -070040 <xs:element name="transactionLogDir">
41 <xs:complexType>
42 <xs:sequence>
43 <xs:element ref="mg:ncId" />
44 <xs:element ref="mg:txnLogDirPath" />
45 </xs:sequence>
46 </xs:complexType>
47 </xs:element>
ramangrover2940374042013-05-01 23:18:14 -070048
ramangrover29330a5412013-04-29 20:59:17 -070049 <xs:element name="property">
50 <xs:complexType>
51 <xs:sequence>
52 <xs:element ref="mg:name" />
53 <xs:element ref="mg:value" />
54 <xs:element ref="mg:description" />
55 </xs:sequence>
56 </xs:complexType>
57 </xs:element>
58
59
60 <xs:element name="asterixConfiguration">
61 <xs:complexType>
62 <xs:sequence>
ramangrover29f7f449a2013-06-10 10:50:21 -070063 <xs:element ref="mg:instanceName" minOccurs="0" />
Ian Maxon69375a12015-06-29 16:12:53 -070064 <xs:element ref="mg:version" minOccurs="0" />
ramangrover29f7f449a2013-06-10 10:50:21 -070065 <xs:element ref="mg:metadataNode" minOccurs="0" />
ramangrover29330a5412013-04-29 20:59:17 -070066 <xs:element ref="mg:store" maxOccurs="unbounded" />
ramangrover2940374042013-05-01 23:18:14 -070067 <xs:element ref="mg:coredump" maxOccurs="unbounded" />
ramangrover29f7f449a2013-06-10 10:50:21 -070068 <xs:element ref="mg:transactionLogDir" maxOccurs="unbounded" />
ramangrover29330a5412013-04-29 20:59:17 -070069 <xs:element ref="mg:property" minOccurs="0" maxOccurs="unbounded" />
70 </xs:sequence>
71 </xs:complexType>
72 </xs:element>
73
74</xs:schema>