ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
Ian Maxon | 032a178 | 2015-06-30 17:10:51 -0700 | [diff] [blame^] | 2 | <!-- |
| 3 | ! Copyright 2009-2013 by The Regents of the University of California |
| 4 | ! Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ! you may not use this file except in compliance with the License. |
| 6 | ! you may obtain a copy of the License from |
| 7 | ! |
| 8 | ! http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ! |
| 10 | ! Unless required by applicable law or agreed to in writing, software |
| 11 | ! distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ! See the License for the specific language governing permissions and |
| 14 | ! limitations under the License. |
| 15 | !--> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 16 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 17 | xmlns:mg="asterixconf" targetNamespace="asterixconf" |
| 18 | elementFormDefault="qualified"> |
| 19 | |
| 20 | <!-- definition of simple types --> |
| 21 | |
ramangrover29 | f7f449a | 2013-06-10 10:50:21 -0700 | [diff] [blame] | 22 | |
ramangrover29 | 8a0f738 | 2013-06-03 08:27:50 -0700 | [diff] [blame] | 23 | <xs:element name="instanceName" type="xs:string" /> |
Ian Maxon | 69375a1 | 2015-06-29 16:12:53 -0700 | [diff] [blame] | 24 | <xs:element name="version" type="xs:string"/> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 25 | <xs:element name="metadataNode" type="xs:string" /> |
ramangrover29 | 4037404 | 2013-05-01 23:18:14 -0700 | [diff] [blame] | 26 | <xs:element name="coredumpPath" type="xs:string" /> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 27 | <xs:element name="storeDirs" type="xs:string" /> |
| 28 | <xs:element name="ncId" type="xs:string" /> |
| 29 | <xs:element name="name" type="xs:string" /> |
| 30 | <xs:element name="value" type="xs:string" /> |
| 31 | <xs:element name="description" type="xs:string" /> |
ramangrover29 | f7f449a | 2013-06-10 10:50:21 -0700 | [diff] [blame] | 32 | <xs:element name="txnLogDirPath" type="xs:string" /> |
| 33 | |
| 34 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 35 | <!-- definition of complex elements --> |
| 36 | <xs:element name="store"> |
| 37 | <xs:complexType> |
| 38 | <xs:sequence> |
| 39 | <xs:element ref="mg:ncId" /> |
| 40 | <xs:element ref="mg:storeDirs" /> |
| 41 | </xs:sequence> |
| 42 | </xs:complexType> |
| 43 | </xs:element> |
| 44 | |
ramangrover29 | 4037404 | 2013-05-01 23:18:14 -0700 | [diff] [blame] | 45 | <xs:element name="coredump"> |
| 46 | <xs:complexType> |
| 47 | <xs:sequence> |
| 48 | <xs:element ref="mg:ncId" /> |
| 49 | <xs:element ref="mg:coredumpPath" /> |
| 50 | </xs:sequence> |
| 51 | </xs:complexType> |
| 52 | </xs:element> |
ramangrover29 | f7f449a | 2013-06-10 10:50:21 -0700 | [diff] [blame] | 53 | |
ramangrover29 | fa0a578 | 2013-06-05 03:17:57 -0700 | [diff] [blame] | 54 | <xs:element name="transactionLogDir"> |
| 55 | <xs:complexType> |
| 56 | <xs:sequence> |
| 57 | <xs:element ref="mg:ncId" /> |
| 58 | <xs:element ref="mg:txnLogDirPath" /> |
| 59 | </xs:sequence> |
| 60 | </xs:complexType> |
| 61 | </xs:element> |
ramangrover29 | 4037404 | 2013-05-01 23:18:14 -0700 | [diff] [blame] | 62 | |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 63 | <xs:element name="property"> |
| 64 | <xs:complexType> |
| 65 | <xs:sequence> |
| 66 | <xs:element ref="mg:name" /> |
| 67 | <xs:element ref="mg:value" /> |
| 68 | <xs:element ref="mg:description" /> |
| 69 | </xs:sequence> |
| 70 | </xs:complexType> |
| 71 | </xs:element> |
| 72 | |
| 73 | |
| 74 | <xs:element name="asterixConfiguration"> |
| 75 | <xs:complexType> |
| 76 | <xs:sequence> |
ramangrover29 | f7f449a | 2013-06-10 10:50:21 -0700 | [diff] [blame] | 77 | <xs:element ref="mg:instanceName" minOccurs="0" /> |
Ian Maxon | 69375a1 | 2015-06-29 16:12:53 -0700 | [diff] [blame] | 78 | <xs:element ref="mg:version" minOccurs="0" /> |
ramangrover29 | f7f449a | 2013-06-10 10:50:21 -0700 | [diff] [blame] | 79 | <xs:element ref="mg:metadataNode" minOccurs="0" /> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 80 | <xs:element ref="mg:store" maxOccurs="unbounded" /> |
ramangrover29 | 4037404 | 2013-05-01 23:18:14 -0700 | [diff] [blame] | 81 | <xs:element ref="mg:coredump" maxOccurs="unbounded" /> |
ramangrover29 | f7f449a | 2013-06-10 10:50:21 -0700 | [diff] [blame] | 82 | <xs:element ref="mg:transactionLogDir" maxOccurs="unbounded" /> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 83 | <xs:element ref="mg:property" minOccurs="0" maxOccurs="unbounded" /> |
| 84 | </xs:sequence> |
| 85 | </xs:complexType> |
| 86 | </xs:element> |
| 87 | |
| 88 | </xs:schema> |