From 87b9c02242f87a6a282b657619ea937cb62613f3 Mon Sep 17 00:00:00 2001 From: Fabien Richard-Allouard Date: Tue, 21 Nov 2023 14:56:02 -0500 Subject: [PATCH] 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 }}