blob: bed63be4d616d9a35ac7a48d00c76a3ef3fbfc3c [file] [log] [blame]
ramangrover29330a5412013-04-29 20:59:17 -07001<?xml version="1.0" encoding="ISO-8859-1" ?>
Preston Carmanc66d23a2015-07-08 23:44:13 -07002<xs:schema
3 xmlns:xs="http://www.w3.org/2001/XMLSchema"
4 xmlns:mg="asterixconf"
5 targetNamespace="asterixconf"
6 elementFormDefault="qualified">
ramangrover29330a5412013-04-29 20:59:17 -07007
Preston Carmanc66d23a2015-07-08 23:44:13 -07008 <!-- definition of simple types -->
9 <xs:element
10 name="instanceName"
11 type="xs:string" />
12 <xs:element
13 name="version"
14 type="xs:string" />
15 <xs:element
16 name="metadataNode"
17 type="xs:string" />
18 <xs:element
19 name="coredumpPath"
20 type="xs:string" />
21 <xs:element
22 name="storeDirs"
23 type="xs:string" />
24 <xs:element
25 name="ncId"
26 type="xs:string" />
27 <xs:element
28 name="name"
29 type="xs:string" />
30 <xs:element
31 name="value"
32 type="xs:string" />
33 <xs:element
34 name="description"
35 type="xs:string" />
36 <xs:element
37 name="txnLogDirPath"
38 type="xs:string" />
39
40 <!-- definition of complex elements -->
41 <xs:element name="store">
42 <xs:complexType>
43 <xs:sequence>
44 <xs:element ref="mg:ncId" />
45 <xs:element ref="mg:storeDirs" />
46 </xs:sequence>
47 </xs:complexType>
48 </xs:element>
49
50 <xs:element name="coredump">
51 <xs:complexType>
52 <xs:sequence>
53 <xs:element ref="mg:ncId" />
54 <xs:element ref="mg:coredumpPath" />
55 </xs:sequence>
56 </xs:complexType>
57 </xs:element>
58
59 <xs:element name="transactionLogDir">
60 <xs:complexType>
61 <xs:sequence>
62 <xs:element ref="mg:ncId" />
63 <xs:element ref="mg:txnLogDirPath" />
64 </xs:sequence>
65 </xs:complexType>
66 </xs:element>
67
68 <xs:element name="property">
69 <xs:complexType>
70 <xs:sequence>
71 <xs:element ref="mg:name" />
72 <xs:element ref="mg:value" />
73 <xs:element ref="mg:description" />
74 </xs:sequence>
75 </xs:complexType>
76 </xs:element>
ramangrover29330a5412013-04-29 20:59:17 -070077
ramangrover29f7f449a2013-06-10 10:50:21 -070078
Preston Carmanc66d23a2015-07-08 23:44:13 -070079 <xs:element name="asterixConfiguration">
80 <xs:complexType>
81 <xs:sequence>
82 <xs:element
83 ref="mg:instanceName"
84 minOccurs="0" />
85 <xs:element
86 ref="mg:version"
87 minOccurs="0" />
88 <xs:element
89 ref="mg:metadataNode"
90 minOccurs="0" />
91 <xs:element
92 ref="mg:store"
93 maxOccurs="unbounded" />
94 <xs:element
95 ref="mg:coredump"
96 maxOccurs="unbounded" />
97 <xs:element
98 ref="mg:transactionLogDir"
99 maxOccurs="unbounded" />
100 <xs:element
101 ref="mg:property"
102 minOccurs="0"
103 maxOccurs="unbounded" />
104 </xs:sequence>
105 </xs:complexType>
106 </xs:element>
ramangrover29f7f449a2013-06-10 10:50:21 -0700107
Preston Carmanc66d23a2015-07-08 23:44:13 -0700108</xs:schema>