Use Case: Demand Responsive Traffic (DRT)

NOTE: Work in progress. We still have to update some things here. Currently, this is not yet finalised.

NOTE: ServiceCompetitiveCondition, ServiceEligibilityCondition and ServiceBookingArrangement in Line/bookingArrangements were introduced by the DRT extension of NeTEx (pull request #959).

In this chapter:

Overview

Demand responsive traffic (DRT, German: On-Demand-Verkehr, ODV) covers services that only run, or only serve some stops, when passengers have booked or requested them.

The Swiss DRT types and their LineType are defined in the sheet LineType of the mapping table for NeTEx 2.0:

Table: Swiss DRT types

Remarks from the mapping table LineType TransportSubmode Swiss DRT type
Fixed stops, operated on request. flexible BusSubmode demandAndResponseBus 1 – Bedarfslinie
Combines fixed and flexible elements; passengers book individual trips, shared vehicle routing. mixedFlexibleAndFixed BusSubmode demandAndResponseBus 2 – Anrufsammelverkehr
Flexible routing along a geographic corridor; stops constrained to the corridor. corridorService BusSubmode demandAndResponseBus 3 – Richtungsband, örtlich disponierter Bus
Area-wide service with time-based operating windows; time restriction via AvailabilityCondition / Timeband. freeAreaAreaWide BusSubmode demandAndResponseBus 4 – Zeitbezogener Flächenverkehr
Fully area-wide, no fixed stops. freeAreaAreaWide BusSubmode demandAndResponseBus 5 – Freier Flächenverkehr

Modelling Principles

A DRT offer is delivered with the same frames and elements as any other timetable. The flexibility is expressed in these places:

  • Line: every DRT service is a Line in the ServiceFrame with the LineType of its Swiss DRT type and BusSubmode demandAndResponseBus, see Line and LineType.
  • Line/bookingArrangements: holds the booking conditions and the rules of the service, see Booking and Rules on the Line.
  • ServiceJourney: a single on-demand journey has FlexibleServiceProperties referencing the BookingArrangement of the Line (example 04), see FlexibleServiceProperties.
  • StopPointInJourneyPattern: a request stop has RequestStop true and a request method; a flexible stop references the BookingArrangement, see Request Stops.
  • ServiceFacilitySet and Notice: reservation offers from HRDF are delivered as facility and Notice, see Reservation as Service Facility.
  • TypeOfPlace: stops are typed as drtCollectionPoint or regularStop, see Collection Points.
  • FlexibleStopPlace and FlexibleStopAssignment: the service area of the types 3 to 5, see Service Areas.

Line replaces FlexibleLine (forbidden in the ServiceFrame template), and LineType replaces TypeOfFlexibleService (mapping table, sheet LineType).

classDiagram
    %% Styles
    classDef frame fill:#FFF8E1,stroke:#FFB300
    classDef contained fill:#E8F4FF,stroke:#1E90FF
    classDef external fill:#F6F6F6,stroke:#AAAAAA

    %% Frames
    class ServiceFrame:::frame {
        lines : Line[]
        journeyPatterns : ServiceJourneyPattern[]
    }
    class TimetableFrame:::frame {
        vehicleJourneys : ServiceJourney[]
    }

    %% Contained elements
    class Line:::contained {
        LineType
        TransportSubmode
        bookingArrangements
    }
    class BookingArrangement:::contained {
        BookingMethods
        BookWhen
        MinimumBookingPeriod
        bookingUrls
        BookingNote
    }
    class ServiceBookingArrangement:::contained {
        MinimumBookingDuration
        MaximumBookingDuration
        DepositRequired
        BookingChargeType
    }
    class ServiceCompetitiveCondition:::contained {
        MinimalDistanceFromClassical
        TemporalDistanceFromClassicalBefore
        TemporalDistanceFromClassicalAfter
        PenaltyTravelTimeFactor
        MinimumTravelDuration
        MaximumTravelDuration
        InterchangeWithConventionalServicesAllowed
    }
    class ServiceEligibilityCondition:::contained {
        UserProfile
        CommercialProfile
        ResidentialQualification
        CompanionProfile
    }
    class ServiceJourneyPattern:::contained {
        pointsInSequence
    }
    class StopPointInJourneyPattern:::contained {
        ForBoarding
        ForAlighting
        RequestStop
        bookingArrangements
    }
    class ServiceJourney:::contained {
        ServiceJourneyPatternRef
        FlexibleServiceProperties
    }
    class FlexibleServiceProperties:::contained {
        FlexibleServiceType
        bookingArrangements
    }

    %% Containment relations
    ServiceFrame "1" o-- "0..*" Line : contains
    ServiceFrame "1" o-- "0..*" ServiceJourneyPattern : contains
    TimetableFrame "1" o-- "0..*" ServiceJourney : contains
    Line "1" o-- "0..*" BookingArrangement : contains
    Line "1" o-- "0..*" ServiceBookingArrangement : contains
    Line "1" o-- "0..*" ServiceCompetitiveCondition : contains
    Line "1" o-- "0..*" ServiceEligibilityCondition : contains
    ServiceBookingArrangement --|> BookingArrangement : extends
    ServiceJourneyPattern "1" o-- "1..*" StopPointInJourneyPattern : contains
    ServiceJourney "1" o-- "0..1" FlexibleServiceProperties : contains

    %% Foreign Key relations
    ServiceJourney "0..*" -- "1" ServiceJourneyPattern : references
    FlexibleServiceProperties "0..*" -- "0..*" BookingArrangement : references
    StopPointInJourneyPattern "0..*" -- "0..*" BookingArrangement : references

Figure: Elements used for DRT

Line and LineType

→ Glossary definition

Purpose

General rules for Line are in Service Frame. LineType is expected (Line template); its values are defined in the mapping table.

Usage Notes

  • A DRT line gets the LineType of its Swiss DRT type (see Overview) and BusSubmode demandAndResponseBus.
  • fixed is the default for all non-DRT lines. If LineType is omitted, fixed is assumed.
  • The values mainRouteWithFlexibleEnds, flexibleAreasOnly, hailAndRideSections, fixedStopAreaWide and mixedFlexible are not used in the Swiss profile.

Example

<Line id="ch:1:slnid:1026470" version="1" responsibilitySetRef="ch:1:ResponsibilitySet:BLT">
  <!-- ... -->
  <TransportMode>bus</TransportMode>
  <TransportSubmode>
    <BusSubmode>demandAndResponseBus</BusSubmode>
  </TransportSubmode>
  <!-- ... -->
  <LineType>flexible</LineType>
  <TypeOfProductCategoryRef ref="ch:1:TypeOfProductCategory:B" version="1"/>
  <bookingArrangements>
    <BookingArrangement id="ch:blt:generated:BOOK:29013" version="1">
      <BookingMethods>mobileApp</BookingMethods>
      <BookWhen>advanceOnly</BookWhen>
      <BookingNote>Einstieg nur auf Voranmeldung mind. 30 Min. vor der Fahrt.</BookingNote>
    </BookingArrangement>
  </bookingArrangements>
</Line>

Booking and Rules on the Line

Purpose

Line/bookingArrangements holds four kinds of elements:

Table: Elements in Line/bookingArrangements

Element Describes
BookingArrangement How to book.
ServiceBookingArrangement How to book, with additional elements for booking duration and charges.
ServiceCompetitiveCondition What the service may do and may not do in relation to classical public transport.
ServiceEligibilityCondition Who can use the service.

Usage Notes

  • Several ServiceEligibilityConditions are combined with OR (e.g. “senior or child”). This may require splitting a service.
  • Line/bookingArrangements is of type serviceBookingArrangements_RelStructure and can hold all four elements. bookingArrangements in ServiceJourney, FlexibleServiceProperties and StopPointInJourneyPattern stays bookingArrangements_RelStructure: only BookingArrangement or BookingArrangementRef. ServiceBookingArrangement, ServiceCompetitiveCondition and ServiceEligibilityCondition are therefore only possible in Line/bookingArrangements.
  • The bookingArrangements of the Line are valid for the whole Line; a lower level supersedes a higher level (XSD documentation of Line/bookingArrangements).

BookingArrangement

Purpose

Describes how, when and where a DRT service is booked.

Table: Elements of BookingArrangement

Element Values / type
BookingContact Contact details of the booking office.
BookingMethods callDriver, callOffice, online, phoneAtStop, text, mobileApp, atOffice, none, other (list)
BookingAccess public, authorisedPublic, staff, other
BookWhen / BuyWhen advanceOnly, untilPreviousDay, dayOfTravelOnly, advanceAndDayOfTravel, timeOfTravelOnly, subscriptionChargeMoment, other
LatestBookingTime Time
MinimumBookingPeriod / MaximumBookingPeriod Duration
BookingUrl URI
bookingUrls BookingUrl (URI), BookingDeepUrl (Endpoint, parameterDescriptions) or BookingService (Endpoint, EndpointVersion, BookingServiceType, SupportedSteps); at least one entry.
BookingNote Text

BookingServiceType: tomp, osdm, bob, trias, ojp, other. SupportedSteps (list): tripPlanning, pricing, availability, booking, reservation, fulfillment, full, other.

Usage Notes

  • From the HRDF conversion only a BookingNote can be passed at the moment. With native NeTEx handling more information can be transferred (ServiceJourneyPattern template).
  • In a ServiceJourneyPattern, the BookingArrangement is referenced with BookingArrangementRef; an inline BookingArrangement is ignored.
  • BookingArrangement is still needed even though ServiceBookingArrangement contains all its elements: ServiceJourney, FlexibleServiceProperties and StopPointInJourneyPattern can only hold a BookingArrangement or a BookingArrangementRef (see Booking and Rules on the Line).

ServiceBookingArrangement

Purpose

Contains the elements of BookingArrangement and additionally MinimumBookingDuration, MaximumBookingDuration, DepositRequired and BookingChargeType (fullAmount, blockFullAmountOnCard, deposit, none, other).

ServiceCompetitiveCondition

Purpose

Describes restrictions of the DRT service towards classical public transport. Besides Name and Description it contains exactly one of three groups (choice in the XSD).

Table: Elements of ServiceCompetitiveCondition

Group Element Meaning
Distance transferRestrictions / routingConstraintZones Restrictions towards other services. If not set, the rules apply in general.
Distance MinimalDistanceFromClassical Distance in metres to the line/service or classical public transport in general: the minimum walking distance from the next StopPlace of classical public transport.
Distance TemporalDistanceFromClassicalBefore / TemporalDistanceFromClassicalAfter Temporal distance to the service/transfer in the routing constraint or classical public transport in general, before / after the departure at a reasonably nearby stop.
Dominance PenaltyTravelTimeFactor / PenaltyTransferTimeFactor / WalkTimeFactor Factors for the comparison with classical public transport (default 1.0).
Dominance PenaltyTravelTimeOffset Offset in the calculation of the dominance (default PT0S).
Dominance MinimumTravelDuration / MaximumTravelDuration Minimum (default PT0S) and maximum travel duration allowed for the service.
Interchange InterchangeBetweenFlexibleServicesAllowed Default false.
Interchange InterchangeWithConventionalServicesAllowed Default false.

Example

<ServiceCompetitiveCondition id="ch:1:ServiceCompetitiveCondition:1" version="1">
  <MinimalDistanceFromClassical>200</MinimalDistanceFromClassical>
  <TemporalDistanceFromClassicalBefore>PT15M</TemporalDistanceFromClassicalBefore>
</ServiceCompetitiveCondition>

ServiceEligibilityCondition

Purpose

Describes who can use the service. Each condition contains exactly one of UserProfile, CommercialProfile, ResidentialQualification or CompanionProfile.

Example

<ServiceEligibilityCondition id="ch:1:ServiceEligibilityCondition:1" version="1">
  <UserProfile id="ch:1:UserProfile:1" version="1">
    <MinimumAge>65</MinimumAge>
  </UserProfile>
</ServiceEligibilityCondition>

FlexibleServiceProperties

→ Glossary definition

Purpose

Additional characteristics of a flexible service on a single ServiceJourney; a service may be partly fixed, partly flexible. Elements: FlexibleServiceType (dynamicPassingTimes, fixedHeadwayFrequency, fixedPassingTimes, notFlexible, other), CancellationPossible, ChangeOfTimePossible and bookingArrangements.

Example

From example 04:

<ServiceJourney id="ch:blt:generated:SJ:29013:ODV" version="1" responsibilitySetRef="ch:1:ResponsibilitySet:BLT">
  <!-- ... -->
  <FlexibleServiceProperties id="ch:blt:generated:FSP:SJ:29013:ODV" version="1">
    <bookingArrangements>
      <BookingArrangementRef ref="ch:blt:generated:BOOK:29013" version="1"/>
    </bookingArrangements>
  </FlexibleServiceProperties>
</ServiceJourney>

Request Stops

Purpose

Request stops are set in the StopPointInJourneyPattern (see Service Frame). The mapping from HRDF is defined in the sheet Haltecode of the mapping table:

Table: Request stops (Bedarfshalt, HRDF *A X)

HRDF ForAlighting ForBoarding RequestStop Request method
Bedarfshalt true true true BoardingRequestMethod and AlightingRequestMethod
Bedarfshalt nur zum Einsteigen false true true BoardingRequestMethod
Bedarfshalt nur zum Aussteigen true false true AlightingRequestMethod

Usage Notes

  • StopUse is access, at stations with BHFArt 3 interchangeOnly.
  • A flexible stop references the BookingArrangement with BookingArrangementRef (ServiceJourneyPattern template, optional). The template uses it to mark that a stop is flexible.

Reservation as Service Facility

Reservation offers from HRDF are delivered as ServiceFacilitySet and, where defined, as Notice (sheet Angebote of the mapping table, see also Service Facilities). Examples:

Table: Reservation offers relevant for DRT

HRDF Text Facility Notice
BH Bedarfshalt nur auf telefonische Voranmeldung reservationsCompulsory; RequestStop true in the call yes
RR Reservierung obligatorisch reservationsCompulsory –
XR Einstieg nur nach telefonischer Voranmeldung reservationsCompulsory yes
GR GRUPPEN: Reservierung obligatorisch groupsAllowedWithReservation or reservationsCompulsoryForGroups –

Collection Points

Purpose

The Swiss profile distinguishes two types of stop place (Resource Frame):

Table: Types of stop place

TypeOfPlace Name (de / en) Meaning
regularStop Reguläre Haltestelle / Regular Stop Regular stop from classic public transport.
drtCollectionPoint Sammelpunkt / Collection Point Irregular stop used in demand responsive transport.

Both are defined as TypeOfPlace in the ValueSet ch:1:ValueSet:TypesOfPlace of the ResourceFrame. The ValueSet is expected and must have these two entries (TypesOfPlace template, ResourceFrame template).

The type is independent of StopPlaceType: StopPlaceType describes the kind of stop place (e.g. onstreetBus, values in the sheet StopPlaceType of the mapping table), the TypeOfPlace says whether it is a regular stop or a collection point.

Example

In NeTEx, a StopPlace refers to its TypeOfPlace with placeTypes/TypeOfPlaceRef (directly after Centroid):

<StopPlace id="ch:1:sloid:7000" version="1">
  <!-- ... -->
  <Name>Bern</Name>
  <Centroid>
    <!-- ... -->
  </Centroid>
  <placeTypes>
    <TypeOfPlaceRef ref="regularStop" version="1"/>
  </placeTypes>
  <!-- ... -->
  <StopPlaceType>railStation</StopPlaceType>
  <!-- ... -->
</StopPlace>

Service Areas

Purpose

The types 3 to 5 have a service area (Bediengebiet). Type 3 (corridor) is modelled as an area as well. The modelling follows the Swiss area example in the NeTEx repository (examples/functions/drt/CH_DRT_Area_mybuxi.xml), split between the two file types like the regular stops:

Table: Elements for service areas

Element Frame File type Purpose
FlexibleStopPlace with one FlexibleArea SiteFrame/flexibleStopPlaces SITE_OFFER The area with its geometry.
ScheduledStopPoint ServiceFrame/scheduledStopPoints NETWORK_OFFER Stands for the whole area in the ServiceJourneyPattern.
FlexibleStopAssignment ServiceFrame/stopAssignments NETWORK_OFFER Links the ScheduledStopPoint to the FlexibleStopPlace and FlexibleArea, like PassengerStopAssignment for regular stops.
classDiagram
    class FlexibleStopPlace {
        Name
        areas
    }
    class FlexibleArea {
        Name
        members
        Polygon (gml)
    }
    class ScheduledStopPoint
    class FlexibleStopAssignment {
        ScheduledStopPointRef
        FlexibleStopPlaceRef
        FlexibleAreaRef
    }
    FlexibleStopPlace "1" o-- "1..*" FlexibleArea : contains
    FlexibleStopAssignment "0..*" -- "1" ScheduledStopPoint : references
    FlexibleStopAssignment "0..*" -- "1" FlexibleStopPlace : references
    FlexibleStopAssignment "0..*" -- "0..1" FlexibleArea : references
    FlexibleArea "0..*" -- "0..*" ScheduledStopPoint : members (collection points)

Figure: Service area

Table

Service area (Bediengebiet) of a demand responsive service of type 3 (corridor), 4 or 5 (area-wide). Delivered in SITE_OFFER. Linked to the timetable by a FlexibleStopAssignment in the ServiceFrame. See uc16_drt.

Table: FlexibleStopPlace

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  Name expected 0..1 MultilingualString Name of STOP PLACE.  
  ShortName optional 0..1 MultilingualString Name of STOP PLACE.  
  TransportMode optional 0..1 AllPublicTransportModesEnumeration Primary PT MODE.  
  areas mandatory 0..1 parkingAreaRefs_RelStructure Areas in FLEXIBLE STOP PLACE.  
+ FlexibleArea mandatory 0..* FlexibleArea_VersionStructure Specialisation of a FLEXIBLE QUAY (which is abstract) to identify what is the catchment area for a flexible service (so that a stop finder can find the nearest available types of transport). It is a named zone visited by a particular mode of transport. It is part of the SITE data set rather than the service data set, since it can be defined and exists independently of an actual service. The area itself. HailAndRideArea is not used.
++ @id mandatory 1..1 xsd:string Attribute id  
++ @version mandatory 1..1 xsd:string Attribute version  
++ Name expected 0..1 MultilingualString    
+++ @lang mandatory 1..1 xsd:string Attribute lang  
++ ShortName optional 0..1 MultilingualString    
++ members optional 0..1 singleJourneyRefs_RelStructure   Collection points (TypeOfPlace drtCollectionPoint) of the area, if the service has any. Omitted for services without fixed stops (type 5). The references point to ScheduledStopPoints, which are not part of SITE_OFFER. Therefore versionRef is used instead of version: with version, the XSD key reference requires the ScheduledStopPoint in the same document.
+++ ScheduledStopPointRef optional 0..* ScheduledStopPointRefStructure Reference to a SCHEDULED STOP POINT.  
++ Polygon expected 1..1 gml:PolygonType   Decision: mandatory. Either gml:Polygon or gml:MultiSurface (choice in the XSD), in EPSG:4326. Not checked by the schematron, because the annotations cannot express the choice and do not handle the gml namespace. Coordinates shortened for the template.
+++ exterior expected 0..1 AbstractRingPropertyType A boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty.  
++ TransportMode optional 0..1 AllPublicTransportModesEnumeration Primary PT MODE.  
++ BoardingUse optional 0..1 boolean Whether space can be used for boarding or en route to boarding. Default is true. Default true.
++ AlightingUse optional 0..1 boolean Whether space can be used for alighting or en route to boarding. Default is true. Default true.

Links the ScheduledStopPoint of a service area to its FlexibleStopPlace and FlexibleArea in SITE_OFFER. Same role as PassengerStopAssignment for regular stops. See uc16_drt.

Table: FlexibleStopAssignment

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  ScheduledStopPointRef mandatory 0..1 ScheduledStopPointRefStructure   ScheduledStopPoint that stands for the whole area in the ServiceJourneyPattern.
  FlexibleStopPlaceRef mandatory 1..1 FlexibleStopPlaceRefStructure    
  FlexibleAreaRef expected 1..1 FlexibleAreaRefStructure   FlexibleArea of the FlexibleStopPlace.

→ General NeTEx definition

Example

<FlexibleStopPlace id="ch:1:FlexibleStopPlace:myBuxi_Gotthardregion" version="1">
  <Name>myBuxi Gotthardregion</Name>
  <ShortName>31</ShortName>
  <TransportMode>bus</TransportMode>
  <areas>
    <FlexibleArea id="ch:1:FlexibleArea:myBuxi_Gotthardregion" version="1">
      <Name lang="de">myBuxi Gotthardregion</Name>
      <members>
        <ScheduledStopPointRef ref="ch:1:StopPlaceCollectionPoint:2-0-Gen" versionRef="1"/>
        <ScheduledStopPointRef ref="ch:1:StopPlaceCollectionPoint:3-0-Gen" versionRef="1"/>
      </members>
      <gml:Polygon gml:id="Area31" srsName="EPSG:4326">
        <gml:exterior>
          <gml:LinearRing>
            <gml:pos>8.6314774 46.7285658</gml:pos>
            <!-- ... -->
            <gml:pos>8.6314774 46.7285658</gml:pos>
          </gml:LinearRing>
        </gml:exterior>
      </gml:Polygon>
    </FlexibleArea>
  </areas>
</FlexibleStopPlace>
<FlexibleStopAssignment id="ch:1:FlexibleStopAssignment:myBuxi_Gotthardregion" version="1">
  <ScheduledStopPointRef ref="ch:1:DrtArea:myBuxi_Gotthardregion" versionRef="1"/>
  <FlexibleStopPlaceRef ref="ch:1:FlexibleStopPlace:myBuxi_Gotthardregion" versionRef="1"/>
  <FlexibleAreaRef ref="ch:1:FlexibleArea:myBuxi_Gotthardregion" versionRef="1"/>
</FlexibleStopAssignment>

→ FlexibleStopPlace template, FlexibleStopAssignment template

Usage Notes

  • The geometry of the FlexibleArea is mandatory: either gml:Polygon or gml:MultiSurface (choice in the XSD), in EPSG:4326. The schematron does not check this, because the template annotations cannot express the choice and do not handle the gml namespace; the template marks it as expected.
  • members is optional. It lists the collection points (TypeOfPlace drtCollectionPoint, see Collection Points) of the area, if the service has any. A service without fixed stops (type 5) has no members, only the geometry.
  • members and the references in the FlexibleStopAssignment point into the other file type. They use versionRef instead of version: with version, the XSD key reference requires the referenced object in the same document.
  • HailAndRideArea is not used.

Templates and Examples

Table: Templates relevant for DRT

Swiss profile definition Template Relevant content
     

A minimal ServiceFrame must be present in all timetable files.

Table: ServiceFrame

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  lines mandatory 0..1 linesInFrame_RelStructure LINEs in frame. Only Line is used and not FlexibleLine
+ Line mandatory 0..* Line_VersionStructure A group of ROUTEs which is generally known to the public by a similar name or number.  
  groupsOfLines expected 0..1 groupsOfLinesInFrame_RelStructure GROUPs of LINEs in frame.  
+ GroupOfLines expected 1..* GroupOfLines_VersionStructure A grouping of LINEs which will be commonly referenced for a specific purpose. We use GroupOfLine for the modeling of mixed lines
  destinationDisplays expected 0..1 destinationDisplaysInFrame_RelStructure DESTINATION DISPLAYs in frame.  
+ DestinationDisplay expected 1..* DestinationDisplay_VersionStructure An advertised destination of a specific JOURNEY PATTERN, usually displayed on a head sign or at other on-board locations. We only allow DestinationDisplay based on Name and not on reference to a ScheduledStopPoint
  scheduledStopPoints expected 0..1 scheduledStopPointsInFrame_RelStructure SCHEDULED STOP POINTs in frame. Swiss ScheduledStopPoint are using the SLOID in the id, when possible.
+ ScheduledStopPoint mandatory 1..* ScheduledStopPoint_VersionStructure A POINT where passengers can board or alight from vehicles. It is open, which hierarchical level such a point has. It can represent a single door (BoardingPosition) or a whole ZONE. The association to the physical model is done with STOP ASSIGNMENTs. The id of the ScheduledStopPoint is a SLOID if one exists. Otherwisse it contains a gen part.
  connections expected 0..1 transfersInFrame_RelStructure CONNECTIONs in frame. connections is used in SITE_OFFER, but not in NETWORK_OFER
+ SiteConnection expected 0..* SiteConnection_VersionStructure The physical (spatial) possibility to connect from one point to another in a SITE. SiteConnection are used only in the SITE_OFFER file and not in NETWORK_OFFER files.
+ DefaultConnection expected 0..* DefaultConnection_VersionStructure Specifies the default transfer times to transfer between MODEs and / or OPERATORs within a region. DefaultConnection is only used in the SITE_OFFER file
  stopAssignments expected 0..1 stopAssignmentsInFrame_RelStructure STOP ASSIGNMENTs in frame.  
+ PassengerStopAssignment expected 0..* unknown   Make the link between timetables and site model.
+ FlexibleStopAssignment optional 0..* FlexibleStopAssignment_VersionStructure Assignment of a SCHEDULED STOP POINT to a FLEXIBLE STOP PLACE and quay. etc. For service areas (Bediengebiete) of demand responsive services.
  timingLinks expected 0..1 timingLinksInFrame_RelStructure TIMING LINKs in frame. We use TimingLink as the time behaviour between two ScheduledStopPoints
+ TimingLink expected 1..* TimingLink_VersionStructure An ordered pair of TIMING POINTs for which run times may be recorded. Timing links are directional - there will be separate links for each direction of a route. every different handling of the link needs a different timing link e.g. bus vs tram
  journeyPatterns mandatory 0..1 journeyPatternsInFrame_RelStructure JOURNEY PATTERNs in frame.  
+ ServiceJourneyPattern mandatory 0..* ServiceJourneyPattern_VersionStructure The JOURNEY PATTERN for a (passenger carrying) SERVICE JOURNEY.  
  timeDemandTypes expected 0..1 timeDemandTypesInFrame_RelStructure TIME DEMAND TYPEs in frame.  
+ TimeDemandType expected 1..* TimeDemandType_VersionStructure An indicator of traffic conditions or other factors which may affect vehicle run or wait times. It may be entered directly by the scheduler or defined by the use of TIME BANDs. TimeDemandType is now the core concept to use for the timing behaviour of ServiceJourney.
  notices expected 0..1 noticesInFrame_RelStructure NOTICEs in frame. notices may be present or not
+ Notice expected 1..* Notice_VersionStructure A note or footnote about any aspect of a service, e.g. an announcement, notice, etc. May have different DELIVERY VARIANTs for different media. if notices are present, one Notice must be.

,

A minimal ServiceFrame must be present in all timetable files.

Table: ServiceFrame

Sub Element Usage Card Type Description Note
  lines mandatory 0..1 linesInFrame_RelStructure LINEs in frame. Only Line is used and not FlexibleLine
+ Line mandatory 0..* Line_VersionStructure A group of ROUTEs which is generally known to the public by a similar name or number. For NETWORK OFFER we only need the name
++ Name mandatory 0..1 MultilingualString Name of LINE SHAPE.  
  groupsOfLines expected 0..1 groupsOfLinesInFrame_RelStructure GROUPs of LINEs in frame.  
+ GroupOfLines expected 1..* GroupOfLines_VersionStructure A grouping of LINEs which will be commonly referenced for a specific purpose. We use GroupOfLine for the modeling of mixed lines
  destinationDisplays expected 0..1 destinationDisplaysInFrame_RelStructure DESTINATION DISPLAYs in frame. We only allow fully formed content of destinationDisplays
+ DestinationDisplay expected 1..* DestinationDisplay_VersionStructure An advertised destination of a specific JOURNEY PATTERN, usually displayed on a head sign or at other on-board locations. We only allow fully formed content of destinationDisplays
  scheduledStopPoints mandatory 0..1 scheduledStopPointsInFrame_RelStructure SCHEDULED STOP POINTs in frame. Swiss ScheduledStopPoint are using the SLOID in the id if possible.
+ ScheduledStopPoint mandatory 1..* ScheduledStopPoint_VersionStructure A POINT where passengers can board or alight from vehicles. It is open, which hierarchical level such a point has. It can represent a single door (BoardingPosition) or a whole ZONE. The association to the physical model is done with STOP ASSIGNMENTs. The id of the ScheduledStopPoint is a SLOID if one exists. Otherwisse it contains a gen part.
  stopAssignments expected 0..1 stopAssignmentsInFrame_RelStructure STOP ASSIGNMENTs in frame.  
+ PassengerStopAssignment expected 0..* unknown   Are needed for foreign traffic and also for formations.
+ FlexibleStopAssignment optional 0..* FlexibleStopAssignment_VersionStructure Assignment of a SCHEDULED STOP POINT to a FLEXIBLE STOP PLACE and quay. etc. For service areas (Bediengebiete) of demand responsive services.
  timingLinks expected 0..1 timingLinksInFrame_RelStructure TIMING LINKs in frame. We use TimingLink as the time behaviour between two ScheduledStopPoints
+ TimingLink expected 1..* TimingLink_VersionStructure An ordered pair of TIMING POINTs for which run times may be recorded. Timing links are directional - there will be separate links for each direction of a route. every different handling of the link needs a different timing link e.g. bus vs tram
  journeyPatterns mandatory 0..1 journeyPatternsInFrame_RelStructure JOURNEY PATTERNs in frame.  
+ ServiceJourneyPattern mandatory 0..* ServiceJourneyPattern_VersionStructure The JOURNEY PATTERN for a (passenger carrying) SERVICE JOURNEY.  
  timeDemandTypes expected 0..1 timeDemandTypesInFrame_RelStructure TIME DEMAND TYPEs in frame.  
+ TimeDemandType expected 1..* TimeDemandType_VersionStructure An indicator of traffic conditions or other factors which may affect vehicle run or wait times. It may be entered directly by the scheduler or defined by the use of TIME BANDs.  
  notices expected 0..1 noticesInFrame_RelStructure NOTICEs in frame. notices may be present or not
+ Notice expected 1..* Notice_VersionStructure A note or footnote about any aspect of a service, e.g. an announcement, notice, etc. May have different DELIVERY VARIANTs for different media. if notices are present, one Notice must be.
ServiceFrame, ServiceFrame_NETWORK_OFFER Line
   

For referencing the Operators we redundantly use ResponsibilitySet and OperatorRef. This is to maintain compatibility with different data consumers. See chapter on ResourceFrame and Use Case 17.

Table: Line

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  @responsibilitySetRef mandatory 1..1 xsd:string Attribute responsibilitySetRef  
  ValidBetween expected 1..1 unknown   Usually set to the whole timetable year
+ FromDate expected 0..1 dateTime Start date of AVAILABILITY CONDITION.  
+ ToDate expected 0..1 dateTime End of AVAILABILITY CONDITION. Date is INCLUSIVE.  
  keyList optional 1..1 KeyListStructure    
+ KeyValue optional 1..* KeyValueStructure Key value pair for Entity. We might use KeyValue for some additional information
++ Key optional 1..1 normalizedString Identifier of value e.g. System.  
++ Value optional 0..1 normalizedString Value for alternative key.  
  privateCodes mandatory 1..1 PrivateCodesStructure   The SLNID is mandatory if it exists
+ PrivateCode expected 0..* PrivateCodeStructure   The SLNID is mandatory if it exists
++ @type mandatory 1..1 xsd:string Attribute type  
  Name mandatory 0..1 MultilingualString Name of LINE SHAPE. contains attribute D T from HRDF. Is not translated on purpose.
  ShortName expected 0..1 MultilingualString Short name of LINE. contains the LinieKurzName (attribut N T in HRDF)
  TransportMode mandatory 0..1 AllPublicTransportModesEnumeration Primary PUBLIC TRANSPORT MODE of NETWORK.  
  TransportSubmode optional 0..1 TransportSubmodeStructure   the mapping excel describe how to use the TransportSubmode
+ RailSubmode optional 1..1 RailSubmodeEnumeration TPEG pti02 Rail submodes loc13. See also See ERA B.4.7009 - Name: Item description code. Here an example for rail. Be aware that other XXXSubmode are used for other mode.
  PublicCode mandatory 0..1 PublicCodeStructure Public identifier of a LINe. Contains LinieLangName (attribute LT from HRDF)
  OperatorRef expected 0..1 OperatorRefStructure An OPERATOR should be set, even when the same as the AUTHORITY. In some cases OPERATOR or AUTHORITY are managed through a ResponsibilitySet. However, for compatibility OperatorRef and AuthorityRef still should be filled in. +v2.0 The operator is the transport organisation that really “owns” the line. Additional operators can be added in additionalOperators. The actual operating organisation can be set in the ServiceJourney. Is redundant to the responsibilitySetRef on purpose.
  additionalOperators optional 0..1 transportOrganisationRefs_RelStructure Additional OPERATORs for LINE. Used for other operating companies. Is redundant to the responsibilitySetRef on purpose. this is especially important, when a co-ownership of the Line was defined.
+ OperatorRef optional 0..* OperatorRefStructure    
  LineType expected 0..1 LineTypeEnumeration Classification of LINE, including flexible options. +v2.0. Will be used especially, when not “fixed”. Details in mapping excel.
  TypeOfProductCategoryRef mandatory 0..1 TypeOfProductCategoryRefStructure   Always aligned with BS KI oev-info.ch
  bookingArrangements optional 0..1 bookingArrangements_RelStructure Set of possible Booking Arrangements for this LINE. +v2.0 Booking conditions of a demand responsive (DRT) line. Valid for the whole Line; a lower level (FlexibleServiceProperties, StopPointInJourneyPattern) supersedes it. See uc16_drt.
+ BookingArrangement optional 0..* BookingArrangement_VersionStructure Details of the booking arrangements for a given LINE, STOP, SERVICE etc. Referenced from ServiceJourney/FlexibleServiceProperties and StopPointInJourneyPattern with BookingArrangementRef.
++ @id mandatory 1..1 xsd:string Attribute id  
++ @version mandatory 1..1 xsd:string Attribute version  
++ BookingMethods optional 0..1 BookingMethodListOfEnumerations Allowed Ways of Making a BOOKING.  
++ BookWhen optional 0..1 PurchaseWhenEnumeration When Booking can be made. +V1.1  
++ BookingNote optional 0..1 MultilingualString Note about booking the FLEXIBLE LINE.  
Line LineType, TransportSubmode, bookingArrangements
   

Table: ServiceJourney

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  @responsibilitySetRef mandatory 1..1 xsd:string Attribute responsibilitySetRef  
  validityConditions mandatory 1..1 validityConditions_RelStructure   Used to specify the temporal conditions for the ServiceJourney, for example that the corresponding journey only applies on particular days of a period (indicated by ValidDayBits, “Verkehrstagebitfeld”).
+ AvailabilityConditionRef mandatory 0..* AvailabilityConditionRefStructure   Only a single AvailabilityConditionRef is allowed.
  keyList optional 1..1 KeyListStructure   KEY LIST with the KEY VALUEs belonging to the SERVICE JOURNEY. We don’t use it for sjyid!
+ KeyValue optional 1..* KeyValueStructure Key value pair for Entity. We use it for tariff codes and region codes PAG mostly.
++ Key optional 1..1 normalizedString Identifier of value e.g. System.  
++ Value optional 0..1 normalizedString Value for alternative key.  
  privateCodes expected 1..1 PrivateCodesStructure    
+ PrivateCode expected 0..* PrivateCodeStructure   Mandatory if available for the following types: sjyid and rn. rn is the type used for the Postauto region.
++ @type mandatory 1..1 xsd:string Attribute type  
  TransportMode optional 0..1 AllPublicTransportModesEnumeration PT MODE of JOURNEY.  
  TypeOfProductCategoryRef mandatory 0..1 TypeOfProductCategoryRefStructure   Relevant elements are defined in the mapping excel.
  TypeOfServiceRef optional 0..1 TypeOfServiceRefStructure   Should always be ch:1:TypeOfService:1
  noticeAssignments optional 0..1 noticeAssignments_RelStructure NOTICEs relevant for the whole GROUP OF SERVICEs. The complete set of all applicable Notices. Attention: Notices may be restricted to a a part of the journey (by defining the first and last stop).
+ NoticeAssignment optional 0..* NoticeAssignment_VersionStructure The assignment of a NOTICE showing an exception in a JOURNEY PATTERN, a COMMON SECTION, or a VEHICLE JOURNEY, possibly specifying at which POINT IN JOURNEY PATTERN the validity of the NOTICE starts and ends respectively.  
  occupancies optional 0..1 OccupancyView_RelStructure OCCUPANCYs associated with this JOURNEY. +v2.0  
+ OccupancyView optional 0..* OccupancyView_VersionStructure Type for an Occupancy. Details for OCCUPANCY. Currently not available.
  ServiceAlteration mandatory 0..1 ServiceAlterationEnumeration Whether journey is as planned, a cancellation or an extra journey. Default is as Planned. Only the value planned is allowed. We might add the others, like cancelled, later.
  DepartureTime expected 0..1 time Time of Departure. Usually local time. Otherwise we have problems with summer time. See Usage Notes.
  DepartureDayOffset optional 0..1 DayOffsetType Day offset if day of departure time of VEHICLE JOURNEY differs from the current OPERATING DAY. 0 for current operating day. Could also be negative.
  ServiceJourneyPatternRef mandatory 0..1 ServiceJourneyPatternRefStructure   The reference to the ServiceJourneyPattern.
  TimeDemandTypeRef mandatory 0..1 TimeDemandTypeRefStructure   The timing behaviour is defined here. We allow only one TimeDemandType per ServiceJourney.
  VehicleTypeRef expected 0..1 VehicleTypeRefStructure   Simple VehicleType is used for general type like NF. Otherwise a CompoundTrainRef or TrainRef is expected for formations.
+ @ref mandatory 1..1 xsd:string Attribute ref  
+ @version mandatory 1..1 xsd:string Attribute version  
+ @nameOfRefClass mandatory 1..1 xsd:string Attribute nameOfRefClass  
  trainNumbers mandatory 0..1 trainNumberRefs_RelStructure TRAIN NUMBERs -= derived through JOURNEY PARTs of a journey - for a multi-part journey only.  
+ TrainNumberRef mandatory 0..* TrainNumberRefStructure    
  Destination expected 0..1 JourneyEndpointStructure Destination for JOURNEY.  
  parts optional 0..1 journeyParts_RelStructure JOURNEY PARTs of a journey - for a multi-part journey only. For some use cases e.g. change of Facilities during ServiceJourney
+ JourneyPart expected 0..* JourneyPart_VersionStructure A part of a VEHICLE JOURNEY created according to a specific functional purpose, for instance in situations when vehicle coupling or separating occurs.  
  checkConstraints optional 0..1 checkConstraints_RelStructure CHECK CONSTRAINTs which apply to SERVICE JOURNEY, e.g. check in time, security time. These are advisory only and not for use in journey planning.  
+ CheckConstraint optional 0..* CheckConstraint_VersionStructure Process associated with a Place, typically giving rise to a delay to the traveller. CheckConstraints are used to encode foreseeable delays by check-in or other processes.
  FlexibleServiceProperties optional 1..1 unknown   For a single on-demand journey of a demand responsive (DRT) line. See uc16_drt.
+ @id mandatory 1..1 xsd:string Attribute id  
+ @version mandatory 1..1 xsd:string Attribute version  
+ bookingArrangements optional 0..1 bookingArrangements_RelStructure Set of possible Booking Arrangements for stop if different from those for SERVICE JOURNEY. +v2.0  
++ BookingArrangementRef optional 0..* BookingArrangementRefStructure   References the BookingArrangement of the Line.
ServiceJourney FlexibleServiceProperties
   

Table: ServiceJourneyPattern

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  Name optional 0..1 MultilingualString Name of SERVIC CALENDAR.  
  RouteView mandatory 1..1 unknown    
+ LineRef mandatory 0..1 LineRefStructure    
  DirectionType mandatory 0..1 RelativeDirectionEnumeration DIRECTION of JOURNEY PATTERN. Should be same as for ROUTE on which PATTERN is based.  
  pointsInSequence mandatory 0..1 pointsInJourneyPattern_RelStructure Sequence of points in JOURNEY PATTERN Points may be SCHEDULED STOP POINTs or TIMING POINTs.  
+ StopPointInJourneyPattern mandatory 0..* unknown    
++ ScheduledStopPointRef mandatory 0..1 ScheduledStopPointRefStructure Reference to a SCHEDULED STOP POINT.  
++ ForAlighting mandatory 0..1 boolean Whether alighting is allowed at the stop. Default is true.  
++ ForBoarding mandatory 0..1 boolean Whether boarding is allowed at the stop. Default is true.  
++ DestinationDisplayRef optional 1..1 DestinationDisplayRefStructure   Indicates that the destination has changed. Superseeds Line or ServiceJourney. Also, there is propagation. E.g if the DestinationDisplay changes on the 4. th stop it is propagated through all stops until a different DestinationDisplay is encountered.
++ RequestStop optional 0..1 boolean Whether stop is a request stop for this journey. Default is false.  
++ BoardingRequestMethod optional 0..1 RequestMethodTypeListOfEnumerations Methods to Request Stop for boarding in this particular service pattern; Default is noneRequired. +v2.0 For request stops (RequestStop true) with boarding. See sheet Haltecode of the mapping excel and uc16_drt.
++ AlightingRequestMethod optional 0..1 RequestMethodTypeListOfEnumerations Methods to Request Stop for alighting in this particular service pattern; Default is noneRequired. +v2.0 For request stops (RequestStop true) with alighting. See sheet Haltecode of the mapping excel and uc16_drt.
++ StopUse optional 0..1 StopUseEnumeration Nature of use of stop, e.g. access, interchange only, or pass through. Default is Access. All values possible. passthrough is used for Durchfahrt, if such data is delivered. See mapping excel.
++ checkConstraints optional 0..1 checkConstraints_RelStructure Implements the navigation from processes or barriers that the travellers will be facing (e.g., security check, check-in, etc.). +v2.1  
+++ CheckConstraint optional 0..* CheckConstraint_VersionStructure Process associated with a Place, typically giving rise to a delay to the traveller.  
++ bookingArrangements optional 0..1 bookingArrangements_RelStructure Set of possible Booking Arrangements for stop if different from those for SERVICE JOURNEY. +v2.0  
+++ BookingArrangementRef optional 0..* BookingArrangementRefStructure   Specially we use bookingArrangementRef here to model the information that a stop is flexible. From the HRDF conversion only a BookingNote can be passed at the moment. With native NeTEx handling we can transfer more information.
+++ BookingArrangement we expect a BookingArrangementRef. We use this here to show how native NeTEx handling could improve transfering information here 0..* BookingArrangement_VersionStructure Details of the booking arrangements for a given LINE, STOP, SERVICE etc.  
++++ BookingMethods we expect a BookingArrangementRef. We use this here to show how native NeTEx handling could improve transfering information here 0..1 BookingMethodListOfEnumerations Allowed Ways of Making a BOOKING.  
  ServiceJourneyPatternType expected 0..1 ServiceJourneyPatternTypeEnumeration Type of SERVICE JOURNEY PATTERN. We currently only allow passenger
ServiceJourneyPattern ForBoarding, ForAlighting, RequestStop, BoardingRequestMethod, AlightingRequestMethod, StopUse, BookingArrangementRef
   

List of ServiceFacility. Be careful: not all are supported. Consult profile. Make sure to not generate identical ServiceFacilitySets. Reuse them. Details in the mapping excel.

Table: ServiceFacilitySet

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  Extensions expected 0..1 ExtensionsStructure   Two elements used in HRDF for ordering facilities
+ Priority expected 0..1 InterchangePriorityType    
  Description expected 0..1 MultilingualString    
+ @lang mandatory 1..1 xsd:string Attribute lang  
+ Text optional 0..* MultilingualString   For each language a Text element must be provided
++ @lang mandatory 1..1 xsd:string Attribute lang  
  FareClasses optional 0..1 FareClassListOfEnumerations List of Fare Classes.  
  MobilityFacilityList optional 0..1 MobilityFacilityListOfEnumerations List of MOBILITY FACILITies.  
  NuisanceFacilityList optional 0..1 NuisanceFacilityListOfEnumerations List of NUISANCE FACILITies.  
  PassengerCommsFacilityList optional 0..1 PassengerCommsFacilityListOfEnumerations List of PASSENGER COMMS FACILITies.  
  SanitaryFacilityList optional 0..1 SanitaryFacilityListOfEnumerations List of SANITARY FACILITies.  
  CouchetteFacilityList optional 0..1 CouchetteFacilityListOfEnumerations List of COUCHETTE FACILITies.  
  GroupBookingFacility optional 0..1 GroupBookingEnumeration Classification of GROUP FACILITY type - TPEG pti23.  
  ServiceReservationFacilityList optional 0..1 ServiceReservationFacilityListOfEnumerations List of RESERVATION FACILITies UIC 7037 Code list. Reservation offers. Values in sheet Angebote of the mapping excel.
ServiceFacilitySet Facilities, GroupBookingFacility, ServiceReservationFacilityList
   

Table: Notice

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  Text expected 0..1 MultilingualString Text content of NOTICe.  
+ @lang mandatory 1..1 xsd:string Attribute lang  
+ Text expected 0..* TextType Name of the entity.  
++ @lang mandatory 1..1 xsd:string Attribute lang  
  PublicCode mandatory 0..1 PublicCodeStructure Alternative code associated with Notice. The public code is transmitted when it is to be published and when it is the type of notice 10. Only 1 and 10 aree allowed.
  ShortCode expected 0..1 normalizedString Alternative short code associated with Notice. A duplication, but we want it. “A__” indicates an offer based on BS KI
  PrivateCode expected 0..1 PrivateCodeStructure DEPRECATED - use privateCodes. -v2.0 A duplication, but we want it.
  TypeOfNoticeRef expected 0..1 TypeOfNoticeRefStructure   allowed are ch:1:TypeOfNotice:1 for general notice, ch:1:TypeOfNotice:10 for offer, ch:1:TypeOfNotice:11 for region code (only PAG)
  CanBeAdvertised expected 0..1 boolean Whether NOTICE is advertised to public. This may be overridden on an assignment. Whether the NOTICE is advertised.
Notice Passenger information
   

In some cases the id of a StopPlace is not a SLOID.

Table: StopPlace

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  ValidBetween optional 1..1 unknown   This can be used to show when the StopPlace can be used. Note that the usage (optional) overrides the cardinality.
+ FromDate optional 0..1 dateTime Start date of AVAILABILITY CONDITION.  
+ ToDate optional 0..1 dateTime End of AVAILABILITY CONDITION. Date is INCLUSIVE.  
  keyList optional 1..1 KeyListStructure   Key value pairs.
+ KeyValue optional 1..* KeyValueStructure Key value pair for Entity. HafasPriority and HafasKMInfo for Hafas environments, only used in exports by INFO+.
++ Key mandatory 1..1 normalizedString Identifier of value e.g. System.  
++ Value mandatory 0..1 normalizedString Value for alternative key.  
  privateCodes expected 1..1 PrivateCodesStructure    
+ PrivateCode expected 0..* PrivateCodeStructure   Mandatory for DIDOK and SLOID if they exist.
++ @type mandatory 1..1 xsd:string Attribute type  
  Name mandatory 0..1 MultilingualString Name of STOP PLACE. The official stop name. If you have different versions one needs to use AlternativeName
  Centroid mandatory 0..1 SimplePoint_VersionStructure Centre Coordinates of GROUP of STOP PLACEs. Global or national location
  AccessibilityAssessment expected 0..1 AccessibilityAssessment_VersionedChildStructure Accessibility values associated with LEVEL. Accessibility. Whether the StopPlace and the Quays are accessible for passengers with different mobility or sensory impairments.
  alternativeNames optional 0..1 alternativeNames_RelStructure Alternative names for the GROUP of STOP PLACEs. Alternative names for the StopPlace. We will only use these for synonyms.
+ AlternativeName expected 1..* AlternativeName_VersionedChildStructure ALTERNATIVE NAME for Element.  
  facilities expected 0..1 siteFacilitySets_RelStructure Facilities available at SITe. Facilities available at the stop.
+ SiteFacilitySet expected 0..* SiteFacilitySetStructure Set of enumerated FACILITY values that are relevant to a SITE (names based on TPEG classifications, augmented with UIC etc.). In particular for accessibility information.
  TopographicPlaceRef optional 1..* TopographicPlaceRefStructure   Id to the county, community, canton or country.
  Locale optional 0..1 LocaleStructure    
+ TimeZone optional 0..1 normalizedString Timezone name at LOCALE. Must be present if not in DefaultTimeZone.
  levels expected 0..1 levels_RelStructure LEVELs found within SITe. Mandatory if the StopPlace has more than one level.
+ Level expected 0..* Level_VersionStructure Level of a Building or SITE. Mandatory if the StopPlace has more than one level.
++ Name mandatory 0..1 MultilingualString Name of LEVEL.  
+++ @lang mandatory 1..1 xsd:string Attribute lang  
++ PublicCode mandatory 0..1 PublicCodeStructure Public code for LEVEL.  
  entrances optional 0..1 siteEntrances_RelStructure ENTRANCEs to SPACE. We currently use this for the reference point that each Swiss stop uses. Unfortunately it currently has no Centroid and coordinates
+ StopPlaceEntrance mandatory 0..* StopPlaceEntrance_VersionStructure Passenger Entrance to a STOP PLACE. Currently only the SLOID is known. From this point all references to accessibility are made in Switzerland
  placeEquipments optional 0..1 equipments_RelStructure Items of EQUIPMENT that may be located in an EQUIPMENT PLACE. Used in exports for all TSI PRM relevant equipments. Especially in the data transmissions for rail to ERA. We only have Equipments and no EquipmentPlaces.
+ TicketingEquipment optional 0..* unknown   Ticketing equipment.
++ TicketMachines expected 0..1 boolean Whether there are ticket machines. Will be exported from ATLAS for ERA TSI PRM (Billettautomat - “Billettautomat vorhanden”). Mirrored in SiteFacilitySet - ticketMachines.
++ TicketOffice expected 0..1 boolean Whether there is a distinct ticket office. Will be exported from ATLAS for ERA TSI PRM (Schalter present). Mirrored in SiteFacilitySet - ticketOffice.
++ TicketCounter optional 0..1 boolean Whether there is a ticket counter. Will be exported from ATLAS for ERA TSI PRM (Schalter present). We don’t distinguish between TicketOffice and TicketCounter.
++ LowCounterAccess optional 0..1 boolean Whether there is a low counter for accessibility. Will be exported from ATLAS for ERA TSI PRM (Schalter - “Rollstuhlzugänglichkeit” or Billettautomat - “Barrierefrei”). Applicable for TicketMachine, TicketOffice, TicketCounter.
++ InductionLoops optional 0..1 boolean Whether there are induction loops. Will be exported from ATLAS for ERA TSI PRM (Schalter - “Induktionsverstärker”). Only applicable for TicketOffice, TicketCounter.
++ TactileInterfaceAvailable optional 0..1 boolean Indicates whether there is a tactile interface +v1.1. Will be exported from ATLAS for ERA TSI PRM (Billettautomat - “Akustische und taktile Ausrüstung”). Only applicable for TicketMachine.
++ AudioInterfaceAvailable optional 0..1 boolean Indicates whether there is an accessible audio interface (allowing a use closed eyes). +v1.1 Will be exported from ATLAS for ERA TSI PRM (Billettautomat - “Akustische und taktile Ausrüstung”). Only applicable for TicketMachine.
++ WheelchairSuitable expected 0..1 boolean Indicates whether equipment may be used while seated in a wheelchair. +v1.1 Will be exported from ATLAS for ERA TSI PRM (Schalter - “Rollstuhlzugänglichkeit” or Billettautomat - “Barrierefrei”). Applicable for TicketMachine, TicketOffice, TicketCounter.
+ AccessVehicleEquipment optional 0..* AccessVehicleEquipment_VersionStructure Specialisation of VEHICLE EQUIPMENT for ACCESS providing information such as low floor, ramp, access area dimensions, etc. Method to get on the vehicle
++ Hoist expected 0..1 boolean VEHICLE has a hoist or lift for wheelchairs. Will be exported from ATLAS for ERA TSI PRM (Haltekante - “Hilfsmittel für Rollstuhl”). May not be set to true for the StopPlace if there is a Quay unaccessible by wheelchair.
++ Ramp expected 0..1 boolean Whether a ramp may be used to access VEHICLE. Will be exported from ATLAS for ERA TSI PRM (Haltekante - “Hilfsmittel für Rollstuhl”). May not be set to true for the StopPlace if there is a Quay unaccessible by wheelchair.
+ SanitaryEquipment optional 0..* unknown    
++ Name optional 0..1 MultilingualString Name of EQUIPMENT. Will be exported from ATLAS for ERA TSI PRM (Toilette - “Bezeichnung”).
++ Note optional 0..1 MultilingualString Further description or other comment for internal use by OPERATOR. Will be exported from ATLAS for ERA TSI PRM (Toilette - “Zusätzliche Informationen”).
++ AccessibilityAssessment optional 0..1 AccessibilityAssessment_VersionedChildStructure    
++ SanitaryFacilityList mandatory 0..1 SanitaryFacilityListOfEnumerations   Will be exported from ATLAS for ERA TSI PRM (Toiletten - “Rollstuhlgängige Toilette). Presence or absence of wheelchairAccessToilet toilet. Mirrored in SiteFacilitySet - SanitaryFacilityList.
++ ToiletsType optional 0..1 ToiletsTypeEnumeration Indicates the position of using the toilet. Allowed values: seated urinal seatedAndUrinal squat.
  localServices optional 0..1 localServices_RelStructure   Will be exported from ATLAS for ERA TSI PRM.
+ AssistanceService mandatory 0..* AssistanceService_VersionStructure Specialisation of LOCAL SERVICE for ASSISTANCE providing information like language, accessibility trained staff, etc. Presence ofAssistanceFacilitys and their availability , e.g., if they need to be booked.
+ AssistanceBookingService optional 0..* AssistanceBookingService_VersionStructure Information about how to book assistance for wheelchair and disabled users. Accessibility. Contact and booking information regarding assistance services.
  StopPlaceType expected 0..1 StopTypeEnumeration Type of STOP PLACE.  
  LimitedUse optional 0..1 LimitedUseTypeEnumeration Further categorisation of stop as having topographic limitations. For stops like Sagliains. We currently use only interchangeOnly.
  Weighting optional 0..1 InterchangeWeightingEnumeration Default rating of the STOP PLACE for making interchanges. Default relative weighting to be used for stop place. See also mapping excel. Cf. HafasPriority in Extensions.
  quays expected 1..1 quays_RelStructure QUAYs within the STOP PLACE. The Quays contained in the StopPlace - platforms, jetties, bays, taxi ranks, and other points of physical access to vehicles. Note that the usage (expected) overrides the cardinality.
+ Quay expected 0..* Quay_VersionStructure A place such as platform, stance, or quayside where passengers have access to PT vehicles, Taxi cars or other means of transportation. A QUAY may contain other sub QUAYs. A child QUAY must be physically contained within its parent QUAY.  
StopPlace StopPlaceType
   

Service area (Bediengebiet) of a demand responsive service of type 3 (corridor), 4 or 5 (area-wide). Delivered in SITE_OFFER. Linked to the timetable by a FlexibleStopAssignment in the ServiceFrame. See uc16_drt.

Table: FlexibleStopPlace

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  Name expected 0..1 MultilingualString Name of STOP PLACE.  
  ShortName optional 0..1 MultilingualString Name of STOP PLACE.  
  TransportMode optional 0..1 AllPublicTransportModesEnumeration Primary PT MODE.  
  areas mandatory 0..1 parkingAreaRefs_RelStructure Areas in FLEXIBLE STOP PLACE.  
+ FlexibleArea mandatory 0..* FlexibleArea_VersionStructure Specialisation of a FLEXIBLE QUAY (which is abstract) to identify what is the catchment area for a flexible service (so that a stop finder can find the nearest available types of transport). It is a named zone visited by a particular mode of transport. It is part of the SITE data set rather than the service data set, since it can be defined and exists independently of an actual service. The area itself. HailAndRideArea is not used.
++ @id mandatory 1..1 xsd:string Attribute id  
++ @version mandatory 1..1 xsd:string Attribute version  
++ Name expected 0..1 MultilingualString    
+++ @lang mandatory 1..1 xsd:string Attribute lang  
++ ShortName optional 0..1 MultilingualString    
++ members optional 0..1 singleJourneyRefs_RelStructure   Collection points (TypeOfPlace drtCollectionPoint) of the area, if the service has any. Omitted for services without fixed stops (type 5). The references point to ScheduledStopPoints, which are not part of SITE_OFFER. Therefore versionRef is used instead of version: with version, the XSD key reference requires the ScheduledStopPoint in the same document.
+++ ScheduledStopPointRef optional 0..* ScheduledStopPointRefStructure Reference to a SCHEDULED STOP POINT.  
++ Polygon expected 1..1 gml:PolygonType   Decision: mandatory. Either gml:Polygon or gml:MultiSurface (choice in the XSD), in EPSG:4326. Not checked by the schematron, because the annotations cannot express the choice and do not handle the gml namespace. Coordinates shortened for the template.
+++ exterior expected 0..1 AbstractRingPropertyType A boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty.  
++ TransportMode optional 0..1 AllPublicTransportModesEnumeration Primary PT MODE.  
++ BoardingUse optional 0..1 boolean Whether space can be used for boarding or en route to boarding. Default is true. Default true.
++ AlightingUse optional 0..1 boolean Whether space can be used for alighting or en route to boarding. Default is true. Default true.

,

Table: SiteFrame

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  topographicPlaces expected 0..1 topographicPlacesInFrame_RelStructure PLACEs in frame.  
+ TopographicPlace expected 1..* TopographicPlace_VersionStructure A town, city, village, suburb, quarter or other name settlement within a country. Provides a Gazetteer of Transport related place names. Used to represent countries if outside CH, cantons and communes if in CH. Cantons are referenced from StopPlaces.
  stopPlaces mandatory 0..1 stopPlacesInFrame_RelStructure STOP PLACEs in frame.  
+ StopPlace mandatory 1..* StopPlace_VersionStructure A STOP PLACE.  
  flexibleStopPlaces optional 0..1 flexibleStopPlacesInFrame_RelStructure STOP PLACEs in frame. Service areas (Bediengebiete) of demand responsive services. Delivered in SITE_OFFER.
+ FlexibleStopPlace optional 1..* FlexibleStopPlace_VersionStructure A named type of STOP PLACE for DRT comprising one or more flexible zones where vehicles may stop and where passengers may board or leave vehicles.  
  parkings optional 0..1 parkingsInFrame_RelStructure PARKINGs in frame. Will be used at least in the export from ATLAS to ERSAD
+ Parking optional 0..* Parking_VersionStructure A named place where Parking may be accessed. May be a building complex (e.g. a station) or an on-street location. Currently only very minimal as we don’t have more information (e.g. no coordinates).
  siteFacilitySets optional 0..1 siteFacilitySetsInFrame_RelStructure SITE FACILITY SETs in frame . +v1.2.2 We expect the SiteFacilitySet in the StopPlace.
+ SiteFacilitySet optional 1..* SiteFacilitySetStructure Set of enumerated FACILITY values that are relevant to a SITE (names based on TPEG classifications, augmented with UIC etc.).  
FlexibleStopPlace, SiteFrame Service area (FlexibleArea)
   

Links the ScheduledStopPoint of a service area to its FlexibleStopPlace and FlexibleArea in SITE_OFFER. Same role as PassengerStopAssignment for regular stops. See uc16_drt.

Table: FlexibleStopAssignment

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  ScheduledStopPointRef mandatory 0..1 ScheduledStopPointRefStructure   ScheduledStopPoint that stands for the whole area in the ServiceJourneyPattern.
  FlexibleStopPlaceRef mandatory 1..1 FlexibleStopPlaceRefStructure    
  FlexibleAreaRef expected 1..1 FlexibleAreaRefStructure   FlexibleArea of the FlexibleStopPlace.
FlexibleStopAssignment, ServiceFrame_NETWORK_OFFER Link between ScheduledStopPoint and service area
   

We expect a TypsOfPlace Valueset. It must have two entries: drtCollectionPoint and regularStop.

Table: ValueSet

Sub Element Usage Card Type Description Note
  values expected 0..1 typesOfValue_RelStructure Values in Set.  
+ TypeOfPlace expected 0..* TypeOfPlace_ValueStructure Classification of a PLACE.  
++ Name expected 0..1 MultilingualString Name of TYPE OF VALUE.  
+++ @lang mandatory 1..1 xsd:string Attribute lang  
+++ Text expected 0..* MultilingualString    
++++ @lang mandatory 1..1 xsd:string Attribute lang  

,

Table: ResourceFrame

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  responsibilitySets mandatory 0..1 responsibilitySetsInFrame_RelStructure RESPONSIBILITY SETs used in frame. RESPONSIBILITY SETs contained in RESOURCE FRAME. ResponsibilitySets are used for the cases in which the LegalEntity, the Operator and the organisation selling the tickets are different.
+ ResponsibilitySet mandatory 1..* ResponsibilitySet_VersionStructure A set of responsibility roles assignments that can be associated with a DATA MANAGED OBJECT. A Child ENTITY has the same responsibilities as its parent. Each combination of LegalEntity and Operator needs a ResponsibilitySet.
  typesOfValue mandatory 0..1 typesOfValueInFrame_RelStructure VALUE SETs and TYPE OF VALUEs in frame. Sets of TYPE OF VALUE contained in the RESOURCE FRAME.
+ ValueSet expected 0..* ValueSet_VersionStructure An extensible set of code values which may be added to by user applications and is used to validate the properties of Entities. We need a TypeOfNotice ValueSet.
++ values expected 0..1 typesOfValue_RelStructure Values in Set.  
+++ TypeOfNotice expected 0..* TypeOfNotice_ValueStructure A classification of a NOTICE according to its functional purpose.  
+ ValueSet expected 0..* ValueSet_VersionStructure An extensible set of code values which may be added to by user applications and is used to validate the properties of Entities. We need a TypeOfProductCategory ValueSet
+ ValueSet expected 0..* ValueSet_VersionStructure An extensible set of code values which may be added to by user applications and is used to validate the properties of Entities. We expect a TypsOfPlace Valueset. It must have two entries: drtCollectionPoint and regularStop.
  organisations mandatory 0..1 organisationsInFrame_RelStructure ORGANISATIONs in frame. ORGANISATIONs contained in RESOURCE FRAME. Contains the relevant Operators and other Organisations. We do not use the NeTEx element Authority, thus avoiding the problem of an identical SBOID for Operator and Authority.
+ Operator mandatory 0..* Operator_VersionStructure A company providing public transport services.  
  siteFacilitySets optional 0..1 siteFacilitySetsInFrame_RelStructure SITE FACILITY SETs in frame . +v1.2.2 Depending on the export/import part, there will be SiteFacilitySets to be included or not.
+ SiteFacilitySet optional 1..* SiteFacilitySetStructure Set of enumerated FACILITY values that are relevant to a SITE (names based on TPEG classifications, augmented with UIC etc.).  
  serviceFacilitySets optional 0..1 serviceFacilitySetsInFrame_RelStructure SERVICE FACILITY SETs in frame . +v1.2.2 Depending on the export/import part, there will be ServiceFacilitySets to be included. If there are ServiceJourneys we expect there to be some.
+ ServiceFacilitySet optional 1..* ServiceFacilitySet_VersionStructure Service FACILITY. Set of enumerated FACILITY values (Where available names are based on TPEG classifications, augmented with UIC etc.).  
  vehicleTypes optional 0..1 vehicleTypesInFrame_RelStructure VEHICLE TYPEs in frame. The VehicleType here are used for generic information like lowfloor and not for formation information
+ VehicleType optional 0..* VehicleType_VersionStructure A classification of public transport vehicles according to the vehicle scheduling requirements in mode and capacity (e.g. standard bus, double-deck, …).  
TypesOfPlace, ResourceFrame drtCollectionPoint, regularStop
   

Table: AvailabilityCondition

Sub Element Usage Card Type Description Note
  @id mandatory 1..1 xsd:string Attribute id  
  @version mandatory 1..1 xsd:string Attribute version  
  FromDate optional 0..1 dateTime Start date of AVAILABILITY CONDITION. Is equal to the start date of the timetable year or, more generally, the period in which the ValidDayBits apply.
  ToDate optional 0..1 dateTime End of AVAILABILITY CONDITION. Date is INCLUSIVE. Is equal to the end date of the timetable year or, more generally, the period in which the ValidDayBits apply.
  ValidDayBits mandatory 0..1 normalizedString For UIC style encoding of day types String of bits, one for each day in period: whether valid or not valid on the day. Normally there will be a bit for every day between start and end date. If bit is missing, assume available.  
  timebands optional 0..1 timebands_RelStructure TIME BANDs for AVAILABILITY CONDITION. Can also be referenced
+ Timeband optional 1..* Timeband_VersionedChildStructure A period in a day, significant for some aspect of public transport, e.g. similar traffic conditions or fare category.  
+ TimebandRef optional 1..* TimebandRefStructure Reference to a TIME BAND.  
AvailabilityCondition Timebands (time restriction of type 4)

Table: Examples relevant for DRT

Example Content
04_NeTEx_CH_DRT_Line_50.110 Swiss DRT type 1 (LineType flexible, BusSubmode demandAndResponseBus), BookingArrangement on the Line, one on-demand journey with FlexibleServiceProperties.
05_NeTEx_CH_DRT_Line_Dependent_On_Passengers_At_Start No reservation; passengers can only alight after the first stop (ForBoarding false), Notice. Group reservation as ServiceFacilitySet (reservationsCompulsoryForGroups) and Notice.

Further Swiss DRT examples are in the NeTEx repository under examples/functions/drt/.