From 871c705b727c2ca821fbb0b3704b0f095c82eb70 Mon Sep 17 00:00:00 2001 From: Fabien Richard-Allouard Date: Tue, 21 Nov 2023 14:46:33 -0500 Subject: [PATCH 1/4] Sync with gbfs-json-schema --- gbfs-validator/versions/schemas/v1.0/free_bike_status.json | 2 +- gbfs-validator/versions/schemas/v1.0/gbfs.json | 2 +- gbfs-validator/versions/schemas/v1.0/station_information.json | 2 +- gbfs-validator/versions/schemas/v1.0/station_status.json | 2 +- gbfs-validator/versions/schemas/v1.0/system_alerts.json | 4 +++- gbfs-validator/versions/schemas/v1.0/system_calendar.json | 2 +- gbfs-validator/versions/schemas/v1.0/system_hours.json | 2 +- gbfs-validator/versions/schemas/v1.0/system_information.json | 2 +- .../versions/schemas/v1.0/system_pricing_plans.json | 2 +- gbfs-validator/versions/schemas/v1.0/system_regions.json | 2 +- gbfs-validator/versions/schemas/v1.1/free_bike_status.json | 2 +- gbfs-validator/versions/schemas/v1.1/gbfs.json | 2 +- gbfs-validator/versions/schemas/v1.1/gbfs_versions.json | 2 +- gbfs-validator/versions/schemas/v1.1/station_information.json | 2 +- gbfs-validator/versions/schemas/v1.1/station_status.json | 2 +- gbfs-validator/versions/schemas/v1.1/system_alerts.json | 4 +++- gbfs-validator/versions/schemas/v1.1/system_calendar.json | 2 +- gbfs-validator/versions/schemas/v1.1/system_hours.json | 2 +- gbfs-validator/versions/schemas/v1.1/system_information.json | 2 +- .../versions/schemas/v1.1/system_pricing_plans.json | 2 +- gbfs-validator/versions/schemas/v1.1/system_regions.json | 2 +- gbfs-validator/versions/schemas/v2.0/free_bike_status.json | 2 +- gbfs-validator/versions/schemas/v2.0/gbfs.json | 2 +- gbfs-validator/versions/schemas/v2.0/gbfs_versions.json | 2 +- gbfs-validator/versions/schemas/v2.0/station_information.json | 2 +- gbfs-validator/versions/schemas/v2.0/station_status.json | 2 +- gbfs-validator/versions/schemas/v2.0/system_alerts.json | 4 +++- gbfs-validator/versions/schemas/v2.0/system_calendar.json | 2 +- gbfs-validator/versions/schemas/v2.0/system_hours.json | 2 +- gbfs-validator/versions/schemas/v2.0/system_information.json | 2 +- .../versions/schemas/v2.0/system_pricing_plans.json | 2 +- gbfs-validator/versions/schemas/v2.0/system_regions.json | 2 +- gbfs-validator/versions/schemas/v2.1/free_bike_status.json | 2 +- gbfs-validator/versions/schemas/v2.1/gbfs.json | 2 +- gbfs-validator/versions/schemas/v2.1/gbfs_versions.json | 2 +- gbfs-validator/versions/schemas/v2.1/geofencing_zones.json | 3 ++- gbfs-validator/versions/schemas/v2.1/station_information.json | 2 +- gbfs-validator/versions/schemas/v2.1/station_status.json | 3 ++- gbfs-validator/versions/schemas/v2.1/system_alerts.json | 4 +++- gbfs-validator/versions/schemas/v2.1/system_calendar.json | 2 +- gbfs-validator/versions/schemas/v2.1/system_hours.json | 2 +- gbfs-validator/versions/schemas/v2.1/system_information.json | 2 +- .../versions/schemas/v2.1/system_pricing_plans.json | 2 +- gbfs-validator/versions/schemas/v2.1/system_regions.json | 2 +- gbfs-validator/versions/schemas/v2.1/vehicle_types.json | 2 +- gbfs-validator/versions/schemas/v2.2/free_bike_status.json | 2 +- gbfs-validator/versions/schemas/v2.2/gbfs.json | 2 +- gbfs-validator/versions/schemas/v2.2/gbfs_versions.json | 2 +- gbfs-validator/versions/schemas/v2.2/geofencing_zones.json | 3 ++- gbfs-validator/versions/schemas/v2.2/station_information.json | 2 +- gbfs-validator/versions/schemas/v2.2/station_status.json | 3 ++- gbfs-validator/versions/schemas/v2.2/system_alerts.json | 4 +++- gbfs-validator/versions/schemas/v2.2/system_calendar.json | 2 +- gbfs-validator/versions/schemas/v2.2/system_hours.json | 2 +- gbfs-validator/versions/schemas/v2.2/system_information.json | 2 +- .../versions/schemas/v2.2/system_pricing_plans.json | 2 +- gbfs-validator/versions/schemas/v2.2/system_regions.json | 2 +- gbfs-validator/versions/schemas/v2.2/vehicle_types.json | 2 +- gbfs-validator/versions/schemas/v2.3/free_bike_status.json | 2 +- gbfs-validator/versions/schemas/v2.3/gbfs.json | 2 +- gbfs-validator/versions/schemas/v2.3/gbfs_versions.json | 2 +- gbfs-validator/versions/schemas/v2.3/geofencing_zones.json | 3 ++- gbfs-validator/versions/schemas/v2.3/station_information.json | 2 +- gbfs-validator/versions/schemas/v2.3/station_status.json | 3 ++- gbfs-validator/versions/schemas/v2.3/system_alerts.json | 4 +++- gbfs-validator/versions/schemas/v2.3/system_calendar.json | 2 +- gbfs-validator/versions/schemas/v2.3/system_hours.json | 2 +- gbfs-validator/versions/schemas/v2.3/system_information.json | 2 +- .../versions/schemas/v2.3/system_pricing_plans.json | 2 +- gbfs-validator/versions/schemas/v2.3/system_regions.json | 2 +- gbfs-validator/versions/schemas/v2.3/vehicle_types.json | 3 ++- gbfs-validator/versions/schemas/v3.0-RC/gbfs.json | 2 +- gbfs-validator/versions/schemas/v3.0-RC/gbfs_versions.json | 2 +- gbfs-validator/versions/schemas/v3.0-RC/geofencing_zones.json | 4 +++- gbfs-validator/versions/schemas/v3.0-RC/manifest.json | 2 +- .../versions/schemas/v3.0-RC/station_information.json | 2 +- gbfs-validator/versions/schemas/v3.0-RC/station_status.json | 3 ++- gbfs-validator/versions/schemas/v3.0-RC/system_alerts.json | 4 +++- .../versions/schemas/v3.0-RC/system_information.json | 2 +- .../versions/schemas/v3.0-RC/system_pricing_plans.json | 2 +- gbfs-validator/versions/schemas/v3.0-RC/system_regions.json | 2 +- gbfs-validator/versions/schemas/v3.0-RC/vehicle_status.json | 2 +- gbfs-validator/versions/schemas/v3.0-RC/vehicle_types.json | 3 ++- gbfs-validator/versions/schemas/v3.0-RC2/gbfs.json | 2 +- gbfs-validator/versions/schemas/v3.0-RC2/gbfs_versions.json | 2 +- .../versions/schemas/v3.0-RC2/geofencing_zones.json | 4 +++- gbfs-validator/versions/schemas/v3.0-RC2/manifest.json | 2 +- .../versions/schemas/v3.0-RC2/station_information.json | 4 +++- gbfs-validator/versions/schemas/v3.0-RC2/station_status.json | 3 ++- gbfs-validator/versions/schemas/v3.0-RC2/system_alerts.json | 4 +++- .../versions/schemas/v3.0-RC2/system_information.json | 2 +- .../versions/schemas/v3.0-RC2/system_pricing_plans.json | 2 +- gbfs-validator/versions/schemas/v3.0-RC2/system_regions.json | 2 +- gbfs-validator/versions/schemas/v3.0-RC2/vehicle_status.json | 2 +- gbfs-validator/versions/schemas/v3.0-RC2/vehicle_types.json | 3 ++- 95 files changed, 128 insertions(+), 95 deletions(-) diff --git a/gbfs-validator/versions/schemas/v1.0/free_bike_status.json b/gbfs-validator/versions/schemas/v1.0/free_bike_status.json index 072f9b6..273d09f 100644 --- a/gbfs-validator/versions/schemas/v1.0/free_bike_status.json +++ b/gbfs-validator/versions/schemas/v1.0/free_bike_status.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.0/gbfs.md#free_bike_statusjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#free_bike_statusjson", "description": "Describes the vehicles that are available for rent (as of v2.1-RC2).", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.0/gbfs.json b/gbfs-validator/versions/schemas/v1.0/gbfs.json index e31e1c6..28aedb6 100644 --- a/gbfs-validator/versions/schemas/v1.0/gbfs.json +++ b/gbfs-validator/versions/schemas/v1.0/gbfs.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.0/gbfs.md#gbfsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#gbfsjson", "description": "Auto-discovery file that links to all of the other files published by the system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.0/station_information.json b/gbfs-validator/versions/schemas/v1.0/station_information.json index 68e0d65..0b16d81 100644 --- a/gbfs-validator/versions/schemas/v1.0/station_information.json +++ b/gbfs-validator/versions/schemas/v1.0/station_information.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.0/gbfs.md#station_informationjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#station_informationjson", "description": "List of all stations, their capacities and locations. REQUIRED of systems utilizing docks.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.0/station_status.json b/gbfs-validator/versions/schemas/v1.0/station_status.json index 52e37f8..86c75ff 100644 --- a/gbfs-validator/versions/schemas/v1.0/station_status.json +++ b/gbfs-validator/versions/schemas/v1.0/station_status.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.0/gbfs.md#station_statusjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#station_statusjson", "description": "Describes the capacity and rental availability of the station", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.0/system_alerts.json b/gbfs-validator/versions/schemas/v1.0/system_alerts.json index 3ed003a..4af77ae 100644 --- a/gbfs-validator/versions/schemas/v1.0/system_alerts.json +++ b/gbfs-validator/versions/schemas/v1.0/system_alerts.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.0/gbfs.md#system_alertsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#system_alertsjson", "description": "Describes ad-hoc changes to the system.", "type": "object", "properties": { @@ -60,6 +60,7 @@ "station_ids": { "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -67,6 +68,7 @@ "region_ids": { "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v1.0/system_calendar.json b/gbfs-validator/versions/schemas/v1.0/system_calendar.json index 38b3a0c..89cbffe 100644 --- a/gbfs-validator/versions/schemas/v1.0/system_calendar.json +++ b/gbfs-validator/versions/schemas/v1.0/system_calendar.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.0/gbfs.md#system_calendarjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#system_calendarjson", "description": "Describes the operating calendar for a system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.0/system_hours.json b/gbfs-validator/versions/schemas/v1.0/system_hours.json index a382390..66e75b6 100644 --- a/gbfs-validator/versions/schemas/v1.0/system_hours.json +++ b/gbfs-validator/versions/schemas/v1.0/system_hours.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.0/gbfs.md#system_hoursjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#system_hoursjson", "description": "Describes the system hours of operation.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.0/system_information.json b/gbfs-validator/versions/schemas/v1.0/system_information.json index d9003c3..8ab0516 100644 --- a/gbfs-validator/versions/schemas/v1.0/system_information.json +++ b/gbfs-validator/versions/schemas/v1.0/system_information.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.0/gbfs.md#system_informationjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#system_informationjson", "description": "Details including system operator, system location, year implemented, URL, contact info, time zone.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.0/system_pricing_plans.json b/gbfs-validator/versions/schemas/v1.0/system_pricing_plans.json index 5418c97..d0e3dd1 100644 --- a/gbfs-validator/versions/schemas/v1.0/system_pricing_plans.json +++ b/gbfs-validator/versions/schemas/v1.0/system_pricing_plans.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.0/gbfs.md#system_pricing_plansjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#system_pricing_plansjson", "description": "Describes the pricing schemes of the system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.0/system_regions.json b/gbfs-validator/versions/schemas/v1.0/system_regions.json index 8417829..bc4d796 100644 --- a/gbfs-validator/versions/schemas/v1.0/system_regions.json +++ b/gbfs-validator/versions/schemas/v1.0/system_regions.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.0/gbfs.md#system_regionsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#system_regionsjson", "description": "Describes regions for a system that is broken up by geographic or political region.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.1/free_bike_status.json b/gbfs-validator/versions/schemas/v1.1/free_bike_status.json index fa14c4b..6d0fafa 100644 --- a/gbfs-validator/versions/schemas/v1.1/free_bike_status.json +++ b/gbfs-validator/versions/schemas/v1.1/free_bike_status.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#free_bike_statusjson", + "https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#free_bike_statusjson", "description": "Describes the vehicles that are not at a station and are available for rent.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v1.1/gbfs.json b/gbfs-validator/versions/schemas/v1.1/gbfs.json index 90cb0f2..e3bbc61 100644 --- a/gbfs-validator/versions/schemas/v1.1/gbfs.json +++ b/gbfs-validator/versions/schemas/v1.1/gbfs.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#gbfsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#gbfsjson", "description": "Auto-discovery file that links to all of the other files publiished by the system.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v1.1/gbfs_versions.json b/gbfs-validator/versions/schemas/v1.1/gbfs_versions.json index 111620f..0cbfc9c 100644 --- a/gbfs-validator/versions/schemas/v1.1/gbfs_versions.json +++ b/gbfs-validator/versions/schemas/v1.1/gbfs_versions.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#gbfs_versionsjson-added-in-v11", + "https://github.com/MobilityData/gbfs/blob/v1.1/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", diff --git a/gbfs-validator/versions/schemas/v1.1/station_information.json b/gbfs-validator/versions/schemas/v1.1/station_information.json index 07ca194..5effc94 100644 --- a/gbfs-validator/versions/schemas/v1.1/station_information.json +++ b/gbfs-validator/versions/schemas/v1.1/station_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#station_informationjson", + "https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#station_informationjson", "description": "List of all stations, their capacities and locations. REQUIRED of systems utilizing docks.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v1.1/station_status.json b/gbfs-validator/versions/schemas/v1.1/station_status.json index 4de7dc7..444d89f 100644 --- a/gbfs-validator/versions/schemas/v1.1/station_status.json +++ b/gbfs-validator/versions/schemas/v1.1/station_status.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#station_statusjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#station_statusjson", "description": "Describes the capacity and rental availablility of the station", "type": "object", diff --git a/gbfs-validator/versions/schemas/v1.1/system_alerts.json b/gbfs-validator/versions/schemas/v1.1/system_alerts.json index fbbaaf0..db4ef2f 100644 --- a/gbfs-validator/versions/schemas/v1.1/system_alerts.json +++ b/gbfs-validator/versions/schemas/v1.1/system_alerts.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#system_alertsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#system_alertsjson", "description": "Describes ad-hoc changes to the system.", "type": "object", "properties": { @@ -71,6 +71,7 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -79,6 +80,7 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v1.1/system_calendar.json b/gbfs-validator/versions/schemas/v1.1/system_calendar.json index 3fc077f..68f2cd8 100644 --- a/gbfs-validator/versions/schemas/v1.1/system_calendar.json +++ b/gbfs-validator/versions/schemas/v1.1/system_calendar.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#system_calendarjson", + "https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#system_calendarjson", "description": "Describes the operating calendar for a system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.1/system_hours.json b/gbfs-validator/versions/schemas/v1.1/system_hours.json index 16d7fee..0c22de8 100644 --- a/gbfs-validator/versions/schemas/v1.1/system_hours.json +++ b/gbfs-validator/versions/schemas/v1.1/system_hours.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#system_hoursjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#system_hoursjson", "description": "Describes the system hours of operation.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.1/system_information.json b/gbfs-validator/versions/schemas/v1.1/system_information.json index e42d020..24e6b06 100644 --- a/gbfs-validator/versions/schemas/v1.1/system_information.json +++ b/gbfs-validator/versions/schemas/v1.1/system_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#system_informationjson", + "https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#system_informationjson", "description": "Details including system operator, system location, year implemented, URL, contact info, time zone.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v1.1/system_pricing_plans.json b/gbfs-validator/versions/schemas/v1.1/system_pricing_plans.json index 06d1030..15d84d0 100644 --- a/gbfs-validator/versions/schemas/v1.1/system_pricing_plans.json +++ b/gbfs-validator/versions/schemas/v1.1/system_pricing_plans.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#system_pricing_plansjson", + "https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#system_pricing_plansjson", "description": "Describes the pricing schemes of the system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v1.1/system_regions.json b/gbfs-validator/versions/schemas/v1.1/system_regions.json index a169dda..e5ea55b 100644 --- a/gbfs-validator/versions/schemas/v1.1/system_regions.json +++ b/gbfs-validator/versions/schemas/v1.1/system_regions.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v1.1/gbfs.md#system_regionsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#system_regionsjson", "description": "Describes regions for a system that is broken up by geographic or political region.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.0/free_bike_status.json b/gbfs-validator/versions/schemas/v2.0/free_bike_status.json index 03589cd..15572b4 100644 --- a/gbfs-validator/versions/schemas/v2.0/free_bike_status.json +++ b/gbfs-validator/versions/schemas/v2.0/free_bike_status.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#free_bike_statusjson", + "https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#free_bike_statusjson", "description": "Describes the vehicles that are not at a station and are available for rent.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.0/gbfs.json b/gbfs-validator/versions/schemas/v2.0/gbfs.json index 60b547e..b46dfb7 100644 --- a/gbfs-validator/versions/schemas/v2.0/gbfs.json +++ b/gbfs-validator/versions/schemas/v2.0/gbfs.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#gbfsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#gbfsjson", "description": "Auto-discovery file that links to all of the other files publiished by the system.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.0/gbfs_versions.json b/gbfs-validator/versions/schemas/v2.0/gbfs_versions.json index 97b40f8..77695a4 100644 --- a/gbfs-validator/versions/schemas/v2.0/gbfs_versions.json +++ b/gbfs-validator/versions/schemas/v2.0/gbfs_versions.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#gbfs_versionsjson-added-in-v11", + "https://github.com/MobilityData/gbfs/blob/v2.0/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", diff --git a/gbfs-validator/versions/schemas/v2.0/station_information.json b/gbfs-validator/versions/schemas/v2.0/station_information.json index 886e008..1d1cbfd 100644 --- a/gbfs-validator/versions/schemas/v2.0/station_information.json +++ b/gbfs-validator/versions/schemas/v2.0/station_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#station_informationjson", + "https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#station_informationjson", "description": "List of all stations, their capacities and locations. REQUIRED of systems utilizing docks.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.0/station_status.json b/gbfs-validator/versions/schemas/v2.0/station_status.json index 6c59a54..ca60f84 100644 --- a/gbfs-validator/versions/schemas/v2.0/station_status.json +++ b/gbfs-validator/versions/schemas/v2.0/station_status.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#station_statusjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#station_statusjson", "description": "Describes the capacity and rental availablility of the station", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.0/system_alerts.json b/gbfs-validator/versions/schemas/v2.0/system_alerts.json index 680a0c6..cdc5f8e 100644 --- a/gbfs-validator/versions/schemas/v2.0/system_alerts.json +++ b/gbfs-validator/versions/schemas/v2.0/system_alerts.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#system_alertsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#system_alertsjson", "description": "Describes ad-hoc changes to the system.", "type": "object", "properties": { @@ -71,6 +71,7 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -79,6 +80,7 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.0/system_calendar.json b/gbfs-validator/versions/schemas/v2.0/system_calendar.json index 3344b05..96a497e 100644 --- a/gbfs-validator/versions/schemas/v2.0/system_calendar.json +++ b/gbfs-validator/versions/schemas/v2.0/system_calendar.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#system_calendarjson", + "https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#system_calendarjson", "description": "Describes the operating calendar for a system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.0/system_hours.json b/gbfs-validator/versions/schemas/v2.0/system_hours.json index c033327..87f85df 100644 --- a/gbfs-validator/versions/schemas/v2.0/system_hours.json +++ b/gbfs-validator/versions/schemas/v2.0/system_hours.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#system_hoursjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#system_hoursjson", "description": "Describes the system hours of operation.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.0/system_information.json b/gbfs-validator/versions/schemas/v2.0/system_information.json index 5674ba1..23dbadb 100644 --- a/gbfs-validator/versions/schemas/v2.0/system_information.json +++ b/gbfs-validator/versions/schemas/v2.0/system_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#system_informationjson", + "https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#system_informationjson", "description": "Details including system operator, system location, year implemented, URL, contact info, time zone.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.0/system_pricing_plans.json b/gbfs-validator/versions/schemas/v2.0/system_pricing_plans.json index 3bc8c24..efba71f 100644 --- a/gbfs-validator/versions/schemas/v2.0/system_pricing_plans.json +++ b/gbfs-validator/versions/schemas/v2.0/system_pricing_plans.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#system_pricing_plansjson", + "https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#system_pricing_plansjson", "description": "Describes the pricing schemes of the system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.0/system_regions.json b/gbfs-validator/versions/schemas/v2.0/system_regions.json index c678759..361eb7d 100644 --- a/gbfs-validator/versions/schemas/v2.0/system_regions.json +++ b/gbfs-validator/versions/schemas/v2.0/system_regions.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.0/gbfs.md#system_regionsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#system_regionsjson", "description": "Describes regions for a system that is broken up by geographic or political region.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.1/free_bike_status.json b/gbfs-validator/versions/schemas/v2.1/free_bike_status.json index 94b263e..1a242b4 100644 --- a/gbfs-validator/versions/schemas/v2.1/free_bike_status.json +++ b/gbfs-validator/versions/schemas/v2.1/free_bike_status.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#free_bike_statusjson", + "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#free_bike_statusjson", "description": "Describes the vehicles that are available for rent (as of v2.1-RC2).", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.1/gbfs.json b/gbfs-validator/versions/schemas/v2.1/gbfs.json index 7eee3f8..ce487bc 100644 --- a/gbfs-validator/versions/schemas/v2.1/gbfs.json +++ b/gbfs-validator/versions/schemas/v2.1/gbfs.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#gbfsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#gbfsjson", "description": "Auto-discovery file that links to all of the other files published by the system.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.1/gbfs_versions.json b/gbfs-validator/versions/schemas/v2.1/gbfs_versions.json index 7408f1a..1fe0961 100644 --- a/gbfs-validator/versions/schemas/v2.1/gbfs_versions.json +++ b/gbfs-validator/versions/schemas/v2.1/gbfs_versions.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#gbfs_versionsjson-added-in-v11", + "https://github.com/MobilityData/gbfs/blob/v2.1/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", diff --git a/gbfs-validator/versions/schemas/v2.1/geofencing_zones.json b/gbfs-validator/versions/schemas/v2.1/geofencing_zones.json index 4645df6..cf00e7a 100644 --- a/gbfs-validator/versions/schemas/v2.1/geofencing_zones.json +++ b/gbfs-validator/versions/schemas/v2.1/geofencing_zones.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#geofencing_zonesjson", + "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#geofencing_zonesjson", "description": "Describes geofencing zones and their associated rules and attributes (added in v2.1-RC).", "type": "object", @@ -80,6 +80,7 @@ "properties": { "vehicle_type_id": { "type": "array", + "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.1/station_information.json b/gbfs-validator/versions/schemas/v2.1/station_information.json index b08fa47..3548e76 100644 --- a/gbfs-validator/versions/schemas/v2.1/station_information.json +++ b/gbfs-validator/versions/schemas/v2.1/station_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#station_informationjson", + "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#station_informationjson", "description": "List of all stations, their capacities and locations. REQUIRED of systems utilizing docks.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.1/station_status.json b/gbfs-validator/versions/schemas/v2.1/station_status.json index 21837f8..fae0a8a 100644 --- a/gbfs-validator/versions/schemas/v2.1/station_status.json +++ b/gbfs-validator/versions/schemas/v2.1/station_status.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#station_statusjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#station_statusjson", "description": "Describes the capacity and rental availability of the station", "type": "object", @@ -112,6 +112,7 @@ "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.1/system_alerts.json b/gbfs-validator/versions/schemas/v2.1/system_alerts.json index c199001..446e63f 100644 --- a/gbfs-validator/versions/schemas/v2.1/system_alerts.json +++ b/gbfs-validator/versions/schemas/v2.1/system_alerts.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#system_alertsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_alertsjson", "description": "Describes ad-hoc changes to the system.", "type": "object", "properties": { @@ -71,6 +71,7 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -79,6 +80,7 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.1/system_calendar.json b/gbfs-validator/versions/schemas/v2.1/system_calendar.json index f7d7aaa..ec418e2 100644 --- a/gbfs-validator/versions/schemas/v2.1/system_calendar.json +++ b/gbfs-validator/versions/schemas/v2.1/system_calendar.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#system_calendarjson", + "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_calendarjson", "description": "Describes the operating calendar for a system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.1/system_hours.json b/gbfs-validator/versions/schemas/v2.1/system_hours.json index 682444a..1a68e0a 100644 --- a/gbfs-validator/versions/schemas/v2.1/system_hours.json +++ b/gbfs-validator/versions/schemas/v2.1/system_hours.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#system_hoursjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_hoursjson", "description": "Describes the system hours of operation.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.1/system_information.json b/gbfs-validator/versions/schemas/v2.1/system_information.json index 4c75518..79d5f34 100644 --- a/gbfs-validator/versions/schemas/v2.1/system_information.json +++ b/gbfs-validator/versions/schemas/v2.1/system_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#system_informationjson", + "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_informationjson", "description": "Details including system operator, system location, year implemented, URL, contact info, time zone.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.1/system_pricing_plans.json b/gbfs-validator/versions/schemas/v2.1/system_pricing_plans.json index 39e727a..0ac1e6e 100644 --- a/gbfs-validator/versions/schemas/v2.1/system_pricing_plans.json +++ b/gbfs-validator/versions/schemas/v2.1/system_pricing_plans.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#system_pricing_plansjson", + "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_pricing_plansjson", "description": "Describes the pricing schemes of the system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.1/system_regions.json b/gbfs-validator/versions/schemas/v2.1/system_regions.json index 891e47b..dd850ae 100644 --- a/gbfs-validator/versions/schemas/v2.1/system_regions.json +++ b/gbfs-validator/versions/schemas/v2.1/system_regions.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#system_regionsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_regionsjson", "description": "Describes regions for a system that is broken up by geographic or political region.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.1/vehicle_types.json b/gbfs-validator/versions/schemas/v2.1/vehicle_types.json index 4be0b83..aad4542 100644 --- a/gbfs-validator/versions/schemas/v2.1/vehicle_types.json +++ b/gbfs-validator/versions/schemas/v2.1/vehicle_types.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#vehicle_typesjson-added-in-v21-rc", + "https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#vehicle_typesjson-added-in-v21", "description": "Describes the types of vehicles that System operator has available for rent (added in v2.1-RC).", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.2/free_bike_status.json b/gbfs-validator/versions/schemas/v2.2/free_bike_status.json index ca04081..6e80951 100644 --- a/gbfs-validator/versions/schemas/v2.2/free_bike_status.json +++ b/gbfs-validator/versions/schemas/v2.2/free_bike_status.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#free_bike_statusjson", + "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#free_bike_statusjson", "description": "Describes the vehicles that are available for rent (as of v2.1-RC2).", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.2/gbfs.json b/gbfs-validator/versions/schemas/v2.2/gbfs.json index 926e38e..8c3aa98 100644 --- a/gbfs-validator/versions/schemas/v2.2/gbfs.json +++ b/gbfs-validator/versions/schemas/v2.2/gbfs.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#gbfsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#gbfsjson", "description": "Auto-discovery file that links to all of the other files published by the system.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.2/gbfs_versions.json b/gbfs-validator/versions/schemas/v2.2/gbfs_versions.json index a71872b..b56c180 100644 --- a/gbfs-validator/versions/schemas/v2.2/gbfs_versions.json +++ b/gbfs-validator/versions/schemas/v2.2/gbfs_versions.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#gbfs_versionsjson-added-in-v11", + "https://github.com/MobilityData/gbfs/blob/v2.2/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", diff --git a/gbfs-validator/versions/schemas/v2.2/geofencing_zones.json b/gbfs-validator/versions/schemas/v2.2/geofencing_zones.json index bb41cca..8d7a70a 100644 --- a/gbfs-validator/versions/schemas/v2.2/geofencing_zones.json +++ b/gbfs-validator/versions/schemas/v2.2/geofencing_zones.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#geofencing_zonesjson", + "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#geofencing_zonesjson", "description": "Describes geofencing zones and their associated rules and attributes (added in v2.1-RC).", "type": "object", @@ -80,6 +80,7 @@ "properties": { "vehicle_type_id": { "type": "array", + "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.2/station_information.json b/gbfs-validator/versions/schemas/v2.2/station_information.json index c51ecb5..4df11e2 100644 --- a/gbfs-validator/versions/schemas/v2.2/station_information.json +++ b/gbfs-validator/versions/schemas/v2.2/station_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#station_informationjson", + "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#station_informationjson", "description": "List of all stations, their capacities and locations. REQUIRED of systems utilizing docks.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.2/station_status.json b/gbfs-validator/versions/schemas/v2.2/station_status.json index 432239e..f00d623 100644 --- a/gbfs-validator/versions/schemas/v2.2/station_status.json +++ b/gbfs-validator/versions/schemas/v2.2/station_status.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#station_statusjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#station_statusjson", "description": "Describes the capacity and rental availability of the station", "type": "object", @@ -112,6 +112,7 @@ "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.2/system_alerts.json b/gbfs-validator/versions/schemas/v2.2/system_alerts.json index ddadf48..fc5e014 100644 --- a/gbfs-validator/versions/schemas/v2.2/system_alerts.json +++ b/gbfs-validator/versions/schemas/v2.2/system_alerts.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#system_alertsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_alertsjson", "description": "Describes ad-hoc changes to the system.", "type": "object", "properties": { @@ -71,6 +71,7 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -79,6 +80,7 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.2/system_calendar.json b/gbfs-validator/versions/schemas/v2.2/system_calendar.json index 156c210..d6ebc86 100644 --- a/gbfs-validator/versions/schemas/v2.2/system_calendar.json +++ b/gbfs-validator/versions/schemas/v2.2/system_calendar.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#system_calendarjson", + "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_calendarjson", "description": "Describes the operating calendar for a system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.2/system_hours.json b/gbfs-validator/versions/schemas/v2.2/system_hours.json index 6b67bda..85997bd 100644 --- a/gbfs-validator/versions/schemas/v2.2/system_hours.json +++ b/gbfs-validator/versions/schemas/v2.2/system_hours.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#system_hoursjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_hoursjson", "description": "Describes the system hours of operation.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.2/system_information.json b/gbfs-validator/versions/schemas/v2.2/system_information.json index 21ba2d8..8f99c47 100644 --- a/gbfs-validator/versions/schemas/v2.2/system_information.json +++ b/gbfs-validator/versions/schemas/v2.2/system_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#system_informationjson", + "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_informationjson", "description": "Details including system operator, system location, year implemented, URL, contact info, time zone.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.2/system_pricing_plans.json b/gbfs-validator/versions/schemas/v2.2/system_pricing_plans.json index 3924300..cbf797c 100644 --- a/gbfs-validator/versions/schemas/v2.2/system_pricing_plans.json +++ b/gbfs-validator/versions/schemas/v2.2/system_pricing_plans.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#system_pricing_plansjson", + "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_pricing_plansjson", "description": "Describes the pricing schemes of the system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.2/system_regions.json b/gbfs-validator/versions/schemas/v2.2/system_regions.json index 54d4667..23e66b4 100644 --- a/gbfs-validator/versions/schemas/v2.2/system_regions.json +++ b/gbfs-validator/versions/schemas/v2.2/system_regions.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#system_regionsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_regionsjson", "description": "Describes regions for a system that is broken up by geographic or political region.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.2/vehicle_types.json b/gbfs-validator/versions/schemas/v2.2/vehicle_types.json index 17ad2b7..2878136 100644 --- a/gbfs-validator/versions/schemas/v2.2/vehicle_types.json +++ b/gbfs-validator/versions/schemas/v2.2/vehicle_types.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#vehicle_typesjson-added-in-v21-rc", + "https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#vehicle_typesjson-added-in-v21", "description": "Describes the types of vehicles that System operator has available for rent (added in v2.1-RC).", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.3/free_bike_status.json b/gbfs-validator/versions/schemas/v2.3/free_bike_status.json index 25522f6..ea51584 100644 --- a/gbfs-validator/versions/schemas/v2.3/free_bike_status.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#free_bike_statusjson", + "https://github.com/MobilityData/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", diff --git a/gbfs-validator/versions/schemas/v2.3/gbfs.json b/gbfs-validator/versions/schemas/v2.3/gbfs.json index 4591822..90852b3 100644 --- a/gbfs-validator/versions/schemas/v2.3/gbfs.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#gbfsjson", + "$id": "https://github.com/MobilityData/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", diff --git a/gbfs-validator/versions/schemas/v2.3/gbfs_versions.json b/gbfs-validator/versions/schemas/v2.3/gbfs_versions.json index be5ebb6..cc3bd8d 100644 --- a/gbfs-validator/versions/schemas/v2.3/gbfs_versions.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#gbfs_versionsjson-added-in-v11", + "https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#gbfs_versionsjson", "description": "Lists all feed endpoints published according to version sof the GBFS documentation. (added in v1.1)", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.3/geofencing_zones.json b/gbfs-validator/versions/schemas/v2.3/geofencing_zones.json index 7859637..099bfa8 100644 --- a/gbfs-validator/versions/schemas/v2.3/geofencing_zones.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#geofencing_zonesjson", + "https://github.com/MobilityData/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", @@ -73,6 +73,7 @@ "properties": { "vehicle_type_id": { "type": "array", + "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } }, diff --git a/gbfs-validator/versions/schemas/v2.3/station_information.json b/gbfs-validator/versions/schemas/v2.3/station_information.json index 48519b1..7fc079d 100644 --- a/gbfs-validator/versions/schemas/v2.3/station_information.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#station_informationjson", + "https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#station_informationjson", "description": "List of all stations, their capacities and locations. REQUIRED of systems utilizing docks.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.3/station_status.json b/gbfs-validator/versions/schemas/v2.3/station_status.json index 80ad3a7..72298a9 100644 --- a/gbfs-validator/versions/schemas/v2.3/station_status.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#station_statusjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#station_statusjson", "description": "Describes the capacity and rental availability of the station", "type": "object", @@ -112,6 +112,7 @@ "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.3/system_alerts.json b/gbfs-validator/versions/schemas/v2.3/system_alerts.json index b388439..7b2ce49 100644 --- a/gbfs-validator/versions/schemas/v2.3/system_alerts.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#system_alertsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#system_alertsjson", "description": "Describes ad-hoc changes to the system.", "type": "object", "properties": { @@ -71,6 +71,7 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -79,6 +80,7 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.3/system_calendar.json b/gbfs-validator/versions/schemas/v2.3/system_calendar.json index 3ad31af..688f311 100644 --- a/gbfs-validator/versions/schemas/v2.3/system_calendar.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#system_calendarjson", + "https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#system_calendarjson", "description": "Describes the operating calendar for a system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.3/system_hours.json b/gbfs-validator/versions/schemas/v2.3/system_hours.json index cb5b551..49c6c73 100644 --- a/gbfs-validator/versions/schemas/v2.3/system_hours.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#system_hoursjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#system_hoursjson", "description": "Describes the system hours of operation.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.3/system_information.json b/gbfs-validator/versions/schemas/v2.3/system_information.json index 4825cdb..40e7ea8 100644 --- a/gbfs-validator/versions/schemas/v2.3/system_information.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#system_informationjson", + "https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#system_informationjson", "description": "Details including system operator, system location, year implemented, URL, contact info, time zone.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v2.3/system_pricing_plans.json b/gbfs-validator/versions/schemas/v2.3/system_pricing_plans.json index dbf3127..b6b4ba9 100644 --- a/gbfs-validator/versions/schemas/v2.3/system_pricing_plans.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#system_pricing_plansjson", + "https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#system_pricing_plansjson", "description": "Describes the pricing schemes of the system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v2.3/system_regions.json b/gbfs-validator/versions/schemas/v2.3/system_regions.json index 18e9b20..a3cb932 100644 --- a/gbfs-validator/versions/schemas/v2.3/system_regions.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#system_regionsjson", + "$id": "https://github.com/MobilityData/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", diff --git a/gbfs-validator/versions/schemas/v2.3/vehicle_types.json b/gbfs-validator/versions/schemas/v2.3/vehicle_types.json index 0f8b1ee..d88f5ff 100644 --- a/gbfs-validator/versions/schemas/v2.3/vehicle_types.json +++ b/gbfs-validator/versions/schemas/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/gbfs.md#vehicle_typesjson-added-in-v21-rc", + "https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#vehicle_typesjson", "description": "Describes the types of vehicles that System operator has available for rent (added in v2.1-RC).", "type": "object", @@ -177,6 +177,7 @@ "pricing_plan_ids": { "description": "Array of all pricing plan IDs as defined in system_pricing_plans.json added in v2.3-RC.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC/gbfs.json b/gbfs-validator/versions/schemas/v3.0-RC/gbfs.json index f7d8b0d..f15a9a5 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/gbfs.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/gbfs.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#gbfsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#gbfsjson", "description": "Auto-discovery file that links to all of the other files published by the system.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v3.0-RC/gbfs_versions.json b/gbfs-validator/versions/schemas/v3.0-RC/gbfs_versions.json index 6837fd6..b457c03 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/gbfs_versions.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/gbfs_versions.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#gbfs_versionsjson-added-in-v11", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#gbfs_versionsjson", "description": "Lists all feed endpoints published according to version sof the GBFS documentation. (added in v1.1)", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v3.0-RC/geofencing_zones.json b/gbfs-validator/versions/schemas/v3.0-RC/geofencing_zones.json index 681127b..94571ea 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/geofencing_zones.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/geofencing_zones.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#geofencing_zonesjson", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#geofencing_zonesjson", "description": "Describes geofencing zones and their associated rules and attributes (added in v2.1-RC).", "type": "object", @@ -91,6 +91,7 @@ "properties": { "vehicle_type_id": { "type": "array", + "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } }, @@ -167,6 +168,7 @@ "properties": { "vehicle_type_id": { "type": "array", + "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } }, diff --git a/gbfs-validator/versions/schemas/v3.0-RC/manifest.json b/gbfs-validator/versions/schemas/v3.0-RC/manifest.json index dbb72fd..839517a 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/manifest.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/manifest.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#manifestjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#manifestjson", "description": "An index of gbfs.json URLs for each GBFS data set produced by a publisher. A single instance of this file should be published at a single stable URL, for example: https://example.com/gbfs/manifest.json.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v3.0-RC/station_information.json b/gbfs-validator/versions/schemas/v3.0-RC/station_information.json index 3d4d8ff..6808c9d 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/station_information.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/station_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#station_informationjson", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#station_informationjson", "description": "List of all stations, their capacities and locations. REQUIRED of systems utilizing docks.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v3.0-RC/station_status.json b/gbfs-validator/versions/schemas/v3.0-RC/station_status.json index 8345295..60d6d14 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/station_status.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/station_status.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#station_statusjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#station_statusjson", "description": "Describes the capacity and rental availability of the station", "type": "object", @@ -115,6 +115,7 @@ "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC/system_alerts.json b/gbfs-validator/versions/schemas/v3.0-RC/system_alerts.json index 01facd8..a9b96fb 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/system_alerts.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/system_alerts.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#system_alertsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#system_alertsjson", "description": "Describes ad-hoc changes to the system.", "type": "object", "properties": { @@ -74,6 +74,7 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -82,6 +83,7 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC/system_information.json b/gbfs-validator/versions/schemas/v3.0-RC/system_information.json index 035462f..2d3b090 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/system_information.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/system_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#system_informationjson", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#system_informationjson", "description": "Details including system operator, system location, year implemented, URL, contact info, time zone.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v3.0-RC/system_pricing_plans.json b/gbfs-validator/versions/schemas/v3.0-RC/system_pricing_plans.json index e5b048e..cfcffca 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/system_pricing_plans.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/system_pricing_plans.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#system_pricing_plansjson", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#system_pricing_plansjson", "description": "Describes the pricing schemes of the system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v3.0-RC/system_regions.json b/gbfs-validator/versions/schemas/v3.0-RC/system_regions.json index a5e7a8f..122a522 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/system_regions.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/system_regions.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#system_regionsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#system_regionsjson", "description": "Describes regions for a system that is broken up by geographic or political region.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v3.0-RC/vehicle_status.json b/gbfs-validator/versions/schemas/v3.0-RC/vehicle_status.json index 0675fd3..b347a15 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/vehicle_status.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/vehicle_status.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#vehicle_statusjson", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#vehicle_statusjson", "description": "Describes the vehicles that are available for rent (as of v3.0-RC, formerly free_bike_status).", "type": "object", diff --git a/gbfs-validator/versions/schemas/v3.0-RC/vehicle_types.json b/gbfs-validator/versions/schemas/v3.0-RC/vehicle_types.json index a6bc544..7dbeea8 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/vehicle_types.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/vehicle_types.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#vehicle_typesjson-added-in-v21-rc", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#vehicle_typesjson", "description": "Describes the types of vehicles that System operator has available for rent (added in v2.1-RC).", "type": "object", @@ -244,6 +244,7 @@ "pricing_plan_ids": { "description": "Array of all pricing plan IDs as defined in system_pricing_plans.json added in v2.3-RC.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/gbfs.json b/gbfs-validator/versions/schemas/v3.0-RC2/gbfs.json index 7adce66..ada921b 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/gbfs.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/gbfs.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#gbfsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#gbfsjson", "description": "Auto-discovery file that links to all of the other files published by the system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/gbfs_versions.json b/gbfs-validator/versions/schemas/v3.0-RC2/gbfs_versions.json index 771cf2d..b0b56fd 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/gbfs_versions.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/gbfs_versions.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#gbfs_versionsjson-added-in-v11", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#gbfs_versionsjson", "description": "Lists all feed endpoints published according to version sof the GBFS documentation. (added in v1.1)", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/geofencing_zones.json b/gbfs-validator/versions/schemas/v3.0-RC2/geofencing_zones.json index 46fb71f..e8a90ab 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/geofencing_zones.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/geofencing_zones.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#geofencing_zonesjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#geofencing_zonesjson", "description": "Describes geofencing zones and their associated rules and attributes (added in v2.1-RC).", "type": "object", "properties": { @@ -84,6 +84,7 @@ "properties": { "vehicle_type_ids": { "type": "array", + "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } }, @@ -162,6 +163,7 @@ "properties": { "vehicle_type_ids": { "type": "array", + "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } }, diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/manifest.json b/gbfs-validator/versions/schemas/v3.0-RC2/manifest.json index 88a2f38..38f6816 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/manifest.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/manifest.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#manifestjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#manifestjson", "description": "An index of gbfs.json URLs for each GBFS data set produced by a publisher. A single instance of this file should be published at a single stable URL, for example: https://example.com/gbfs/manifest.json.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/station_information.json b/gbfs-validator/versions/schemas/v3.0-RC2/station_information.json index de516ba..6f98b01 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/station_information.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/station_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#station_informationjson", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#station_informationjson", "description": "List of all stations, their capacities and locations. REQUIRED of systems utilizing docks.", "type": "object", @@ -200,6 +200,7 @@ "vehicle_type_ids": { "description": "The vehicle_type_ids, as defined in vehicle_types.json, that may park at the virtual station.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -222,6 +223,7 @@ "vehicle_type_ids": { "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/station_status.json b/gbfs-validator/versions/schemas/v3.0-RC2/station_status.json index 800dc25..8504ce8 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/station_status.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/station_status.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#station_statusjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#station_statusjson", "description": "Describes the capacity and rental availability of the station", "type": "object", @@ -116,6 +116,7 @@ "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/system_alerts.json b/gbfs-validator/versions/schemas/v3.0-RC2/system_alerts.json index 4cc89b1..d5a5d9a 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/system_alerts.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/system_alerts.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#system_alertsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#system_alertsjson", "description": "Describes ad-hoc changes to the system.", "type": "object", "properties": { @@ -75,6 +75,7 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -83,6 +84,7 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/system_information.json b/gbfs-validator/versions/schemas/v3.0-RC2/system_information.json index e3993b1..d3f7fab 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/system_information.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/system_information.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#system_informationjson", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#system_informationjson", "description": "Details including system operator, system location, year implemented, URL, contact info, time zone.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/system_pricing_plans.json b/gbfs-validator/versions/schemas/v3.0-RC2/system_pricing_plans.json index d3ffd35..e5bc6c3 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/system_pricing_plans.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/system_pricing_plans.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#system_pricing_plansjson", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#system_pricing_plansjson", "description": "Describes the pricing schemes of the system.", "type": "object", "properties": { diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/system_regions.json b/gbfs-validator/versions/schemas/v3.0-RC2/system_regions.json index 2de0195..4d4c35b 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/system_regions.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/system_regions.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#system_regionsjson", + "$id": "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#system_regionsjson", "description": "Describes regions for a system that is broken up by geographic or political region.", "type": "object", diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_status.json b/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_status.json index 55a1c26..6363772 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_status.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_status.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#vehicle_statusjson", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#vehicle_statusjson", "description": "Describes the vehicles that are available for rent (as of v3.0-RC, formerly free_bike_status).", "type": "object", diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_types.json b/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_types.json index a72fd66..e56b9a3 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_types.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_types.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": - "https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#vehicle_typesjson-added-in-v21-rc", + "https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#vehicle_typesjson", "description": "Describes the types of vehicles that System operator has available for rent (added in v2.1-RC).", "type": "object", @@ -245,6 +245,7 @@ "pricing_plan_ids": { "description": "Array of all pricing plan IDs as defined in system_pricing_plans.json added in v2.3-RC.", "type": "array", + "uniqueItems": true, "items": { "type": "string" } From 87b9c02242f87a6a282b657619ea937cb62613f3 Mon Sep 17 00:00:00 2001 From: Fabien Richard-Allouard Date: Tue, 21 Nov 2023 14:56:02 -0500 Subject: [PATCH 2/4] Update URLs from NABSA to MobilityData repo --- CONTRIBUTING.md | 2 +- RULES.md | 8 ++++---- check-systems/README.md | 2 +- website/src/components/Result.vue | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a61bfea..18ba2e6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,7 +36,7 @@ The function is only compatible with Netlify Function (https://www.netlify.com/p - check-systems -Check-systems is a CLI tool to validate the whole “systems.csv” from https://github.com/NABSA/gbfs locally +Check-systems is a CLI tool to validate the whole “systems.csv” from https://github.com/MobilityData/gbfs locally # Code convention diff --git a/RULES.md b/RULES.md index ffb7173..b0629c0 100644 --- a/RULES.md +++ b/RULES.md @@ -18,12 +18,12 @@ The validator will check for the presence of the files depending on the options tick boxes -The Validator also checks the conditional requirement of the file `vehicle_types.json`: as per the [official GBFS specification](https://github.com/NABSA/gbfs/blob/master/gbfs.md#vehicle_typesjson), it is required of systems that include information about vehicle types in the `vehicle_status.json file`. +The Validator also checks the conditional requirement of the file `vehicle_types.json`: as per the [official GBFS specification](https://github.com/MobilityData/gbfs/blob/master/gbfs.md#vehicle_typesjson), it is required of systems that include information about vehicle types in the `vehicle_status.json file`. # Fields presence and field types ## Required fields -Each file in GBFS has to be structured in a specific [output format](https://github.com/NABSA/gbfs/blob/master/gbfs.md#output-format). +Each file in GBFS has to be structured in a specific [output format](https://github.com/MobilityData/gbfs/blob/master/gbfs.md#output-format). All the fields that are described as **required** in GBFS will be checked by the validator. Some fields are required only if the parent field is defined, and this is considered a **conditionally required** field. @@ -68,8 +68,8 @@ The following conditions are all covered by this validator: `current_range_meters` - **conditions that are not covered by this validator** -`num_docks_available` in station_status.json`: because it depends on something that isn't defined in the GBFS files: the docking capacity. See the official GBFS spec about this field [here](https://github.com/NABSA/gbfs/blob/master/gbfs.md#station_statusjson).\ -`vehicle_docks_available` in station_status.json`: because it depends on something that isn't defined in the GBFS files: *REQUIRED in feeds where [...] certain docks are only able to accept certain vehicle types.* See the official GBFS spec about this field [here](https://github.com/NABSA/gbfs/blob/master/gbfs.md#station_statusjson).\ +`num_docks_available` in station_status.json`: because it depends on something that isn't defined in the GBFS files: the docking capacity. See the official GBFS spec about this field [here](https://github.com/MobilityData/gbfs/blob/master/gbfs.md#station_statusjson).\ +`vehicle_docks_available` in station_status.json`: because it depends on something that isn't defined in the GBFS files: *REQUIRED in feeds where [...] certain docks are only able to accept certain vehicle types.* See the official GBFS spec about this field [here](https://github.com/MobilityData/gbfs/blob/master/gbfs.md#station_statusjson).\ `system_id` in `free_bike_status.json` ## Field types diff --git a/check-systems/README.md b/check-systems/README.md index f1e7320..0993466 100644 --- a/check-systems/README.md +++ b/check-systems/README.md @@ -1,5 +1,5 @@ # check-systems -Download systems.csv from https://github.com/NABSA/gbfs +Download systems.csv from https://github.com/MobilityData/gbfs `node check-systems/index.js systems.csv` diff --git a/website/src/components/Result.vue b/website/src/components/Result.vue index 10f80b6..5556357 100644 --- a/website/src/components/Result.vue +++ b/website/src/components/Result.vue @@ -37,7 +37,7 @@ const errorsCountFormated = computed(() => { Detected version {{ result.summary.version.detected }} and validate with {{ result.summary.version.validated }} From 041c994f6f60b8937bdb1d3bda399a921c84a201 Mon Sep 17 00:00:00 2001 From: Fabien Richard-Allouard Date: Tue, 21 Nov 2023 14:56:29 -0500 Subject: [PATCH 3/4] Update schema id URLs in partial schemas --- .../v2.1/free_bike_status/required_vehicle_type_id.js | 4 ++-- .../v2.1/station_status/required_vehicle_types_available.js | 4 ++-- .../partials/v2.1/system_information/required_store_uri.js | 4 ++-- .../v2.2/free_bike_status/required_vehicle_type_id.js | 4 ++-- .../v2.2/station_status/required_vehicle_types_available.js | 4 ++-- .../partials/v2.2/system_information/required_store_uri.js | 4 ++-- .../v2.3/free_bike_status/required_vehicle_type_id.js | 4 ++-- .../v2.3/station_status/required_vehicle_types_available.js | 4 ++-- .../partials/v2.3/system_information/required_store_uri.js | 4 ++-- .../versions/partials/v2.3/vehicle_types/pricing_plan_id.js | 2 +- .../station_status/required_vehicle_types_available.js | 4 ++-- .../partials/v3.0-RC/system_information/required_store_uri.js | 4 ++-- .../v3.0-RC/vehicle_status/required_vehicle_type_id.js | 4 ++-- .../partials/v3.0-RC/vehicle_types/pricing_plan_id.js | 2 +- .../station_status/required_vehicle_types_available.js | 4 ++-- .../v3.0-RC2/system_information/required_store_uri.js | 4 ++-- .../v3.0-RC2/vehicle_status/required_vehicle_type_id.js | 4 ++-- .../partials/v3.0-RC2/vehicle_types/pricing_plan_id.js | 2 +- 18 files changed, 33 insertions(+), 33 deletions(-) diff --git a/gbfs-validator/versions/partials/v2.1/free_bike_status/required_vehicle_type_id.js b/gbfs-validator/versions/partials/v2.1/free_bike_status/required_vehicle_type_id.js index 169e3c3..2e64464 100644 --- a/gbfs-validator/versions/partials/v2.1/free_bike_status/required_vehicle_type_id.js +++ b/gbfs-validator/versions/partials/v2.1/free_bike_status/required_vehicle_type_id.js @@ -11,7 +11,7 @@ module.exports = ({ vehicleTypes }) => { partial.$merge = { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#free_bike_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#free_bike_statusjson' }, with: { properties: { @@ -49,7 +49,7 @@ module.exports = ({ vehicleTypes }) => { partial.$patch = { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#free_bike_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#free_bike_statusjson' }, with: [ { diff --git a/gbfs-validator/versions/partials/v2.1/station_status/required_vehicle_types_available.js b/gbfs-validator/versions/partials/v2.1/station_status/required_vehicle_types_available.js index b90d020..0761e98 100644 --- a/gbfs-validator/versions/partials/v2.1/station_status/required_vehicle_types_available.js +++ b/gbfs-validator/versions/partials/v2.1/station_status/required_vehicle_types_available.js @@ -4,7 +4,7 @@ module.exports = ({ vehicleTypes }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#station_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#station_statusjson' }, with: { properties: { @@ -33,7 +33,7 @@ module.exports = ({ vehicleTypes }) => { $patch: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#station_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#station_statusjson' }, with: [ { diff --git a/gbfs-validator/versions/partials/v2.1/system_information/required_store_uri.js b/gbfs-validator/versions/partials/v2.1/system_information/required_store_uri.js index 6346b9a..7a9937c 100644 --- a/gbfs-validator/versions/partials/v2.1/system_information/required_store_uri.js +++ b/gbfs-validator/versions/partials/v2.1/system_information/required_store_uri.js @@ -4,7 +4,7 @@ module.exports = ({ android = false, ios = false }) => { $patch: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#system_informationjson' + 'https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_informationjson' }, with: [ { @@ -17,7 +17,7 @@ module.exports = ({ android = false, ios = false }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.1/gbfs.md#system_informationjson' + 'https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_informationjson' }, with: { properties: { diff --git a/gbfs-validator/versions/partials/v2.2/free_bike_status/required_vehicle_type_id.js b/gbfs-validator/versions/partials/v2.2/free_bike_status/required_vehicle_type_id.js index 51c1729..b0b1939 100644 --- a/gbfs-validator/versions/partials/v2.2/free_bike_status/required_vehicle_type_id.js +++ b/gbfs-validator/versions/partials/v2.2/free_bike_status/required_vehicle_type_id.js @@ -11,7 +11,7 @@ module.exports = ({ vehicleTypes }) => { partial.$merge = { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#free_bike_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#free_bike_statusjson' }, with: { properties: { @@ -49,7 +49,7 @@ module.exports = ({ vehicleTypes }) => { partial.$patch = { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#free_bike_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#free_bike_statusjson' }, with: [ { diff --git a/gbfs-validator/versions/partials/v2.2/station_status/required_vehicle_types_available.js b/gbfs-validator/versions/partials/v2.2/station_status/required_vehicle_types_available.js index 3b3ce9e..3dfc137 100644 --- a/gbfs-validator/versions/partials/v2.2/station_status/required_vehicle_types_available.js +++ b/gbfs-validator/versions/partials/v2.2/station_status/required_vehicle_types_available.js @@ -4,7 +4,7 @@ module.exports = ({ vehicleTypes }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#station_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#station_statusjson' }, with: { properties: { @@ -33,7 +33,7 @@ module.exports = ({ vehicleTypes }) => { $patch: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#station_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#station_statusjson' }, with: [ { diff --git a/gbfs-validator/versions/partials/v2.2/system_information/required_store_uri.js b/gbfs-validator/versions/partials/v2.2/system_information/required_store_uri.js index 15ab19e..bfad4a7 100644 --- a/gbfs-validator/versions/partials/v2.2/system_information/required_store_uri.js +++ b/gbfs-validator/versions/partials/v2.2/system_information/required_store_uri.js @@ -4,7 +4,7 @@ module.exports = ({ android = false, ios = false }) => { $patch: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#system_informationjson' + 'https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_informationjson' }, with: [ { @@ -17,7 +17,7 @@ module.exports = ({ android = false, ios = false }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md#system_informationjson' + 'https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_informationjson' }, with: { properties: { diff --git a/gbfs-validator/versions/partials/v2.3/free_bike_status/required_vehicle_type_id.js b/gbfs-validator/versions/partials/v2.3/free_bike_status/required_vehicle_type_id.js index 86be279..e79b605 100644 --- a/gbfs-validator/versions/partials/v2.3/free_bike_status/required_vehicle_type_id.js +++ b/gbfs-validator/versions/partials/v2.3/free_bike_status/required_vehicle_type_id.js @@ -11,7 +11,7 @@ module.exports = ({ vehicleTypes }) => { partial.$merge = { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#free_bike_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#free_bike_statusjson' }, with: { properties: { @@ -49,7 +49,7 @@ module.exports = ({ vehicleTypes }) => { partial.$patch = { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#free_bike_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#free_bike_statusjson' }, with: [ { diff --git a/gbfs-validator/versions/partials/v2.3/station_status/required_vehicle_types_available.js b/gbfs-validator/versions/partials/v2.3/station_status/required_vehicle_types_available.js index 2b52ea8..971d371 100644 --- a/gbfs-validator/versions/partials/v2.3/station_status/required_vehicle_types_available.js +++ b/gbfs-validator/versions/partials/v2.3/station_status/required_vehicle_types_available.js @@ -4,7 +4,7 @@ module.exports = ({ vehicleTypes }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#station_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#station_statusjson' }, with: { properties: { @@ -33,7 +33,7 @@ module.exports = ({ vehicleTypes }) => { $patch: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#station_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#station_statusjson' }, with: [ { diff --git a/gbfs-validator/versions/partials/v2.3/system_information/required_store_uri.js b/gbfs-validator/versions/partials/v2.3/system_information/required_store_uri.js index 63b1784..72b00e8 100644 --- a/gbfs-validator/versions/partials/v2.3/system_information/required_store_uri.js +++ b/gbfs-validator/versions/partials/v2.3/system_information/required_store_uri.js @@ -4,7 +4,7 @@ module.exports = ({ android = false, ios = false }) => { $patch: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#system_informationjson' + 'https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#system_informationjson' }, with: [ { @@ -17,7 +17,7 @@ module.exports = ({ android = false, ios = false }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#system_informationjson' + 'https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#system_informationjson' }, with: { properties: { diff --git a/gbfs-validator/versions/partials/v2.3/vehicle_types/pricing_plan_id.js b/gbfs-validator/versions/partials/v2.3/vehicle_types/pricing_plan_id.js index d896804..0921ad6 100644 --- a/gbfs-validator/versions/partials/v2.3/vehicle_types/pricing_plan_id.js +++ b/gbfs-validator/versions/partials/v2.3/vehicle_types/pricing_plan_id.js @@ -4,7 +4,7 @@ module.exports = ({ pricingPlans }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v2.3/gbfs.md#vehicle_typesjson-added-in-v21-rc' + 'https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#vehicle_typesjson' }, with: { properties: { diff --git a/gbfs-validator/versions/partials/v3.0-RC/station_status/required_vehicle_types_available.js b/gbfs-validator/versions/partials/v3.0-RC/station_status/required_vehicle_types_available.js index 66c3f4e..0c08e3e 100644 --- a/gbfs-validator/versions/partials/v3.0-RC/station_status/required_vehicle_types_available.js +++ b/gbfs-validator/versions/partials/v3.0-RC/station_status/required_vehicle_types_available.js @@ -4,7 +4,7 @@ module.exports = ({ vehicleTypes }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#station_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#station_statusjson' }, with: { properties: { @@ -33,7 +33,7 @@ module.exports = ({ vehicleTypes }) => { $patch: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#station_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#station_statusjson' }, with: [ { diff --git a/gbfs-validator/versions/partials/v3.0-RC/system_information/required_store_uri.js b/gbfs-validator/versions/partials/v3.0-RC/system_information/required_store_uri.js index 5c7363f..cbaf04a 100644 --- a/gbfs-validator/versions/partials/v3.0-RC/system_information/required_store_uri.js +++ b/gbfs-validator/versions/partials/v3.0-RC/system_information/required_store_uri.js @@ -4,7 +4,7 @@ module.exports = ({ android = false, ios = false }) => { $patch: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#system_informationjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#system_informationjson' }, with: [ { @@ -17,7 +17,7 @@ module.exports = ({ android = false, ios = false }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#system_informationjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#system_informationjson' }, with: { properties: { diff --git a/gbfs-validator/versions/partials/v3.0-RC/vehicle_status/required_vehicle_type_id.js b/gbfs-validator/versions/partials/v3.0-RC/vehicle_status/required_vehicle_type_id.js index ba5eff4..2b5e098 100644 --- a/gbfs-validator/versions/partials/v3.0-RC/vehicle_status/required_vehicle_type_id.js +++ b/gbfs-validator/versions/partials/v3.0-RC/vehicle_status/required_vehicle_type_id.js @@ -11,7 +11,7 @@ module.exports = ({ vehicleTypes }) => { partial.$merge = { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#vehicle_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#vehicle_statusjson' }, with: { properties: { @@ -49,7 +49,7 @@ module.exports = ({ vehicleTypes }) => { partial.$patch = { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#vehicle_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#vehicle_statusjson' }, with: [ { diff --git a/gbfs-validator/versions/partials/v3.0-RC/vehicle_types/pricing_plan_id.js b/gbfs-validator/versions/partials/v3.0-RC/vehicle_types/pricing_plan_id.js index ded5053..bc53271 100644 --- a/gbfs-validator/versions/partials/v3.0-RC/vehicle_types/pricing_plan_id.js +++ b/gbfs-validator/versions/partials/v3.0-RC/vehicle_types/pricing_plan_id.js @@ -4,7 +4,7 @@ module.exports = ({ pricingPlans }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC/gbfs.md#vehicle_typesjson-added-in-v21-rc' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC/gbfs.md#vehicle_typesjson' }, with: { properties: { diff --git a/gbfs-validator/versions/partials/v3.0-RC2/station_status/required_vehicle_types_available.js b/gbfs-validator/versions/partials/v3.0-RC2/station_status/required_vehicle_types_available.js index a326b24..2c8c7f6 100644 --- a/gbfs-validator/versions/partials/v3.0-RC2/station_status/required_vehicle_types_available.js +++ b/gbfs-validator/versions/partials/v3.0-RC2/station_status/required_vehicle_types_available.js @@ -4,7 +4,7 @@ module.exports = ({ vehicleTypes }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#station_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#station_statusjson' }, with: { properties: { @@ -33,7 +33,7 @@ module.exports = ({ vehicleTypes }) => { $patch: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#station_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#station_statusjson' }, with: [ { diff --git a/gbfs-validator/versions/partials/v3.0-RC2/system_information/required_store_uri.js b/gbfs-validator/versions/partials/v3.0-RC2/system_information/required_store_uri.js index f2d5175..04ab1d8 100644 --- a/gbfs-validator/versions/partials/v3.0-RC2/system_information/required_store_uri.js +++ b/gbfs-validator/versions/partials/v3.0-RC2/system_information/required_store_uri.js @@ -4,7 +4,7 @@ module.exports = ({ android = false, ios = false }) => { $patch: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#system_informationjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#system_informationjson' }, with: [ { @@ -17,7 +17,7 @@ module.exports = ({ android = false, ios = false }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#system_informationjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#system_informationjson' }, with: { properties: { diff --git a/gbfs-validator/versions/partials/v3.0-RC2/vehicle_status/required_vehicle_type_id.js b/gbfs-validator/versions/partials/v3.0-RC2/vehicle_status/required_vehicle_type_id.js index d344b95..ecfeb92 100644 --- a/gbfs-validator/versions/partials/v3.0-RC2/vehicle_status/required_vehicle_type_id.js +++ b/gbfs-validator/versions/partials/v3.0-RC2/vehicle_status/required_vehicle_type_id.js @@ -11,7 +11,7 @@ module.exports = ({ vehicleTypes }) => { partial.$merge = { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#vehicle_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#vehicle_statusjson' }, with: { properties: { @@ -49,7 +49,7 @@ module.exports = ({ vehicleTypes }) => { partial.$patch = { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#vehicle_statusjson' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#vehicle_statusjson' }, with: [ { diff --git a/gbfs-validator/versions/partials/v3.0-RC2/vehicle_types/pricing_plan_id.js b/gbfs-validator/versions/partials/v3.0-RC2/vehicle_types/pricing_plan_id.js index 3b3c601..f3213fa 100644 --- a/gbfs-validator/versions/partials/v3.0-RC2/vehicle_types/pricing_plan_id.js +++ b/gbfs-validator/versions/partials/v3.0-RC2/vehicle_types/pricing_plan_id.js @@ -4,7 +4,7 @@ module.exports = ({ pricingPlans }) => { $merge: { source: { $ref: - 'https://github.com/NABSA/gbfs/blob/v3.0-RC2/gbfs.md#vehicle_typesjson-added-in-v21-rc' + 'https://github.com/MobilityData/gbfs/blob/v3.0-RC2/gbfs.md#vehicle_typesjson' }, with: { properties: { From 3725f40a4e167e632a4239b3dbe17f0aad0c5f1b Mon Sep 17 00:00:00 2001 From: Fabien Richard-Allouard Date: Wed, 22 Nov 2023 15:02:32 -0500 Subject: [PATCH 4/4] Reverts unique values in Arrays of IDs --- gbfs-validator/versions/schemas/v1.0/system_alerts.json | 2 -- gbfs-validator/versions/schemas/v1.1/system_alerts.json | 2 -- gbfs-validator/versions/schemas/v2.0/system_alerts.json | 2 -- gbfs-validator/versions/schemas/v2.1/geofencing_zones.json | 1 - gbfs-validator/versions/schemas/v2.1/station_status.json | 1 - gbfs-validator/versions/schemas/v2.1/system_alerts.json | 2 -- gbfs-validator/versions/schemas/v2.2/geofencing_zones.json | 1 - gbfs-validator/versions/schemas/v2.2/station_status.json | 1 - gbfs-validator/versions/schemas/v2.2/system_alerts.json | 2 -- gbfs-validator/versions/schemas/v2.3/geofencing_zones.json | 1 - gbfs-validator/versions/schemas/v2.3/station_status.json | 1 - gbfs-validator/versions/schemas/v2.3/system_alerts.json | 2 -- gbfs-validator/versions/schemas/v2.3/vehicle_types.json | 1 - gbfs-validator/versions/schemas/v3.0-RC/geofencing_zones.json | 2 -- gbfs-validator/versions/schemas/v3.0-RC/station_status.json | 1 - gbfs-validator/versions/schemas/v3.0-RC/system_alerts.json | 2 -- gbfs-validator/versions/schemas/v3.0-RC/vehicle_types.json | 1 - gbfs-validator/versions/schemas/v3.0-RC2/geofencing_zones.json | 2 -- .../versions/schemas/v3.0-RC2/station_information.json | 2 -- gbfs-validator/versions/schemas/v3.0-RC2/station_status.json | 1 - gbfs-validator/versions/schemas/v3.0-RC2/system_alerts.json | 2 -- gbfs-validator/versions/schemas/v3.0-RC2/vehicle_types.json | 1 - 22 files changed, 33 deletions(-) diff --git a/gbfs-validator/versions/schemas/v1.0/system_alerts.json b/gbfs-validator/versions/schemas/v1.0/system_alerts.json index 4af77ae..c005ee8 100644 --- a/gbfs-validator/versions/schemas/v1.0/system_alerts.json +++ b/gbfs-validator/versions/schemas/v1.0/system_alerts.json @@ -60,7 +60,6 @@ "station_ids": { "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } @@ -68,7 +67,6 @@ "region_ids": { "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v1.1/system_alerts.json b/gbfs-validator/versions/schemas/v1.1/system_alerts.json index db4ef2f..9523d70 100644 --- a/gbfs-validator/versions/schemas/v1.1/system_alerts.json +++ b/gbfs-validator/versions/schemas/v1.1/system_alerts.json @@ -71,7 +71,6 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } @@ -80,7 +79,6 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.0/system_alerts.json b/gbfs-validator/versions/schemas/v2.0/system_alerts.json index cdc5f8e..68f40b8 100644 --- a/gbfs-validator/versions/schemas/v2.0/system_alerts.json +++ b/gbfs-validator/versions/schemas/v2.0/system_alerts.json @@ -71,7 +71,6 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } @@ -80,7 +79,6 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.1/geofencing_zones.json b/gbfs-validator/versions/schemas/v2.1/geofencing_zones.json index cf00e7a..6ce15de 100644 --- a/gbfs-validator/versions/schemas/v2.1/geofencing_zones.json +++ b/gbfs-validator/versions/schemas/v2.1/geofencing_zones.json @@ -80,7 +80,6 @@ "properties": { "vehicle_type_id": { "type": "array", - "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.1/station_status.json b/gbfs-validator/versions/schemas/v2.1/station_status.json index fae0a8a..a2a8bfa 100644 --- a/gbfs-validator/versions/schemas/v2.1/station_status.json +++ b/gbfs-validator/versions/schemas/v2.1/station_status.json @@ -112,7 +112,6 @@ "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.1/system_alerts.json b/gbfs-validator/versions/schemas/v2.1/system_alerts.json index 446e63f..58b9c5f 100644 --- a/gbfs-validator/versions/schemas/v2.1/system_alerts.json +++ b/gbfs-validator/versions/schemas/v2.1/system_alerts.json @@ -71,7 +71,6 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } @@ -80,7 +79,6 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.2/geofencing_zones.json b/gbfs-validator/versions/schemas/v2.2/geofencing_zones.json index 8d7a70a..f9a9476 100644 --- a/gbfs-validator/versions/schemas/v2.2/geofencing_zones.json +++ b/gbfs-validator/versions/schemas/v2.2/geofencing_zones.json @@ -80,7 +80,6 @@ "properties": { "vehicle_type_id": { "type": "array", - "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.2/station_status.json b/gbfs-validator/versions/schemas/v2.2/station_status.json index f00d623..f94fb2c 100644 --- a/gbfs-validator/versions/schemas/v2.2/station_status.json +++ b/gbfs-validator/versions/schemas/v2.2/station_status.json @@ -112,7 +112,6 @@ "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.2/system_alerts.json b/gbfs-validator/versions/schemas/v2.2/system_alerts.json index fc5e014..a885ea1 100644 --- a/gbfs-validator/versions/schemas/v2.2/system_alerts.json +++ b/gbfs-validator/versions/schemas/v2.2/system_alerts.json @@ -71,7 +71,6 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } @@ -80,7 +79,6 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.3/geofencing_zones.json b/gbfs-validator/versions/schemas/v2.3/geofencing_zones.json index 099bfa8..6bd5917 100644 --- a/gbfs-validator/versions/schemas/v2.3/geofencing_zones.json +++ b/gbfs-validator/versions/schemas/v2.3/geofencing_zones.json @@ -73,7 +73,6 @@ "properties": { "vehicle_type_id": { "type": "array", - "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } }, diff --git a/gbfs-validator/versions/schemas/v2.3/station_status.json b/gbfs-validator/versions/schemas/v2.3/station_status.json index 72298a9..c6db772 100644 --- a/gbfs-validator/versions/schemas/v2.3/station_status.json +++ b/gbfs-validator/versions/schemas/v2.3/station_status.json @@ -112,7 +112,6 @@ "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.3/system_alerts.json b/gbfs-validator/versions/schemas/v2.3/system_alerts.json index 7b2ce49..b19db8b 100644 --- a/gbfs-validator/versions/schemas/v2.3/system_alerts.json +++ b/gbfs-validator/versions/schemas/v2.3/system_alerts.json @@ -71,7 +71,6 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } @@ -80,7 +79,6 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v2.3/vehicle_types.json b/gbfs-validator/versions/schemas/v2.3/vehicle_types.json index d88f5ff..f396269 100644 --- a/gbfs-validator/versions/schemas/v2.3/vehicle_types.json +++ b/gbfs-validator/versions/schemas/v2.3/vehicle_types.json @@ -177,7 +177,6 @@ "pricing_plan_ids": { "description": "Array of all pricing plan IDs as defined in system_pricing_plans.json added in v2.3-RC.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC/geofencing_zones.json b/gbfs-validator/versions/schemas/v3.0-RC/geofencing_zones.json index 94571ea..b1f289d 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/geofencing_zones.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/geofencing_zones.json @@ -91,7 +91,6 @@ "properties": { "vehicle_type_id": { "type": "array", - "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } }, @@ -168,7 +167,6 @@ "properties": { "vehicle_type_id": { "type": "array", - "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } }, diff --git a/gbfs-validator/versions/schemas/v3.0-RC/station_status.json b/gbfs-validator/versions/schemas/v3.0-RC/station_status.json index 60d6d14..fa30ca6 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/station_status.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/station_status.json @@ -115,7 +115,6 @@ "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC/system_alerts.json b/gbfs-validator/versions/schemas/v3.0-RC/system_alerts.json index a9b96fb..b7b8430 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/system_alerts.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/system_alerts.json @@ -74,7 +74,6 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } @@ -83,7 +82,6 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC/vehicle_types.json b/gbfs-validator/versions/schemas/v3.0-RC/vehicle_types.json index 7dbeea8..18d24e0 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC/vehicle_types.json +++ b/gbfs-validator/versions/schemas/v3.0-RC/vehicle_types.json @@ -244,7 +244,6 @@ "pricing_plan_ids": { "description": "Array of all pricing plan IDs as defined in system_pricing_plans.json added in v2.3-RC.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/geofencing_zones.json b/gbfs-validator/versions/schemas/v3.0-RC2/geofencing_zones.json index e8a90ab..75fade5 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/geofencing_zones.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/geofencing_zones.json @@ -84,7 +84,6 @@ "properties": { "vehicle_type_ids": { "type": "array", - "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } }, @@ -163,7 +162,6 @@ "properties": { "vehicle_type_ids": { "type": "array", - "uniqueItems": true, "description": "Array of vehicle type IDs for which these restrictions apply.", "items": { "type": "string" } }, diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/station_information.json b/gbfs-validator/versions/schemas/v3.0-RC2/station_information.json index 6f98b01..d9d6c5b 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/station_information.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/station_information.json @@ -200,7 +200,6 @@ "vehicle_type_ids": { "description": "The vehicle_type_ids, as defined in vehicle_types.json, that may park at the virtual station.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } @@ -223,7 +222,6 @@ "vehicle_type_ids": { "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/station_status.json b/gbfs-validator/versions/schemas/v3.0-RC2/station_status.json index 8504ce8..2d87ed9 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/station_status.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/station_status.json @@ -116,7 +116,6 @@ "description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/system_alerts.json b/gbfs-validator/versions/schemas/v3.0-RC2/system_alerts.json index d5a5d9a..2eb688e 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/system_alerts.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/system_alerts.json @@ -75,7 +75,6 @@ "description": "Array of identifiers of the stations for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } @@ -84,7 +83,6 @@ "description": "Array of identifiers of the regions for which this alert applies.", "type": "array", - "uniqueItems": true, "items": { "type": "string" } diff --git a/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_types.json b/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_types.json index e56b9a3..f83706d 100644 --- a/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_types.json +++ b/gbfs-validator/versions/schemas/v3.0-RC2/vehicle_types.json @@ -245,7 +245,6 @@ "pricing_plan_ids": { "description": "Array of all pricing plan IDs as defined in system_pricing_plans.json added in v2.3-RC.", "type": "array", - "uniqueItems": true, "items": { "type": "string" }