Sub Element Usage Card Type Description Note
+ validityConditions expected 1..1 unknown   Used to specify a set of temporal conditions that can be associated with the TemplateServiceJourney, for example that the corresponding journey only applies on particular days of a period (indicated by ValidDayBits, “Verkehrstagebitfeld”).
++ AvailabilityCondition mandatory 1..1 unknown   More spacific requirements than standard AvailabilityCondition. Only a single occurence is allowed. The following elements are mandatory here, any other elements of AvailabilityCondition are not allowed or will be ignored.
+ keyList mandatory 1..1 unknown   Key list for the repeating journeys. Contains the SJYID.
++ KeyValue mandatory 1..1 unknown   A KeyValue pair with the key SJYID must exist. The Value contains a valid Swiss Journey ID.
+++ Key mandatory 1..1 unknown    
+++ Value mandatory 1..1 unknown    
+ privateCodes expected 1..1 unknown   Replaces the single PrivateCode.
++ PrivateCode expected 1..1 unknown    
+ TransportMode optional 1..1 unknown    
+ TypeOfProductCategoryRef expected 1..1 unknown    
+ TypeOfServiceRef optional 1..1 unknown    
+ noticeAssignments optional 1..1 unknown   The complete set of all applicable notices. Attention: Notices may be restricted to a given set of stops.
++ NoticeAssignment optional 1..1 unknown    
+ occupancies optional 1..1 unknown    
++ OccupancyView optional 1..1 unknown    
+ ServiceAlteration mandatory 1..1 unknown   Only the value planned is allowed.
+ DepartureTime optional 1..1 unknown   Departure of the first journey.
+ DepartureDayOffset optional 1..1 unknown   DayOffset if relevant.
+ LineRef mandatory 1..1 unknown    
+ DirectionType optional 1..1 unknown   Allowed are: inbound, outbound
+ trainNumbers mandatory 1..1 unknown    
++ TrainNumberRef mandatory 1..1 unknown    
+ Destination expected 1..1 unknown    
+ parts optional 1..1 unknown   For some use cases e.g. change of Facilities during ServiceJourney
++ JourneyPartRef expected 1..1 unknown    
+ TemplateVehicleJourneyType expected 1..1 unknown    
+ frequencyGroups mandatory 1..1 unknown   We strictly map one frequency to the TemplateServiceJourney.
++ HeadwayJourneyGroup mandatory 1..1 unknown    
+++ ScheduledHeadwayInterval mandatory 1..1 unknown    
+++ HeadwayDisplay optional 1..1 unknown   Allowed values: displayPassingTimesOnly displayInsteadOfPassingTimes displayAsWellAsPassingTimes. We only export displayPassingTimesOnly.