Skip to content

Commit 06ab63b

Browse files
authored
Add mode option to Requirements
1 parent 5ae236e commit 06ab63b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

policy/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ For each combination of items in a program, you can specify the data specs, APIs
603603
{
604604
"data_spec_name": "[DATA SPEC NAME]",
605605
"version": "[VERSION NUMBER]",
606+
"mode": "[MODE SHORTNAME]",
606607
"required_apis": [
607608
{
608609
// Required APIs array
@@ -623,6 +624,7 @@ For each combination of items in a program, you can specify the data specs, APIs
623624
| -------------------- | ------ | -------- | ----------------------------------- |
624625
| `data_spec_name` | Enum | Required | Name of the data spec required. Supported values are: '[MDS](https://github.com/openmobilityfoundation/mobility-data-specification/tree/ms-requirements)', '[GBFS](https://github.com/NABSA/gbfs/tree/v2.2)'. Others like GOFS, GTFS, TOMP-API, etc can be tested by agencies and officially standardized here in the future -- leave your feedback on [this issue](https://github.com/openmobilityfoundation/mobility-data-specification/issues/682). |
625626
| `version` | Text | Required | Version number of the data spec required. E.g. '1.2.0' |
627+
| `mode` | Text | Optional | The [mode list][modes] shortname for MDS. E.g. 'passenger-services' |
626628
| `required_apis` | Array | Conditionally Required | Name of the [Requirement APIs](#requirement-apis) that need to be served by providers. At least one API is required. APIs not listed will not be available to the agency. |
627629
| `available_apis` | Array | Conditionally Required | Name of the [Requirement APIs](#requirement-apis) that are being served by agencies. Not applicable to GBFS. APIs not listed will not be available to the provider. |
628630

0 commit comments

Comments
 (0)