Skip to content

Commit 5e2a4ee

Browse files
authored
remove duplicate mode row, update version
1 parent e05ba42 commit 5e2a4ee

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

policy/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ The `last_updated` field in the payload wrapper should be set to the time of pub
202202

203203
```jsonc
204204
{
205-
"version": "0.4.0",
205+
"version": "2.0.0",
206206
"last_updated": 1570035222868,
207207
"end_date": 1570035222868,
208208
"policies": [
@@ -222,7 +222,7 @@ The optional `end_date` field applies to all policies represented in the file.
222222

223223
```jsonc
224224
{
225-
"version": "0.4.0",
225+
"version": "2.0.0",
226226
"last_updated": 1570035222868,
227227
"geographies": [
228228
{
@@ -266,8 +266,7 @@ An individual `Policy` object is defined by the following fields:
266266
| Name | Type | Required / Optional | Description |
267267
| ---------------- | --------------- | ---------- | ----------------------------------------------------------------------------------- |
268268
| `name` | String | Required | Name of policy |
269-
| `mode` | [Mode][modes] | Required | Mode this rule should apply, see MDS [mode list][modes] for options. Default `micromobility` for backwards compatibility (this default will likely be removed in a subsequent MDS release) |
270-
| `mode_id` | [Mode][modes] | Required | Mode this rule should apply, see MDS [mode list][modes] for options. Default `micromobility` for backwards compatibility (this default will likely be removed in a subsequent MDS release) |
269+
| `mode_id` | [Mode][modes] | Required | Mode this rule should apply, see MDS [mode list][modes] for options. Default `micromobility` for backwards compatibility (this default will likely be removed in a subsequent MDS release) |
271270
| `policy_id` | UUID | Required | Unique ID of policy |
272271
| `provider_ids` | UUID[] | Optional | Providers for whom this policy is applicable; empty arrays and `null`/absent implies all Providers. See MDS [provider list](/providers.csv). |
273272
| `description` | String | Required | Description of policy |

0 commit comments

Comments
 (0)