data/dictionary.xsd
changeset 0 0b192a8f211b
child 1 1d07b6f18e49
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/dictionary.xsd	Sun Jul 07 00:01:04 2013 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<xs:schema xmlns="https://telco.frantovo.cz/xmlns/dictionary"
     1.6 +           targetNamespace="https://telco.frantovo.cz/xmlns/dictionary"
     1.7 +           xmlns:xs="http://www.w3.org/2001/XMLSchema"
     1.8 +           elementFormDefault="qualified"
     1.9 +           attributeFormDefault="unqualified">
    1.10 +
    1.11 +	<xs:element name="dictionary" type="dictionaryType"/>
    1.12 +
    1.13 +	<xs:complexType name="dictionaryType">
    1.14 +		<xs:sequence minOccurs="0" maxOccurs="unbounded">
    1.15 +			<xs:element name="concept" type="conceptType"/>
    1.16 +		</xs:sequence>
    1.17 +	</xs:complexType>
    1.18 +	
    1.19 +	<xs:complexType name="conceptType">
    1.20 +		<xs:sequence>
    1.21 +			<xs:element name="term" type="termType" minOccurs="1" maxOccurs="unbounded"/>
    1.22 +			<xs:element name="explanation" type="explanationType"/>
    1.23 +		</xs:sequence>
    1.24 +	</xs:complexType>
    1.25 +	
    1.26 +	<xs:complexType name="termType">
    1.27 +		<xs:attribute name="abbreviation" type="xs:string"/>
    1.28 +		<xs:attribute name="completeForm" type="xs:string"/>
    1.29 +		<xs:attribute name="language" type="languageType"/>
    1.30 +	</xs:complexType>
    1.31 +	
    1.32 +	<xs:complexType name="explanationType">
    1.33 +		<xs:all>
    1.34 +			<xs:element name="text" type="textType"/>
    1.35 +		</xs:all>
    1.36 +		<xs:attribute name="language" type="languageType"/>
    1.37 +	</xs:complexType>
    1.38 +	
    1.39 +	<xs:simpleType name="languageType">
    1.40 +		<xs:restriction base="xs:string"/>
    1.41 +	</xs:simpleType>
    1.42 +	
    1.43 +	<xs:simpleType name="textType">
    1.44 +		<xs:restriction base="xs:string"/>
    1.45 +	</xs:simpleType>
    1.46 +
    1.47 +</xs:schema>
    1.48 \ No newline at end of file