mirror of
				https://github.com/public-transport/db-vendo-client.git
				synced 2025-11-04 10:06:32 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			376 lines
		
	
	
	
		
			9 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			376 lines
		
	
	
	
		
			9 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const dbTrip = {
 | 
						|
	trip: {
 | 
						|
		id: '20250117-c85e57a7-7ac5-3736-9f8f-b37a1f660e4c',
 | 
						|
		origin: {
 | 
						|
			type: 'station',
 | 
						|
			id: '8004168',
 | 
						|
			name: 'München Flughafen Terminal',
 | 
						|
			location: {
 | 
						|
				type: 'location',
 | 
						|
				id: '8004168',
 | 
						|
				latitude: 48.353728,
 | 
						|
				longitude: 11.78597,
 | 
						|
			},
 | 
						|
		},
 | 
						|
		destination: {
 | 
						|
			type: 'station',
 | 
						|
			id: '8000309',
 | 
						|
			name: 'Regensburg Hbf',
 | 
						|
			location: {
 | 
						|
				type: 'location',
 | 
						|
				id: '8000309',
 | 
						|
				latitude: 49.011672,
 | 
						|
				longitude: 12.099617,
 | 
						|
			},
 | 
						|
		},
 | 
						|
		departure: '2025-01-17T15:16:00+01:00',
 | 
						|
		plannedDeparture: '2025-01-17T15:16:00+01:00',
 | 
						|
		departureDelay: null,
 | 
						|
		arrival: '2025-01-17T16:41:00+01:00',
 | 
						|
		plannedArrival: '2025-01-17T16:41:00+01:00',
 | 
						|
		arrivalDelay: null,
 | 
						|
		line: {
 | 
						|
			type: 'line',
 | 
						|
			id: 'ag-re22-84100',
 | 
						|
			fahrtNr: '84100',
 | 
						|
			name: 'ag RE22',
 | 
						|
			adminCode: 'S9',
 | 
						|
			productName: 'ag',
 | 
						|
			product: 'regional',
 | 
						|
			mode: 'train',
 | 
						|
			public: true,
 | 
						|
			operator: {
 | 
						|
				type: 'operator',
 | 
						|
				id: 'ag',
 | 
						|
				name: 'agilis',
 | 
						|
			},
 | 
						|
		},
 | 
						|
		direction: null,
 | 
						|
		arrivalPlatform: '5',
 | 
						|
		plannedArrivalPlatform: '5',
 | 
						|
		departurePlatform: '1',
 | 
						|
		plannedDeparturePlatform: '1',
 | 
						|
		stopovers: [
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8004168',
 | 
						|
					name: 'München Flughafen Terminal',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8004168',
 | 
						|
						latitude: 48.353728,
 | 
						|
						longitude: 11.78597,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: null,
 | 
						|
				plannedArrival: null,
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '1',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '1',
 | 
						|
				departure: '2025-01-17T15:16:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T15:16:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '1',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '1',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8004167',
 | 
						|
					name: 'München Flughafen Besucherpark',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8004167',
 | 
						|
						latitude: 48.352095,
 | 
						|
						longitude: 11.764185,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T15:18:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T15:18:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '1',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '1',
 | 
						|
				departure: '2025-01-17T15:18:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T15:18:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '1',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '1',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8002078',
 | 
						|
					name: 'Freising',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8002078',
 | 
						|
						latitude: 48.395195,
 | 
						|
						longitude: 11.744539,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T15:28:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T15:28:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '4',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '4',
 | 
						|
				departure: '2025-01-17T15:29:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T15:29:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '4',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '4',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8004084',
 | 
						|
					name: 'Moosburg',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8004084',
 | 
						|
						latitude: 48.47033,
 | 
						|
						longitude: 11.930382,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T15:37:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T15:37:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '1',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '1',
 | 
						|
				departure: '2025-01-17T15:38:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T15:38:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '1',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '1',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8000217',
 | 
						|
					name: 'Landshut(Bay)Hbf',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8000217',
 | 
						|
						latitude: 48.547492,
 | 
						|
						longitude: 12.13593,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T15:50:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T15:50:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '5',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '5',
 | 
						|
				departure: '2025-01-17T15:53:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T15:53:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '5',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '5',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8001835',
 | 
						|
					name: 'Ergoldsbach',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8001835',
 | 
						|
						latitude: 48.693868,
 | 
						|
						longitude: 12.201874,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T16:05:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T16:05:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '1',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '1',
 | 
						|
				departure: '2025-01-17T16:06:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T16:06:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '1',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '1',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8000688',
 | 
						|
					name: 'Neufahrn(Niederbay)',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8000688',
 | 
						|
						latitude: 48.729884,
 | 
						|
						longitude: 12.19046,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T16:09:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T16:09:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '2',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '2',
 | 
						|
				departure: '2025-01-17T16:10:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T16:10:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '2',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '2',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8001679',
 | 
						|
					name: 'Eggmühl',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8001679',
 | 
						|
						latitude: 48.836497,
 | 
						|
						longitude: 12.182192,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T16:19:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T16:19:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '3',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '3',
 | 
						|
				departure: '2025-01-17T16:20:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T16:20:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '3',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '3',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8002506',
 | 
						|
					name: 'Hagelstadt',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8002506',
 | 
						|
						latitude: 48.895859,
 | 
						|
						longitude: 12.214829,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T16:25:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T16:25:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '2',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '2',
 | 
						|
				departure: '2025-01-17T16:26:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T16:26:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '2',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '2',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8003357',
 | 
						|
					name: 'Köfering',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8003357',
 | 
						|
						latitude: 48.931716,
 | 
						|
						longitude: 12.20875,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T16:29:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T16:29:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '2',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '2',
 | 
						|
				departure: '2025-01-17T16:30:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T16:30:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '2',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '2',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8004592',
 | 
						|
					name: 'Obertraubling',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8004592',
 | 
						|
						latitude: 48.967537,
 | 
						|
						longitude: 12.169996,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T16:33:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T16:33:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '2',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '2',
 | 
						|
				departure: '2025-01-17T16:34:00+01:00',
 | 
						|
				plannedDeparture: '2025-01-17T16:34:00+01:00',
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '2',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '2',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			{
 | 
						|
				stop: {
 | 
						|
					type: 'station',
 | 
						|
					id: '8000309',
 | 
						|
					name: 'Regensburg Hbf',
 | 
						|
					location: {
 | 
						|
						type: 'location',
 | 
						|
						id: '8000309',
 | 
						|
						latitude: 49.011672,
 | 
						|
						longitude: 12.099617,
 | 
						|
					},
 | 
						|
				},
 | 
						|
				arrival: '2025-01-17T16:41:00+01:00',
 | 
						|
				plannedArrival: '2025-01-17T16:41:00+01:00',
 | 
						|
				arrivalDelay: null,
 | 
						|
				arrivalPlatform: '5',
 | 
						|
				arrivalPrognosisType: null,
 | 
						|
				plannedArrivalPlatform: '5',
 | 
						|
				departure: null,
 | 
						|
				plannedDeparture: null,
 | 
						|
				departureDelay: null,
 | 
						|
				departurePlatform: '5',
 | 
						|
				departurePrognosisType: null,
 | 
						|
				plannedDeparturePlatform: '5',
 | 
						|
				remarks: [],
 | 
						|
			},
 | 
						|
			// train split
 | 
						|
		],
 | 
						|
		remarks: [],
 | 
						|
		cancelled: false,
 | 
						|
	},
 | 
						|
	realtimeDataUpdatedAt: null,
 | 
						|
};
 | 
						|
 | 
						|
export {
 | 
						|
	dbTrip,
 | 
						|
};
 |