Skip to content

Commit 0fa971b

Browse files
authored
Wrap ExchangeableTo/ExchangableTo in xsd:choice to prevent both spellings appearing simultaneously
1 parent 46508de commit 0fa971b

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

xsd/netex_part_3/part3_fares/netex_usageParameterAfterSales_version.xsd

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -361,16 +361,18 @@ Rail transport, Roads and Road transport
361361
<xsd:documentation>Fare class to which can exchange, if specifically limited.</xsd:documentation>
362362
</xsd:annotation>
363363
</xsd:element>
364-
<xsd:element name="ExchangeableTo" type="ExchangeableToEnumeration" default="anyProduct" minOccurs="0">
365-
<xsd:annotation>
366-
<xsd:documentation>Type of fare for which product can be exchanged. +v2.1</xsd:documentation>
367-
</xsd:annotation>
368-
</xsd:element>
369-
<xsd:element name="ExchangableTo" type="ExchangableToEnumeration" default="anyProduct" minOccurs="0">
370-
<xsd:annotation>
371-
<xsd:documentation>DEPRECATED - misspelt, use ExchangeableTo instead. -v2.1</xsd:documentation>
372-
</xsd:annotation>
373-
</xsd:element>
364+
<xsd:choice minOccurs="0">
365+
<xsd:element name="ExchangeableTo" type="ExchangeableToEnumeration" default="anyProduct">
366+
<xsd:annotation>
367+
<xsd:documentation>Type of fare for which product can be exchanged. +v2.1</xsd:documentation>
368+
</xsd:annotation>
369+
</xsd:element>
370+
<xsd:element name="ExchangableTo" type="ExchangableToEnumeration" default="anyProduct">
371+
<xsd:annotation>
372+
<xsd:documentation>DEPRECATED - misspelt, use ExchangeableTo instead. -v2.1</xsd:documentation>
373+
</xsd:annotation>
374+
</xsd:element>
375+
</xsd:choice>
374376
</xsd:sequence>
375377
</xsd:group>
376378
<!-- ==== REFUNDING================================================= -->

0 commit comments

Comments
 (0)