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

Validate uniqueness of values in Arrays of IDs #159

Closed richfab closed 9 months ago

richfab commented 9 months ago

JSON Schema sync after https://github.com/MobilityData/gbfs-json-schema/pull/102

Example of vehicle_types.json file with with duplicate ids in the field vehicle_types.pricing_plan_ids:

"pricing_plan_ids": ["1-standard", "1-standard"]
Before After
image image
netlify[bot] commented 9 months ago

Deploy Preview for gbfs-validator ready!

Name Link
Latest commit d4ad2e260e1c223b052cf8aec38bc854de360948
Latest deploy log https://app.netlify.com/sites/gbfs-validator/deploys/655e341d5932c20008a31679
Deploy Preview https://deploy-preview-159--gbfs-validator.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

richfab commented 9 months ago

The JSON Schema change was reverted in https://github.com/MobilityData/gbfs-json-schema/pull/104 since this is a best practice, not explicitly written in the specs.

Closing this PR for now.