CIF File Format: Difference between revisions

From Open Rail Data Wiki
updated url
m Add BS and BX page links
Line 12: Line 12:
* '''AA''' - [[CIF_Association_Records | Association Records]]
* '''AA''' - [[CIF_Association_Records | Association Records]]
* [[CIF_Schedule_Records | Train Schedule Records]]:
* [[CIF_Schedule_Records | Train Schedule Records]]:
** '''BS''' - Basic Schedule
** '''BS''' - [[CIF_Basic_Schedule | Basic Schedule]]
** '''BX''' - Basic Schedule Extra Details
** '''BX''' - [[CIF_Basic_Schedule_Extended | Basic Schedule Extra Details]]
** '''TN''' - Train Specific Note (unused)
** '''TN''' - Train Specific Note (unused)
** '''LO''' - Origin Location
** '''LO''' - Origin Location

Revision as of 09:51, 12 February 2024

The Common Interface File (CIF) format is the industry standard for transfer of schedules electronically from Network Rail's Integrated Train Planning System (ITPS) to downstream operational and information systems.

The CIF file is a text file containing one record per row. Each record has a fixed length of 80 characters. The first two characters of a row identify the Record Type.

Record Types

External links


CIF
CIF HD (Header) • ZZ (End of File)
TIPLOC TI (TIPLOC Insert) TA (TIPLOC Amend) TD (TIPLOC Delete)
Association AA (Association)
Location BS (Basic Schedule) BX (Basic Schedule Extended) LO (Location Origin) LI (Location Intermediate) CR (Change-en-Route) LT (Location Terminate)


Network Rail Open Data Feeds
Data Feeds About the Feeds Account States Durable Subscriptions Example Code ( PHP / C# / Java / Ruby / Node.js) • Advanced UsesFAQ Release Notes
RTPPM RTPPM Feed
Train Movements Train Movements Feed Train Activation Train Cancellation Train Movement Train Reinstatement Change of Origin Change of Identity Change of Location TSPEED Field Planned Cancellations Cancellation Codes
TD TD Feed C-Class Messages S-Class Messages Train Describers TD Berths
VSTP VSTP Feed
TSR TSR Feed Route Codes
SCHEDULE SCHEDULE Feed TIPLOC Records Schedule and Location Records Association Records CIF Codes How Scheduling Works Allowances
Reference Data Reference Data Feed TOC Codes CIF Codes Delay Attribution Codes Identifying Locations (STANOX, TIPLOC, NLC and 3-Alpha Codes) STANOX Geographical Areas Train Planning data (BPLAN)