interface Stop { publicDeparture?: string | null; wttDeparture?: string | null; publicArrival?: string | null; wttArrival?: string | null; isPublic: boolean; tiploc: string; } interface Service { transactionType: string; stpIndicator: string; operator: string; trainUid: string; headcode: string; powerType: string; planSpeed: string; scheduleStartDate: Date; scheduleEndDate: Date; daysRun: string[]; stops: Stop[]; } export { Stop, Service }