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

Enhancement: Further validations for gbfs.json #90

Open
hbruch opened this issue Jun 26, 2024 · 1 comment
Open

Enhancement: Further validations for gbfs.json #90

hbruch opened this issue Jun 26, 2024 · 1 comment

Comments

@hbruch
Copy link
Contributor

hbruch commented Jun 26, 2024

Currently, the gbfs.json file is checked for schema compliance.

In addition to this, I suggest to add the following checks:

  • gbfs.json MUST contain one feed with name system_information (spec says it is system_information is REQUIRED)
  • gbfs.json MUST contain at least one of feed of station_information or vehicle_status. Both files are conditionally required for either dock/dockless systems.
  • IF gbfs.json declares a station_information feed, it MUST also declare a station_status feed
@testower
Copy link
Collaborator

This should be in the json schema

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

2 participants