Open ue71603 opened 1 week ago
is it a delay for all ServiceJourneys of the calendar, or just on a specific (operational) day ?
The CheckConstraint does not really express a delay, but it's usually indicating that you need to be at the stop in advance in order to have sufficient time to cross the check
It is a delay on a ServiceJourney (for the given Availabilitycondition). E.g. the we have a TRAIN NUMBER 1234. During July thereis construction, so we get two SERVICE JOURNEY:
It is clear that this is not the idea of CheckConstraint. But there is no other mechanism in NeTEx. How would you do it?
I recognise that it is not obvious I would create a SJ1.1 for the dedicated period, and add a dedicated Description and maybe an assigned Notice (where you can mention and explain the delay) and of course updated passing times. SJ1.1 can also be linked to SJ1 using derivedFromObjectRef, and a version o SJ1 can have a ServiceAlteration=replaced
I guess that, even if in your example it is a delay, it is more a service reorganisation due to the construction/works and it may also be early, or cancelled stops, etc. or a mix of all
<ServiceJourney id="444" version="1">
<AvailabilityCondition id="allYear"/>
< TrainNumber>444</TrainNumber>
</ServieJourney>
planned delay for July
<ServiceJourney id="444-1" version="1">
<AvailabilityCondition id="allYearexceptJuly"/>
< TrainNumber>444</TrainNumber>
</ServieJourney>
<ServiceJourney id="444-2" version="1">
<AvailabilityCondition id="July"/>
< TrainNumber>444</TrainNumber>
<ServiceAlteration>replaced</ServiceAlteration>
</ServieJourney>
<ServiceJourney id="444-2a" version="2">
<AvailabilityCondition id="July"/>
< TrainNumber>444</TrainNumber>
<derivedFromObjectRef ref="444-2" version="1"/>
</ServieJourney>
yes, something like that (note that derivedFromObjectRef is an attribute) ... I guess the the Description/Notice is also important for passenger information
Also I see a risk that a journey planner dos not managed the
I think your use case are sinilar to what we use datedServiceJourney for, where we also can manage the links between multippel replacement buses to a previous planned train.
In some timetables with already know that there will be a probable delay (e.g. due to construction). We would prefer not to change the arrival and departure time (Arrival/Time and Departure/Time). We were thinking about using CheckConstraints also for that.
However, it seems we don't a CheckProcess or CheckService that reflects that.
We could use CheckProcess=none or other.
Questions: