59 lines
2.7 KiB
XML
59 lines
2.7 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: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" minOccurs="0"/>
|
|
<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="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>
|