Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arrival_time and departure_time should be optional #10

Open
medwards opened this issue Dec 15, 2017 · 0 comments
Open

arrival_time and departure_time should be optional #10

medwards opened this issue Dec 15, 2017 · 0 comments

Comments

@medwards
Copy link
Collaborator

According to the spec if a stop_time is Timepoint::Approximate then arrival/departure_time doesn't have to be present (it's up to the consumer to interpolate the times).

If the timepoint column isn't present at all then technically I think that at least the first and last stop_time of trip must have times but this seems like too much validation at this point on basic transit structs (maybe when Runs are introduced).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant