A General Bikeshare Feed Specification dataset validator
The Canonical GBFS Validator is a tool to check the conformity of a GBFS feed against the official specification. It validates feeds up to version 2.2. This tool is built using the JSON Schemas.
Currently, the schemas are reproduced per folder in gbfs-validator/tree/master/gbfs-validator/schema.
Questions? Please open an issue or reach out to MobilityData on the GBFS slack channel!
The validator is developed to be used “online” (hosted with a lambda function).
- Open gbfs-validator.netlify.com/
- Enter the feed’s auto-discovery URL
- If needed, select the version. If not specified, the validator will pick the version mentioned in the
gbfs.json
file - Select file requirement options (free-floating or docked)
- Click the “Valid me” button, and see the validation results below
The validation rules are listed in RULES.md Have a suggestion for a new rule? Open an issue!
We welcome contributions to the project! Please check out our Contribution guidelines for details.
To build the project locally, you need
We recommend you to use NVM
You should use v12.x.x
of Node.js, or higher. We recommend v14.x.x
.
git clone https://github.com/fluctuo/gbfs-validator.git
cd gbfs-validator
With Node.js
yarn
yarn start
Open localhost:8080
on your browser
This project was originally created by Pierrick Paul at fluctuo - MobilityData started maintaining the project in September 2021.