NeTEx icon indicating copy to clipboard operation
NeTEx copied to clipboard

DatedServiceJourney should get a DepartureDate

Open skinkie opened this issue 1 year ago • 3 comments

I think DatedServiceJourney is missing a plain DepartureDate, it instead has an OperatingDayRef and UicOperatingPeriod, I think it should just have a plain XsDate as option.

skinkie avatar Jun 11 '24 14:06 skinkie

No, it must be an OperatingDay. That is very basic behaviour in DATED VEHICLE JOURNEY. Even when it causes some problem. It is perhaps a bad idea to call it OperatingDayRef, but it always are OPERATING DAYs.

ue71603 avatar Jun 21 '24 22:06 ue71603

OperatingDayView is fine for me me too, but currently we only have an OperatingDayRef, hence a specific DatedServiceJourney cannot exists on its own, which is a problem.

skinkie avatar Jun 21 '24 23:06 skinkie

Can OperatingDayView can be a solution ?

Aurige avatar Jun 26 '24 13:06 Aurige

I analysed it some more. The OperartingDayRef is considered mandatory for everything generated newly. I think we should change the cardinality now to that. Also adding the OperatingDayView here, would be a strange use in DatedVehicleJourneyReferencesGroup. It did it, so we now might discuss (but I hate it that some unprepared stuff has to be done into a PR and the discussions start, that should have been done before.

ue71603 avatar Nov 30 '24 13:11 ue71603