diff --git a/README.md b/README.md index 028636bf..6c0ade00 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Release Candidates will receive *Current Version* status when they have been ful | Version | Type | Release Date | Status | JSON Schema | Release Notes | |:---:|:-----:|----------------|----------------------------|----------------------------------------------------------------------------------------|---------------------| -| [v3.1-RC3](https://github.com/MobilityData/gbfs/blob/v3.1-RC3/gbfs.md) | MINOR | May 26, 2026 | :white_check_mark: Ready for implementation | [v3.1-RC3 Schema](https://github.com/MobilityData/gbfs-json-schema/tree/master/v3.1-RC3) | [v3.1-RC3 Release Notes](https://github.com/MobilityData/gbfs/releases/tag/v3.1-RC3) | +| [v3.2-RC](https://github.com/MobilityData/gbfs/blob/v3.2-RC/gbfs.md) | MINOR | November 5, 2026 | :white_check_mark: Ready for implementation | forthcoming | [v3.2-RC Release Notes](https://github.com/MobilityData/gbfs/releases/tag/v3.2-RC) | ### Past Version Releases Past versions with *Supported* status MAY be patched to correct bugs or vulnerabilities but new features will not be introduced.
diff --git a/gbfs.md b/gbfs.md index b28e72bc..c832b973 100644 --- a/gbfs.md +++ b/gbfs.md @@ -4,7 +4,7 @@ This document explains the types of files and data that comprise the General Bik ## Reference version -This documentation refers to **v3.1**. +This documentation refers to **v3.2-RC**. For past and upcoming versions see the [README](https://github.com/MobilityData/gbfs/blob/master/README.md#current-version-recommended). @@ -275,7 +275,7 @@ Field Name | REQUIRED | Type | Defines { "last_updated": "2023-07-17T13:34:13+02:00", "ttl": 300, - "version": "3.1", + "version": "3.2-RC", "data": { "name": [ { @@ -306,7 +306,7 @@ Field Name | REQUIRED | Type | Defines { "last_updated": "2023-07-17T13:34:13+02:00", "ttl": 300, - "version": "3.1", + "version": "3.2-RC", "data": { "feeds": [ { @@ -336,13 +336,15 @@ Field Name | REQUIRED | Type | Defines `datasets[].versions` | REQUIRED | Array<Object> | Contains one object for each of the available versions of a feed. The array MUST be sorted by increasing MAJOR and MINOR version number. `datasets[].versions[].version` | REQUIRED | String | The semantic version of the feed in the form `X.Y`. `datasets[].versions[].url` | REQUIRED | URL | URL of the corresponding `gbfs.json` endpoint. +`datasets[].area`
*(added in v3.1-RC)* | OPTIONAL | GeoJSON MultiPolygon | A GeoJSON MultiPolygon that describes the operating area. If `area` is supplied, then the record describes the general operating area of the system for the purpose of discovery. Geographic details of the system's operating restrictions must be explicitly specified using station locations and geofencing zones, where appropriate. +`datasets[].country_code`
*(added in v3.1-RC)* | OPTIONAL | Country Code | The ISO 3166-1 alpha-2 country code of the operating area. The field MUST NOT be specified if the operating area spans multiple countries. **Example:** ```json { "last_updated": "2023-07-17T13:34:13+02:00", "ttl": 300, - "version": "3.1", + "version": "3.2-RC", "data":{ "datasets":[ { @@ -356,7 +358,45 @@ Field Name | REQUIRED | Type | Defines "version": "3.1", "url":"https://berlin.example.com/gbfs/3.1/gbfs" } - ] + ], + "area": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + 13.10821, + 52.58563 + ], + [ + 13.29743, + 52.67046 + ], + [ + 13.48451, + 52.6855 + ], + [ + 13.77993, + 52.43458 + ], + [ + 13.65355, + 52.33048 + ], + [ + 13.08165, + 52.38793 + ], + [ + 13.10821, + 52.58563 + ] + ] + ] + ] + }, + "country_code": "DE" }, { "system_id":"example_paris", @@ -369,7 +409,49 @@ Field Name | REQUIRED | Type | Defines "version": "3.1", "url":"https://paris.example.com/gbfs/3.1/gbfs" } - ] + ], + "area": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + 2.14306, + 48.89971 + ], + [ + 2.36707, + 48.99455 + ], + [ + 2.60219, + 49.01987 + ], + [ + 2.615, + 48.69025 + ], + [ + 2.52167, + 48.6867 + ], + [ + 2.26838, + 48.73275 + ], + [ + 2.13103, + 48.80833 + ], + [ + 2.14306, + 48.89971 + ] + ] + ] + ] + }, + "country_code": "FR" } ] } @@ -393,7 +475,7 @@ Field Name | REQUIRED | Type | Defines { "last_updated": "2023-07-17T13:34:13+02:00", "ttl": 300, - "version": "3.1", + "version": "3.2-RC", "data": { "versions": [ { @@ -458,7 +540,7 @@ Field Name | REQUIRED | Type | Defines { "last_updated": "2023-07-17T13:34:13+02:00", "ttl": 300, - "version": "3.1", + "version": "3.2-RC", "data": { "system_id": "example_cityname", "languages": ["en"], @@ -555,8 +637,9 @@ Field Name | REQUIRED | Type | Defines `vehicle_types[].wheel_count`
*(added in v2.3)* | OPTIONAL | Non-negative Integer | Number of wheels this vehicle type has. `vehicle_types[].max_permitted_speed`
*(added in v2.3)* | OPTIONAL | Non-negative Integer | The maximum speed in kilometers per hour this vehicle is permitted to reach in accordance with local permit and regulations. `vehicle_types[].rated_power`
*(added in v2.3)* | OPTIONAL | Non-negative Integer | The rated power of the motor for this vehicle type in watts. -`vehicle_types[].default_reserve_time`
*(added in v2.3)* | OPTIONAL | Non-negative Integer | Maximum time in minutes that a vehicle can be reserved before a rental begins. When a vehicle is reserved by a user, the vehicle remains locked until the rental begins. During this time the vehicle is unavailable and cannot be reserved or rented by other users. The vehicle status in `vehicle_status.json` MUST be set to `is_reserved = true`. If the value of `default_reserve_time` elapses without a rental beginning, the vehicle status MUST change to `is_reserved = false`. If `default_reserve_time` is set to `0`, the vehicle type cannot be reserved. +`vehicle_types[].default_reserve_time`
*(added in v2.3)* | Conditionally REQUIRED | Non-negative Integer | REQUIRED if `reservation_price_per_min` or `reservation_price_flat_rate` are defined. Maximum time in minutes that a vehicle can be reserved before a rental begins. When a vehicle is reserved by a user, the vehicle remains locked until the rental begins. During this time the vehicle is unavailable and cannot be reserved or rented by other users. The vehicle status in `vehicle_status.json` MUST be set to `is_reserved = true`. If the value of `default_reserve_time` elapses without a rental beginning, the vehicle status MUST change to `is_reserved = false`. If `default_reserve_time` is set to `0`, the vehicle type cannot be reserved. `vehicle_types[].return_constraint`
*(as of v2.3)*| OPTIONAL | Enum | The conditions for returning the vehicle at the end of the rental.

Current valid values are: