Conditionally require fields for MDS Stops #929
Labels
minor update
A change that is minor and should require little discussion, or is a maintenance/readme/typo update.
Provider
Specific to the Provider API
Milestone
Is your feature request related to a problem? Please describe.
In trying to use the stops endpoint to support cities in monitoring SLAs related to docked bikeshare, there are needed/useful fields listed as optional in the spec. In particular:
num_places_available
ornum_places_disabled
are needed in order to understand how many docks are empty and available for use.devices
would be helpful for being able to look back historically in the event of data interruptions. This will also allow for looking at specific vehicles at the station sincenum_vehicles_available
andnum_vehicles_disabled
do not include a propulsion type in the response so unable to differentiate for example an ebike from a classic pedal bike.Describe the solution you'd like
Make
num_places_available
conditionally required, matching the GBFS spec.Make
devices
conditionally required.Optional: make
num_places_disabled
conditionally required. This field can be derived ifnum_places_available
is already included.M
Is this a breaking change
Impacted Spec
For which spec is this feature being requested?
provider
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: