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 GBFS version 2.3-RC. This tool is built using the JSON Schemas, and the site is powered by Netlify.
The schemas on versions/schemas is a git subtree of https://github.com/MobilityData/gbfs-json-schema. See README.md on versions for more details
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.jsonfile - 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-validatorWith Node.js
yarn
yarn startOpen localhost:8080 on your browser
This project was originally created by Pierrick Paul at fluctuo - MobilityData started maintaining the project in September 2021.
