Redmine #1888: adapted schema for peculiarities of "formal" structures

This commit is contained in:
Cyprian Laskowski 2023-07-26 14:51:58 +02:00
parent 7b29c6da98
commit d16948f6ae

View File

@ -326,13 +326,16 @@
</xsd:element> </xsd:element>
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="id" type="xsd:integer"/> <xsd:attribute name="id" type="xsd:integer"/>
<xsd:attribute name="parent_id" type="xsd:integer"/>
<xsd:attribute name="tempId" type="xsd:integer"/> <xsd:attribute name="tempId" type="xsd:integer"/>
<xsd:attribute name="label" use="required" type="xsd:string"/> <xsd:attribute name="label" type="xsd:string"/>
<xsd:attribute name="formal_descendants" type="xsd:string"/>
<xsd:attribute name="type" use="required"> <xsd:attribute name="type" use="required">
<xsd:simpleType> <xsd:simpleType>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
<xsd:enumeration value="single"/> <xsd:enumeration value="single"/>
<xsd:enumeration value="collocation"/> <xsd:enumeration value="collocation"/>
<xsd:enumeration value="formal"/>
<xsd:enumeration value="other"/> <xsd:enumeration value="other"/>
</xsd:restriction> </xsd:restriction>
</xsd:simpleType> </xsd:simpleType>