Mobility Data Specification: Data Types

June 17, 2026 ยท View on GitHub

This MDS data types page catalogs the objects (fields, types, requirements, descriptions) used across MDS, particularly with the unified Provider and Agency endpoints.

Table of Contents

Vehicles

A vehicle record is as follows:

FieldTypeRequired/OptionalComments
device_idUUIDRequiredA unique device ID in UUID format, should match this device in Provider
provider_idUUIDRequiredA UUID for the Provider, unique within MDS. See MDS provider list.
data_provider_idUUIDOptionalIf different than provider_id, a UUID for the data solution provider managing the data feed in this endpoint. See MDS provider list which includes both service operators and data solution providers.
vehicle_idStringRequiredA unique vehicle identifier (visible code, license plate, etc), visible on the vehicle itself
vehicle_typeEnumRequiredThe vehicle type
vehicle_attributesMapOptionalMode Specific. Vehicle attributes given as mode-specific unordered key-value pairs
propulsion_typesEnum[]RequiredArray of propulsion types; allows multiple values
accessibility_attributesEnum[]Required if AvailableMode Specific. Accessibility attributes given as an array of enumerated values. List of any accessibility attributes available on the vehicle.
battery_capacityIntegerRequired if AvailableCapacity of battery expressed as milliamp hours (mAh)
fuel_capacityIntegerRequired if AvailableCapacity of fuel tank (liquid, solid, gaseous) expressed in liters
maximum_speedIntegerRequired if AvailableMaximum speed (kph) possible with vehicle under normal, flat incline, smooth surface conditions. Applicable if the device has a built-in or intelligent speed limiter/governor.
hardware_modelStringRequired if AvailableNumber, identifier, or description of the main device hardware model. Can apply to any mode.
commissionedTimestampConditionally RequiredDate/time the vehicle first starts providing service in the jurisdiction. Required if asked for by public agency.
decommissionedTimestampConditionally RequiredDate/time the vehicle stops providing service in the jurisdiction and is decommissioned. Required when the vehicle is retired from operations.
custom_attributesCustom Attributes JSON ObjectOptionalAdditional attributes (fields and data) to include in this endpoint.

Top

Vehicle Types

The list of allowed vehicle_type values in MDS.

vehicle_typeDescription
bicycleA two-wheeled mobility device intended for personal transportation that can be operated via pedals, with or without a motorized assist (includes e-bikes, recumbents, and tandems)
busA vehicle larger than a car or small truck capable of transporting multiple passengers at once
cargo_bicycleA two- or three-wheeled bicycle intended for transporting larger, heavier cargo than a standard bicycle (such as goods or passengers), with or without motorized assist (includes bakfiets/front-loaders, cargo trikes, and long-tails)
carA passenger car or similar light-duty vehicle
delivery_robotA robot or remote-operated device intended for transporting goods
mopedA seated fully-motorized mobility device capable of travel at moderate or high speeds and suited for operation in general urban traffic
motorcycleA seated fully-motorized mobility device capable of travel at high speeds and suited for operation in general urban traffic and highways
scooterA standing or seated fully-motorized mobility device intended for one rider, capable of travel at low or moderate speeds, and suited for operation in infrastructure shared with motorized bicycles
scooter_standingA standing fully-motorized mobility device without a seat intended for one rider, capable of travel at low or moderate speeds, and suited for operation in infrastructure shared with motorized bicycles
scooter_seatedA fully-motorized mobility device with a seat intended for one rider, capable of travel at low or moderate speeds, and suited for operation in infrastructure shared with motorized bicycles
truckA truck or vehicle larger than a car or similar heavy-duty vehicle
vanA van with significant interior cargo space
freightA large delivery truck with attached cab
otherA device that does not fit in the other categories

Values based off of form_factor in GBFS vehicle_types and CDS vehicle types, with some modifications to support MDS modes.

Top

Propulsion Types

The list of allowed propulsion_type values in MDS.

propulsionDescription
humanPedal or foot propulsion
electric_assistProvides electric motor assist only in combination with human propulsion - no throttle mode
electricPowered by battery-powered electric motor with throttle mode
combustionPowered by gasoline combustion engine
combustion_dieselPowered by diesel combustion engine
hybridPowered by combined combustion engine and battery-powered motor
hydrogen_fuel_cellPowered by hydrogen fuel cell powered electric motor
plug_in_hybridPowered by combined combustion engine and battery-powered motor with plug-in charging

