IssueID #1547: added support for related senses
This commit is contained in:
parent
977e1f4d0a
commit
15b955776f
|
@ -35,6 +35,7 @@
|
||||||
<xsd:element name="sense" minOccurs="0" maxOccurs="unbounded">
|
<xsd:element name="sense" minOccurs="0" maxOccurs="unbounded">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
|
<xsd:element name="relatedSenseList" type="relatedSenseListType" minOccurs="0"/>
|
||||||
<xsd:element name="labelList" type="labelListType" minOccurs="0"/>
|
<xsd:element name="labelList" type="labelListType" minOccurs="0"/>
|
||||||
<xsd:element name="definitionList" type="definitionListType" minOccurs="0"/>
|
<xsd:element name="definitionList" type="definitionListType" minOccurs="0"/>
|
||||||
<xsd:element name="translationContainerList" type="translationContainerListType" minOccurs="0"/>
|
<xsd:element name="translationContainerList" type="translationContainerListType" minOccurs="0"/>
|
||||||
|
|
|
@ -205,6 +205,23 @@
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
|
|
||||||
|
<!-- Related sense -->
|
||||||
|
<xsd:complexType name="relatedSenseType">
|
||||||
|
<xsd:simpleContent>
|
||||||
|
<xsd:extension base="xsd:string">
|
||||||
|
<xsd:attribute name="sense_id" type="xsd:int"/>
|
||||||
|
<xsd:attribute name="type" type="xsd:string"/>
|
||||||
|
</xsd:extension>
|
||||||
|
</xsd:simpleContent>
|
||||||
|
</xsd:complexType>
|
||||||
|
|
||||||
|
<!-- List of related senses -->
|
||||||
|
<xsd:complexType name="relatedSenseListType">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="relatedSense" type="relatedSenseType" minOccurs="0" maxOccurs="unbounded"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
|
||||||
<!-- Name-value pair for providing extra information -->
|
<!-- Name-value pair for providing extra information -->
|
||||||
<xsd:complexType name="labelType">
|
<xsd:complexType name="labelType">
|
||||||
<xsd:simpleContent>
|
<xsd:simpleContent>
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
<xsd:element name="sense" minOccurs="0" maxOccurs="unbounded">
|
<xsd:element name="sense" minOccurs="0" maxOccurs="unbounded">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
|
<xsd:element name="relatedSenseList" type="relatedSenseListType" minOccurs="0"/>
|
||||||
<xsd:element name="labelList" type="labelListType" minOccurs="0"/>
|
<xsd:element name="labelList" type="labelListType" minOccurs="0"/>
|
||||||
<xsd:element name="definitionList" type="definitionListType" minOccurs="0"/>
|
<xsd:element name="definitionList" type="definitionListType" minOccurs="0"/>
|
||||||
<xsd:element name="exampleContainerList" type="exampleContainerListType" minOccurs="0"/>
|
<xsd:element name="exampleContainerList" type="exampleContainerListType" minOccurs="0"/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user