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