blob: 318e7ce6b1c872aae23942367ed8dec8f54e9682 [file] [log] [blame]
ramangrover29f18d4562013-02-15 23:56:00 +00001<?xml version="1.0" encoding="ISO-8859-1" ?>
ramangrover29@gmail.com4ba21522013-02-27 23:35:42 +00002<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mg="installer" targetNamespace="installer" elementFormDefault="qualified">
ramangrover29f18d4562013-02-15 23:56:00 +00003
4<!-- definition of simple types -->
5<xs:element name="asterix_home" type="xs:string"/>
6<xs:element name="hyracks_home" type="xs:string"/>
7<xs:element name="hdfsurl" type="xs:string"/>
8<xs:element name="server" type="xs:string"/>
9<xs:element name="clientPort" type="xs:integer"/>
10<xs:element name="homeDir" type="xs:string"/>
11<xs:element name="version" type="xs:string"/>
12<xs:element name="url" type="xs:string"/>
13<xs:element name="backupDir" type="xs:string"/>
14
15<!-- definition of complex elements -->
16<xs:element name="hdfs">
17 <xs:complexType>
18 <xs:sequence>
19 <xs:element ref="mg:version"/>
20 <xs:element ref="mg:url"/>
ramangrover29f18d4562013-02-15 23:56:00 +000021 </xs:sequence>
22 </xs:complexType>
23</xs:element>
24
25<xs:element name="backup">
26 <xs:complexType>
27 <xs:sequence>
ramangrover29@gmail.com73bf75e2013-03-11 01:41:42 +000028 <xs:element ref="mg:hdfs" minOccurs="0"/>
29 <xs:element ref="mg:backupDir"/>
ramangrover29f18d4562013-02-15 23:56:00 +000030 </xs:sequence>
31 </xs:complexType>
32</xs:element>
33
34<xs:element name="zookeeper">
35 <xs:complexType>
36 <xs:sequence>
37 <xs:element ref="mg:homeDir"/>
38 <xs:element ref="mg:clientPort"/>
39 <xs:element ref="mg:servers"/>
40 </xs:sequence>
41 </xs:complexType>
42</xs:element>
43
44<xs:element name="servers">
45 <xs:complexType>
46 <xs:sequence>
47 <xs:element ref="mg:server" maxOccurs="unbounded"/>
48 </xs:sequence>
49 </xs:complexType>
50</xs:element>
51
52<xs:element name="configuration">
53 <xs:complexType>
54 <xs:sequence>
55 <xs:element ref="mg:backup" minOccurs="0"/>
56 <xs:element ref="mg:asterix_home" minOccurs="0"/>
57 <xs:element ref="mg:hyracks_home" minOccurs="0"/>
58 <xs:element ref="mg:hdfsurl" minOccurs="0"/>
59 <xs:element ref="mg:zookeeper"/>
60 </xs:sequence>
61 </xs:complexType>
62</xs:element>
63
64</xs:schema>