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

feature: check vehicle_status for valid vehicle_type_id reference #114

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

hbruch
Copy link
Contributor

@hbruch hbruch commented Jan 3, 2025

This PR implements feature request #113: in case a feed provides vehicle_types.json, vehicle in vehicle_status / free_bike_status must not only declare a vehicle_type_id, but it must also be defined in vehicle_types.json.

Note: it should also be checked, that when vehicle_type_id is declared in vehicle_status / free_bike_status, vehicle_types.json must exist as well, which is not checked yet.

@testower testower merged commit d97b61d into entur:master Jan 6, 2025
2 of 3 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