Skip to content
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
78 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
7436690
add STA example
ue71603 May 26, 2026
afa91e4
redoing #958 for next
ue71603 Sep 24, 2025
893b956
Update netex_serviceRestrictions_version.xsd
ue71603 Sep 24, 2025
f946aea
working version with example
ue71603 Sep 24, 2025
68e17b8
restructured into part 3, examples created and validated
ue71603 Sep 24, 2025
b91630b
fixing a problem
ue71603 Sep 24, 2025
dcb8e1f
Lint and update documentation tables
github-actions[bot] Sep 24, 2025
e839d46
Update xsd/netex_framework/netex_reusableComponents/netex_serviceRest…
ue71603 Sep 24, 2025
303ee61
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Sep 24, 2025
7ad7965
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Sep 24, 2025
e2c2c42
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Sep 24, 2025
a9619e0
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Sep 24, 2025
73e3cd2
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Sep 24, 2025
f20b709
allowing no lines in exclusion and adding more factors
ue71603 Nov 18, 2025
fff6118
Lint and update documentation tables
github-actions[bot] Nov 18, 2025
d78400a
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Nov 19, 2025
601ea05
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Nov 19, 2025
0c4c0e9
Update xsd/netex_part_3/part3_fares/netex_extendedBookingArrangements…
ue71603 Nov 19, 2025
cd97cce
Creade example folder drt and README.md
ue71603 Mar 12, 2026
77bbeaa
update NeTEx project file
ue71603 Mar 12, 2026
b5789b1
start adding examples
ue71603 Mar 12, 2026
3e6acd5
more raw examples (need to be refined)
ue71603 Mar 13, 2026
070f573
Lint and update documentation tables
github-actions[bot] Mar 12, 2026
9374976
Update README.md
ue71603 Apr 17, 2026
c0818a2
fixed some parts
ue71603 Apr 17, 2026
753fe9b
drt examples 1. cleanup
ue71603 Apr 17, 2026
ab42e68
better description
ue71603 Apr 17, 2026
beee3a7
Lint and update documentation tables
github-actions[bot] Apr 17, 2026
5aec304
Lint and update documentation tables
github-actions[bot] Apr 17, 2026
a0d018d
new DRT exemple with small zones with quays (#1008)
prhod Apr 24, 2026
9128905
Lint and update documentation tables
github-actions[bot] Apr 24, 2026
fb5f285
switching bookingArrangements to ServiceBookingArrangement in Line
ue71603 Apr 24, 2026
bf900aa
Lint and update documentation tables
github-actions[bot] Apr 24, 2026
3245b76
Update README.md
ue71603 Apr 24, 2026
a146208
added deep booking links and services first draft
ue71603 Apr 25, 2026
23f7e1a
Lint and update documentation tables
github-actions[bot] Apr 25, 2026
aded5f0
add STA example
ue71603 May 26, 2026
6d7463d
Merge branch 'extend_service_restrictions_new_modes' of https://githu…
ue71603 May 28, 2026
4ae6594
Update NeTEx_PNB_Bravoflex_BW_BW_20251218.xml
ue71603 May 28, 2026
932d469
fix examples
ue71603 May 28, 2026
62a3e4e
Lint and update documentation tables
github-actions[bot] May 28, 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 @@ -181,7 +181,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 +352,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 +376,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 +406,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>

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.

Adding "RoutingConstraintInFrameGroup" is like shooting sparrows with cannons. It adds huge complexity to the model where we originally only wanted to state "do not compete with regular PT operating within +-15 minutes".

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.

but it works with cannons... Ok. I had this first but the restriction group works. You propose we do a simple element with a xs:duration then. I can live with that.

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 don't know if I want to switch to something simple, if we can facilitate all variants with a "more difficult" proposal.

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 possible to do the simple way again as RoutingConstraintInFrameGroup is optional

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.

reduce to max, we can do in the profile

Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.netex.org.uk/netex" xmlns:netex="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.netex.org.uk/netex" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0" id="netex_serviceRestrictions_version">
<xsd:include schemaLocation="../../netex_framework/netex_responsibility/netex_typeOfValue_version.xsd"/>
<xsd:include schemaLocation="../../netex_framework/netex_genericFramework/netex_organisation_support.xsd"/>
<xsd:include schemaLocation="../../netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd"/>
<xsd:include schemaLocation="../../netex_framework/netex_reusableComponents/netex_serviceRestrictions_version.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_usageParameterEligibility_version.xsd"/>
<!-- ======================================================================= -->
<xsd:annotation>
<xsd:appinfo>
<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
<Aggregation>main schema</Aggregation>
<Audience>e-service developers</Audience>
<Contributor>V1.0 Matthias Günter</Contributor>
<Contributor>Nicholas Knowles</Contributor>
<Coverage>Europe</Coverage>
<Creator>First drafted for NeTEx version 1.0 CEN TC278 WG3 SG9 Editor Nicholas Knowles.</Creator>
<Date>
<Created>2010-09-04</Created>
</Date>
<Date><Modified>2025-09-24</Modified> Created and put in the things needed from part 1 and part 3
</Date>
<Description>
<p>NeTEx is a European CEN standard for the exchange of Public Transport data including timetables.</p>
<p>This sub-schema describes the Common Service Restriction Types.</p>
</Description>
<Format>
<MediaType>text/xml</MediaType>
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
<Description>XML schema, W3C Recommendation 2001</Description>
</Format>
<Identifier>{http://www.netex.org.uk/schemas/1.0/xsd/netex_framework/netex_reusableComponents}netex_serviceRestrictions_version.xsd</Identifier>
<Language>[ISO 639-2/B] ENG</Language>
<Publisher>Kizoom Software Ltd, 16 High Holborn, London WC1V 6BX </Publisher>
<Relation>
<Requires>http://www.netex.org.uk/schemas/1.0/PATH/netex_prereqfile.xsd</Requires>
</Relation>
<Rights>Unclassified
<Copyright>CEN, Crown Copyright 2009-2023</Copyright>
</Rights>
<Source>
<ul>
<li>Derived from the Transmodel, VDV, TransXChange, NEPTUNE, BISON and Trident standards.</li>
</ul>
</Source>
<Status>Version 1.0</Status>
<Subject>
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
Air transport, Airports,
Ports and maritime transport, Ferries (marine),
Public transport, Bus services, Coach services, Bus stops and stations,
Rail transport, Railway stations and track, Train services, Underground trains,
Business and industry, Transport, Air transport , Ports and maritime transport, Public transport,
Rail transport, Roads and Road transport
</Category>
<Project>CEN TC278 WG3 SG9.</Project>
</Subject>
<Title>NeTEx Travel Right Value Types.</Title>
<Type>Standard</Type>
</Metadata>
</xsd:appinfo>
<xsd:documentation>NeTEx Service Restrictions.</xsd:documentation>
</xsd:annotation>
<!-- ===== SERVICE COMPETITIVE CONDITION ===================================== -->
<xsd:element name="ServiceCompetitiveCondition" substitutionGroup="BookingArrangement_Dummy">
<xsd:annotation>
<xsd:documentation>Type for a SERVICE COMPETITIVE CONDITION.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="ServiceCompetitiveCondition_VersionStructure">
<xsd:sequence>
<xsd:sequence>
<xsd:group ref="EntityInVersionGroup" minOccurs="0"/>
</xsd:sequence>
<xsd:sequence>
<xsd:group ref="DataManagedObjectGroup"/>
</xsd:sequence>
<xsd:sequence>
<xsd:group ref="ServiceCompetitiveConditionGroup">
<xsd:annotation>
<xsd:documentation>Details for ServiceCompetitiveCondition.</xsd:documentation>
</xsd:annotation>
</xsd:group>
</xsd:sequence>
</xsd:sequence>
<xsd:attribute name="id" type="BookingArrangementIdType" use="required"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ServiceCompetitiveCondition_VersionStructure">
<xsd:annotation>
<xsd:documentation>Version of a SERVICE COMPETITIVE CONDITION.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="BookingArrangement_VersionStructure">
<xsd:sequence>
<xsd:group ref="ServiceCompetitiveConditionGroup">
<xsd:annotation>
<xsd:documentation>Details for ServiceCompetitiveCondition.</xsd:documentation>
</xsd:annotation>
</xsd:group>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:group name="ServiceCompetitiveConditionGroup">
<xsd:annotation>
<xsd:documentation>Elements for SERVICE COMPETITIVE CONDITION.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:choice>
<xsd:sequence>
<xsd:group ref="RoutingConstraintInFrameGroup">
<xsd:annotation>
<xsd:documentation>Restrictions in what the SERVICE is allowed to do in conncetion with other SERVICES.</xsd:documentation>
</xsd:annotation>
</xsd:group>
<xsd:element name="TemporalDistance" type="xsd:duration" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Temporal distance to the SERVICE / transfer in the RoutingConstraint.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Distance" type="xsd:integer" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Distance in metres to the line/service.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="InterchangeBetweenFlexibleServicesAllowed" type="xsd:boolean" default="false" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Interchange between different flexible services is allowed.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="InterchangeWithConventionalServicesAllowed" type="xsd:boolean" default="false" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Interchange between the flexible service and conventional services is allowed.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:choice>
</xsd:sequence>
</xsd:group>
<!-- ===== SERVICE COMPETITIVE CONDITION ===================================== -->
<xsd:element name="ServiceEligibilityCondition" substitutionGroup="BookingArrangement_Dummy">
<xsd:annotation>
<xsd:documentation>Type for a SERVICE ELIGIBLITY CONDITION.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="ServiceEligiblityCondition_VersionStructure">
<xsd:sequence>
<xsd:sequence>
<xsd:group ref="EntityInVersionGroup" minOccurs="0"/>
</xsd:sequence>
<xsd:sequence>
<xsd:group ref="DataManagedObjectGroup"/>
</xsd:sequence>
<xsd:sequence>
<xsd:group ref="ServiceEligibilityConditionGroup">
<xsd:annotation>
<xsd:documentation>Details for ServiceEligbilityCondition</xsd:documentation>
Comment thread
ue71603 marked this conversation as resolved.
Outdated
</xsd:annotation>
</xsd:group>
</xsd:sequence>
</xsd:sequence>
<xsd:attribute name="id" type="BookingArrangementIdType" use="required"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ServiceEligiblityCondition_VersionStructure">
<xsd:annotation>
<xsd:documentation>Version of a SERVICE ELIGIBILITY CONDITION.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="BookingArrangement_VersionStructure">
<xsd:sequence>
<xsd:group ref="ServiceEligibilityConditionGroup">
<xsd:annotation>
<xsd:documentation>Details for ServiceEligibilityCondition.</xsd:documentation>
</xsd:annotation>
</xsd:group>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:group name="ServiceEligibilityConditionGroup">
<xsd:annotation>
<xsd:documentation>Elements for SERVICE ELIGIBILITY CONDITION.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:choice>
<xsd:element ref="UserProfile"/>
<xsd:element ref="CommercialProfile"/>
<xsd:element ref="ResidentialQualification"/>
<xsd:element ref="CompanionProfile"/>
</xsd:choice>
</xsd:sequence>
</xsd:group>
<!-- ======================================================================= -->
</xsd:schema>
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ Rail transport, Roads and Road transport
<!-- ==== ELIGIBILITY CHANGE POLICY QUALIFICATION. ================================================== -->
<xsd:element name="EligibilityChangePolicy" substitutionGroup="UsageParameter_Dummy">
<xsd:annotation>
<xsd:documentation>The policy to apply if ta user's eligibility as a USER PROFILE changes.</xsd:documentation>
<xsd:documentation>The policy to apply if a user's eligibility as a USER PROFILE changes.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
Expand Down