ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
| 2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cl="cluster" targetNamespace="cluster" elementFormDefault="qualified"> |
| 3 | |
| 4 | <!-- definition of simple types --> |
| 5 | <xs:element name="name" type="xs:string"/> |
ramangrover29@gmail.com | c0dd0e9 | 2013-03-22 07:19:04 +0000 | [diff] [blame] | 6 | <xs:element name="java_heap" type="xs:string"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 7 | <xs:element name="logdir" type="xs:string"/> |
| 8 | <xs:element name="id" type="xs:string"/> |
| 9 | <xs:element name="ip" type="xs:string"/> |
| 10 | <xs:element name="cluster-ip" type="xs:string"/> |
| 11 | <xs:element name="key" type="xs:string"/> |
| 12 | <xs:element name="value" type="xs:string"/> |
| 13 | <xs:element name="dir" type="xs:string"/> |
| 14 | <xs:element name="NFS" type="xs:boolean"/> |
| 15 | <xs:element name="store" type="xs:string"/> |
| 16 | <xs:element name="java_home" type="xs:string"/> |
| 17 | <xs:element name="username" type="xs:string"/> |
ramangrover29@gmail.com | 3bfd1b5 | 2013-03-08 18:56:42 +0000 | [diff] [blame] | 18 | <xs:element name="debug" type="xs:integer"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 19 | |
| 20 | <!-- definition of complex elements --> |
| 21 | <xs:element name="workingDir"> |
| 22 | <xs:complexType> |
| 23 | <xs:sequence> |
| 24 | <xs:element ref="cl:dir"/> |
| 25 | <xs:element ref="cl:NFS"/> |
| 26 | </xs:sequence> |
| 27 | </xs:complexType> |
| 28 | </xs:element> |
| 29 | |
| 30 | <xs:element name="master-node"> |
| 31 | <xs:complexType> |
| 32 | <xs:sequence> |
| 33 | <xs:element ref="cl:id"/> |
| 34 | <xs:element ref="cl:ip"/> |
| 35 | <xs:element ref="cl:cluster-ip"/> |
ramangrover29 | ab6d349 | 2013-02-21 22:23:03 +0000 | [diff] [blame] | 36 | <xs:element ref="cl:java_home" minOccurs="0"/> |
ramangrover29@gmail.com | c0dd0e9 | 2013-03-22 07:19:04 +0000 | [diff] [blame] | 37 | <xs:element ref="cl:java_heap" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 38 | <xs:element ref="cl:logdir" minOccurs="0"/> |
ramangrover29@gmail.com | 3bfd1b5 | 2013-03-08 18:56:42 +0000 | [diff] [blame] | 39 | <xs:element ref="cl:debug" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 40 | </xs:sequence> |
| 41 | </xs:complexType> |
| 42 | </xs:element> |
| 43 | |
| 44 | <xs:element name="property"> |
| 45 | <xs:complexType> |
| 46 | <xs:sequence> |
| 47 | <xs:element ref="cl:key"/> |
| 48 | <xs:element ref="cl:value"/> |
| 49 | </xs:sequence> |
| 50 | </xs:complexType> |
| 51 | </xs:element> |
| 52 | |
| 53 | <xs:element name="env"> |
| 54 | <xs:complexType> |
| 55 | <xs:sequence> |
| 56 | <xs:element ref="cl:property" minOccurs="0" maxOccurs="unbounded"/> |
| 57 | </xs:sequence> |
| 58 | </xs:complexType> |
| 59 | </xs:element> |
| 60 | |
| 61 | <xs:element name="node"> |
| 62 | <xs:complexType> |
| 63 | <xs:sequence> |
| 64 | <xs:element ref="cl:id"/> |
| 65 | <xs:element ref="cl:ip"/> |
ramangrover29@gmail.com | c0dd0e9 | 2013-03-22 07:19:04 +0000 | [diff] [blame] | 66 | <xs:element ref="cl:java_heap" minOccurs="0"/> |
ramangrover29 | ab6d349 | 2013-02-21 22:23:03 +0000 | [diff] [blame] | 67 | <xs:element ref="cl:java_home" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 68 | <xs:element ref="cl:logdir" minOccurs="0"/> |
| 69 | <xs:element ref="cl:store" minOccurs="0"/> |
ramangrover29@gmail.com | 3bfd1b5 | 2013-03-08 18:56:42 +0000 | [diff] [blame] | 70 | <xs:element ref="cl:debug" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 71 | </xs:sequence> |
| 72 | </xs:complexType> |
| 73 | </xs:element> |
| 74 | |
| 75 | <xs:element name="cluster"> |
| 76 | <xs:complexType> |
| 77 | <xs:sequence> |
| 78 | <xs:element ref="cl:name"/> |
| 79 | <xs:element ref="cl:username"/> |
| 80 | <xs:element ref="cl:env" minOccurs="0"/> |
ramangrover29@gmail.com | c0dd0e9 | 2013-03-22 07:19:04 +0000 | [diff] [blame] | 81 | <xs:element ref="cl:java_heap" minOccurs="0"/> |
ramangrover29 | ab6d349 | 2013-02-21 22:23:03 +0000 | [diff] [blame] | 82 | <xs:element ref="cl:java_home" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 83 | <xs:element ref="cl:logdir" minOccurs="0"/> |
| 84 | <xs:element ref="cl:store" minOccurs="0"/> |
| 85 | <xs:element ref="cl:workingDir"/> |
| 86 | <xs:element ref="cl:master-node"/> |
| 87 | <xs:element ref="cl:node" maxOccurs="unbounded"/> |
| 88 | </xs:sequence> |
| 89 | </xs:complexType> |
| 90 | </xs:element> |
| 91 | |
| 92 | </xs:schema> |