IssueID #937: added a few attributes, renamed hungarian schema, etc

This commit is contained in:
Cyprian Laskowski
2019-11-27 14:02:13 +01:00
parent 108ff8383f
commit 25cc22da77
3 changed files with 30 additions and 11 deletions

View File

@@ -7,9 +7,13 @@
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="lemmaType">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:complexType name="lemmaType">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="audio" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="commentType">
<xsd:restriction base="xsd:string"/>
@@ -163,6 +167,7 @@
<xsd:extension base="xsd:string">
<xsd:attribute name="targetLang" type="xsd:string" use="required"/>
<xsd:attribute name="source" type="xsd:string"/>
<xsd:attribute name="audio" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
@@ -171,7 +176,16 @@
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="lexical_unit_lexeme_id" type="xsd:int"/>
<xsd:attribute name="role" type="xsd:string" use="required"/>
<xsd:attribute name="role" use="required">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="headword"/>
<xsd:enumeration value="collocate"/>
<xsd:enumeration value="other"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="sloleks" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
@@ -183,6 +197,7 @@
<xsd:attribute name="example_id" type="xsd:int"/>
<xsd:attribute name="modified" type="xsd:boolean"/>
<xsd:attribute name="lexical_unit_id" type="xsd:int"/>
<xsd:attribute name="audio" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="multipleLexemeExampleType">
@@ -199,6 +214,9 @@
</xsd:attribute>
<xsd:attribute name="lexical_unit_id" type="xsd:int"/>
<xsd:attribute name="structure_id" type="xsd:int"/>
<xsd:attribute name="frequency" type="xsd:int"/>
<xsd:attribute name="logDice" type="xsd:decimal"/>
<xsd:attribute name="audio" type="xsd:string"/>
</xsd:complexType>
</xsd:schema>