Skip to content

Mismatch rental_apps OPTIONAL vs CONDITIONALLY REQUIRED #193

@hbruch

Description

@hbruch

What is the issue and why is it an issue

GBFSv2.3 as well as GBFS3.0 declare system_information.rental_apps as optional.

In contrast, the gbfs-json-schema instead deems it required in case the feeds contain rental_uris, as @testower pointed out to me in a private conversation. An example can currently be seen here in this example.

Please describe some potential solutions you have considered (even if they aren’t related to GBFS).

I suggest to declare rental_apps, rental_apps.android and rental_apps.ios explicitly CONDITIONALLY REQUIRED in the spec.

Is your potential solution a breaking change?

  • Yes
  • No
  • Unsure

As the gbfs-json-schema is already stricter than the spec, I don't expect serious effects, but others may see this differently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions