IssueID #1102: moved types to inventory

This commit is contained in:
Cyprian Laskowski 2020-02-19 17:27:48 +01:00
parent b4ba98268f
commit a479977b3f
2 changed files with 33 additions and 33 deletions

View File

@ -5,38 +5,6 @@
schemaLocation="http://www.w3.org/2001/xml.xsd" /> schemaLocation="http://www.w3.org/2001/xml.xsd" />
<xsd:include schemaLocation="inventory.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:element name="dictionary">
<xsd:complexType> <xsd:complexType>
<xsd:sequence> <xsd:sequence>

View File

@ -42,7 +42,7 @@
</xsd:simpleContent> </xsd:simpleContent>
</xsd:complexType> </xsd:complexType>
<xsd:complexType name="homonymyFeatureType"> <xsd:complexType name="homonymyFeatureType">
<xsd:simpleContent> <xsd:simpleContent>
<xsd:extension base="xsd:string"> <xsd:extension base="xsd:string">
<xsd:attribute name="name" type="xsd:string" use="required"/> <xsd:attribute name="name" type="xsd:string" use="required"/>
@ -232,4 +232,36 @@
<xsd:attribute name="cluster" type="xsd:int"/> <xsd:attribute name="cluster" type="xsd:int"/>
</xsd:complexType> </xsd:complexType>
<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:schema> </xsd:schema>