92 lines
4.1 KiB
XML
92 lines
4.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
|
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
|
|
schemaLocation="http://www.w3.org/2001/xml.xsd" />
|
|
<xsd:include schemaLocation="inventory.xsd"/>
|
|
|
|
<xsd:complexType name="translationContainerType">
|
|
<xsd:sequence>
|
|
<xsd:element name="labelList" type="labelListType" minOccurs="0"/>
|
|
<xsd:element name="translation" type="translationType"/>
|
|
<xsd:element name="explanation" type="xsd:string" minOccurs="0"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="cluster" type="xsd:int" use="optional"/>
|
|
<xsd:attribute name="source" type="xsd:string" use="optional"/>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="translationContainerListType">
|
|
<xsd:sequence>
|
|
<xsd:element name="translationContainer" type="translationContainerType" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="exampleContainerType">
|
|
<xsd:sequence>
|
|
<xsd:choice>
|
|
<xsd:element name="corpusExample" type="corpusExampleType"/>
|
|
<xsd:element name="multiwordExample" type="multipleLexemeExampleType"/>
|
|
</xsd:choice>
|
|
<xsd:element name="translationContainer" type="translationContainerType" minOccurs="0"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="exampleContainerListType">
|
|
<xsd:sequence>
|
|
<xsd:element name="exampleContainer" type="exampleContainerType" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
|
|
<xsd:element name="dictionary">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="entry" minOccurs="0" maxOccurs="unbounded">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="head">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="status" type="statusType"/>
|
|
<xsd:element name="headword" type="headwordType"/>
|
|
<xsd:element name="lexicalUnit" type="lexicalUnitType" minOccurs="0"/>
|
|
<xsd:element name="grammar" type="grammarType" minOccurs="0"/>
|
|
<xsd:element name="measureList" type="measureListType" minOccurs="0"/>
|
|
<xsd:element name="variantList" type="variantListType" minOccurs="0"/>
|
|
<xsd:element name="relatedEntryList" type="relatedEntryListType" minOccurs="0"/>
|
|
<xsd:element name="labelList" type="labelListType" minOccurs="0"/>
|
|
<xsd:element name="comment" type="commentType" minOccurs="0"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
<xsd:element name="body">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="senseList">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="sense" minOccurs="0" maxOccurs="unbounded">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="labelList" type="labelListType" minOccurs="0"/>
|
|
<xsd:element name="definitionList" type="definitionListType" minOccurs="0"/>
|
|
<xsd:element name="translationContainerList" type="translationContainerListType" minOccurs="0"/>
|
|
<xsd:element name="exampleContainerList" type="exampleContainerListType" minOccurs="0"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="id" type="xsd:int"/>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
|
|
</xsd:schema>
|