Skip to content

chore: update gbfs-json-schema submodule to v4.4.1 - #225

Merged
davidgamez merged 2 commits into
MobilityData:masterfrom
brevitywithorion:update-gbfs-json-schema-4.4.1
Nov 30, 2026
Merged

davidgamez merged 2 commits into
MobilityData:masterfrom
brevitywithorion:update-gbfs-json-schema-4.4.1

Conversation

@brevitywithorion

Copy link
Copy Markdown
Contributor

Updates the gbfs-json-schema submodule from 916327f to v4.4.1 (01d4cb4), which adds DL-DE-ZERO-2.0 as a valid license_id.

Changes:

  • Submodule pointer moved to v4.4.1.
  • New v3.0 test: a feed with license_id: DL-DE-ZERO-2.0 validates with no errors (it fails with an enum error on the old schema).
  • required default_reserve_time on reservation price existing v3.1-RC3: errorsCount 4 → 20. The original four errors are unchanged; the extra 16 come from the v4.4.0 gbfs.json feed-presence rules included in this tag (that fixture lists station_information without station_status or vehicle_status).

Testing: yarn test in gbfs-validator/ on Node 24.22.3 — 4 suites, 34 tests, 7 snapshots pass.

Closes #221

@netlify

netlify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

👷 Deploy request for gbfs-validator pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 290f95c

@CLAassistant

CLAassistant commented Nov 26, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@richfab

richfab commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Hello @brevitywithorion,

Thank you for your contribution!

The MobilityData team will review it. Please note that it could take some time.

Thank you for understanding.

Best regards,
Fabien (MobilityData)

@davidgamez
davidgamez self-requested a review November 27, 2026 14:35

@davidgamez davidgamez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi @brevitywithorion, thanks for you time and contributions. Two suggestions before approval:

  • Consider swapping station_information for a served vehicle_status in the conditional_default_reserve_time fixture. Tested locally: errorsCount goes back to 4 and the test also covers vehicle_status.
  • It might be worth adding a v3.1-RC3 test whose gbfs.json lists station_information without station_status or vehicle_status, asserting errors at /data/feeds for allOf/0/anyOf and allOf/1/then/contains.

…g status feeds

- Serve vehicle_status instead of station_information in the
  conditional_default_reserve_time fixture (errorsCount back to 4).
- Add a v3.1-RC3 test where gbfs.json lists station_information without
  station_status or vehicle_status, asserting /data/feeds errors for
  allOf/0/anyOf and allOf/1/then/contains.
@brevitywithorion
brevitywithorion force-pushed the update-gbfs-json-schema-4.4.1 branch from 79bd9ea to 290f95c Compare November 30, 2026 04:38

@davidgamez davidgamez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@davidgamez
davidgamez merged commit 8776914 into MobilityData:master Nov 30, 2026
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.

Update the gbfs-json-schema submodule to v4.4.1

4 participants