1 <?xml version="1.0" encoding="UTF-8"?>
4 Copyright © 2013 František Kučera (frantovo.cz)
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, version 3 of the License.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 <xs:schema xmlns="https://telco.frantovo.cz/xmlns/dictionary"
19 targetNamespace="https://telco.frantovo.cz/xmlns/dictionary"
20 xmlns:xs="http://www.w3.org/2001/XMLSchema"
21 elementFormDefault="qualified"
22 attributeFormDefault="unqualified">
24 <xs:element name="dictionary" type="dictionaryType"/>
26 <xs:complexType name="dictionaryType">
28 <xs:element name="tags" type="tagsDefinitionType" minOccurs="0" maxOccurs="1"/>
29 <xs:element name="concept" type="conceptType" minOccurs="0" maxOccurs="unbounded"/>
33 <xs:complexType name="tagsDefinitionType">
35 <xs:element name="tag" type="tagDefinitionType" minOccurs="0" maxOccurs="unbounded"/>
39 <xs:complexType name="tagDefinitionType">
40 <xs:attribute name="id" type="xs:string"/>
41 <xs:attribute name="name" type="xs:string"/>
42 <xs:attribute name="description" type="xs:string"/>
45 <xs:complexType name="conceptType">
47 <xs:element name="term" type="termType" minOccurs="1" maxOccurs="unbounded"/>
48 <xs:element name="explanation" type="explanationType"/>
49 <xs:element name="tag" type="tagRefType" minOccurs="0" maxOccurs="unbounded"/>
53 <xs:complexType name="termType">
55 <xs:element name="tag" type="tagRefType" minOccurs="0" maxOccurs="unbounded"/>
57 <xs:attribute name="abbreviation" type="xs:string"/>
58 <xs:attribute name="completeForm" type="xs:string"/>
59 <xs:attribute name="language" type="languageType"/>
62 <xs:complexType name="explanationType">
64 <xs:element name="text" type="textType"/>
66 <xs:attribute name="language" type="languageType"/>
69 <xs:simpleType name="languageType">
70 <xs:restriction base="xs:string"/>
73 <xs:simpleType name="textType">
74 <xs:restriction base="xs:string"/>
77 <xs:simpleType name="tagRefType">
78 <xs:restriction base="xs:string"/>