Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Entur collects data for all Public Transport in Norway and makes this available both as open services for journey planning and as open data. It is required by law that data for all “traditional” Public Transport public transport is sent to Entur and this is already fully implemented today. As the Public Transport Norwegian public transport eco-system develops, new modes becomes a more important part of the Public Transport system become increasingly important and Entur will act continue its role as the a national access point also for mobility datafor all modes of personal travel.

There is no legislation in place in Norway that require requires mobility operators to provide this data to Entur, however, it is expected this will be a requirement in the future and we will start to collect this data on a voluntary basis. This document will describe requirements Entur will put on mobility operators for integrating their services in Enturs national platform.

Standard

Entur expect Expecting a great number of different mobility operators and , Entur will require that the exchange of data happens through standard formats both to ensure common and predictable functionality and being able to scale across many parties.

Entur expect expects all mobility feeds for both e-scooters, city bikes and car sharing services to be shared through General Bike Share Service v2.1 Feed Specification (GBFS), version 2.2, 2.3 or 3.0.

https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md

https://github.com/NABSA/gbfs/blob/v2.1-RC2.3/gbfs.md

https://github.com/MobilityData/gbfs/blob/v3.0/gbfs.md

Note that v3.0 is now the current version of GBFS, and we encourage producers to migrate their feeds.

All data producers should study MobilityData’s implementation guide for producers.

Expected data

The GBFS specification sets standard defines required fields in the different . JSON files. In addition to these required fieldfields, Entur will put have additional requirements on certain data in order to provide useful and consistent data to end-users across multiple mobility operators.

Separation of data

Gathering When gathering data across many operators , separation of data is a key factor for success. To ensure uniqness uniqueness on all ID’s, data provided in the GFBS feeds should need to follow a strict set ID structure after adhering to the same convention of as all other public transport data in Norway.

IDs

All data IDs exchanged with Entur should follow this conventionmust follow the convention of Codespace + ObjectType + Technical ID combined into a single String separated by :.

Info

system_id in system_information.json is exempt from this requirement, but should follow the GBFS standard requirement of global uniqueness.

Example:

Code Block
<Codespace>:<ObjectType>:<Technical ID>

eg. e-scooter from Lime
"YLI:

...

Vehicle:PKDVWMOCKA2OZ"

Codespace:Three

Letter combination set A three-letter combination, or codespace, is defined by Entur for all dataproviders (Operator and/or Authorities) sending data to Entureach data provider. This Codespace codespace definition stays uniq for the spesific operator and the full list of national defines codespaces are available her - List of current Codespaces remains unique for each specific data provider and can be used to identify data after being merged into the national dataset.

Info

The primary purpose of this ID convention is to guarantee uniqueness for all ID’s in Enturs National Access Point (NAP) for public transport and mobility data. The full ID should always be handled as a String in any implementation.

ObjectType:

ObjectType follow follows Transmodel to show what dataobject data object the id belong to

Technical ID:

ID set by the source system

Info

This ID conventions primary purpose is to garantee uniqness for all ID’s in Enturs National Accesspoint for public transport and mobility data. The full ID should in any implementation be handled as a String

Minimum requirements

Entur will belongs to.

The following ObjectTypes should be used:

Feed

Field

ObjectType

vehicle_types.json

vehicle_type_id

VehicleType

station_information.json

station_id

Station

free_bike_status.json / vehicle_status.json

bike_id / vehicle_id

Vehicle

system_regions.json

region_id

Region

system_pricing_plans.json

plan_id

PricingPlan

system_alerts.json

alert_id

Alert

Technical ID:

The technical ID has no specific requirements other than that it has to be unique within the dataset. It is commonly the ID from the source data.

Feeds

Data for several geographic regions (i.e. cities) should be delivered in separate feeds.

Data for different vehicle types may be delivered in the same GBFS feed. Data providers should always specify which vehicle types are supported by the system in vehicle_types.json.

Language

Feeds should be provided with a Norwegian language code (no, nb or nn) in the discovery file (gbfs.json) and system information file (system_information.json), and all human-readable strings should be in Norwegian.

Minimum requirements

Entur aims to support the full scope of data exchanged through GBFS v2.3 and expects mobility operators to exchange the richest data possible. However, Entur will require a minimum amount of data in order to integrate feeds into the national mobility access point.

The following files with their required fields are the minimum requirements:

File

Comment

gbfs.json

system_information.json

vehicle_types.json

station_information.json

Only for dock-based systems

station_status.json

Only for dock-based systems

free_bike_status.json

Optional for dock-based system

system_pricing_plans.json

Exchange of data

Entur will pull data according to the ttl and last_updated fields of each file. for files with 0 ttl Entur will pull data at least every 30 seconds.

Use and redistribution of data

All data exchanged with Entur will be distributed as open data under the NLOD-license. Read more about this on developer.entur.org.

Data will be exposed through 3 different services:

Change history

Change History