blob: c21fc5bbcce19c852e826f68780f5bf03737419d [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"/>
ramangrover29eb8bf052013-04-02 23:42:56 +000014<xs:element name="java_home" type="xs:string"/>
ramangrover29f18d4562013-02-15 23:56:00 +000015
16<!-- definition of complex elements -->
17<xs:element name="hdfs">
18 <xs:complexType>
19 <xs:sequence>
20 <xs:element ref="mg:version"/>
21 <xs:element ref="mg:url"/>
ramangrover29f18d4562013-02-15 23:56:00 +000022 </xs:sequence>
23 </xs:complexType>
24</xs:element>
25
26<xs:element name="backup">
27 <xs:complexType>
28 <xs:sequence>
ramangrover29@gmail.com73bf75e2013-03-11 01:41:42 +000029 <xs:element ref="mg:hdfs" minOccurs="0"/>
30 <xs:element ref="mg:backupDir"/>
ramangrover29f18d4562013-02-15 23:56:00 +000031 </xs:sequence>
32 </xs:complexType>
33</xs:element>
34
35<xs:element name="zookeeper">
36 <xs:complexType>
37 <xs:sequence>
38 <xs:element ref="mg:homeDir"/>
39 <xs:element ref="mg:clientPort"/>
40 <xs:element ref="mg:servers"/>
41 </xs:sequence>
42 </xs:complexType>
43</xs:element>
44
45<xs:element name="servers">
46 <xs:complexType>
47 <xs:sequence>
ramangrover29eb8bf052013-04-02 23:42:56 +000048 <xs:element ref="mg:java_home"/>
ramangrover29f18d4562013-02-15 23:56:00 +000049 <xs:element ref="mg:server" maxOccurs="unbounded"/>
50 </xs:sequence>
51 </xs:complexType>
52</xs:element>
53
54<xs:element name="configuration">
55 <xs:complexType>
56 <xs:sequence>
57 <xs:element ref="mg:backup" minOccurs="0"/>
58 <xs:element ref="mg:asterix_home" minOccurs="0"/>
59 <xs:element ref="mg:hyracks_home" minOccurs="0"/>
60 <xs:element ref="mg:hdfsurl" minOccurs="0"/>
61 <xs:element ref="mg:zookeeper"/>
62 </xs:sequence>
63 </xs:complexType>
64</xs:element>
65
66</xs:schema>