Redmine #1461: changed system type from element to attribute

This commit is contained in:
Cyprian Laskowski 2023-07-26 16:00:16 +02:00
parent 652e2e92b5
commit 9bf9a696f6

View File

@ -269,9 +269,6 @@
<xsd:complexType>
<xsd:sequence>
<xsd:element name="syntactic_structure" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="system">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="components">
@ -315,16 +312,6 @@
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="type" use="required">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="JOS"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:integer"/>
<xsd:attribute name="parent_id" type="xsd:integer"/>
<xsd:attribute name="tempId" type="xsd:integer"/>
@ -343,6 +330,13 @@
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="system_type" use="required">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="JOS"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>