You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -83,6 +85,12 @@ Working Groups and their Steering Committees are expected to review beta designa
83
85
84
86
[Top][toc]
85
87
88
+
## Conditionally Required Fields
89
+
90
+
Conditionally required fields **must** be provided in MDS data feeds from operators if the data is available from the operator, and/or the public agency requests it as part of its permit, RFP, contract, operating agreement, SLA, [Requirements](./policy#requirement) file, or via other authority. Or as part of the conditional requirement as stated in the field's descritpion.
91
+
92
+
[Top][toc]
93
+
86
94
## Costs and Currencies
87
95
88
96
Fields specifying a monetary cost use a currency as specified in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). All costs should be given as integers in the currency's smallest unit. As an example, to represent $1 USD, specify an amount of `100` (100 cents).
@@ -167,6 +175,12 @@ During the Beta period for this feature, location and telemetry data remain requ
167
175
168
176
[Top][toc]
169
177
178
+
## Optional Fields
179
+
180
+
Optional fields **may** be provided in MDS data feeds from operators if the data is available from the operator, and/or the public agency requests it as part of its permit, RFP, contract, operating agreement, SLA, [Requirements](./policy#requirement) file, or via other authority.
|`description`| String | Optional | Detailed description of geography |
93
-
|`geography_type`| String | Optional | Type of geography, e.g. `municipal_boundary` or `council_district` or custom text. See [Geography Type](#geography-type). |
92
+
|`description`| String |[Optional](../general-information.md#optional-fields)| Detailed description of geography |
93
+
|`geography_type`| String |[Optional](../general-information.md#optional-fields)| Type of geography, e.g. `municipal_boundary` or `council_district` or custom text. See [Geography Type](#geography-type). |
94
94
|`geography_id`| UUID | Required | Unique ID of geography |
95
95
|`geography_json`| JSON | Required | The GeoJSON that defines the geographical coordinates. |
96
-
|`effective_date`|[timestamp][ts]| Optional | The date at which a Geography is considered "live". Must be at or after `published_date`. |
96
+
|`effective_date`|[timestamp][ts]|[Optional](../general-information.md#optional-fields)| The date at which a Geography is considered "live". Must be at or after `published_date`. |
97
97
|`published_date`|[timestamp][ts]| Required | Time that the geography was published, i.e. made immutable |
98
-
|`retire_date`|[timestamp][ts]| Optional | Time that the geography is slated to retire. Once the retire date is passed, new policies can no longer reference it and old policies referencing it should be updated. Retired geographies should continue to be returned in the geographies list. Must be after `effective_date`. Geographies referencing others with `prev_geographies` immediately replace the previous ones. |
99
-
|`prev_geographies`| UUID[]| Optional | Unique IDs of prior geographies replaced by this one |
98
+
|`retire_date`|[timestamp][ts]|[Optional](../general-information.md#optional-fields)| Time that the geography is slated to retire. Once the retire date is passed, new policies can no longer reference it and old policies referencing it should be updated. Retired geographies should continue to be returned in the geographies list. Must be after `effective_date`. Geographies referencing others with `prev_geographies` immediately replace the previous ones. |
99
+
|`prev_geographies`| UUID[]|[Optional](../general-information.md#optional-fields)| Unique IDs of prior geographies replaced by this one |
|`jurisdiction_id`| UUID | Required | Unique ID of Jurisdiction. This field is immutable. |
100
100
|`agency_key`| String | Required | A unique string key for the Jurisdiction. This field must also be immutable. Allows for easier management of Jurisdiction-based access control in JWTs. |
101
-
|`agency_name`| String | Optional | Human-readable agency name for display purposes. |
101
+
|`agency_name`| String |[Optional](../general-information.md#optional-fields)| Human-readable agency name for display purposes. |
102
102
|`description`| String | Required | Description of Jurisdiction. |
103
-
|`geography_id`| UUID | Optional | The unique ID of the geography covered by this Jurisdiction. |
103
+
|`geography_id`| UUID |[Optional](../general-information.md#optional-fields)| The unique ID of the geography covered by this Jurisdiction. |
104
104
|`mode_ids`| String[]| Required | Use this field to specify an array of what mobility [modes][modes] a jurisdiction applies to. |
105
105
|`timestamp`| timestamp | Required | Creation or update time of a Jurisdiction. |
Copy file name to clipboardExpand all lines: modes/car-share.md
+29-29Lines changed: 29 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ The `journey_id` field shall have a consistent value in overlapping trips for a
54
54
55
55
The `journey_attributes` object **may** have the following key value pairs:
56
56
57
-
-`reservation_id` (UUID, optional): unique identifier for an entire car share reservation, tied across multiple journeys and therefore trips.
57
+
-`reservation_id` (UUID, [Optional](../general-information.md#optional-fields)): unique identifier for an entire car share reservation, tied across multiple journeys and therefore trips.
58
58
59
59
[Top][toc]
60
60
@@ -81,9 +81,9 @@ The `trip_type` field **must** have one of the following enumerated values:
81
81
The `trip_attributes` object **may** have the following key value pairs:
82
82
83
83
-`reservation_type` (enumerated, required): how was the vehicle reserved, one of `phone_dispatch`, `phone`, `text`, `app`
84
-
-`app_name` (text, optional): name of the app used to reserve the vehicle which could be provider's app or 3rd party app
85
-
-`permit_license_number` (string, optional) - The permit license number of the organization that dispatched the vehicle
86
-
-`driver_id` (string, optional): Universal identifier of a specific driver, static across operators, like a driver's license number, for company employees in `reservation` or `empty` trip types, not `private` trips. Could also be used as a lookup in an agency's internal driver system.
84
+
-`app_name` (text, [Optional](../general-information.md#optional-fields)): name of the app used to reserve the vehicle which could be provider's app or 3rd party app
85
+
-`permit_license_number` (string, [Optional](../general-information.md#optional-fields)) - The permit license number of the organization that dispatched the vehicle
86
+
-`driver_id` (string, [Optional](../general-information.md#optional-fields)): Universal identifier of a specific driver, static across operators, like a driver's license number, for company employees in `reservation` or `empty` trip types, not `private` trips. Could also be used as a lookup in an agency's internal driver system.
87
87
88
88
[Top][toc]
89
89
@@ -93,14 +93,14 @@ The `fare_attributes` object **may** have the following key value pairs:
-`fare_type` (enumerated, required): `meter_fare`, `upfront_pricing`, `flat_rate`. Indicator of which rate was charged.
96
-
-`tolls` (currency, optional) - Sum of any and all tolls charged for the trip, such as bridge tolls
97
-
-`base_rate` (currency, optional) - Minimum fare to be charged as soon as the trip starts.
98
-
-`exit_fee` (currency, optional) - Fee to exit location, like an airport
99
-
-`other_fees` (currency, optional) - amount of any fees charged to the customer. Includes baggage fees, cleaning fee. Excludes other fees returned.
100
-
-`tip` (currency, optional) - amount of tip paid by customer
101
-
-`extra_amount` (currency, optional) - miscellaneous extra amounts charged to customer not covered by other fields.
102
-
-`taxes` (currency, optional) - amount of taxes paid for the ride
103
-
-`surcharge` (currency, optional) - any surcharge pricing
96
+
-`tolls` (currency, [Optional](../general-information.md#optional-fields)) - Sum of any and all tolls charged for the trip, such as bridge tolls
97
+
-`base_rate` (currency, [Optional](../general-information.md#optional-fields)) - Minimum fare to be charged as soon as the trip starts.
98
+
-`exit_fee` (currency, [Optional](../general-information.md#optional-fields)) - Fee to exit location, like an airport
99
+
-`other_fees` (currency, [Optional](../general-information.md#optional-fields)) - amount of any fees charged to the customer. Includes baggage fees, cleaning fee. Excludes other fees returned.
100
+
-`tip` (currency, [Optional](../general-information.md#optional-fields)) - amount of tip paid by customer
101
+
-`extra_amount` (currency, [Optional](../general-information.md#optional-fields)) - miscellaneous extra amounts charged to customer not covered by other fields.
102
+
-`taxes` (currency, [Optional](../general-information.md#optional-fields)) - amount of taxes paid for the ride
103
+
-`surcharge` (currency, [Optional](../general-information.md#optional-fields)) - any surcharge pricing
104
104
105
105
[Top][toc]
106
106
@@ -118,23 +118,23 @@ The `vehicle_attributes` object **may** have the following key value pairs:
118
118
-`color` (string, required)
119
119
-`vin` (string, required) - the Vehicle Identification Number of the vehicle
120
120
-`license_plate` (string, required) - the registered external license plate number of the vehicle
121
-
-`inspection_date` (date YYYY-MM-DD, optional) - the date of the last inspection of the vehicle
122
-
-`snow_shovel` (boolean, optional) - shovel for removing snow or ice from around vehicle or vehicle path
123
-
-`snow_brush` (boolean, optional) - brushes for removing snow or ice from vehicle
124
-
-`bike_rack` (boolean, optional) - car roof or trunk mounted bike rack
125
-
-`park_access` (boolean, optional) - access pass to a national/regional/municipal park system
126
-
-`toll_transponder` (boolean, optional) - toll transponder for national/regional toll system
127
-
-`phone_charger` (boolean, optional) - a place to charge your phone
128
-
-`sunshade` (boolean, optional) - sunshade available (i.e. for windshield)
129
-
-`cargo_volume_capacity` (integer, optional) - Cargo volume available in the vehicle, expressed in liters. For cars, it corresponds to the space between the boot floor, including the storage under the hatch, to the rear shelf in the trunk.
130
-
-`cargo_load_capacity` (integer, optional) - The capacity of the vehicle cargo space (excluding passengers), expressed in kilograms.
131
-
-`door_count` (integer, optional) - number of doors this vehicle type has
132
-
-`wheel_count` (integer, optional) - number of wheels this vehicle type has
133
-
-`air_conditioning` (boolean, optional) - vehicle has air conditioning
134
-
-`gear_switch` (enum, optional) - one of `automatic`, `manual`
135
-
-`convertible` (boolean, optional) - vehicle has a retractable roof
136
-
-`cruise_control` (boolean, optional) - vehicle has a cruise control system
137
-
-`navigation` (boolean, optional) - vehicle has a built-in navigation system
121
+
-`inspection_date` (date YYYY-MM-DD, [Optional](../general-information.md#optional-fields)) - the date of the last inspection of the vehicle
122
+
-`snow_shovel` (boolean, [Optional](../general-information.md#optional-fields)) - shovel for removing snow or ice from around vehicle or vehicle path
123
+
-`snow_brush` (boolean, [Optional](../general-information.md#optional-fields)) - brushes for removing snow or ice from vehicle
124
+
-`bike_rack` (boolean, [Optional](../general-information.md#optional-fields)) - car roof or trunk mounted bike rack
125
+
-`park_access` (boolean, [Optional](../general-information.md#optional-fields)) - access pass to a national/regional/municipal park system
126
+
-`toll_transponder` (boolean, [Optional](../general-information.md#optional-fields)) - toll transponder for national/regional toll system
127
+
-`phone_charger` (boolean, [Optional](../general-information.md#optional-fields)) - a place to charge your phone
128
+
-`sunshade` (boolean, [Optional](../general-information.md#optional-fields)) - sunshade available (i.e. for windshield)
129
+
-`cargo_volume_capacity` (integer, [Optional](../general-information.md#optional-fields)) - Cargo volume available in the vehicle, expressed in liters. For cars, it corresponds to the space between the boot floor, including the storage under the hatch, to the rear shelf in the trunk.
130
+
-`cargo_load_capacity` (integer, [Optional](../general-information.md#optional-fields)) - The capacity of the vehicle cargo space (excluding passengers), expressed in kilograms.
131
+
-`door_count` (integer, [Optional](../general-information.md#optional-fields)) - number of doors this vehicle type has
132
+
-`wheel_count` (integer, [Optional](../general-information.md#optional-fields)) - number of wheels this vehicle type has
133
+
-`air_conditioning` (boolean, [Optional](../general-information.md#optional-fields)) - vehicle has air conditioning
134
+
-`gear_switch` (enum, [Optional](../general-information.md#optional-fields)) - one of `automatic`, `manual`
135
+
-`convertible` (boolean, [Optional](../general-information.md#optional-fields)) - vehicle has a retractable roof
136
+
-`cruise_control` (boolean, [Optional](../general-information.md#optional-fields)) - vehicle has a cruise control system
137
+
-`navigation` (boolean, [Optional](../general-information.md#optional-fields)) - vehicle has a built-in navigation system
138
138
139
139
Note many of these attributes come from fields in [GBFS vehicle_types](https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#vehicle_typesjson).
0 commit comments