fchabouis / gbfs-validator

A GBFS feed validator

Home Page:https://gbfs-validator.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GBFS-validator

A General Bikeshare Feed Specification dataset validator

Introduction

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.

interface

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!

Run the app

The validator is developed to be used “online” (hosted with a lambda function).

  1. Open gbfs-validator.netlify.com/
  2. Enter the feed’s auto-discovery URL
  3. If needed, select the version. If not specified, the validator will pick the version mentioned in the gbfs.json file
  4. Select file requirement options (free-floating or docked)
  5. Click the “Valid me” button, and see the validation results below

Validation rules

The validation rules are listed in RULES.md Have a suggestion for a new rule? Open an issue!

Contributing

We welcome contributions to the project! Please check out our Contribution guidelines for details.

Build the project: Web server install procedure

Required

To build the project locally, you need

  • Node.js + Yarn

  • Ports 8080, 9000 and 9229 need to be free

Node.js

We recommand you to use NVM

You should use v12.x.x of Node.js, or higher. We recomend v14.x.x.

Clone the repository

git clone https://github.com/fluctuo/gbfs-validator.git
cd gbfs-validator

Run dev environnement

With Node.js

yarn
yarn start

Open localhost:8080 on your browser

Acknowledgements

This project was originally created by Pierrick Paul at fluctuo - MobilityData started maintaining the project in September 2021.

About

A GBFS feed validator

https://gbfs-validator.netlify.com/

License:Apache License 2.0


Languages

Language:JavaScript 71.0%Language:Vue 26.1%Language:HTML 2.8%