From 2cc87f07b8dcdb8a930e0fed6df267c0a3181a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Erik=20St=C3=B8wer?= Date: Wed, 13 Apr 2022 15:47:11 +0200 Subject: [PATCH] v2.3 (#72) * Add v2.3 * Remove v2.3-RC2 files --- {v2.3-RC2 => v2.3}/free_bike_status.json | 8 +++--- {v2.3-RC2 => v2.3}/gbfs.json | 4 +-- {v2.3-RC2 => v2.3}/gbfs_versions.json | 4 +-- {v2.3-RC2 => v2.3}/geofencing_zones.json | 4 +-- {v2.3-RC2 => v2.3}/station_information.json | 10 +++---- {v2.3-RC2 => v2.3}/station_status.json | 4 +-- {v2.3-RC2 => v2.3}/system_alerts.json | 4 +-- {v2.3-RC2 => v2.3}/system_calendar.json | 4 +-- {v2.3-RC2 => v2.3}/system_hours.json | 4 +-- {v2.3-RC2 => v2.3}/system_information.json | 4 +-- {v2.3-RC2 => v2.3}/system_pricing_plans.json | 4 +-- {v2.3-RC2 => v2.3}/system_regions.json | 4 +-- {v2.3-RC2 => v2.3}/vehicle_types.json | 30 ++++++++++---------- 13 files changed, 44 insertions(+), 44 deletions(-) rename {v2.3-RC2 => v2.3}/free_bike_status.json (96%) rename {v2.3-RC2 => v2.3}/gbfs.json (96%) rename {v2.3-RC2 => v2.3}/gbfs_versions.json (94%) rename {v2.3-RC2 => v2.3}/geofencing_zones.json (98%) rename {v2.3-RC2 => v2.3}/station_information.json (97%) rename {v2.3-RC2 => v2.3}/station_status.json (98%) rename {v2.3-RC2 => v2.3}/system_alerts.json (97%) rename {v2.3-RC2 => v2.3}/system_calendar.json (95%) rename {v2.3-RC2 => v2.3}/system_hours.json (96%) rename {v2.3-RC2 => v2.3}/system_information.json (98%) rename {v2.3-RC2 => v2.3}/system_pricing_plans.json (98%) rename {v2.3-RC2 => v2.3}/system_regions.json (93%) rename {v2.3-RC2 => v2.3}/vehicle_types.json (93%) diff --git a/v2.3-RC2/free_bike_status.json b/v2.3/free_bike_status.json similarity index 96% rename from v2.3-RC2/free_bike_status.json rename to v2.3/free_bike_status.json index 8c246348..d094f997 100644 --- a/v2.3-RC2/free_bike_status.json +++ b/v2.3/free_bike_status.json @@ -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", @@ -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": @@ -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])$" } diff --git a/v2.3-RC2/gbfs.json b/v2.3/gbfs.json similarity index 96% rename from v2.3-RC2/gbfs.json rename to v2.3/gbfs.json index 209001a8..31cb1ca5 100644 --- a/v2.3-RC2/gbfs.json +++ b/v2.3/gbfs.json @@ -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", @@ -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.", diff --git a/v2.3-RC2/gbfs_versions.json b/v2.3/gbfs_versions.json similarity index 94% rename from v2.3-RC2/gbfs_versions.json rename to v2.3/gbfs_versions.json index bac93ea9..e8e434b0 100644 --- a/v2.3-RC2/gbfs_versions.json +++ b/v2.3/gbfs_versions.json @@ -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", @@ -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.", diff --git a/v2.3-RC2/geofencing_zones.json b/v2.3/geofencing_zones.json similarity index 98% rename from v2.3-RC2/geofencing_zones.json rename to v2.3/geofencing_zones.json index 3948062c..7cdedd2d 100644 --- a/v2.3-RC2/geofencing_zones.json +++ b/v2.3/geofencing_zones.json @@ -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", @@ -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.", diff --git a/v2.3-RC2/station_information.json b/v2.3/station_information.json similarity index 97% rename from v2.3-RC2/station_information.json rename to v2.3/station_information.json index 70b45cd5..17cbe9f6 100644 --- a/v2.3-RC2/station_information.json +++ b/v2.3/station_information.json @@ -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", @@ -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": @@ -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", @@ -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": { diff --git a/v2.3-RC2/station_status.json b/v2.3/station_status.json similarity index 98% rename from v2.3-RC2/station_status.json rename to v2.3/station_status.json index 9659da34..f533beaf 100644 --- a/v2.3-RC2/station_status.json +++ b/v2.3/station_status.json @@ -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", @@ -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": diff --git a/v2.3-RC2/system_alerts.json b/v2.3/system_alerts.json similarity index 97% rename from v2.3-RC2/system_alerts.json rename to v2.3/system_alerts.json index 4d0cc10f..b3884398 100644 --- a/v2.3-RC2/system_alerts.json +++ b/v2.3/system_alerts.json @@ -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": { @@ -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.", diff --git a/v2.3-RC2/system_calendar.json b/v2.3/system_calendar.json similarity index 95% rename from v2.3-RC2/system_calendar.json rename to v2.3/system_calendar.json index ef097d00..3ad31af2 100644 --- a/v2.3-RC2/system_calendar.json +++ b/v2.3/system_calendar.json @@ -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": { @@ -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.", diff --git a/v2.3-RC2/system_hours.json b/v2.3/system_hours.json similarity index 96% rename from v2.3-RC2/system_hours.json rename to v2.3/system_hours.json index e41f7c69..cb5b5511 100644 --- a/v2.3-RC2/system_hours.json +++ b/v2.3/system_hours.json @@ -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": { @@ -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.", diff --git a/v2.3-RC2/system_information.json b/v2.3/system_information.json similarity index 98% rename from v2.3-RC2/system_information.json rename to v2.3/system_information.json index 94c54ec8..a5347060 100644 --- a/v2.3-RC2/system_information.json +++ b/v2.3/system_information.json @@ -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", @@ -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.", diff --git a/v2.3-RC2/system_pricing_plans.json b/v2.3/system_pricing_plans.json similarity index 98% rename from v2.3-RC2/system_pricing_plans.json rename to v2.3/system_pricing_plans.json index aa1cb654..dbf3127f 100644 --- a/v2.3-RC2/system_pricing_plans.json +++ b/v2.3/system_pricing_plans.json @@ -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": { @@ -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": diff --git a/v2.3-RC2/system_regions.json b/v2.3/system_regions.json similarity index 93% rename from v2.3-RC2/system_regions.json rename to v2.3/system_regions.json index f4af593d..18e9b20d 100644 --- a/v2.3-RC2/system_regions.json +++ b/v2.3/system_regions.json @@ -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", @@ -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.", diff --git a/v2.3-RC2/vehicle_types.json b/v2.3/vehicle_types.json similarity index 93% rename from v2.3-RC2/vehicle_types.json rename to v2.3/vehicle_types.json index ff0a29ad..0f8b1ee4 100644 --- a/v2.3-RC2/vehicle_types.json +++ b/v2.3/vehicle_types.json @@ -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", @@ -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.", @@ -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" } } @@ -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 }, @@ -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"] },