public-transport / friendly-public-transport-format

A format for APIs, libraries and datasets containing and working with public transport data.
Creative Commons Attribution Share Alike 4.0 International
125 stars 1 forks source link

make first schedule.sequence departure & last arrival required #11

Closed derhuerst closed 7 years ago

derhuerst commented 7 years ago

It is important to know when a train started at its first station. Therefore, schedule.sequence[0].departure should be required and 0.

It is also important when a train started at its first station. Therefore, schedule.sequence[last].arrival should be required.

I also added notes for schedule.sequence[0].arrival and schedule.sequence[last].departure, because it can be really useful to know when the vehicle enters the track in the beginning (is ready to take passengers) and leaves the track in the end.

Do you think this is too detailed/complicated? Are there any cases in which we don't know the arrival at the last stop?

kiliankoe commented 7 years ago

Just for clarification, are these values time durations in seconds or meant differently?

derhuerst commented 7 years ago

They're relative to the departure at the first stop (this PR doesn't change this). I should probably add that they are in seconds.