Git Product home page Git Product logo

ns-travelinfo-json's Introduction

NS-travelinfo-JSON

Repository containing JSON schema for travel information available inside NS trains. When connected to WiFi in de trein you can access the travel information via the URL http://portal.nstrein.ns.nl/nstrein:main/travelInfo, which gives you a JSON response following the schema in this repository.

Schema file

The examples folder contains some example data.

Overview

The data roughly consists of the following types of information:

  • Travel information: Object containing all other information
  • Station: Object containing information about a station, such as location, names and code. Used in for destination and in stops.
  • Stop: Object containing information about a stop, the time, platform, station and delay.
  • Train: Object containing information about a train at a station, such as the type, number and destinations. Used for showing transfer information for the next station.
  • Disturbance: Object containing information about a disturbance, such as the type, message and the affected stations. Used for showing disturbances on the route. This is currently not yet fully documented in the schema.

Not yet documented

  • All disturbance types
  • Messages about splitting trains
  • Some warnings and messages
  • Phase?
  • Station type

ns-travelinfo-json's People

Contributors

robinlinde avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.