MobilityData / gbfs-validator

The canonical GBFS validator. Maintained by the GBFS community, facilitated by MobilityData.
https://gbfs-validator.mobilitydata.org/
Apache License 2.0
18 stars 12 forks source link

Write a custom rule to check conditional requirement of vehicle_types.json file presence #54

Closed isabelle-dr closed 2 years ago

isabelle-dr commented 2 years ago

The GBFS specification mentions the following in the vehicle_types.json file:

REQUIRED of systems that include information about vehicle types in the free_bike_status file. If this file is not included, then all vehicles in the feed are assumed to be non-motorized bicycles. This file SHOULD be published by systems offering multiple vehicle types for rental, for example pedal bikes and bikes.

A custom rule should be written to include this rule in the validator.

The additional context in:

isabelle-dr commented 2 years ago

@PierrickP your ideas are welcome here :)

isabelle-dr commented 2 years ago

Closing, solved in #63