From 171756d385a176a07e66890a12ddc388da2ab3fc Mon Sep 17 00:00:00 2001 From: Drew Dara-Abrams Date: Fri, 7 Jul 2023 16:29:29 -0700 Subject: [PATCH] retain MDS --- CHANGELOG.md | 1 - json-schema/dmfr.schema-v0.5.0.json | 9 +++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf707b7..8cec190 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,6 @@ ## v0.5.0 -- **Breaking change**: DMFR no longer supports feeds in the [MDS specification](https://github.com/openmobilityfoundation/mobility-data-specification). Transitland has expanded to support GTFS, GTFS Realtime, and GBFS, but has no immediate plans to support MDS. - A feed record can now have an optional `name` and `description` fields to provide additional context to DMFR editors and users of software that consume DMFR files. - When specifying an SPDX identifier for a feed license or DMFR license, the value will now be validated against a list of SPDX short-form identifiers. Sourced from https://github.com/spdx/license-list-data diff --git a/json-schema/dmfr.schema-v0.5.0.json b/json-schema/dmfr.schema-v0.5.0.json index e9d0769..9d916e0 100644 --- a/json-schema/dmfr.schema-v0.5.0.json +++ b/json-schema/dmfr.schema-v0.5.0.json @@ -44,8 +44,8 @@ }, "spec": { "type": "string", - "enum": ["gtfs", "gtfs-rt", "gbfs"], - "description": "Type of data contained in this feed: GTFS, GTFS-RT, or GBFS." + "enum": ["gtfs", "gtfs-rt", "gbfs", "mds"], + "description": "Type of data contained in this feed: GTFS, GTFS-RT, GBFS, or MDS." }, "name": { "type": "string", @@ -106,6 +106,11 @@ "type": "string", "description": "Auto-discovery file in JSON format that links to all of the other GBFS files published by the system.", "pattern": "^(http|https|ftp):\/\/[a-zA-Z0-9.,~#{}():&/%='?_/-]+$" + }, + "mds_provider": { + "type": "string", + "description": "MDS provider API endpoints are intended to be implemented by mobility providers and consumed by regulatory agencies.", + "pattern": "^(http|https|ftp):\/\/[a-zA-Z0-9.,~#{}():&/%='?_/-]+$" } } },