IssueID #1094: modified schema attributes

This commit is contained in:
Cyprian Laskowski 2020-01-10 16:09:27 +01:00
parent 25cc22da77
commit 8905502b4a
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@
<xsd:element name="explanation" type="xsd:string" minOccurs="0"/> <xsd:element name="explanation" type="xsd:string" minOccurs="0"/>
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="cluster" type="xsd:int" use="optional"/> <xsd:attribute name="cluster" type="xsd:int" use="optional"/>
<xsd:attribute name="position" type="xsd:int" use="optional"/> <xsd:attribute name="source" type="xsd:string" use="optional"/>
</xsd:complexType> </xsd:complexType>
<xsd:complexType name="translationContainerListType"> <xsd:complexType name="translationContainerListType">

View File

@ -204,7 +204,7 @@
<xsd:sequence> <xsd:sequence>
<xsd:element name="comp" type="componentLexemeType" maxOccurs="unbounded"/> <xsd:element name="comp" type="componentLexemeType" maxOccurs="unbounded"/>
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="type"> <xsd:attribute name="type" use="required">
<xsd:simpleType> <xsd:simpleType>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
<xsd:enumeration value="collocation"/> <xsd:enumeration value="collocation"/>
@ -217,6 +217,7 @@
<xsd:attribute name="frequency" type="xsd:int"/> <xsd:attribute name="frequency" type="xsd:int"/>
<xsd:attribute name="logDice" type="xsd:decimal"/> <xsd:attribute name="logDice" type="xsd:decimal"/>
<xsd:attribute name="audio" type="xsd:string"/> <xsd:attribute name="audio" type="xsd:string"/>
<xsd:attribute name="cluster" type="xsd:int"/>
</xsd:complexType> </xsd:complexType>
</xsd:schema> </xsd:schema>