Skip to content

Commit

Permalink
v2.3 (#72)
Browse files Browse the repository at this point in the history
* Add v2.3

* Remove v2.3-RC2 files
  • Loading branch information
testower authored Apr 13, 2022
1 parent 5e02044 commit 2cc87f0
Show file tree
Hide file tree
Showing 13 changed files with 44 additions and 44 deletions.
8 changes: 4 additions & 4 deletions v2.3-RC2/free_bike_status.json → v2.3/free_bike_status.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id":
"https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#free_bike_statusjson",
"https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#free_bike_statusjson",
"description":
"Describes the vehicles that are available for rent (as of v2.1-RC2).",
"type": "object",
Expand All @@ -22,7 +22,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description":
Expand Down Expand Up @@ -111,14 +111,14 @@
"type": "string"
},
"vehicle_equipment": {
"description": "List of vehicle equipment provided by the operator in addition to the accessories already provided in the vehicle. Added in v2.3-RC2.",
"description": "List of vehicle equipment provided by the operator in addition to the accessories already provided in the vehicle. Added in v2.3.",
"type": "array",
"items": {
"enum": ["child_seat_a", "child_seat_b", "child_seat_c", "winter_tires", "snow_chains"]
}
},
"available_until": {
"description": "The date and time when any rental of the vehicle must be completed. Added in v2.3-RC2.",
"description": "The date and time when any rental of the vehicle must be completed. Added in v2.3.",
"type": "string",
"pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})([A-Z])$"
}
Expand Down
4 changes: 2 additions & 2 deletions v2.3-RC2/gbfs.json → v2.3/gbfs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#gbfsjson",
"$id": "https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#gbfsjson",
"description":
"Auto-discovery file that links to all of the other files published by the system.",
"type": "object",
Expand All @@ -21,7 +21,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description": "Response data in the form of name:value pairs.",
Expand Down
4 changes: 2 additions & 2 deletions v2.3-RC2/gbfs_versions.json → v2.3/gbfs_versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id":
"https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#gbfs_versionsjson-added-in-v11",
"https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#gbfs_versionsjson-added-in-v11",
"description":
"Lists all feed endpoints published according to version sof the GBFS documentation. (added in v1.1)",
"type": "object",
Expand All @@ -22,7 +22,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework.",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description": "Response data in the form of name:value pairs.",
Expand Down
4 changes: 2 additions & 2 deletions v2.3-RC2/geofencing_zones.json → v2.3/geofencing_zones.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id":
"https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#geofencing_zonesjson",
"https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#geofencing_zonesjson",
"description":
"Describes geofencing zones and their associated rules and attributes (added in v2.1-RC).",
"type": "object",
Expand All @@ -20,7 +20,7 @@
"version": {
"description": "GBFS version number to which the feed conforms, according to the versioning framework.",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description": "Array that contains geofencing information for the system.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id":
"https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#station_informationjson",
"https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#station_informationjson",
"description":
"Details including system operator, system location, year implemented, URL, contact info, time zone.",
"type": "object",
Expand All @@ -22,7 +22,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description":
Expand Down Expand Up @@ -129,7 +129,7 @@
}
},
"parking_type": {
"description": "Type of parking station. Added in v2.3-RC2",
"description": "Type of parking station. Added in v2.3",
"type": "string",
"enum": [
"parking_lot",
Expand All @@ -140,11 +140,11 @@
]
},
"parking_hoop": {
"description": "Are parking hoops present at this station? Added in v2.3-RC2",
"description": "Are parking hoops present at this station? Added in v2.3",
"type": "boolean"
},
"contact_phone": {
"description": "Contact phone of the station. Added in v2.3-RC2",
"description": "Contact phone of the station. Added in v2.3",
"type": "string"
},
"capacity": {
Expand Down
4 changes: 2 additions & 2 deletions v2.3-RC2/station_status.json → v2.3/station_status.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#station_statusjson",
"$id": "https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#station_statusjson",
"description":
"Describes the capacity and rental availability of the station",
"type": "object",
Expand All @@ -21,7 +21,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description":
Expand Down
4 changes: 2 additions & 2 deletions v2.3-RC2/system_alerts.json → v2.3/system_alerts.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#system_alertsjson",
"$id": "https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#system_alertsjson",
"description": "Describes ad-hoc changes to the system.",
"type": "object",
"properties": {
Expand All @@ -20,7 +20,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description": "Array that contains ad-hoc alerts for the system.",
Expand Down
4 changes: 2 additions & 2 deletions v2.3-RC2/system_calendar.json → v2.3/system_calendar.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id":
"https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#system_calendarjson",
"https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#system_calendarjson",
"description": "Describes the operating calendar for a system.",
"type": "object",
"properties": {
Expand All @@ -21,7 +21,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description": "Array that contains opertions calendar for the system.",
Expand Down
4 changes: 2 additions & 2 deletions v2.3-RC2/system_hours.json → v2.3/system_hours.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#system_hoursjson",
"$id": "https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#system_hoursjson",
"description": "Describes the system hours of operation.",
"type": "object",
"properties": {
Expand All @@ -20,7 +20,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description": "Array that contains system hours of operations.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id":
"https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#system_informationjson",
"https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#system_informationjson",
"description":
"Details including system operator, system location, year implemented, URL, contact info, time zone.",
"type": "object",
Expand All @@ -22,7 +22,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description": "Response data in the form of name:value pairs.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id":
"https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#system_pricing_plansjson",
"https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#system_pricing_plansjson",
"description": "Describes the pricing schemes of the system.",
"type": "object",
"properties": {
Expand All @@ -21,7 +21,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description":
Expand Down
4 changes: 2 additions & 2 deletions v2.3-RC2/system_regions.json → v2.3/system_regions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#system_regionsjson",
"$id": "https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#system_regionsjson",
"description":
"Describes regions for a system that is broken up by geographic or political region.",
"type": "object",
Expand All @@ -21,7 +21,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description": "Describe regions for a system that is broken up by geographic or political region.",
Expand Down
30 changes: 15 additions & 15 deletions v2.3-RC2/vehicle_types.json → v2.3/vehicle_types.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id":
"https://github.com/NABSA/gbfs/blob/v2.3-RC2/gbfs.md#vehicle_typesjson-added-in-v21-rc",
"https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#vehicle_typesjson-added-in-v21-rc",
"description":
"Describes the types of vehicles that System operator has available for rent (added in v2.1-RC).",
"type": "object",
Expand All @@ -22,7 +22,7 @@
"description":
"GBFS version number to which the feed conforms, according to the versioning framework.",
"type": "string",
"const": "2.3-RC2"
"const": "2.3"
},
"data": {
"description": "Response data in the form of name:value pairs.",
Expand Down Expand Up @@ -61,23 +61,23 @@
},

"propulsion_type": {
"description": "The primary propulsion type of the vehicle. Updated in v2.3-RC2 to represent car-sharing",
"description": "The primary propulsion type of the vehicle. Updated in v2.3 to represent car-sharing",
"type": "string",
"enum": ["human", "electric_assist", "electric", "combustion", "combustion_diesel", "hybrid", "plug_in_hybrid", "hydrogen_fuel_cell"]
},
"eco_label": {
"description": "Vehicle air quality certificate. added in v2.3-RC2.",
"description": "Vehicle air quality certificate. added in v2.3.",
"type": "array",
"items": {
"type": "object",
"properties": {
"country_code": {
"description": " Country code following the ISO 3166-1 alpha-2 notation. Added in v2.3-RC2.",
"description": " Country code following the ISO 3166-1 alpha-2 notation. Added in v2.3.",
"type": "string",
"pattern": "^[A-Z]{2}"
},
"eco_sticker": {
"description": " Name of the eco label. Added in v2.3-RC2.",
"description": " Name of the eco label. Added in v2.3.",
"type": "string"
}
}
Expand All @@ -102,39 +102,39 @@
}
},
"g_CO2_km": {
"description": "Maximum quantity of CO2, in grams, emitted per kilometer, according to the WLTP. Added in v2.3-RC2",
"description": "Maximum quantity of CO2, in grams, emitted per kilometer, according to the WLTP. Added in v2.3",
"type": "integer",
"minimum": 0
},
"vehicle_image": {
"description": "URL to an image that would assist the user in identifying the vehicle. JPEG or PNG. Added in v2.3-RC2",
"description": "URL to an image that would assist the user in identifying the vehicle. JPEG or PNG. Added in v2.3",
"type": "string",
"format": "uri"
},
"make": {
"description": "The name of the vehicle manufacturer. Added in v2.3-RC2",
"description": "The name of the vehicle manufacturer. Added in v2.3",
"type": "string"
},
"model": {
"description": "The name of the vehicle model. Added in v2.3-RC2",
"description": "The name of the vehicle model. Added in v2.3",
"type": "string"
},
"color": {
"description": "The color of the vehicle. Added in v2.3-RC2",
"description": "The color of the vehicle. Added in v2.3",
"type": "string"
},
"wheel_count": {
"description": "Number of wheels this vehicle type has. Added in v2.3-RC2",
"description": "Number of wheels this vehicle type has. Added in v2.3",
"type": "integer",
"minimum": 0
},
"max_permitted_speed": {
"description": "The maximum speed in kilometers per hour this vehicle is permitted to reach in accordance with local permit and regulations. Added in v2.3-RC2",
"description": "The maximum speed in kilometers per hour this vehicle is permitted to reach in accordance with local permit and regulations. Added in v2.3",
"type": "integer",
"minimum": 0
},
"rated_power": {
"description": "The rated power of the motor for this vehicle type in watts. Added in v2.3-RC2",
"description": "The rated power of the motor for this vehicle type in watts. Added in v2.3",
"type": "integer",
"minimum": 0
},
Expand All @@ -144,7 +144,7 @@
"minimum": 0
},
"return_constraint": {
"description": "The conditions for returning the vehicle at the end of the trip. Added in v2.3-RC as return_type, and updated to return_constraint in v2.3-RC2.",
"description": "The conditions for returning the vehicle at the end of the trip. Added in v2.3-RC as return_type, and updated to return_constraint in v2.3.",
"type": "string",
"enum": ["free_floating", "roundtrip_station", "any_station", "hybrid"]
},
Expand Down

0 comments on commit 2cc87f0

Please sign in to comment.