Skip to content

tomlane/network-rail-json-schema

 
 

Repository files navigation

Trainjunkies - Network Rail JSON Schema

Build Status

JSON Schema documents for Network Rail Open Datafeeds.

Schemas

Schedule

Feed Schema
Timetable network-rail-schedule-timetable.schema.json
Association network-rail-schedule-association.schema.json
Tiploc network-rail-schedule-tiploc.schema.json
Schedule network-rail-schedule-schedule.schema.json

TRUST

Feed Schema
Train Activation network-rail-trust-activation.schema.json
Train Cancellation network-rail-trust-cancellation.schema.json
Train Movement network-rail-trust-movement.schema.json
Train Reinstatement network-rail-trust-reinstatement.schema.json
Change of Origin network-rail-trust-change-of-origin.schema.json
Change of Identity network-rail-trust-change-of-identity.schema.json
Change of Location network-rail-trust-change-of-location.schema.json

Development

Copy and complete .env.dist to .env with desired NROD feed credentials.

The development environment and dependencies are managed with Docker. In the same directory as the checked out cloned repository, run the below command to start the Docker Compose environment.

docker-compose up -d --build

Login to the app container begin development.

docker-compose run --rm app sh

Install the Composer dependencies and execute the Behat test suite.

composer.phar install
composer.phar behat

Authors

See also the list of contributors who participated in this project

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

JSON Schema for Network Rail JSON Messages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Gherkin 90.8%
  • PHP 6.6%
  • Dockerfile 2.6%