TrainSchedule

Name Type Description
trainId String The train ID in the scheduling system
scheduleType String The schedule type of the schedule, valid values are
WTT Working Timetable, this is usually the long term planning.
STP Short term planning schedules that does not include in the working timetable
OVL A modification of a working timetable that only applies on specified dates only
CAN The train does not run on the specified date
startDate Date Start date for this schedule in YYYY-MM-DD format
endDate Date End date for this schedule in YYYY-MM-DD format
daysRun String Indicate on which day will this train runs.
MMonday
TuTuesday
WWednesday
ThThursday
FFriday
SSaturday
SuSunday
XExcept
OOnly
e.g. SSuX means except Saturday and Sunday, FO means Friday only.
bankHolidayRun String Runs on bank holiday.
nullRuns on bank holiday
XDoes NOT runs on bank holiday
GDoes NOT runs on Glasgow bank holiday
endDate Date End date for this schedule in YYYY-MM-DD format
status String Train status code
PermanentSTPDescription
B5Bus
F1Freight
P1Passenger and parcel
S4Ship
T3Trip
category String Train category
headcode String Headcode using to identify the train, also known as signal ID
reservationSystemHeadcode String Headcode for reservation system. The train operator code is included if there are reservation system headcode.
powerType String Power type of the train
timingLoad String Timing load of the train
speed int Planned speed of the train in miles per hour
operatingCharacters String Operating characteristics
classAvailable String Which class is available on this train
nullBoth first and standard class is available
BBoth first and standard class is available
SOnly standard class is available
reservation String Reservation requirement for this train
AReservations compulsory
EReservations for bicycles essential
RReservations recommended
SReservations possible from any station
Note: Some train's reservation are counted space only, and no actual seat are assigned.
catering String Catering availability on this train
trainOperatorCode String ATOC code of the train operator operates this train
trainOperatorName String Name of the train operator operates this train
scheduleEntries TrainScheduleDetail[] Detail entries of the train schedule