Skip to content

Conditionally Require Fields in MDS Stops Endpoint Related to Station Based Program/SLA Metrics #934

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

Merged
merged 3 commits into from
Jun 4, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update to Conditionally Required Fields for MDS Stops
Signed-off-by: Michael Schwartz <[email protected]>
  • Loading branch information
mschwartzie authored May 6, 2025
commit 108debd5f4d514d689bb386e8653261dc87c6acf
6 changes: 3 additions & 3 deletions data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@ Stops describe vehicle trip start and end locations in a pre-designated physical
| `post_code` | String | Optional | Postal code (e.g. `10036`) |
| `rental_methods` | [Enum[]][gbfs-station-info] | Optional | List of payment methods accepted at stop, see [GBFS Rental Methods][gbfs-station-info] |
| `cross_street` | String | Optional | Cross street of where the station is located. |
| `num_places_available` | {vehicle_type: number} | Conditionally Required | How many places are free to be populated with vehicles at this stop? Required if the operation has station based availability requirements or service level agreements pertaining to stations.|
| `num_places_disabled` | {vehicle_type: number} | Conditionally Required | How many places are disabled and unable to accept vehicles at this stop? Required if the operation has station based availability requirements or service level agreements pertaining to stations.|
| `num_places_available` | {vehicle_type: number} | Conditionally Required | How many places are free to be populated with vehicles at this stop? Required if the program has station based availability requirements or service level agreements pertaining to stations.|
| `num_places_disabled` | {vehicle_type: number} | Conditionally Required | How many places are disabled and unable to accept vehicles at this stop? Required if the program has station based availability requirements or service level agreements pertaining to stations.|
| `parent_stop` | UUID | Optional | Describe a basic hierarchy of stops (e.g.a stop inside of a greater stop) |
| `devices` | UUID[] | Conditionally Required | List of device_ids for vehicles which are currently at this stop. Required if the operation has station based availability requirements or service level agreements pertaining to stations. |
| `devices` | UUID[] | Conditionally Required | List of device_ids for vehicles which are currently at this stop. Required if the program has station based availability requirements or service level agreements pertaining to stations. |
| `image_url` | URL | Optional | Link to an image, photo, or diagram of the stop. Could be used by providers to help riders find or use the stop. |

[Top][toc]
Expand Down