Service Interface for Real Time Information


The Standard Interface for Real Time Information or SIRI is an XML protocol to allow distributed computers to exchange real time information about public transport services and vehicles.
The protocol is a CEN norm, developed originally as a technical standard with initial participation by France, Germany, Scandinavia, and the UK
SIRI is based on the CEN Transmodel abstract model for public transport information, and comprises a general purpose model, and an XML schema for public transport information.
A SIRI White Paper is available for further information on the protocol.

Scope

CEN SIRI allows pairs of server computers to exchange structured real-time information about schedules, vehicles, and connections, together with informational messages related to the operation of the services. The information can be used for many different purposes, for example:
CEN SIRI includes a number of optional capabilities.
Different countries may specify a country profile of the subset of SIRI capabilities that they wish to adopt.

Architecture

The CEN SIRI standard has two distinct components:
  1. SIRI Common Protocol Framework. The Framework provides a uniform architecture for defining data messages either as request/response pairs or as publish/subscribe services. The payload content model is separated from the messaging aspects so that the same payload content can be used in both request and subscription services and the same common messaging components can be used for all the different functional services. Common functions for subscription management, service monitoring, content level authentication, etc are provided.
  2. SIRI Functional Services. The SIRI specification specifies a number of distinct functional services, each designed for the exchange of a specific type of public transport data, all using the same protocol framework and basing their payload content on the Transmodel conceptual model. Additional functional services may be added that use the same framework but different payload content models to cover additional services.

    CEN SIRI Functional Services

SIRI V1.0 defined eight functional services;
Two further functional services have been added as part of the CEN SIRI specification;
The CEN SIRI Common Protocol Framework can be used by other standards to define their own Functional Services. Two CEN standards that do this are;
Version 2.0 of SIRI , representing the CEN documents as published, is currently available as a set of XSD files packaged as a zip file .
SIRI is maintained under a maintenance regime, with version control managed by a working group of the CEN TC/278 Working Group 3. Later versions of the schema are available at the same site, together with change notes.

History

The CEN SIRI standard was developed from European national standards for real-time data exchange, in particular the German VDV 453 standard, between 2000 and 2005, and included eight functional services. V1.0 became a CEN Technical Standard in 2006 and a full CEN standard in 2009.
Two additional functional services were added later Situation Exchange and Facility Monitoring .
A number of small enhancements were subsequently added as informal changes creating interim releases v1.1, v1.2, etc.
Two other CEN standards were developed that made use of the 'SIRI Common Protocol Framework' to define their own functional services; NeTEx and Open API for distributed journey planning .
Version 2.0 of CEN-SIRI was developed between adopted in 2015. This is backwards compatible with V1.0 and both formalises the adoption of the interim enhancements and adds a number of additional features.
An important new addition in SIRI v2.0 was the description of a uniform transform for rendering CEN-SIRI messages into a flat format that can be used in simple http requests without an XML rendering.

Example of sites using SIRI

Different SIRI implementations are used in a number of sites globally

Europe