backend/test/utils/translators/ldb/stationInputs.ts

55 lines
1.4 KiB
TypeScript
Raw Normal View History

export const inputs: any[] = [
{
GetBoardResult: {
generatedAt: '2023-08-01T20:37:05.559123+01:00',
locationName: 'Railway Station',
crs: 'RLY',
stationManager: 'Network Rail',
stationManagerCode: 'RT',
nrccMessages: {
message: {
severity: "minor",
xhtmlMessage: '\n<p>Minor Alert</p>',
type: "station"
}
},
isTruncated: 'true',
trainServices: {
service: [
{
rid: "202308017159276",
uid: "G59276",
trainuid: "1M83",
sdd: "2023-08-01",
operator: "CrossCountry",
operatorCode: "XC",
sta: "2023-08-01T20:24:00",
ata: "2023-08-01T20:27:22",
arrivalType: "Actual",
std: "2023-08-01T20:35:00",
etd: "2023-08-01T20:35:00",
departureType: "Estimated",
departureSource: "Darwin",
platform: "5",
origin: {
location: {
locationName: "Plymouth",
crs: "PLY",
tiploc: "PLYMTH"
}
},
destination: {
location: {
locationName: "Birmingham New Street",
crs: "BHM",
tiploc: "BHAMNWS"
}
},
category: "XX",
activities: "T",
}
]
}
}
},
]