Skip to content

Replace required with boolean (invalid) to array#92

Merged
richfab merged 2 commits intoMobilityData:masterfrom
fluctuo:fix/gbfs-required-array
Jul 7, 2023
Merged

Replace required with boolean (invalid) to array#92
richfab merged 2 commits intoMobilityData:masterfrom
fluctuo:fix/gbfs-required-array

Conversation

@PierrickP
Copy link
Contributor

This would correct validate https://data-sharing.tier-services.io/tier_paris/gbfs/3.0 as invalid
image

As additional properties are not forbidden, en was accepted.
This PR correctly require feeds to be required

Signed-off-by: Pierrick <mulotmail@gmail.com>
Copy link
Contributor

@richfab richfab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you @PierrickP!

I added a suggestion on v3.0-RC/gbfs.json.

Co-authored-by: Fabien Richard-Allouard <fabien@mobilitydata.org>
Copy link
Contributor

@richfab richfab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Merging now!

Thank you @PierrickP!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants