|
| 1 | +'use strict' |
| 2 | + |
| 3 | +module.exports = { |
| 4 | + id: 'foo', |
| 5 | + hysteresis: {minDeviationInterval: 5, notificationStart: 20}, |
| 6 | + monitorFlags: ['AF', 'DF', 'DV', 'FTF', 'OF', 'PF'], |
| 7 | + connectionInfo: [{ |
| 8 | + arrivalStation: '8000244', |
| 9 | + arrivalPlatform: '1', |
| 10 | + arrivalStationName: 'Mannheim Hbf', |
| 11 | + arrivalTime: '2020-11-28T18:29:00Z', |
| 12 | + departureStation: '8000156', |
| 13 | + departurePlatform: '4', |
| 14 | + departureStationName: 'Heidelberg Hbf', |
| 15 | + departureTime: '2020-11-28T18:13:00Z', |
| 16 | + productName: 'S 3' |
| 17 | + }], |
| 18 | + journeyRefreshToken: '¶HKI¶T$A=1@O=Heidelberg Hbf@L=8000156@a=128@$A=1@O=Mannheim Hbf@L=8000244@a=128@$202011281813$202011281829$S 3$$1$$$', |
| 19 | + journey: { |
| 20 | + type: 'journey', |
| 21 | + legs: [{ |
| 22 | + tripId: '1|225439|0|80|28112020', |
| 23 | + direction: 'Germersheim', |
| 24 | + line: { |
| 25 | + type: 'line', |
| 26 | + id: 's-3', |
| 27 | + fahrtNr: '38352', |
| 28 | + name: 'S 3', |
| 29 | + public: true, |
| 30 | + mode: 'train', |
| 31 | + product: 'urban-train' |
| 32 | + }, |
| 33 | + reachable: true, |
| 34 | + |
| 35 | + origin: { |
| 36 | + type: 'stop', |
| 37 | + id: '8000156', |
| 38 | + name: 'Heidelberg Hbf', |
| 39 | + location: { |
| 40 | + type: 'location', |
| 41 | + id: '8000156', |
| 42 | + latitude: 49.403582, |
| 43 | + longitude: 8.67548 |
| 44 | + }, |
| 45 | + isMeta: false |
| 46 | + }, |
| 47 | + departure: '2020-11-28T20:16:00+01:00', |
| 48 | + plannedDeparture: '2020-11-28T20:13:00+01:00', |
| 49 | + departureDelay: 180, |
| 50 | + departurePlatform: '4', |
| 51 | + plannedDeparturePlatform: '4', |
| 52 | + |
| 53 | + destination: { |
| 54 | + type: 'stop', |
| 55 | + id: '8000244', |
| 56 | + name: 'Mannheim Hbf', |
| 57 | + location: { |
| 58 | + type: 'location', |
| 59 | + id: '8000244', |
| 60 | + latitude: 49.479181, |
| 61 | + longitude: 8.469268 |
| 62 | + }, |
| 63 | + isMeta: false |
| 64 | + }, |
| 65 | + arrival: '2020-11-28T20:31:00+01:00', |
| 66 | + plannedArrival: '2020-11-28T20:29:00+01:00', |
| 67 | + arrivalDelay: 120, |
| 68 | + arrivalPlatform: '1', |
| 69 | + plannedArrivalPlatform: '1', |
| 70 | + |
| 71 | + cycle: {min: 600, max: 1200, nr: 9}, |
| 72 | + alternatives: [{ |
| 73 | + tripId: '1|225210|0|80|28112020', |
| 74 | + line: { |
| 75 | + type: 'line', |
| 76 | + id: 's-2', |
| 77 | + fahrtNr: '38246', |
| 78 | + name: 'S 2', |
| 79 | + public: true, |
| 80 | + mode: 'train', |
| 81 | + product: 'urban-train' |
| 82 | + }, |
| 83 | + direction: 'Kaiserslautern Hbf', |
| 84 | + when: '1970-01-01T20:33:00+01:00', |
| 85 | + plannedWhen: '1970-01-01T20:33:00+01:00', |
| 86 | + delay: null |
| 87 | + }, { |
| 88 | + tripId: '1|1204374|0|80|28112020', |
| 89 | + line: { |
| 90 | + type: 'line', |
| 91 | + id: 's-3', |
| 92 | + fahrtNr: '38354', |
| 93 | + name: 'S 3', |
| 94 | + public: true, |
| 95 | + mode: 'train', |
| 96 | + product: 'urban-train' |
| 97 | + }, |
| 98 | + direction: 'Bruchsal', |
| 99 | + when: '1970-01-01T20:43:00+01:00', |
| 100 | + plannedWhen: '1970-01-01T20:43:00+01:00', |
| 101 | + delay: null |
| 102 | + }, { |
| 103 | + tripId: '1|225074|0|80|28112020', |
| 104 | + line: { |
| 105 | + type: 'line', |
| 106 | + id: 's-2', |
| 107 | + fahrtNr: '38140', |
| 108 | + name: 'S 2', |
| 109 | + public: true, |
| 110 | + mode: 'train', |
| 111 | + product: 'urban-train' |
| 112 | + }, |
| 113 | + direction: 'Kaiserslautern Hbf', |
| 114 | + when: '1970-01-01T21:03:00+01:00', |
| 115 | + plannedWhen: '1970-01-01T21:03:00+01:00', |
| 116 | + delay: null |
| 117 | + }, { |
| 118 | + tripId: '1|225448|0|80|28112020', |
| 119 | + line: { |
| 120 | + type: 'line', |
| 121 | + id: 's-3', |
| 122 | + fahrtNr: '38358', |
| 123 | + name: 'S 3', |
| 124 | + public: true, |
| 125 | + mode: 'train', |
| 126 | + product: 'urban-train' |
| 127 | + }, |
| 128 | + direction: 'Germersheim', |
| 129 | + when: '1970-01-01T21:13:00+01:00', |
| 130 | + plannedWhen: '1970-01-01T21:13:00+01:00', |
| 131 | + delay: null |
| 132 | + }, { |
| 133 | + tripId: '1|225213|0|80|28112020', |
| 134 | + line: { |
| 135 | + type: 'line', |
| 136 | + id: 's-2', |
| 137 | + fahrtNr: '38248', |
| 138 | + name: 'S 2', |
| 139 | + public: true, |
| 140 | + mode: 'train', |
| 141 | + product: 'urban-train' |
| 142 | + }, |
| 143 | + direction: 'Kaiserslautern Hbf', |
| 144 | + when: '1970-01-01T21:33:00+01:00', |
| 145 | + plannedWhen: '1970-01-01T21:33:00+01:00', |
| 146 | + delay: null |
| 147 | + }], |
| 148 | + }], |
| 149 | + refreshToken: '¶HKI¶T$A=1@O=Heidelberg Hbf@L=8000156@a=128@$A=1@O=Mannheim Hbf@L=8000244@a=128@$202011281813$202011281829$S 3$$1$$$', |
| 150 | + }, |
| 151 | +} |
0 commit comments