Skip to content

Commit 9b61d02

Browse files
authored
Added data_provider_id to Provider
1 parent fc30413 commit 9b61d02

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

provider/README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,9 @@ Unless stated otherwise by the municipality, the trips endpoint must return all
161161

162162
| Field | Type | Required/Optional | Comments |
163163
| ----- | -------- | ----------------- | ----- |
164-
| `provider_id` | UUID | Required | A UUID for the Provider, unique within MDS. See MDS [provider list](/providers.csv). |
165-
| `provider_name` | String | Required | The public-facing name of the Provider |
164+
| `provider_id` | UUID | Required | A UUID for the provider, unique within MDS. See MDS [provider list](/providers.csv). |
165+
| `provider_name` | String | Required | The public-facing name of the provider |
166+
| `data_provider_id` | UUID | Optional | If different than `provider_id`, a UUID for the data solution provider managing the data feed in this endpoint. See MDS [provider list](/providers.csv) which includes both service operators and data solution providers. |
166167
| `device_id` | UUID | Required | A unique device ID in UUID format |
167168
| `vehicle_id` | String | Required | A unique vehicle identifier (visible code, licence plate, etc), visible on the vehicle itself. |
168169
| `vehicle_type` | Enum | Required | See [vehicle types][vehicle-types] table |
@@ -291,8 +292,9 @@ Unless stated otherwise by the municipality, this endpoint must return only thos
291292

292293
| Field | Type | Required/Optional | Comments |
293294
| ----- | ---- | ----------------- | ----- |
294-
| `provider_id` | UUID | Required | A UUID for the Provider, unique within MDS. See MDS [provider list](/providers.csv). |
295-
| `provider_name` | String | Required | The public-facing name of the Provider |
295+
| `provider_id` | UUID | Required | A UUID for the provider, unique within MDS. See MDS [provider list](/providers.csv). |
296+
| `provider_name` | String | Required | The public-facing name of the provider |
297+
| `data_provider_id` | UUID | Optional | If different than `provider_id`, a UUID for the data solution provider managing the data feed in this endpoint. See MDS [provider list](/providers.csv) which includes both service operators and data solution providers. |
296298
| `device_id` | UUID | Required | A unique device ID in UUID format |
297299
| `vehicle_id` | String | Required | A unique vehicle identifier (visible code, licence plate, etc), visible on the vehicle itself |
298300
| `vehicle_type` | Enum | Required | see [vehicle types][vehicle-types] table |
@@ -580,8 +582,9 @@ In addition to the standard [Provider payload wrapper](#response-format), respon
580582

581583
| Field | Type | Required/Optional | Comments |
582584
| ----- | ---- | ----------------- | ----- |
583-
| `provider_id` | UUID | Required | A UUID for the Provider, unique within MDS. See MDS [provider list](/providers.csv). |
584-
| `provider_name` | String | Required | The public-facing name of the Provider |
585+
| `provider_id` | UUID | Required | A UUID for the provider, unique within MDS. See MDS [provider list](/providers.csv). |
586+
| `provider_name` | String | Required | The public-facing name of the provider |
587+
| `data_provider_id` | UUID | Optional | If different than `provider_id`, a UUID for the data solution provider managing the data feed in this endpoint. See MDS [provider list](/providers.csv) which includes both service operators and data solution providers. |
585588
| `device_id` | UUID | Required | A unique device ID in UUID format, should match this device in Provider |
586589
| `vehicle_id` | String | Required | A unique vehicle identifier (visible code, licence plate, etc), visible on the vehicle itself |
587590
| `vehicle_type` | Enum | Required | see [vehicle types][vehicle-types] table |

0 commit comments

Comments
 (0)