From 4fb02721ceefa9e406cdf5fc12b7b14df518be51 Mon Sep 17 00:00:00 2001 From: albloptor Date: Sat, 21 Apr 2018 12:36:12 +0100 Subject: [PATCH] Add new fields to station_status.json Add "num_usable_bikes" and "num_usable_spaces" to station_status.json --- gbfs.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gbfs.md b/gbfs.md index 4b613999..23f83480 100644 --- a/gbfs.md +++ b/gbfs.md @@ -198,6 +198,8 @@ Field Name | Required | Defines --------------------- | ----------| ---------- stations | Yes | Array that contains one object per station in the system as defined below \- station_id | Yes | Unique identifier of a station (see station_information.json) +\- num_usable_bikes | Yes | Number of usable bikes at the station. A bike is usable if it's not broken and could be rented if `is_renting` was true. +\- num_usable_spaces | Yes | Number of usable docks at the station. A dock is usable if it's not broken and could receive bikes if `is_returning` was true. \- num_bikes_available | Yes | Number of bikes available for rental \- num_bikes_disabled | Optional | Number of disabled bikes at the station. Vendors who do not want to publicize the number of disabled bikes or docks in their system can opt to omit station capacity (in station_information), num_bikes_disabled and num_docks_disabled. If station capacity is published then broken docks/bikes can be inferred (though not specifically whether the decreased capacity is a broken bike or dock) \- num_docks_available | Yes | Number of docks accepting bike returns