CIF File Format: Difference between revisions
m CIF |
mNo edit summary |
||
Line 6: | Line 6: | ||
* '''HD''' - [[CIF_Header | Header record]] | * '''HD''' - [[CIF_Header | Header record]] | ||
* '''TI''' - [[CIF_Tiploc_Insert | TIPLOC Insert record]] | * TIPLOC Records | ||
* '''TA''' - [[CIF_Tiploc_Amend | TIPLOC Amend record]] | ** '''TI''' - [[CIF_Tiploc_Insert | TIPLOC Insert record]] | ||
* '''TD''' - [[CIF_Tiploc_Delete | TIPLOC Delete record]] | ** '''TA''' - [[CIF_Tiploc_Amend | TIPLOC Amend record]] | ||
* '''AA''' - [[ | ** '''TD''' - [[CIF_Tiploc_Delete | TIPLOC Delete record]] | ||
* '''BS''' - | * '''AA''' - [[CIF_Association_Records | Association Records]] | ||
* '''BX''' - | * [[CIF_Schedule_Records | Train Schedule Records]]: | ||
* '''TN''' - Train | ** '''BS''' - Basic Schedule | ||
* '''LO''' - | ** '''BX''' - Basic Schedule Extra Details | ||
* '''LI''' - | ** '''TN''' - Train Specific Note (unused) | ||
* '''CR''' - | ** '''LO''' - Origin Location | ||
* '''LT''' - | ** '''LI''' - Intermediate Location | ||
* '''LN''' - Location | ** '''CR''' - Change en Route | ||
** '''LT''' - Terminating Location | |||
** '''LN''' - Location Specific Note (unused) | |||
* '''ZZ''' - Trailer record (End of File) | * '''ZZ''' - Trailer record (End of File) | ||
Revision as of 00:07, 30 March 2016
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
- HD - Header record
- TIPLOC Records
- TI - TIPLOC Insert record
- TA - TIPLOC Amend record
- TD - TIPLOC Delete record
- AA - Association Records
- Train Schedule Records:
- BS - Basic Schedule
- BX - Basic Schedule Extra Details
- TN - Train Specific Note (unused)
- LO - Origin Location
- LI - Intermediate Location
- CR - Change en Route
- LT - Terminating Location
- LN - Location Specific Note (unused)
- ZZ - Trailer record (End of File)
The CIF End User Specification is also available from ATOC's website, which details the format of the CIF file and the fields within.
Network Rail Open Data Feeds | |
---|---|
Data Feeds | About the Feeds • Account States • Durable Subscriptions • Example Code ( PHP / C# / Java / Ruby / Node.js) • Advanced Uses • FAQ • 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) |