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, either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
19 <xs:schema xmlns="https://telco.frantovo.cz/xmlns/dictionary"
20 targetNamespace="https://telco.frantovo.cz/xmlns/dictionary"
21 xmlns:xs="http://www.w3.org/2001/XMLSchema"
22 elementFormDefault="qualified"
23 attributeFormDefault="unqualified">
25 <xs:element name="dictionary" type="dictionaryType"/>
27 <xs:complexType name="dictionaryType">
29 <xs:element name="tags" type="tagsDefinitionType" minOccurs="0" maxOccurs="1"/>
30 <xs:element name="concept" type="conceptType" minOccurs="0" maxOccurs="unbounded"/>
34 <xs:complexType name="tagsDefinitionType">
36 <xs:element name="tag" type="tagDefinitionType" minOccurs="0" maxOccurs="unbounded"/>
40 <xs:complexType name="tagDefinitionType">
41 <xs:attribute name="id" type="xs:string"/>
42 <xs:attribute name="name" type="xs:string"/>
43 <xs:attribute name="description" type="xs:string"/>
46 <xs:complexType name="conceptType">
48 <xs:element name="term" type="termType" minOccurs="1" maxOccurs="unbounded"/>
49 <xs:element name="explanation" type="explanationType"/>
50 <xs:element name="tag" type="tagRefType" minOccurs="0" maxOccurs="unbounded"/>
54 <xs:complexType name="termType">
56 <xs:element name="tag" type="tagRefType" minOccurs="0" maxOccurs="unbounded"/>
58 <xs:attribute name="abbreviation" type="xs:string"/>
59 <xs:attribute name="completeForm" type="xs:string"/>
60 <xs:attribute name="language" type="languageType"/>
63 <xs:complexType name="explanationType">
65 <xs:element name="text" type="textType"/>
67 <xs:attribute name="language" type="languageType"/>
70 <xs:simpleType name="languageType">
71 <xs:restriction base="xs:string"/>
74 <xs:simpleType name="textType">
75 <xs:restriction base="xs:string"/>
78 <xs:simpleType name="tagRefType">
79 <xs:restriction base="xs:string"/>