Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
18b4e82
redoing #958 for next
ue71603 Sep 24, 2025
5180f7e
Update netex_serviceRestrictions_version.xsd
ue71603 Sep 24, 2025
7677f91
working version with example
ue71603 Sep 24, 2025
b364c97
restructured into part 3, examples created and validated
ue71603 Sep 24, 2025
90f8baf
fixing a problem
ue71603 Sep 24, 2025
eb7a5e6
Lint and update documentation tables
github-actions[bot] Sep 24, 2025
fa5e43b
Update xsd/netex_framework/netex_reusableComponents/netex_serviceRest…
ue71603 Sep 24, 2025
aec6523
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Sep 24, 2025
c10d8b1
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Sep 24, 2025
022dea8
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Sep 24, 2025
3bea5da
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Sep 24, 2025
99e44ae
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Sep 24, 2025
954b5a8
allowing no lines in exclusion and adding more factors
ue71603 Nov 18, 2025
8608317
Lint and update documentation tables
github-actions[bot] Nov 18, 2025
d0ffcb6
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Nov 19, 2025
57d5c85
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Nov 19, 2025
97be1c0
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Nov 19, 2025
9948dd1
Creade example folder drt and README.md
ue71603 Mar 12, 2026
fa51d12
update NeTEx project file
ue71603 Mar 12, 2026
ee282b2
start adding examples
ue71603 Mar 12, 2026
6ddac1a
Lint and update documentation tables
github-actions[bot] Mar 12, 2026
2aa543b
more raw examples (need to be refined)
ue71603 Mar 13, 2026
27ecb7a
Merge branch 'extend_service_restrictions_new_modes' of https://githu…
ue71603 Mar 13, 2026
26bc251
Update README.md
ue71603 Apr 17, 2026
f1a34ae
fixed some parts
ue71603 Apr 17, 2026
7be3898
drt examples 1. cleanup
ue71603 Apr 17, 2026
10817c1
Lint and update documentation tables
github-actions[bot] Apr 17, 2026
b0b6bd4
better description
ue71603 Apr 17, 2026
a80bd90
Merge branch 'extend_service_restrictions_new_modes' of https://githu…
ue71603 Apr 17, 2026
b078e28
Lint and update documentation tables
github-actions[bot] Apr 17, 2026
4df3586
new DRT exemple with small zones with quays (#1008)
prhod Apr 24, 2026
50a1fb0
Lint and update documentation tables
github-actions[bot] Apr 24, 2026
9a0e0ab
switching bookingArrangements to ServiceBookingArrangement in Line
ue71603 Apr 24, 2026
6cbb0f2
Lint and update documentation tables
github-actions[bot] Apr 24, 2026
05532d8
Update README.md
ue71603 Apr 24, 2026
53ce0db
added deep booking links and services first draft
ue71603 Apr 25, 2026
7ead8ec
Lint and update documentation tables
github-actions[bot] Apr 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NeTEx.spp
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@
<File FilePath="xsd\netex_part_3\part3_PiQuery\netex_all_objects_part3_piQuery.xsd" HomeFolder="Yes"/>
<File FilePath="xsd\netex_part_3\part3_PiQuery\netex_piRequest_support.xsd" HomeFolder="Yes"/>
</Folder>
<File FilePath="xsd\netex_part_3\part3_fares\netex_extendedBookingArrangements_version.xsd" HomeFolder="Yes"/>
</Folder>
<Folder FolderName="netex_part_5 New modes">
<Folder FolderName="netex_part5_extensions">
Expand Down
88 changes: 71 additions & 17 deletions examples/functions/newModes/NewModes-ChauffeuredServiceExample.xml
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think it is a good idea that as a data producer you have to enumerate all regular services ("LINE") to state the competition rules. The data producer will not have these in their system, unless they are a data integration system. Even if they do have all LINEs, the process for determining the competing LINEs is not straight forward. Taxi-like DRT will usually be determined by a geographical area and by operating days and times. So the system would need to determine the stops in the area, then determine the LINEs serving the stops, and then find out if there are any journeys during the operating time of the DRT. I suggest that it is not necessary to state the competing regular LINEs, the journey planner can work that out at run time.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@duexw counter-proposal? how would you state them?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is now optional. Also I added some more points.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is what I had in mind - If you do not state any LINEs, it means that the competitive rule applies to all LINEs.

Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,13 @@
</Parking>
</parkings>
</SiteFrame>
<ServiceFrame id="sf1" version="1">
<lines>
<Line id="classic_line" version="1">
<Name>The classical line not to compete with</Name>
</Line>
</lines>
</ServiceFrame>
<!--==== Mobility Service ==== -->
<MobilityServiceFrame version="1.0" id="hjm:chauffeured_taxi_example" responsibilitySetRef="hjm:network_data">
<prerequisites>
Expand Down Expand Up @@ -488,23 +495,70 @@
<BrandingRef version="any" ref="myBrand"/>
<Name>Home James Cars.</Name>
<OperatorRef version="any" ref="noc:HJM"/>
<ServiceBookingArrangements>
<BookingContact>
<Phone>=31666777</Phone>
<Url>https://www.homeJames.eu/booking</Url>
</BookingContact>
<BookingMethods>mobileApp online</BookingMethods>
<BookingAccess>authorisedPublic</BookingAccess>
<BookWhen>advanceOnly</BookWhen>
<BuyWhen>onCheckOut</BuyWhen>
<LatestBookingTime>20:00:00</LatestBookingTime>
<MinimumBookingPeriod>P1D</MinimumBookingPeriod>
<BookingUrl>https://www.homeJames.eu/booking</BookingUrl>
<BookingNote>Booklings made online or by pyone Bookings can be made up to two hour before travel. </BookingNote>
<MinimumBookingDuration>PT2H</MinimumBookingDuration>
<DepositRequired>true</DepositRequired>
<BookingChargeType>none</BookingChargeType>
</ServiceBookingArrangements>
<serviceBookingArrangements>
<ServiceBookingArrangement id="sba1" version="any">
<BookingContact>
<Phone>=31666777</Phone>
<Url>https://www.homeJames.eu/booking</Url>
</BookingContact>
<BookingMethods>mobileApp online</BookingMethods>
<BookingAccess>authorisedPublic</BookingAccess>
<BookWhen>advanceOnly</BookWhen>
<BuyWhen>onCheckOut</BuyWhen>
<LatestBookingTime>20:00:00</LatestBookingTime>
<MinimumBookingPeriod>P1D</MinimumBookingPeriod>
<BookingUrl>https://www.homeJames.eu/booking</BookingUrl>
<BookingNote>Booklings made online or by pyone Bookings can be made up to two hour before travel. </BookingNote>
<MinimumBookingDuration>PT2H</MinimumBookingDuration>
<DepositRequired>true</DepositRequired>
<BookingChargeType>none</BookingChargeType>
</ServiceBookingArrangement>
<ServiceCompetitiveCondition id="sba2" version="1">
<serviceExclusions>
<ServiceExclusion id="se1" version="1">
<LineRef ref="classic_line" version="1"/>
</ServiceExclusion>
</serviceExclusions>
<TemporalDistance>PT15M</TemporalDistance>
<Distance>200</Distance>
</ServiceCompetitiveCondition>
<ServiceEligibilityCondition id="sba3" version="1">
<ResidentialQualification id="rq1" version="1">
<ResidenceType>live</ResidenceType>
</ResidentialQualification>
</ServiceEligibilityCondition>
<ServiceEligibilityCondition id="sba3" version="1">
<CompanionProfile id="cp1" version="1">
<MinimumNumberOfPersons>1</MinimumNumberOfPersons>
</CompanionProfile>
</ServiceEligibilityCondition>
<ServiceEligibilityCondition id="sba4" version="1">
<CommercialProfile id="cp2" version="1">
<ConsumptionUnits>2</ConsumptionUnits>
</CommercialProfile>
</ServiceEligibilityCondition>
<ServiceEligibilityCondition id="sba5" version="1">
<UserProfile id="up1" version="1">
<MinimumAge>65</MinimumAge>
</UserProfile>
</ServiceEligibilityCondition>
<ServiceEligibilityCondition id="sba6" version="1">
<UserProfile id="up2" version="1">
<GenderLimitation>femaleOnly</GenderLimitation>
</UserProfile>
</ServiceEligibilityCondition>
<ServiceCompetitiveCondition id="sba7" version="1">
<InterchangeBetweenFlexibleServicesAllowed>true</InterchangeBetweenFlexibleServicesAllowed>
<InterchangeWithConventionalServicesAllowed>true</InterchangeWithConventionalServicesAllowed>
</ServiceCompetitiveCondition>
<ServiceCompetitiveCondition id="sba8" version="1">
<transferRestrictions>
<TransferRestriction id="tr1" version="1">
<RestrictionType>cannotTransfer</RestrictionType>
</TransferRestriction>
</transferRestrictions>
</ServiceCompetitiveCondition>
</serviceBookingArrangements>
<BookingRequired>true</BookingRequired>
<RegistrationRequired>true</RegistrationRequired>
<proposedByServices>
Expand Down
Comment thread
ue71603 marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<xsd:include schemaLocation="../netex_responsibility/netex_typeOfValue_version.xsd"/>
<xsd:include schemaLocation="../netex_genericFramework/netex_organisation_support.xsd"/>
<xsd:include schemaLocation="netex_serviceRestrictions_support.xsd"/>
<!-- <xsd:include schemaLocation="../../netex_part_1/part1_networkDescription/netex_line_support.xsd"/>
<xsd:include schemaLocation="../../netex_part_1/part1_tacticalPlanning/netex_routingConstraint_version.xsd"/>
<xsd:include schemaLocation="../../netex_part_3/part3_fares/netex_usageParameterEligibility_version.xsd"/>-->
Comment thread
ue71603 marked this conversation as resolved.
Outdated
<!-- ======================================================================= -->
<xsd:annotation>
<xsd:appinfo>
Expand Down Expand Up @@ -181,7 +184,12 @@ Rail transport, Roads and Road transport
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="BookingArrangement" substitutionGroup="DataManagedObject">
<xsd:element name="BookingArrangement_Dummy" type="DataManagedObjectStructure" abstract="true" substitutionGroup="DataManagedObject">
<xsd:annotation>
<xsd:documentation>Dummy Supertype for BookingArrangement elements.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="BookingArrangement" substitutionGroup="BookingArrangement_Dummy" id="BookingArrangement">
<xsd:annotation>
<xsd:documentation>Details of the booking arrangements for a given LINE, STOP, SERVICE etc.</xsd:documentation>
</xsd:annotation>
Expand Down Expand Up @@ -347,15 +355,15 @@ Rail transport, Roads and Road transport
</xsd:element>
</xsd:sequence>
</xsd:group>
<!-- ===== BOOKING ARRANGEMENT ===================================== -->
<!-- ===== SERVICE BOOKING ARRANGEMENT ===================================== -->
<xsd:complexType name="serviceBookingArrangementsInFrame_RelStructure">
<xsd:annotation>
<xsd:documentation>Type for containment in frame of SERVICE BOOKING ARRANGEMENTs</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="containmentAggregationStructure">
<xsd:sequence>
<xsd:element ref="ServiceBookingArrangement" maxOccurs="unbounded">
<xsd:element ref="BookingArrangement_Dummy" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Information on booking rules and additional data allowing the user to take the decision to book a service and to undertake the booking of a LOCAL SERVICE.</xsd:documentation>
</xsd:annotation>
Expand All @@ -371,13 +379,13 @@ Rail transport, Roads and Road transport
<xsd:complexContent>
<xsd:extension base="containmentAggregationStructure">
<xsd:choice maxOccurs="unbounded">
<xsd:element ref="ServiceBookingArrangementRef"/>
<xsd:element ref="ServiceBookingArrangement"/>
<xsd:element ref="BookingArrangementRef"/>
<xsd:element ref="BookingArrangement_Dummy"/>
</xsd:choice>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="ServiceBookingArrangement" substitutionGroup="DataManagedObject">
<xsd:element name="ServiceBookingArrangement" substitutionGroup="BookingArrangement_Dummy">
<xsd:annotation>
<xsd:documentation>Type for a SERVICE BOOKING ARRANGEMENT.</xsd:documentation>
</xsd:annotation>
Expand All @@ -401,12 +409,12 @@ Rail transport, Roads and Road transport
<xsd:sequence>
<xsd:group ref="ServiceBookingArrangementGroup">
<xsd:annotation>
<xsd:documentation>Details for BookingArrangement</xsd:documentation>
<xsd:documentation>Details for ServiceBookingArrangement</xsd:documentation>
</xsd:annotation>
</xsd:group>
</xsd:sequence>
</xsd:sequence>
<xsd:attribute name="id" type="BookingArrangementIdType" use="required"/>
<xsd:attribute name="id" type="ServiceBookingArrangementIdType" use="required"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
<xsd:include schemaLocation="netex_all_objects_part3_fares_FS.xsd"/>
<xsd:include schemaLocation="netex_all_objects_part3_fares_AR.xsd"/>
<xsd:include schemaLocation="netex_all_objects_part3_fares_SD.xsd"/>
<xsd:include schemaLocation="netex_extendedBookingArrangements_version.xsd"/>
</xsd:schema>
Loading