Train Movement

From Open Rail Data Wiki

Overview

The Train Movement message is used to indicate a train has passed a particular reporting point, indicated by the reporting_stanox field. The STANOX may represent a station or junction.

Example

{

   "header":
   {
       msg_type:"0003",
       source_dev_id:"",
       user_id:"",
       original_data_source:"SMART",
       msg_queue_timestamp:"1341391532000",
       source_system_id:"TRUST"
   },
   "body":
   {
       event_type:"DEPARTURE",
       gbtt_timestamp:"",
       original_loc_stanox:"",
       planned_timestamp:"1341393780000",
       timetable_variation:"22",
       original_loc_timestamp:"",
       current_train_id:"",
       delay_monitoring_point:"true",
       next_report_run_time:"1",
       reporting_stanox:"52701",
       actual_timestamp:"1341395100000",
       correction_ind:"false",
       event_source:"AUTOMATIC",
       train_file_address:,platform:"",
       division_code:"21",
       train_terminated:"false",
       train_id:"521N16ME04",
       offroute_ind:"false",
       variation_status:"LATE",
       train_service_code:"21939001",
       toc_id:"21",
       loc_stanox:"52701",
       auto_expected:"true",
       direction_ind:"DOWN",
       route:"1",
       planned_event_type:"DEPARTURE",
       next_report_stanox:"52226",
       line_ind:"M"
   }

}