You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gbfs.md
+80-71Lines changed: 80 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
This document explains the types of files and data that comprise the General Bikeshare Feed Specification (GBFS) and defines the fields used in all of those files.
4
4
5
5
# Reference version
6
-
####This documentation refers to **v2.0 Release**. <br>
6
+
####This documentation refers to **v2.1 Release**. <br>
7
7
For past and upcoming versions see the [README](README.md#read-the-spec--version-history).
8
8
9
9
## Terminology
@@ -336,6 +336,7 @@ Field Name | REQUIRED | Type | Defines
336
336
{
337
337
"last_updated":1611598155,
338
338
"ttl":1800,
339
+
"version":"2.1",
339
340
"data":{
340
341
"phone_number":"1-800-555-1234",
341
342
"name":"Example Ride",
@@ -636,7 +637,7 @@ Field Name | REQUIRED | Type | Defines
636
637
"is_disabled":false,
637
638
"vehicle_type_id":"def456",
638
639
"current_range_meters":6543,
639
-
"station_id":86,
640
+
"station_id":"86",
640
641
"pricing_plan_id":"plan3"
641
642
}
642
643
]
@@ -705,6 +706,7 @@ Field Name | REQUIRED | Type | Defines
705
706
{
706
707
"last_updated":1604333830,
707
708
"ttl":86400,
709
+
"version":"2.1",
708
710
"data":{
709
711
"calendars":[
710
712
{
@@ -734,6 +736,7 @@ Field Name | REQUIRED | Type | Defines
734
736
{
735
737
"last_updated":1604332380,
736
738
"ttl":86400,
739
+
"version":"2.1",
737
740
"data":{
738
741
"regions":[
739
742
{
@@ -795,6 +798,7 @@ Field Name | REQUIRED | Type | Defines
795
798
{
796
799
"last_updated":1604198100,
797
800
"ttl":60,
801
+
"version":"2.1",
798
802
"data":{
799
803
"alerts":[
800
804
{
@@ -807,8 +811,8 @@ Field Name | REQUIRED | Type | Defines
807
811
],
808
812
"times":[
809
813
{
810
-
"start":"1604448000",
811
-
"end":"1604674800"
814
+
"start":1604448000,
815
+
"end":1604674800
812
816
}
813
817
],
814
818
"url":"https://example.com/more-info",
@@ -846,83 +850,88 @@ Field Name | REQUIRED | Type | Defines
0 commit comments