Skip to content

Commit 0c968c0

Browse files
ue71603github-actions[bot]skinkie
authored
Validityparameters transportmode cen 2 (#618)
* typos and check * example * Lint and update documentation tables * Apply suggestions from code review --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Stefan de Konink <stefan@konink.de>
1 parent 04a1133 commit 0c968c0

File tree

6 files changed

+16
-6
lines changed

6 files changed

+16
-6
lines changed

examples/functions/fares/rail/Netex_era_crossborder_de.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@ Use separate Composite frames to group
187187
<GenericParameterAssignment id="tlx:Trilex@Tariff@Tagesticket@sections" version="01" order="1">
188188
<ValidityParameterGroupingType>AND</ValidityParameterGroupingType>
189189
<validityParameters>
190+
<VehicleModes>rail</VehicleModes>
191+
<!-- check PR #145 -->
192+
<TransportSubmode>
193+
<RailSubmode>longDistance</RailSubmode>
194+
</TransportSubmode>
190195
<FareSectionRef ref="tlx:Trilex@Dresden-to-Goerlitz" version="01"/>
191196
<FareSectionRef ref="tlx:Trilex@Dresden-to-Liberec" version="01"/>
192197
<FareSectionRef ref="tlx:Trilex@Seifhennersdorf-to-Liberec" version="01"/>
@@ -455,6 +460,11 @@ Saturdays / Sundays / public holidays: 00:00 to 03:00 the following day</Descrip
455460
<Name>Dresden to Wroclaw section</Name>
456461
<GenericParameterAssignment id="tlx:Trilex@Tariff@Dresden-Wroclaw-Spezial@de_pl" version="01" order="1">
457462
<validityParameters>
463+
<TransportModes>rail</TransportModes>
464+
<!-- check PR #145 -->
465+
<TransportSubmode>
466+
<RailSubmode>highSpeedRail</RailSubmode>
467+
</TransportSubmode>
458468
<FareSectionRef ref="tlx:Trilex@Dresden-to-Wroclaw" version="01"/>
459469
</validityParameters>
460470
</GenericParameterAssignment>
@@ -1479,7 +1489,7 @@ issued to DB ticket vending machines.</Description>
14791489
<dayTypes>
14801490
<FareDayType version="any" id="tlx::everyday">
14811491
<Name>Every day</Name>
1482-
<Description>ANy time</Description>
1492+
<Description>Any time</Description>
14831493
<EarliestTime>00:00:00</EarliestTime>
14841494
<DayLength>P1DT3H</DayLength>
14851495
<properties>

examples/functions/fares/rail/Netex_era_toc_uk.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9130,7 +9130,7 @@ Short Term (1/4/18-1/6/18): £135.00 Short term (1/4-1/6): £230.00d with this g
91309130
<dayTypes>
91319131
<FareDayType version="any" id="jsp:everyday">
91329132
<Name>Every day</Name>
9133-
<Description>ANy time</Description>
9133+
<Description>Any time</Description>
91349134
<EarliestTime>00:00:00</EarliestTime>
91359135
<properties>
91369136
<PropertyOfDay>

examples/standards/fxc/FX-PI-01_UK_MB_NETWORK_FARE_Metrorider-pass+others_20170101.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5675,7 +5675,7 @@ Metrobus (including Fastway services), Southdown PSV, Compass Travel
56755675
<dayTypes>
56765676
<FareDayType version="any" id="jsp:everyday">
56775677
<Name>Every day</Name>
5678-
<Description>ANy time</Description>
5678+
<Description>Any time</Description>
56795679
<EarliestTime>00:00:00</EarliestTime>
56805680
<properties>
56815681
<PropertyOfDay>

examples/standards/fxc/uk_fxc_addon_HSP_plusbus.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,7 @@ C2C, Chiltern Railways, Great Western Railway, Great Northern rail, London Midla
16601660
<dayTypes>
16611661
<FareDayType version="any" id="jsp:everyday">
16621662
<Name>Every day</Name>
1663-
<Description>ANy time</Description>
1663+
<Description>Any time</Description>
16641664
<EarliestTime>00:00:00</EarliestTime>
16651665
<properties>
16661666
<PropertyOfDay>

xsd/netex_part_3/part3_fares/netex_accessRightParameter_version.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ Rail transport, Roads and Road transport
389389
</xsd:element>
390390
<xsd:element name="TransportModes" type="AllModesListOfEnumerations" minOccurs="0">
391391
<xsd:annotation>
392-
<xsd:documentation>ANy mode to which Mode validitry parameters apply + v1.2.2</xsd:documentation>
392+
<xsd:documentation>Any mode to which Mode validity parameters apply +v1.2.2</xsd:documentation>
393393
</xsd:annotation>
394394
</xsd:element>
395395
</xsd:choice>

xsd/netex_part_3/part3_fares/netex_calculationParameters_version.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Rail transport, Roads and Road transport
306306
<!-- ======================================================================= -->
307307
<xsd:element name="RoundingStep">
308308
<xsd:annotation>
309-
<xsd:documentation>A rounding step to use to round a range of values. ANy value larger than the step key and smaller tha the next step key should be rounded to this value.</xsd:documentation>
309+
<xsd:documentation>A rounding step to use to round a range of values. Any value larger than the step key and smaller tha the next step key should be rounded to this value.</xsd:documentation>
310310
</xsd:annotation>
311311
<xsd:complexType>
312312
<xsd:complexContent>

0 commit comments

Comments
 (0)