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

Implement Fares v1 #157

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Implement Fares v1 #157

merged 1 commit into from
Feb 9, 2024

Conversation

antoine-de
Copy link
Collaborator

Implement Fares v1 as defined in https://gtfs.org/schedule/reference/#fare_attributestxt

There was already a FareAttribute, but no matching FareRule, so this adds FareRule.

Fare v2 can also be implemented later if needed.

I did not try to be clever in the final Gtfs modelization as it is not really needed for now, but maybe later we'll need to change the model a bit.

needed by etalab/transport-validator#192

Implement Fares v1 as defined in https://gtfs.org/schedule/reference/#fare_attributestxt

There was already a FareAttribute, but no matching FareRule, so this
adds FareRule.

Fare v2 can also be implemented later if needed.

I did not try to be clever in the final `Gtfs` modelization as it is not
really needed for now, but maybe later we'll need to change the model a
bit.
@antoine-de antoine-de merged commit 9d3169a into rust-transit:main Feb 9, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants