data/dictionary.xsd
author František Kučera <franta-hg@frantovo.cz>
Sun, 07 Jul 2013 00:01:04 +0200
changeset 0 0b192a8f211b
child 1 1d07b6f18e49
permissions -rw-r--r--
first XML format specification + first list of terms
franta-hg@0
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@0
     2
<xs:schema xmlns="https://telco.frantovo.cz/xmlns/dictionary"
franta-hg@0
     3
           targetNamespace="https://telco.frantovo.cz/xmlns/dictionary"
franta-hg@0
     4
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
franta-hg@0
     5
           elementFormDefault="qualified"
franta-hg@0
     6
           attributeFormDefault="unqualified">
franta-hg@0
     7
franta-hg@0
     8
	<xs:element name="dictionary" type="dictionaryType"/>
franta-hg@0
     9
franta-hg@0
    10
	<xs:complexType name="dictionaryType">
franta-hg@0
    11
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
franta-hg@0
    12
			<xs:element name="concept" type="conceptType"/>
franta-hg@0
    13
		</xs:sequence>
franta-hg@0
    14
	</xs:complexType>
franta-hg@0
    15
	
franta-hg@0
    16
	<xs:complexType name="conceptType">
franta-hg@0
    17
		<xs:sequence>
franta-hg@0
    18
			<xs:element name="term" type="termType" minOccurs="1" maxOccurs="unbounded"/>
franta-hg@0
    19
			<xs:element name="explanation" type="explanationType"/>
franta-hg@0
    20
		</xs:sequence>
franta-hg@0
    21
	</xs:complexType>
franta-hg@0
    22
	
franta-hg@0
    23
	<xs:complexType name="termType">
franta-hg@0
    24
		<xs:attribute name="abbreviation" type="xs:string"/>
franta-hg@0
    25
		<xs:attribute name="completeForm" type="xs:string"/>
franta-hg@0
    26
		<xs:attribute name="language" type="languageType"/>
franta-hg@0
    27
	</xs:complexType>
franta-hg@0
    28
	
franta-hg@0
    29
	<xs:complexType name="explanationType">
franta-hg@0
    30
		<xs:all>
franta-hg@0
    31
			<xs:element name="text" type="textType"/>
franta-hg@0
    32
		</xs:all>
franta-hg@0
    33
		<xs:attribute name="language" type="languageType"/>
franta-hg@0
    34
	</xs:complexType>
franta-hg@0
    35
	
franta-hg@0
    36
	<xs:simpleType name="languageType">
franta-hg@0
    37
		<xs:restriction base="xs:string"/>
franta-hg@0
    38
	</xs:simpleType>
franta-hg@0
    39
	
franta-hg@0
    40
	<xs:simpleType name="textType">
franta-hg@0
    41
		<xs:restriction base="xs:string"/>
franta-hg@0
    42
	</xs:simpleType>
franta-hg@0
    43
franta-hg@0
    44
</xs:schema>