Skip to content

VDVde/OJP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OJP - Open API for distributed Journey Planning

Content

This repository contains the XSD, examples and documentation tables for the "Open API for distributed Journey Planning" published as "CEN/TS 17118:2017: "Intelligent transport systems - Public transport - Open API for distributed journey planning".

OJP consists of a set of services that can be addressed using HTTP requests.

The main services to request information are:

  • Place information
  • Stop events (arrival and departure boards)
  • Searching for trips
  • Information about a given trip
  • Information about fares for trips
  • Changing of trips
  • Refining of trips
  • Availability for trip legs
  • Information about lines

OJP systems interacting with each other additionally use:

  • Getting information about Exchange Points (places when a Trip switches from one OJP system to another)
  • Using a multi point trip service (n origins and m destinations)

Standard document

OJP is a CEN standard. Obtain a copy of the standard document "CEN/TS 17118:2017: "Intelligent transport systems - Public transport - Open API for distributed journey planning" at CEN.

OJP is part of the Transmodel) family of standards together with NeTEx, SIRI and OPRA. It also contains elements from DATEX II.

Releases

  • OJP 1.0: The version described in CEN/TS 17118:2017
  • OJP 1.0.1: Bug fix release
  • OJP 2.0 in preparation. See the following branch .

Github Repository

Download the XSD schema files and examples in the git repository found at https://github.com/VDVde/OJP and take a look at the documentation tables.

Branches

  • The master branch is currently set to OJP 1.0.1
  • Development occurs currently in the changes_for_v1.1 branch.

Wiki

OJP uses the wiki on github for some resources and examples.

White papers

The white papers are published in the wiki as well.

Other sources

The wiki also contains links to other sources and implementations.

Regulatory environment of OJP

The ITS Directive Delegated Regulation for provision of EU-wide multimodal travel information services is the legal framework for travel data access and distributed journey planning in Europe. This initiative will provide the necessary requirements to make EU-wide multimodal travel information services accurate and available across borders. One of the key requirements concerns linking travel information services for distributed journey planning. Upon request, travel information service providers shall provide to another information service provider "routing results" based on static, and where possible, dynamic information. The "routing results" shall be based on:

  • the enquirers start and end points of a journey along with the specific time and date of departure or arrival, or both;
  • possible travel options along with the specific time and date of departure or arrival, or both, including any possible connections;
  • the handover point between travel information services;
  • in case of disturbances, alternative possible travel options along with the specific time and date of departure or arrival, or both, and any connections, where available.

The Delegated Regulation recommends that the CEN OPEN API standard for distributed journey planning is used by local, regional and national travel information service providers.