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

Add support for v3.0 conditionally required fields #92

Open josee-sabourin opened 1 year ago

josee-sabourin commented 1 year ago

New conditional requirement added here for default_reserve_time in vehicle_types.json that is not supported by the schema:

REQUIRED if reservation_price_per_min or reservation_price_flat_rate are defined.

Thanks @isabelle-dr for flagging.