data/dictionary.xsd
author František Kučera <franta-hg@frantovo.cz>
Sun, 07 Jul 2013 00:10:18 +0200
changeset 2 d83c57cb1d39
parent 1 1d07b6f18e49
child 5 89cbc713692d
permissions -rw-r--r--
GPL → FDL in comment
franta-hg@0
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@1
     2
<!--
franta-hg@1
     3
Free Telco Dictionary
franta-hg@1
     4
Copyright © 2012 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@0
    28
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
franta-hg@0
    29
			<xs:element name="concept" type="conceptType"/>
franta-hg@0
    30
		</xs:sequence>
franta-hg@0
    31
	</xs:complexType>
franta-hg@0
    32
	
franta-hg@0
    33
	<xs:complexType name="conceptType">
franta-hg@0
    34
		<xs:sequence>
franta-hg@0
    35
			<xs:element name="term" type="termType" minOccurs="1" maxOccurs="unbounded"/>
franta-hg@0
    36
			<xs:element name="explanation" type="explanationType"/>
franta-hg@0
    37
		</xs:sequence>
franta-hg@0
    38
	</xs:complexType>
franta-hg@0
    39
	
franta-hg@0
    40
	<xs:complexType name="termType">
franta-hg@0
    41
		<xs:attribute name="abbreviation" type="xs:string"/>
franta-hg@0
    42
		<xs:attribute name="completeForm" type="xs:string"/>
franta-hg@0
    43
		<xs:attribute name="language" type="languageType"/>
franta-hg@0
    44
	</xs:complexType>
franta-hg@0
    45
	
franta-hg@0
    46
	<xs:complexType name="explanationType">
franta-hg@0
    47
		<xs:all>
franta-hg@0
    48
			<xs:element name="text" type="textType"/>
franta-hg@0
    49
		</xs:all>
franta-hg@0
    50
		<xs:attribute name="language" type="languageType"/>
franta-hg@0
    51
	</xs:complexType>
franta-hg@0
    52
	
franta-hg@0
    53
	<xs:simpleType name="languageType">
franta-hg@0
    54
		<xs:restriction base="xs:string"/>
franta-hg@0
    55
	</xs:simpleType>
franta-hg@0
    56
	
franta-hg@0
    57
	<xs:simpleType name="textType">
franta-hg@0
    58
		<xs:restriction base="xs:string"/>
franta-hg@0
    59
	</xs:simpleType>
franta-hg@0
    60
franta-hg@0
    61
</xs:schema>