data/dictionary.xsd
author František Kučera <franta-hg@frantovo.cz>
Tue, 09 Jul 2013 22:42:32 +0200
changeset 17 b188eae2c092
parent 13 a5d7afd1b93a
child 151 a9f1ba451247
permissions -rw-r--r--
generator: sorted index and synonyms
franta-hg@0
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@1
     2
<!--
franta-hg@1
     3
Free Telco Dictionary
franta-hg@13
     4
Copyright © 2013 František Kučera (frantovo.cz)
franta-hg@1
     5
franta-hg@1
     6
This program is free software: you can redistribute it and/or modify
franta-hg@1
     7
it under the terms of the GNU General Public License as published by
franta-hg@1
     8
the Free Software Foundation, either version 3 of the License, or
franta-hg@1
     9
(at your option) any later version.
franta-hg@1
    10
franta-hg@1
    11
This program is distributed in the hope that it will be useful,
franta-hg@1
    12
but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@1
    13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
franta-hg@1
    14
GNU General Public License for more details.
franta-hg@1
    15
franta-hg@1
    16
You should have received a copy of the GNU General Public License
franta-hg@1
    17
along with this program.  If not, see <http://www.gnu.org/licenses/>.
franta-hg@1
    18
-->
franta-hg@0
    19
<xs:schema xmlns="https://telco.frantovo.cz/xmlns/dictionary"
franta-hg@0
    20
           targetNamespace="https://telco.frantovo.cz/xmlns/dictionary"
franta-hg@0
    21
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
franta-hg@0
    22
           elementFormDefault="qualified"
franta-hg@0
    23
           attributeFormDefault="unqualified">
franta-hg@0
    24
franta-hg@0
    25
	<xs:element name="dictionary" type="dictionaryType"/>
franta-hg@0
    26
franta-hg@0
    27
	<xs:complexType name="dictionaryType">
franta-hg@5
    28
		<xs:sequence>
franta-hg@5
    29
			<xs:element name="tags" type="tagsDefinitionType"  minOccurs="0" maxOccurs="1"/>
franta-hg@5
    30
			<xs:element name="concept" type="conceptType"  minOccurs="0" maxOccurs="unbounded"/>
franta-hg@0
    31
		</xs:sequence>
franta-hg@0
    32
	</xs:complexType>
franta-hg@0
    33
	
franta-hg@5
    34
	<xs:complexType name="tagsDefinitionType">
franta-hg@5
    35
		<xs:sequence>
franta-hg@5
    36
			<xs:element name="tag" type="tagDefinitionType" minOccurs="0" maxOccurs="unbounded"/>
franta-hg@5
    37
		</xs:sequence>
franta-hg@5
    38
	</xs:complexType>
franta-hg@5
    39
	
franta-hg@5
    40
	<xs:complexType name="tagDefinitionType">
franta-hg@5
    41
		<xs:attribute name="id" type="xs:string"/>
franta-hg@5
    42
		<xs:attribute name="name" type="xs:string"/>
franta-hg@5
    43
		<xs:attribute name="description" type="xs:string"/>
franta-hg@5
    44
	</xs:complexType>
franta-hg@5
    45
	
franta-hg@0
    46
	<xs:complexType name="conceptType">
franta-hg@0
    47
		<xs:sequence>
franta-hg@0
    48
			<xs:element name="term" type="termType" minOccurs="1" maxOccurs="unbounded"/>
franta-hg@0
    49
			<xs:element name="explanation" type="explanationType"/>
franta-hg@6
    50
			<xs:element name="tag" type="tagRefType"  minOccurs="0" maxOccurs="unbounded"/>
franta-hg@0
    51
		</xs:sequence>
franta-hg@0
    52
	</xs:complexType>
franta-hg@0
    53
	
franta-hg@0
    54
	<xs:complexType name="termType">
franta-hg@6
    55
		<xs:sequence>
franta-hg@6
    56
			<xs:element name="tag" type="tagRefType"  minOccurs="0" maxOccurs="unbounded"/>
franta-hg@6
    57
		</xs:sequence>
franta-hg@0
    58
		<xs:attribute name="abbreviation" type="xs:string"/>
franta-hg@0
    59
		<xs:attribute name="completeForm" type="xs:string"/>
franta-hg@0
    60
		<xs:attribute name="language" type="languageType"/>
franta-hg@0
    61
	</xs:complexType>
franta-hg@0
    62
	
franta-hg@0
    63
	<xs:complexType name="explanationType">
franta-hg@0
    64
		<xs:all>
franta-hg@0
    65
			<xs:element name="text" type="textType"/>
franta-hg@0
    66
		</xs:all>
franta-hg@0
    67
		<xs:attribute name="language" type="languageType"/>
franta-hg@0
    68
	</xs:complexType>
franta-hg@0
    69
	
franta-hg@0
    70
	<xs:simpleType name="languageType">
franta-hg@0
    71
		<xs:restriction base="xs:string"/>
franta-hg@0
    72
	</xs:simpleType>
franta-hg@0
    73
	
franta-hg@0
    74
	<xs:simpleType name="textType">
franta-hg@0
    75
		<xs:restriction base="xs:string"/>
franta-hg@0
    76
	</xs:simpleType>
franta-hg@6
    77
	
franta-hg@6
    78
	<xs:simpleType name="tagRefType">
franta-hg@6
    79
		<xs:restriction base="xs:string"/>
franta-hg@6
    80
	</xs:simpleType>
franta-hg@0
    81
franta-hg@0
    82
</xs:schema>