Skip to content

Commit 65ce9b5

Browse files
authored
fix: wrap IsExchangeable/IsExchangable in xsd:choice in fareConditionSummary
1 parent 0fa971b commit 65ce9b5

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

xsd/netex_part_3/part3_fares/netex_fareConditionSummary_version.xsd

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -224,16 +224,18 @@ Rail transport, Roads and Road transport
224224
<xsd:documentation>Whether the ticket can be refunded.</xsd:documentation>
225225
</xsd:annotation>
226226
</xsd:element>
227-
<xsd:element name="IsExchangeable" type="xsd:boolean" default="true" minOccurs="0">
228-
<xsd:annotation>
229-
<xsd:documentation>Whether the ticket can be exchanged. +v2.1</xsd:documentation>
230-
</xsd:annotation>
231-
</xsd:element>
232-
<xsd:element name="IsExchangable" type="xsd:boolean" default="true" minOccurs="0">
233-
<xsd:annotation>
234-
<xsd:documentation>DEPRECATED - misspelt, use IsExchangeable instead. -v2.1</xsd:documentation>
235-
</xsd:annotation>
236-
</xsd:element>
227+
<xsd:choice minOccurs="0">
228+
<xsd:element name="IsExchangeable" type="xsd:boolean" default="true">
229+
<xsd:annotation>
230+
<xsd:documentation>Whether the ticket can be exchanged. +v2.1</xsd:documentation>
231+
</xsd:annotation>
232+
</xsd:element>
233+
<xsd:element name="IsExchangable" type="xsd:boolean" default="true">
234+
<xsd:annotation>
235+
<xsd:documentation>DEPRECATED - misspelt, use IsExchangeable instead. -v2.1</xsd:documentation>
236+
</xsd:annotation>
237+
</xsd:element>
238+
</xsd:choice>
237239
<xsd:element name="HasExchangeFee" type="xsd:boolean" default="false" minOccurs="0">
238240
<xsd:annotation>
239241
<xsd:documentation>Whether there is a charge for exchanges.</xsd:documentation>

0 commit comments

Comments
 (0)