Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 7.13 KB

GBFS_and_MDS.md

File metadata and controls

50 lines (33 loc) · 7.13 KB

Understanding the relationship between GBFS and MDS

Overview

GBFS (General Bikeshare Feed Specification) and MDS (Mobility Data Specification) are two open source data standards used for expressing information about bikes, scooters, and other shared mobility vehicles operating on public streets. GBFS is intended for public consumption through consumer-facing applications, while MDS is intended for use only by regulators. GBFS is managed by MobilityData. MDS is managed by the Open Mobility Foundation. Both are membership organizations which run open processes for developing and evolving their respective specifications.

Comparing GBFS and MDS

While there are similarities between the specifications, they serve different primary purposes.

GBFS MDS
Primary Purpose Enable consumer-facing applications for finding and renting shared mobility vehicles from one or more operators. Enable regulators to monitor how mobility vehicles are deployed and used (trips taken) for the purposes of planning, program management, and operations.
Secondary Purposes - Limited vehicle information for regulators
- Research by academics and advocacy organizations.
- Feed into open data sites (w/ privacy redactions)
- Assist in overall analysis and management of public right-of-way
Access Typically available to the public Available only to regulators
Scope Docked, dockless, and hybrid shared mobility vehicles Dockless mobility vehicles (support for docked and hybrid planned)
Covered Vehicles Vehicles that are currently available for rent or disabled All vehicles deployed in the public right of way (including unavailable and on-trip)
Format Structured CSV and JSON Authenticated JSON APIs
Usage License Creative Commons Attribution 3.0 License Creative Commons Attribution 4.0 International Public License
Policy Guidance GBFS and Shared Mobility Data Policy OMF MDS Policy Language Guidance
Governing Organization MobilityData Open Mobility Foundation

Data requirements by regulators

More than 130 regulatory agencies around the world require micromobility operators to provide them with data through MDS. However, any operator that fully complies with MDS is, per the MDS specification, also required to publish a public GBFS feed. This GBFS feed is useful for residents and can be a useful cross reference for MDS data.

Public GBFS feeds can also encourage a competitive ecosystem of mobility service providers. GBFS aids in the discovery of available vehicles and enables the existence of consumer facing aggregator apps which allow users to see all available vehicles across multiple providers. Regulators may increase access to mobility services by requiring a provider to publish a public GBFS feed.

Because MDS feeds include some deidentified data about individual trips, they should never be made public without redactions and/or aggregation.

For a more detailed document related to the authenticated MDS Provider Vehicles solution for regulators, see our MDS Vehicles guide.

Aligning GBFS and MDS

The two specifications were created independently of each other and serve different primary purposes. However, many organizations implement both. To reduce technical burden and increase the utility of both GBFS and MDS, their governing organizations intend to increase alignment between them over time. MobilityData and the OMF have committed to attending each other’s planning calls, participating in both open source communities on GitHub, and regularly reviewing planned changes to find opportunities for potential alignment.

There is no plan to fully reconcile GBFS and MDS, but as new features are added there may be opportunities to use shared data models, enumerations, nomenclature, or other technical structures. Ultimately each specification will remain independently governed to serve its unique purpose, but the data ecosystem will be stronger as MobilityData and the Open Mobility Foundation coordinate and communicate about the direction of their respective outputs.

Real-time Status Differences

Chart of items that are significantly divergent between GBFS and MDS’s real-time status endpoints.

GBFS
free_bike_status (v2.3) vehicle_status (v3.0)
MDS
Provider vehicles (v1.2.0)
MDS
Provider vehicles (v2.0.0)
Identifier Randomized vehicle IDs Unchanging vehicle ID Unchanging vehicle ID
Vehicle State 3 states: available, reserved, disabled 7 states including removed, on trip, outside jurisdiction, or unknown. 9 states including removed, on trip, outside jurisdiction, or unknown.
Vehicle Event Not applicable 26 event types including rebalancing, maintenance, off hours, reserved, cancelled trips, comms lost, and low or charged battery 47 event types including rebalancing, maintenance, off hours, reserved, cancelled trips, comms lost, and low or charged battery
Visibility Public: visible to all Private: for internal city management and policy enforcement Private: for internal city management and policy enforcement

For a full chart of all fields with more details, and a link to presentation slides, see this supporting MDS / GBFS Real-time Status Comparison Document. Regulators can also read the OMF MDS Vehicles Guide for differences and use cases.