A vehicle may have one or more values from the propulsion, depending on the number of modes of operation. For example, a scooter that can be powered by foot or by electric motor would have the propulsion represented by the array ['human', 'electric']. A bicycle with pedal-assist would have the propulsion represented by the array ['human', 'electric_assist'] if it can also be operated as a traditional bicycle.

Values based off of propulsion_type in GBFS vehicle_types.

Top

Vehicle Status

A vehicle status record represents the current or last-known event and telemetry from a vehicle, defined as follows:

FieldTypeRequired/OptionalComments
device_idUUIDRequiredA unique device ID in UUID format, should match this device in Provider
provider_idUUIDRequiredA UUID for the Provider, unique within MDS. See MDS provider list.
data_provider_idUUIDOptionalIf different than provider_id, a UUID for the data solution provider managing the data feed in this endpoint. See MDS provider list which includes both service operators and data solution providers.
last_eventEventRequiredMost recent Event for this device based on timestamp
last_telemetryTelemetryRequiredMost recent Telemetry for this device based on timestamp

Top

Events

Events represent changes in vehicle status.

FieldTypeRequired/OptionalComments
device_idUUIDRequiredA unique device ID in UUID format
provider_idUUIDRequiredA UUID for the Provider, unique within MDS. See MDS provider list.
data_provider_idUUIDOptionalIf different than provider_id, a UUID for the data solution provider managing the data feed in this endpoint. See MDS provider list which includes both service operators and data solution providers.
event_idUUIDRequiredA unique event ID
vehicle_stateEnumRequiredSee vehicle state table
event_typesEnum[]RequiredVehicle event types for state change, with allowable values determined by vehicle_state
timestampTimestampRequiredDate/time that event occurred at. See Event Times
publication_timeTimestampOptionalDate/time that event became available through the status changes endpoint
locationGPSRequiredSee also Telemetry.
software_versionStringOptionalSoftware version the main device is running on. Can be provided only when there is an update.
descriptionStringOptionalDescription of the reason for the event, e.g. the type and reason for maintenance performed, note a software version upgrade, reason for system suspension, comms lost details, provider pickup reason, inspection details, etc.
event_geographiesUUID[]OptionalArray of Geography UUIDs consisting of every Geography that contains the location of the status change. See Geography Driven Events. Required if location and statistical_area_ids are not present.
statistical_areasStrings[]OptionalArray of statistical area identifier(s) where the event occurred. e.g. US census area IDs (tract, block group, block, etc), Canadian dissemination blocks or areas, UK output areas, etc, or any other pre-defined standard district, area, sector, neighborhood, etc. Details of the type and meaning of these identifiers are communicated between the public agency and operator outside of MDS. Note that instead of these pre-defined areas, custom geographic areas can be defined using event_geographies. Required if location and event_geographies are not present.
battery_percentIntegerRequired if ApplicablePercent battery charge of vehicle, expressed between 0 and 100
fuel_percentIntegerRequired if ApplicablePercent fuel in vehicle, expressed between 0 and 100
trip_idsUUID[]Required if ApplicableTrip UUIDs (foreign key to /trips endpoint), required if event_types contains trip_start, trip_end, trip_cancel, trip_enter_jurisdiction, or trip_leave_jurisdiction
stop_idUUIDRequired if ApplicableStop that the vehicle is currently located at. See Stops
associated_ticketStringOptionalIdentifier for an associated ticket inside an Agency-maintained 311 or CRM system
gtfs_stop_idStringOptionalA unique stop ID to be recorded when a vehicle makes a stop event at a location. Matches GTFS stop_id
external_referencesArray of External Reference objectsOptionalOne or more references impacting or related to this Event.
custom_attributesCustom Attributes JSON ObjectOptionalAdditional attributes (fields and data) to include in this endpoint.

Event Times

Because of the unreliability of device clocks, the provider is unlikely to know with total confidence what time an event occurred at. However, providers are responsible for constructing as accurate a timeline as possible. Most importantly, the order of the timestamps for a particular device's events must reflect the provider's best understanding of the order in which those events occurred.

Top

Telemetry

A standard point of vehicle telemetry. References to latitude and longitude imply coordinates encoded in the WGS 84 (EPSG:4326) standard GPS or GNSS projection expressed as Decimal Degrees.

FieldTypeRequired/OptionalField Description
device_idUUIDRequiredA unique device ID in UUID format
provider_idUUIDRequiredA UUID for the Provider, unique within MDS. See MDS provider list.
data_provider_idUUIDOptionalIf different than provider_id, a UUID for the data solution provider managing the data feed in this endpoint. See MDS provider list which includes both service operators and data solution providers.
telemetry_idUUIDRequiredID used for uniquely-identifying a Telemetry entry
timestampTimestampRequiredDate/time that event occurred. Based on GPS or GNSS clock
publication_timeTimestampOptionalDate/time that telemetry data became available through the telemetry endpoint
trip_idsUUID[]RequiredIf telemetry occurred during a trip, the ID of the trip(s). If not in a trip, null.
journey_idUUIDRequiredIf telemetry occurred during a trip and journeys are used for the mode, the ID of the journey. If not in a trip, null.
stop_idUUIDRequired if ApplicableStop that the vehicle is currently located at. See Stops
locationGPSRequiredTelemetry position data
location_typeEnumRequired if KnownIf detectable and known, what type of location the device is on or in. One of street, sidewalk, crosswalk, garage, bike_lane.
battery_percentIntegerRequired if ApplicablePercent battery charge of vehicle, expressed between 0 and 100
fuel_percentIntegerRequired if ApplicablePercent fuel in vehicle, expressed between 0 and 100
tipped_overBooleanRequired if KnownIf detectable and known, is the device tipped over or not? Default is 'false'.
gtfs_stop_idStringOptionalA unique stop ID to be recorded when a vehicle makes a stop event at a location. Matches GTFS stop_id
incident_idsUUID[]OptionalArray of one or more Incident IDs that are connected to this telemetry data point.

GPS Data

Includes GPS device data and data from other relevant sensors.

FieldTypeRequired/OptionalField Description
latDoubleRequiredLatitude of the location
lngDoubleRequiredLongitude of the location
altitudeDoubleRequired if AvailableAltitude above mean sea level in meters
headingDoubleRequired if AvailableDegrees - clockwise starting at 0 degrees at true North
speedFloatRequired if AvailableEstimated speed in meters / sec as reported by the GPS chipset
horizontal_accuracyFloatRequired if AvailableHorizontal accuracy, in meters
vertical_accuracyFloatRequired if AvailableVertical accuracy, in meters
satellitesIntegerRequired if AvailableNumber of GPS or GNSS satellites
accelerometer_xFloatRequired if AvailableThe x-axis acceleration in G's (gravitational force).
accelerometer_yFloatRequired if AvailableThe y-axis acceleration in G's (gravitational force).
accelerometer_zFloatRequired if AvailableThe z-axis acceleration in G's (gravitational force).

Top

Stops

Stops describe vehicle trip start and end locations in a pre-designated physical place. They can vary from docking stations with or without charging, corrals with lock-to railings, or suggested parking areas marked with spray paint. Stops are used in both Provider and Agency telemetry data.

FieldTypeRequired/OptionalDescription
stop_idUUIDRequiredUnique ID for stop
nameStringRequiredName of stop
last_updatedTimestampRequiredDate/Time that the stop was last updated
locationGPSRequiredSimple centerpoint location of the Stop. The use of the optional geography_id is recommended to provide more detail.
statusStop StatusRequiredObject representing the status of the Stop. See Stop Status.
capacity{vehicle_type: number}RequiredNumber of total places per vehicle_type
num_vehicles_available{vehicle_type: number}RequiredHow many vehicles are available per vehicle_type at this stop?
num_vehicles_disabled{vehicle_type: number}RequiredHow many vehicles are unavailable/reserved per vehicle_type at this stop?
provider_idUUIDOptionalUUID for the Provider managing this stop. Null/undefined if managed by an Agency. See MDS provider list.
data_provider_idUUIDOptionalUUID for the data provider managing the data coming from this stop. Null/undefined if managed by an agency or a provider. See MDS provider list.
geography_idUUIDOptionalPointer to the Geography that represents the Stop geospatially via Polygon or MultiPolygon.
region_idstringOptionalID of the region where station is located, see GBFS Station Information
short_nameStringOptionalAbbreviated stop name
addressStringOptionalPostal address (useful for directions)
post_codeStringOptionalPostal code (e.g. 10036)
rental_methodsEnum[]OptionalList of payment methods accepted at stop, see GBFS Rental Methods
cross_streetStringOptionalCross street of where the station is located.
num_places_available{vehicle_type: number}Conditionally RequiredHow many places are free to be populated with vehicles at this stop? Required if the program has station based availability requirements or service level agreements pertaining to stations.
num_places_disabled{vehicle_type: number}Conditionally RequiredHow many places are disabled and unable to accept vehicles at this stop? Required if the program has station based availability requirements or service level agreements pertaining to stations.
parent_stopUUIDOptionalDescribe a basic hierarchy of stops (e.g.a stop inside of a greater stop)
devicesUUID[]Conditionally RequiredList of device_ids for vehicles which are currently at this stop. Required if the program has station based availability requirements or service level agreements pertaining to stations.
image_urlURLOptionalLink to an image, photo, or diagram of the stop. Could be used by providers to help riders find or use the stop.
external_referencesArray of External Reference objectsOptionalOne or more references impacting or related to this Stop.

Top

Stop Status

Stop Status returns information about the current status of a Stop.

FieldTypeRequired/OptionalDescription
is_installedBooleanRequiredSee GBFS station_status.json
is_rentingBooleanRequiredSee GBFS station_status.json
is_returningBooleanRequiredSee GBFS station_status.json

Example of the Stop Status object with properties listed:

{
  "is_installed": true,
  "is_renting": false,
  "is_returning": true
}

Top

Trips

A Trip is defined by the following structure:

FieldTypeRequired/OptionalComments
provider_idUUIDRequiredA UUID for the Provider, unique within MDS. See MDS provider list.
data_provider_idUUIDOptionalIf different than provider_id, a UUID for the data solution provider managing this data endpoint. See MDS provider list which includes both service operators and data solution providers.
device_idUUIDRequiredA unique device ID in UUID format. Cross reference with /vehicles for more device details.
journey_idUUIDOptionalA unique journey ID for associating collections of trips for its mode
journey_attributesMapOptionalMode Specific. Journey attributes given as unordered key-value pairs
trip_idUUIDRequiredA unique ID for each trip
trip_typeEnumOptionalMode Specific. The trip type describing the purpose of a trip segment. Note: if not provided, only send trips of the default trip_type, as marked for each mode.
trip_attributesMapOptionalMode Specific. Trip attributes given as unordered key-value pairs
fare_attributesMapOptionalMode Specific. Fare attributes given as unordered key-value pairs
start_timeTimestampRequiredStart of the passenger/driver trip
end_timeTimestampRequiredEnd of the passenger/driver trip
start_locationGPSRequiredLocation of the start of the trip.
end_locationGPSRequiredLocation of the end of the trip.
durationIntegerRequiredTime, in Seconds
distanceIntegerRequiredTrip Distance, in Meters
publication_timeTimestampOptionalDate/time that trip became available through the trips endpoint
accessibility_attributesEnum[]Required if AvailableMode Specific. Accessibility attributes given as an array of enumerated values. List of any accessibility attributes used during the trip.
parking_verification_urlURLOptionalA URL to a photo (or other evidence) of proper vehicle parking at the end of a trip, provided by customer or operator.
parking_categoryEnumOptionalThe type of parking location detected or provided and the end of a trip. One of corral, curb, rack, space, dock, other_valid, invalid. Note that other_valid covers any other allowed parking location beyond what is enumerated, and invalid is any improper parking based on agency parking rules. Use external_references to specify more details, like a link to CDS Curb Zones.
standard_costIntegerOptionalThe cost, in the currency defined in currency, to perform that trip in the standard operation of the System (see Costs & Currencies)
actual_costIntegerOptionalThe actual cost, in the currency defined in currency, paid by the customer of the mobility as a service provider (see Costs & Currencies)
currencyStringOptional, USD cents is implied if null.An ISO 4217 Alphabetic Currency Code representing the currency of the payee (see Costs & Currencies)
gtfs_trip_idStringRequired if ApplicableA unique trip ID for the associated scheduled GTFS route-trip. Matches GTFS trip_id in the trips.txt and other files.
gtfs_api_urlURLRequired if ApplicableFull URL to the location where the associated GTFS dataset zip files are located.
external_referencesArray of External Reference objectsOptionalOne or more references impacting or related to this Trip.
custom_attributesCustom Attributes JSON ObjectOptionalAdditional attributes (fields and data) to include in this endpoint.

Top

Incidents

Incidents are used in both Provider and Agency telemetry data, whether on or off a Trip.

FieldTypeRequired/OptionalComments
incident_idUUIDRequiredID used for uniquely identifying an Incident.
incident_typeEnumRequiredThe type of incident. One of unplanned_stop, remote_takeover, ads_engaged (Automated Driving System), ads_disengaged, tip_over, obstruction, harsh_stopping (e.g. braking), harsh_starting (e.g. acceleration), near_miss, vandalism, theft, violation, crash. Exact definitions, and when and if which incident types are sent, come from the public agency.
incident_timeTimestampRequiredDate/time that incident first occurred. Note that this timestamp of the incident first occurance is independent of one or more Telemetry timestamps referenced via incident_id. Note that more frequent telemetry data points may be required when an incident is first discovered and occuring.
discovery_timeTimestampRequiredDate/time that incident was first discovered by the operator. This may be at the same moment of the incident_time, or may have been discovered later.
publication_timeTimestampRequiredDate/time that incident became first available to an agency through an Incident endpoint.
last_updatedTimestampRequiredDate/time that incident was last updated in the Incident endpoint.
descriptionStringOptionalText description of the incident.
severityStringOptionalText description of the severity of the incident.
medical_dispatchBooleanOptionalIf true, a medical dispatch occured connected to the incident.
medical_transportBooleanOptionalIf true, one or more individuals was transported via an ambulance or emergency response vehicle because of the incident.
report_idStringOptionalIdentifier of an external report, from a police report, citation, internal system, service request, etc. The report source is communicated by the operator to the agency outside of MDS.
report_typeStringOptionalDescription of the type of report referenced by the report_id, eg. police, customer, remote operator, 311 call, etc.
enforcementEnforcementOptionalEnforcement and violation information related to this incident. Can be used for any incident_type.
external_referencesArray of External Reference objectsOptionalOne or more references to external data feeds, links, reports, or documents impacting or related to this Incident, as they become available.
contact_infoStringOptionalDescription of any relevant contact information about the incident the operator can provide.
preliminaryBooleanOptionalIf true, then this information in this Incident is only preliminary, with more details and/or validation coming at a later date. If false, the information provided here is deemed valed with no more updates expected.
custom_attributesCustom Attributes JSON ObjectOptionalAdditional attributes (fields and data) to include in this endpoint.

Top

Reports

A Report is defined by the following structure:

Column NameTypeComments
provider_idUUIDA UUID for the Provider, unique within MDS. See MDS provider_id in provider list.
start_datedateStart date of the Trip data row, in ISO 8601 date format, i.e. YYYY-MM-DD
durationstringValue is always P1M for monthly. Based on ISO 8601 duration
special_group_typeSpecial Group TypeType that applies to this row
geography_idGeographyID that applies to this row. Includes all IDs in /geography. When there is no /geography then return null for this value and return counts based on the entire operating area.
vehicle_typeVehicle TypeType that applies to this row
trip_countintegerCount of trips taken for this row
rider_countintegerCount of unique riders for this row

Top

Data Notes

Report contents include every combination of special group types, geography IDs, and vehicle types in operation for each month since the provider began operations in the jurisdiction. New files are added monthly in addition to the previous monthly historic files.

Counts are calculated based the agency's local time zone. Trips are counted based on their start time, i.e. if a trip starts in month A but ends in month B, it will be counted only as part of the report for month A. Similarly, trips are counted based on their start geography, i.e. if a trip starts in geography A and ends in geography B, it will appear in the counts for geography A and not for geography B.

All geography IDs included in the city published Geography API endpoint are included in the report results. In lieu of serving an API, this can alternately be a flat file created by the city and sent to the provider via link. If there is no /geography available, then counts are for the entire agency operating area, and null is returned for each Geography ID.

Top

Data Redaction

Some combinations of parameters may return a small count of trips, which could increase a privacy risk of re-identification. To correct for that, Reports does not return data below a certain count of results. This data redaction is called k-anonymity, and the threshold is set at a k-value of 10. For more explanation of this methodology, see our Data Redaction Guidance document.

If the query returns fewer than 10 trips in a count, then that row's count value is returned as "-1". Note "0" values are also returned as "-1" since the goal is to group both low and no count values for privacy.

This value may be adjusted in future releases and/or may become dynamic to account for specific categories of use cases and users. To improve the specification and to inform future guidance, users are encouraged to share their feedback and questions about k-values on this discussion thread.

Using k-anonymity will reduce, but not necessarily eliminate the risk that an individual could be re-identified in a dataset, and this data should still be treated as sensitive. This is just one part of good privacy protection practices, which you can read more about in our MDS Privacy Guide for Cities.

Top

Special Group Type

Here are the possible values for the special_group_type dimension field:

NameDescription
low_incomeTrips where a low income discount is applied by the provider, e.g., a discount from a qualified provider equity plan.
adaptive_scooterTrips taken on a scooter with features to improve accessibility for people with disabilities, e.g., scooter with a seat or wider base
all_ridersAll riders from any group

Other special group types may be added in future MDS releases as relevant agency and provider use cases are identified. When additional special group types or metrics are proposed, a thorough review of utility and relevance in program oversight, evaluation, and policy development should be done by OMF Working Groups, as well as any privacy implications by the OMF Privacy Committee.

Top

Enforcement

The Enforcement object describes a specific set of features relevant to an enforcement Incident.

Where a citation could represent multiple violations, an enforcement object contains an array that enumerates the violations for a single citation. Where a citation can only represent a single violation, multiple Incidents may be published, each with a single violation in the array.

The enforcement object is a JSON object with the following fields:

NameTypeRequired/OptionalDescription
enforcement_idUUIDRequiredAn identifier unique to the enforcement incident, generated the first time an enforcement event is recorded, and referenced in future related enforcement events. Multiple Incidents (ex: crash, violation, or vandalism) that relate to the same enforcement activity can share the same enforcement_id.
citation_idStringOptionalA unique id which represents a single citation.
is_warningBooleanOptionalA boolean value to indicate if the enforcement action is being processed as a warning.
action_takenStringOptionalIndicates how the violation was enforced. Typical well-known values are citation_registered, citation_posted, citation_served, or citation_emailed.
citation_costStringOptionalThe total cost of all violations associated to this enforcement action.
violationsArray of ViolationsOptionalAn array of Violation objects that indicate the one-to-many violations associated to this enforcement event.

Top

Violations

The Violations object describes the violations associated to an enforcement action that can occur as part of a Enforcement on an Incident.

The violations object is a JSON object with the following fields:

NameTypeRequired/OptionalDescription
violation_codeStringOptionalThe unique code created by the municipality, city, county, state, federal, or enforcement agency to identify the type of rule being enforced.
violation_nameStringOptionalThe city/municipal, county, state, provincial, or federal code that was violated.
violation_costStringOptionalThe original cost associated with the violation.

Top

External Reference

An External Reference object describes a specific feature from an external data source that is relevant to a part of MDS data. This allows MDS users to reference other data sources that impact or provide information about an MDS object, and see more details at an external URL. Data sources can be anything available via a URL, including an existing data standard (CDS, WZDx, CWZ, GTFS, GBFS, MDS, etc), a custom feed, API, document, web page, report, etc.

An external_reference is a JSON array with the following fields within objects:

NameTypeRequired/OptionalDescription
reference_urlURLRequiredA web-accessible identifier URL for the source of the publicly or privately accessible data feed, document, website, etc. This MUST be a full HTTPS URL pointing to a location which contains more information impacting or explaining the location, event, or policy, etc.
nameStringOptionalName of the data source for reference. E.g. "WZDx", "CWZ", "GBFS", "GTFS", "Waze CIF", "TOMP", "OCPI", "NEVI", "DATEX", "TODS", "TIDES", even across to "CDS", and back to "MDS".
publicBooleanOptionalIs this data source able to be viewed with out any sort of authentication? If true, the reference_url is public. If false, the reference_url requires some sort of authentication, authorization, or API key to access. This is an informational field to set access expectations for the data source user, and does not provide any credentials directly unless explicitly contained in the reference_url.
identifier_nameStringOptionalThe name of the data field identifier or object that is referenced by the unique ids. E.g. "id", "report_id", "trip_id", "vehicle_id", "RoadEventFeature", etc, if relevant and available in reference_url.
idsArray of StringsOptionalAn array of one or more ids from the data sources that impacts the use of or relationship to part of MDS, e.g. Trips, Events, Stops, etc. The ids and their details are be found in the referenced reference_url.

Top

Custom Attributes

Custom Attributes are optional additional attributes that do not fit in other fields and objects in the specification. They are unique for the organizations created and consuming the endpoint, that may not apply to other jurisdictions. Examples include custom identifiers, information required by ordinance, vendor attributes, supplemental data, etc.

The format is one or more JSON name/value pairs, and the values must be a string. If a custom_attributes field is provided in specification API endpoints, then the relevant endpoint must contain the custom_attribute_dictionary field, which describes details of the custom fields provided.

Before creating any custom attributes, the preference is to use existing fields and data objects first. If the fields and data you provide in custom attributes apply to multiple jurisdictions, vendors, and/or scenarios, please open an issue to include new fields in a future release.

Top