Tiploc Records: Difference between revisions
Provide example JSON record from JSON daily data |
Provide a *correct* example! |
||
Line 17: | Line 17: | ||
{ | { | ||
" | "TiplocV1": { | ||
"transaction_type": "Create", | "transaction_type": "Create", | ||
" | "tiploc_code": "BURGESH", | ||
" | "nalco": "548300", | ||
" | "stanox": "87971", | ||
"crs_code": "BUG", | |||
"description": "BURGESS HILL", | |||
"tps_description": "BURGESS HILL" | |||
" | |||
" | |||
" | |||
} | } | ||
} | } |
Latest revision as of 13:19, 8 June 2024
Tiploc records are contained within the SCHEDULE data feed, and provide information about the possible timing point locations in train schedules. For further details, see the TIPLOC page.
Record Layout
Tiploc records are encoded as a JSON hash with a key of "TiplocV1" and a value containing the location data, in the following layout:
TiplocV1: transaction_type tiploc_code nalco stanox crs_code description tps_description
Example JSON record
{ "TiplocV1": { "transaction_type": "Create", "tiploc_code": "BURGESH", "nalco": "548300", "stanox": "87971", "crs_code": "BUG", "description": "BURGESS HILL", "tps_description": "BURGESS HILL" } }
Tiploc Record Fields
Field | Description |
---|---|
transaction_type | create, update or delete. A full snapshot file will only contain create records. Daily updates may contain either. |
tiploc_code | TIPLOC of the location |
nalco | NLC (National Location Code) |
stanox | STANOX (Station Number) |
crs_code | CRS (Computer Reservation System) code. Now 3-Alpha Code. |
description | The short name of the location. Not populated for every location. |
tps_description | The name of the location |
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) |