Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update schema id URL from NABSA to MobilityData repo #101

Closed
2 of 3 tasks
richfab opened this issue Nov 14, 2023 · 0 comments · Fixed by #103 or MobilityData/gbfs-validator#158
Closed
2 of 3 tasks

Update schema id URL from NABSA to MobilityData repo #101

richfab opened this issue Nov 14, 2023 · 0 comments · Fixed by #103 or MobilityData/gbfs-validator#158
Assignees

Comments

@richfab
Copy link
Contributor

richfab commented Nov 14, 2023

  • The schema $id URLs should be updated from NABSA to MobilityData repo.

Example in https://github.com/MobilityData/gbfs-json-schema/blob/master/v3.0-RC/gbfs.json#L3:

Before After
"$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#gbfsjson" "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#gbfsjson"
  • At the same time, we should remove the release annotations from the URLs as they break the anchor.

Example in https://github.com/MobilityData/gbfs-json-schema/blob/master/v3.0-RC/vehicle_types.json#L4:

Before After
"$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#vehicle_typesjson-added-in-v21-rc", "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#vehicle_typesjson"-added-in-v21-rc,
Before After
$ref: 'https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#station_statusjson' $ref: 'https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#station_statusjson'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant