xml/config.xsd
author František Kučera <franta-hg@frantovo.cz>
Thu, 24 Oct 2019 21:43:08 +0200
branchv_0
changeset 250 aae5009bd0af
parent 249 7655df0622ee
permissions -rw-r--r--
fix license version: GNU GPLv3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
115
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
120
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
     2
<!--
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
     3
SQL-DK
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
     4
Copyright © 2013 František Kučera (frantovo.cz)
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
     5
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
     6
This program is free software: you can redistribute it and/or modify
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
     7
it under the terms of the GNU General Public License as published by
250
aae5009bd0af fix license version: GNU GPLv3
František Kučera <franta-hg@frantovo.cz>
parents: 249
diff changeset
     8
the Free Software Foundation, version 3 of the License.
120
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
     9
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
    10
This program is distributed in the hope that it will be useful,
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
    11
but WITHOUT ANY WARRANTY; without even the implied warranty of
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
    12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
    13
GNU General Public License for more details.
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
    14
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
    15
You should have received a copy of the GNU General Public License
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
    16
along with this program. If not, see <http://www.gnu.org/licenses/>.
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 115
diff changeset
    17
-->
115
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    18
<xs:schema
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    19
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    20
	elementFormDefault="qualified"
249
7655df0622ee change XMLNS for the configuration
František Kučera <franta-hg@frantovo.cz>
parents: 203
diff changeset
    21
	targetNamespace="tag:globalcode.info,2018:sqldk/configuration"
7655df0622ee change XMLNS for the configuration
František Kučera <franta-hg@frantovo.cz>
parents: 203
diff changeset
    22
	xmlns:c="tag:globalcode.info,2018:sqldk/configuration">
115
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    23
	
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    24
	<xs:element name="configuration">
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    25
		<xs:complexType>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    26
			<xs:sequence>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    27
				<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:database"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    28
				<xs:element minOccurs="0" ref="c:defaultFormatter"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    29
				<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:formatter"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    30
			</xs:sequence>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    31
		</xs:complexType>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    32
	</xs:element>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    33
	
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    34
	<xs:element name="database">
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    35
		<xs:complexType>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    36
			<xs:sequence>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    37
				<xs:element ref="c:name"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    38
				<xs:element ref="c:url"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    39
				<xs:element minOccurs="0" ref="c:userName"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    40
				<xs:element minOccurs="0" ref="c:password"/>
198
03d8492e2ca8 Schemas and XSL for new 'driver' configuration option
František Kučera <franta-hg@frantovo.cz>
parents: 120
diff changeset
    41
				<xs:element minOccurs="0" ref="c:driver"/>
115
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    42
				<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:property"/>
203
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    43
				<xs:element minOccurs="0" ref="c:tunnel"/>
115
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    44
			</xs:sequence>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    45
		</xs:complexType>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    46
	</xs:element>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    47
	
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    48
	<xs:element name="name" type="xs:string"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    49
	<xs:element name="url" type="xs:string"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    50
	<xs:element name="userName" type="xs:string"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    51
	<xs:element name="password" type="xs:string"/>
198
03d8492e2ca8 Schemas and XSL for new 'driver' configuration option
František Kučera <franta-hg@frantovo.cz>
parents: 120
diff changeset
    52
	<xs:element name="driver" type="xs:string"/>
115
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    53
	
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    54
	<xs:element name="property">
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    55
		<xs:complexType mixed="true">
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    56
			<xs:attribute name="name" use="required"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    57
		</xs:complexType>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    58
	</xs:element>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    59
	
203
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    60
	<xs:element name="tunnel">
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    61
		<xs:complexType>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    62
			<xs:sequence>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    63
				<xs:element ref="c:command"/>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    64
				<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:argument"/>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    65
			</xs:sequence>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    66
		</xs:complexType>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    67
	</xs:element>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    68
	
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    69
	<xs:element name="command" type="xs:string"/>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    70
	
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    71
	<xs:element name="argument">
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    72
		<xs:complexType mixed="true">
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    73
			<xs:attribute name="type">
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    74
				<xs:simpleType>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    75
					<xs:restriction base="xs:token">
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    76
						<xs:enumeration value="literal"/>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    77
						<xs:enumeration value="host"/>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    78
						<xs:enumeration value="port"/>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    79
						<xs:enumeration value="env"/>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    80
						<xs:enumeration value="dbProperty"/>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    81
					</xs:restriction>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    82
				</xs:simpleType>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    83
			</xs:attribute>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    84
		</xs:complexType>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    85
	</xs:element>
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    86
	
115
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    87
	<xs:element name="defaultFormatter" type="xs:string"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    88
	
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    89
	<xs:element name="formatter">
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    90
		<xs:complexType>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    91
			<xs:sequence>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    92
				<xs:element ref="c:name"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    93
				<xs:element ref="c:class"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    94
				<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:property"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    95
			</xs:sequence>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    96
		</xs:complexType>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    97
	</xs:element>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    98
	
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    99
	<xs:element name="class" type="xs:string"/>
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
   100
	
0f237fbb08a5 basic XSD
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
   101
</xs:schema>