@golemio/pid 2.18.1-dev.1418114865 → 2.18.1-dev.1427397189

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/docs/asyncapi.yaml +1371 -1332
  2. package/package.json +1 -1
@@ -1,799 +1,1018 @@
1
1
  asyncapi: 3.0.0
2
2
  info:
3
- title: PID
4
- version: 1.0.0
5
- description: PID
3
+ title: PID
4
+ version: 1.0.0
5
+ description: PID
6
6
  channels:
7
- updateGTFSTripId:
8
- address: vehiclepositions.updateGTFSTripId
9
- description: some description
10
- bindings:
11
- amqp:
12
- is: queue
13
- queue:
14
- exclusive: true
15
- messages:
16
- data:
17
- $ref: '#/components/messages/updateGTFSTripId'
18
- messageProperties:
19
- $ref: '#/components/messages/messageProperties'
20
- updateRunsGTFSTripId:
21
- address: vehiclepositions.updateRunsGTFSTripId
22
- description: some description
23
- bindings:
24
- amqp:
25
- is: queue
26
- queue:
27
- exclusive: true
28
- messages:
29
- data:
30
- $ref: '#/components/messages/IUpdateRunsGtfsTripInput'
31
- updateDelay:
32
- address: vehiclepositions.updateDelay
33
- description: some description
34
- bindings:
35
- amqp:
36
- is: queue
37
- queue:
38
- exclusive: true
39
- messages:
40
- data:
41
- $ref: '#/components/messages/IUpdateDelayInput'
42
- messageProperties:
43
- $ref: '#/components/messages/messageProperties'
44
- saveDataToDB:
45
- address: vehiclepositions.saveDataToDB
46
- description: some description
47
- bindings:
48
- amqp:
49
- is: queue
50
- queue:
51
- exclusive: true
52
- messages:
53
- data:
54
- $ref: '#/components/messages/IMpvMessageInput'
55
- messageProperties:
56
- $ref: '#/components/messages/messageProperties'
57
- refreshPublicTripCache:
58
- description: some description
59
- bindings:
60
- amqp:
61
- is: queue
62
- queue:
63
- exclusive: true
64
- address: vehiclepositions.refreshPublicTripCache
65
- messages:
66
- empty:
67
- $ref: '#/components/messages/EmptyObject'
68
- refreshPublicStopTimeCache:
69
- description: some description
70
- bindings:
71
- amqp:
72
- is: queue
73
- queue:
74
- exclusive: true
75
- address: vehiclepositions.refreshPublicStopTimeCache
76
- messages:
77
- empty:
78
- $ref: '#/components/messages/EmptyObject'
79
- refreshGTFSTripData:
80
- description: some description
81
- bindings:
82
- amqp:
83
- is: queue
84
- queue:
85
- exclusive: true
86
- address: vehiclepositions.refreshGTFSTripData
87
- messages:
88
- empty:
89
- $ref: '#/components/messages/EmptyObject'
90
- propagateTrainDelay:
91
- description: some description
92
- bindings:
93
- amqp:
94
- is: queue
95
- queue:
96
- exclusive: true
97
- address: vehiclepositions.propagateTrainDelay
98
- messages:
99
- input:
100
- $ref: '#/components/messages/IPropagateTrainDelayInput'
101
- propagateDelay:
102
- description: some description
103
- bindings:
104
- amqp:
105
- is: queue
106
- queue:
107
- exclusive: true
108
- address: vehiclepositions.propagateDelay
109
- messages:
110
- data:
111
- $ref: '#/components/messages/propagateDelay'
112
- processRegionalBusPositions:
113
- description: some description
114
- bindings:
115
- amqp:
116
- is: queue
117
- queue:
118
- exclusive: true
119
- address: vehiclepositions.processRegionalBusPositions
120
- messages:
121
- data:
122
- $ref: '#/components/messages/IUpdateDelayInput'
123
- messageProperties:
124
- $ref: '#/components/messages/messageProperties'
125
- dataRetention:
126
- description: some description
127
- bindings:
128
- amqp:
129
- is: queue
130
- queue:
131
- exclusive: true
132
- address: vehiclepositions.dataRetention
133
- messages:
134
- empty:
135
- $ref: '#/components/messages/EmptyObject'
136
- saveTramRunsToDB:
137
- description: some description
138
- bindings:
139
- amqp:
140
- is: queue
141
- queue:
142
- exclusive: true
143
- address: vehiclepositions.saveTramRunsToDB
144
- messages:
145
- data:
146
- $ref: '#/components/messages/saveTramRunsToDB'
147
- messageProperties:
148
- $ref: '#/components/messages/messageProperties'
149
- saveMetroRunsToDB:
150
- description: some description
151
- bindings:
152
- amqp:
153
- is: queue
154
- queue:
155
- exclusive: true
156
- address: vehiclepositions.saveMetroRunsToDB
157
- messages:
158
- data:
159
- $ref: '#/components/messages/saveMetroRunsToDB'
160
- messageProperties:
161
- $ref: '#/components/messages/messageProperties'
162
- saveBusRunsToDB:
163
- description: some description
164
- bindings:
165
- amqp:
166
- is: queue
167
- queue:
168
- exclusive: true
169
- address: vehiclepositions.saveBusRunsToDB
170
- messages:
171
- data:
172
- $ref: '#/components/messages/saveBusRunsToDB'
173
- messageProperties:
174
- $ref: '#/components/messages/messageProperties'
175
- saveArrivaCityRunsToDB:
176
- description: some description
177
- bindings:
178
- amqp:
179
- is: queue
180
- queue:
181
- exclusive: true
182
- address: vehiclepositions.saveArrivaCityRunsToDB
183
- messages:
184
- data:
185
- $ref: '#/components/messages/saveArrivaCityRunsToDB'
186
- messageProperties:
187
- $ref: '#/components/messages/messageProperties'
188
- processMetroRunMessages:
189
- description: some description
190
- bindings:
191
- amqp:
192
- is: queue
193
- queue:
194
- exclusive: true
195
- address: vehiclepositions.processMetroRunMessages
196
- messages:
197
- data:
198
- $ref: '#/components/messages/processMetroRunMessages'
199
- messageProperties:
200
- $ref: '#/components/messages/messageProperties'
201
- processRegionalBusRunMessages:
202
- description: some description
203
- bindings:
204
- amqp:
205
- is: queue
206
- queue:
207
- exclusive: true
208
- address: vehiclepositions.processRegionalBusRunMessages
209
- messages:
210
- data:
211
- $ref: '#/components/messages/processRegionalBusRunMessages'
212
- messageProperties:
213
- $ref: '#/components/messages/messageProperties'
214
- generateFiles:
215
- description: some description
216
- bindings:
217
- amqp:
218
- is: queue
219
- queue:
220
- exclusive: true
221
- address: vehiclepositions.generateFiles
222
- messages:
223
- empty:
224
- $ref: '#/components/messages/EmptyObject'
225
- refreshDescriptors:
226
- description: some description
227
- bindings:
228
- amqp:
229
- is: queue
230
- queue:
231
- exclusive: true
232
- address: vehiclepositions.refreshDescriptors
233
- messages:
234
- empty:
235
- $ref: '#/components/messages/EmptyObject'
236
- operations:
237
- updateGTFSTripId:
238
- action: 'send'
239
- channel:
240
- $ref: '#/channels/updateGTFSTripId'
241
- refreshDescriptors:
242
- action: 'send'
243
- channel:
244
- $ref: '#/channels/refreshDescriptors'
245
- generateFiles:
246
- action: 'send'
247
- channel:
248
- $ref: '#/channels/generateFiles'
249
- processRegionalBusRunMessages:
250
- action: 'send'
251
- channel:
252
- $ref: '#/channels/processRegionalBusRunMessages'
253
- updateRunsGTFSTripId:
254
- action: 'send'
255
- channel:
256
- $ref: '#/channels/updateRunsGTFSTripId'
257
- updateDelay:
258
- action: 'send'
259
- channel:
260
- $ref: '#/channels/updateDelay'
261
- saveDataToDB:
262
- action: 'send'
263
- channel:
264
- $ref: '#/channels/saveDataToDB'
265
- refreshPublicTripCache:
266
- action: 'send'
267
- channel:
268
- $ref: '#/channels/refreshPublicTripCache'
269
- refreshPublicStopTimeCache:
270
- action: 'send'
271
- channel:
272
- $ref: '#/channels/refreshPublicStopTimeCache'
273
- refreshGTFSTripData:
274
- action: 'send'
275
- channel:
276
- $ref: '#/channels/refreshGTFSTripData'
277
- propagateTrainDelay:
278
- action: 'send'
279
- channel:
280
- $ref: '#/channels/propagateTrainDelay'
281
- propagateDelay:
282
- action: 'send'
283
- channel:
284
- $ref: '#/channels/propagateDelay'
285
- processRegionalBusPositions:
286
- action: 'send'
287
- channel:
288
- $ref: '#/channels/processRegionalBusPositions'
289
- dataRetention:
290
- action: 'send'
291
- channel:
292
- $ref: '#/channels/dataRetention'
293
- saveTramRunsToDB:
294
- action: 'send'
295
- channel:
296
- $ref: '#/channels/saveTramRunsToDB'
297
- saveMetroRunsToDB:
298
- action: 'send'
299
- channel:
300
- $ref: '#/channels/saveMetroRunsToDB'
301
- saveBusRunsToDB:
302
- action: 'send'
303
- channel:
304
- $ref: '#/channels/saveBusRunsToDB'
305
- saveArrivaCityRunsToDB:
306
- action: 'send'
307
- channel:
308
- $ref: '#/channels/saveArrivaCityRunsToDB'
309
- processMetroRunMessages:
310
- action: 'send'
311
- channel:
312
- $ref: '#/channels/processMetroRunMessages'
313
- components:
314
- messages:
315
- saveTramRunsToDB:
316
- payload:
317
- type: object
318
- properties:
7
+ updateGTFSTripId:
8
+ address: vehicle-positions.vehiclepositions.updateGTFSTripId
9
+ description: some description
10
+ bindings:
11
+ amqp:
12
+ is: queue
13
+ queue:
14
+ exclusive: true
15
+ messages:
319
16
  data:
320
- type: object
321
- $ref: '#/components/schemas/ICommonRunsInput'
322
- processMetroRunMessages:
323
- payload:
324
- type: object
325
- properties:
17
+ $ref: "#/components/messages/updateGTFSTripId"
18
+ messageProperties:
19
+ $ref: "#/components/messages/messageProperties"
20
+ updateRunsGTFSTripId:
21
+ address: vehicle-positions.vehiclepositions.updateRunsGTFSTripId
22
+ description: some description
23
+ bindings:
24
+ amqp:
25
+ is: queue
26
+ queue:
27
+ exclusive: true
28
+ messages:
326
29
  data:
327
- type: object
328
- $ref: '#/components/schemas/IProcessMetroRunsMessagesInput'
329
- processRegionalBusRunMessages:
330
- payload:
331
- type: object
332
- properties:
30
+ $ref: "#/components/messages/IUpdateRunsGtfsTripInput"
31
+ updateDelay:
32
+ address: vehicle-positions.vehiclepositions.updateDelay
33
+ description: some description
34
+ bindings:
35
+ amqp:
36
+ is: queue
37
+ queue:
38
+ exclusive: true
39
+ messages:
333
40
  data:
334
- type: object
335
- $ref: '#/components/schemas/IProcessRegionalBusRunMessagesInput'
336
- saveArrivaCityRunsToDB:
337
- payload:
338
- type: object
339
- properties:
41
+ $ref: "#/components/messages/IUpdateDelayInput"
42
+ messageProperties:
43
+ $ref: "#/components/messages/messageProperties"
44
+ saveDataToDB:
45
+ address: vehicle-positions.vehiclepositions.saveDataToDB
46
+ description: some description
47
+ bindings:
48
+ amqp:
49
+ is: queue
50
+ queue:
51
+ exclusive: true
52
+ messages:
340
53
  data:
341
- type: object
342
- $ref: '#/components/schemas/IRegionalBusRunsInput'
343
- saveBusRunsToDB:
344
- payload:
345
- type: object
346
- properties:
54
+ $ref: "#/components/messages/IMpvMessageInput"
55
+ messageProperties:
56
+ $ref: "#/components/messages/messageProperties"
57
+ refreshPublicTripCache:
58
+ description: some description
59
+ bindings:
60
+ amqp:
61
+ is: queue
62
+ queue:
63
+ exclusive: true
64
+ address: vehicle-positions.vehiclepositions.refreshPublicTripCache
65
+ messages:
66
+ empty:
67
+ $ref: "#/components/messages/EmptyObject"
68
+ refreshPublicStopTimeCache:
69
+ description: some description
70
+ bindings:
71
+ amqp:
72
+ is: queue
73
+ queue:
74
+ exclusive: true
75
+ address: vehicle-positions.vehiclepositions.refreshPublicStopTimeCache
76
+ messages:
77
+ empty:
78
+ $ref: "#/components/messages/EmptyObject"
79
+ refreshGTFSTripData:
80
+ description: some description
81
+ bindings:
82
+ amqp:
83
+ is: queue
84
+ queue:
85
+ exclusive: true
86
+ address: vehicle-positions.vehiclepositions.refreshGTFSTripData
87
+ messages:
88
+ empty:
89
+ $ref: "#/components/messages/EmptyObject"
90
+ propagateTrainDelay:
91
+ description: some description
92
+ bindings:
93
+ amqp:
94
+ is: queue
95
+ queue:
96
+ exclusive: true
97
+ address: vehicle-positions.vehiclepositions.propagateTrainDelay
98
+ messages:
99
+ input:
100
+ $ref: "#/components/messages/IPropagateTrainDelayInput"
101
+ propagateDelay:
102
+ description: some description
103
+ bindings:
104
+ amqp:
105
+ is: queue
106
+ queue:
107
+ exclusive: true
108
+ address: vehicle-positions.vehiclepositions.propagateDelay
109
+ messages:
347
110
  data:
348
- type: object
349
- $ref: '#/components/schemas/ICommonRunsInput'
111
+ $ref: "#/components/messages/propagateDelay"
112
+ processRegionalBusPositions:
113
+ description: some description
114
+ bindings:
115
+ amqp:
116
+ is: queue
117
+ queue:
118
+ exclusive: true
119
+ address: vehicle-positions.vehiclepositions.processRegionalBusPositions
120
+ messages:
121
+ data:
122
+ $ref: "#/components/messages/IUpdateDelayInput"
123
+ messageProperties:
124
+ $ref: "#/components/messages/messageProperties"
125
+ dataRetention:
126
+ description: some description
127
+ bindings:
128
+ amqp:
129
+ is: queue
130
+ queue:
131
+ exclusive: true
132
+ address: vehicle-positions.dataretention.deleteData
133
+ messages:
134
+ empty:
135
+ $ref: "#/components/messages/EmptyObject"
136
+ saveTramRunsToDB:
137
+ description: some description
138
+ bindings:
139
+ amqp:
140
+ is: queue
141
+ queue:
142
+ exclusive: true
143
+ address: vehicle-positions.vehiclepositions.saveTramRunsToDB
144
+ messages:
145
+ data:
146
+ $ref: "#/components/messages/saveTramRunsToDB"
147
+ messageProperties:
148
+ $ref: "#/components/messages/messageProperties"
350
149
  saveMetroRunsToDB:
351
- payload:
352
- type: object
353
- properties:
150
+ description: some description
151
+ bindings:
152
+ amqp:
153
+ is: queue
154
+ queue:
155
+ exclusive: true
156
+ address: vehicle-positions.vehiclepositionsruns.saveMetroRunsToDB
157
+ messages:
354
158
  data:
355
- type: object
356
- $ref: '#/components/schemas/IMetroRunsInput'
357
- propagateDelay:
358
- payload:
359
- type: object
360
- properties:
159
+ $ref: "#/components/messages/saveMetroRunsToDB"
160
+ messageProperties:
161
+ $ref: "#/components/messages/messageProperties"
162
+ saveBusRunsToDB:
163
+ description: some description
164
+ bindings:
165
+ amqp:
166
+ is: queue
167
+ queue:
168
+ exclusive: true
169
+ address: vehicle-positions.vehiclepositionsruns.saveBusRunsToDB
170
+ messages:
361
171
  data:
362
- type: object
363
- $ref: '#/components/schemas/IPropagateDelayInput'
364
- IPropagateTrainDelayInput:
365
- payload:
366
- type: object
367
- properties:
172
+ $ref: "#/components/messages/saveBusRunsToDB"
173
+ messageProperties:
174
+ $ref: "#/components/messages/messageProperties"
175
+ saveArrivaCityRunsToDB:
176
+ description: some description
177
+ bindings:
178
+ amqp:
179
+ is: queue
180
+ queue:
181
+ exclusive: true
182
+ address: ehicle-positions.vehiclepositionsruns.saveArrivaCityRunsToDB
183
+ messages:
368
184
  data:
369
- type: object
370
- $ref: '#/components/schemas/ITripPositionTuple'
371
- EmptyObject:
372
- payload:
373
- type: object
374
- IMpvMessageInput:
375
- payload:
376
- type: object
377
- properties:
378
- m:
379
- type: object
380
- $ref: '#/components/schemas/IMpvMessageContent'
185
+ $ref: "#/components/messages/saveArrivaCityRunsToDB"
186
+ messageProperties:
187
+ $ref: "#/components/messages/messageProperties"
188
+ processMetroRunMessages:
189
+ description: some description
190
+ bindings:
191
+ amqp:
192
+ is: queue
193
+ queue:
194
+ exclusive: true
195
+ address: vehicle-positions.vehiclepositionsruns.processMetroRunMessages
196
+ messages:
197
+ data:
198
+ $ref: "#/components/messages/processMetroRunMessages"
199
+ messageProperties:
200
+ $ref: "#/components/messages/messageProperties"
201
+ processRegionalBusRunMessages:
202
+ description: some description
203
+ bindings:
204
+ amqp:
205
+ is: queue
206
+ queue:
207
+ exclusive: true
208
+ address: vehicle-positions.vehiclepositionsruns.processRegionalBusRunMessages
209
+ messages:
210
+ data:
211
+ $ref: "#/components/messages/processRegionalBusRunMessages"
212
+ messageProperties:
213
+ $ref: "#/components/messages/messageProperties"
214
+ generateFiles:
215
+ description: some description
216
+ bindings:
217
+ amqp:
218
+ is: queue
219
+ queue:
220
+ exclusive: true
221
+ address: vehicle-positions.vehiclepositionsgtfsrt.generateFiles
222
+ messages:
223
+ empty:
224
+ $ref: "#/components/messages/EmptyObject"
225
+ refreshDescriptors:
226
+ description: some description
227
+ bindings:
228
+ amqp:
229
+ is: queue
230
+ queue:
231
+ exclusive: true
232
+ address: vehicle-positions.vehicledescriptors.refreshDescriptors
233
+ messages:
234
+ empty:
235
+ $ref: "#/components/messages/EmptyObject"
236
+ operations:
381
237
  updateGTFSTripId:
382
- payload:
383
- type: object
384
- properties:
385
- positions:
386
- type: array
387
- $ref: '#/components/schemas/IPositionTransformationResult'
388
- trips:
389
- type: array
390
- $ref: '#/components/schemas/IUpdateGTFSTripIdData'
391
- messageProperties:
392
- payload:
393
- type: object
394
- properties:
395
- positions:
396
- type: array
397
- items:
238
+ action: "send"
239
+ channel:
240
+ $ref: "#/channels/updateGTFSTripId"
241
+ refreshDescriptors:
242
+ action: "send"
243
+ channel:
244
+ $ref: "#/channels/refreshDescriptors"
245
+ generateFiles:
246
+ action: "send"
247
+ channel:
248
+ $ref: "#/channels/generateFiles"
249
+ processRegionalBusRunMessages:
250
+ action: "send"
251
+ channel:
252
+ $ref: "#/channels/processRegionalBusRunMessages"
253
+ updateRunsGTFSTripId:
254
+ action: "send"
255
+ channel:
256
+ $ref: "#/channels/updateRunsGTFSTripId"
257
+ updateDelay:
258
+ action: "send"
259
+ channel:
260
+ $ref: "#/channels/updateDelay"
261
+ saveDataToDB:
262
+ action: "send"
263
+ channel:
264
+ $ref: "#/channels/saveDataToDB"
265
+ refreshPublicTripCache:
266
+ action: "send"
267
+ channel:
268
+ $ref: "#/channels/refreshPublicTripCache"
269
+ refreshPublicStopTimeCache:
270
+ action: "send"
271
+ channel:
272
+ $ref: "#/channels/refreshPublicStopTimeCache"
273
+ refreshGTFSTripData:
274
+ action: "send"
275
+ channel:
276
+ $ref: "#/channels/refreshGTFSTripData"
277
+ propagateTrainDelay:
278
+ action: "send"
279
+ channel:
280
+ $ref: "#/channels/propagateTrainDelay"
281
+ propagateDelay:
282
+ action: "send"
283
+ channel:
284
+ $ref: "#/channels/propagateDelay"
285
+ processRegionalBusPositions:
286
+ action: "send"
287
+ channel:
288
+ $ref: "#/channels/processRegionalBusPositions"
289
+ dataRetention:
290
+ action: "send"
291
+ channel:
292
+ $ref: "#/channels/dataRetention"
293
+ saveTramRunsToDB:
294
+ action: "send"
295
+ channel:
296
+ $ref: "#/channels/saveTramRunsToDB"
297
+ saveMetroRunsToDB:
298
+ action: "send"
299
+ channel:
300
+ $ref: "#/channels/saveMetroRunsToDB"
301
+ saveBusRunsToDB:
302
+ action: "send"
303
+ channel:
304
+ $ref: "#/channels/saveBusRunsToDB"
305
+ saveArrivaCityRunsToDB:
306
+ action: "send"
307
+ channel:
308
+ $ref: "#/channels/saveArrivaCityRunsToDB"
309
+ processMetroRunMessages:
310
+ action: "send"
311
+ channel:
312
+ $ref: "#/channels/processMetroRunMessages"
313
+ components:
314
+ messages:
315
+ saveTramRunsToDB:
316
+ payload:
317
+ type: object
318
+ properties:
319
+ data:
320
+ type: object
321
+ $ref: "#/components/schemas/ICommonRunsInput"
322
+ processMetroRunMessages:
323
+ payload:
324
+ type: object
325
+ properties:
326
+ data:
327
+ type: object
328
+ $ref: "#/components/schemas/IProcessMetroRunsMessagesInput"
329
+ processRegionalBusRunMessages:
330
+ payload:
398
331
  type: object
399
332
  properties:
400
- trips_id:
333
+ data:
334
+ type: object
335
+ $ref: "#/components/schemas/IProcessRegionalBusRunMessagesInput"
336
+ saveArrivaCityRunsToDB:
337
+ payload:
338
+ type: object
339
+ properties:
340
+ data:
341
+ type: object
342
+ $ref: "#/components/schemas/IRegionalBusRunsInput"
343
+ saveBusRunsToDB:
344
+ payload:
345
+ type: object
346
+ properties:
347
+ data:
348
+ type: object
349
+ $ref: "#/components/schemas/ICommonRunsInput"
350
+ saveMetroRunsToDB:
351
+ payload:
352
+ type: object
353
+ properties:
354
+ data:
355
+ type: object
356
+ $ref: "#/components/schemas/IMetroRunsInput"
357
+ propagateDelay:
358
+ payload:
359
+ type: object
360
+ properties:
361
+ data:
362
+ type: object
363
+ $ref: "#/components/schemas/IPropagateDelayInput"
364
+ IPropagateTrainDelayInput:
365
+ payload:
366
+ type: object
367
+ properties:
368
+ data:
369
+ type: object
370
+ $ref: "#/components/schemas/ITripPositionTuple"
371
+ EmptyObject:
372
+ payload:
373
+ type: object
374
+ IMpvMessageInput:
375
+ payload:
376
+ type: object
377
+ properties:
378
+ m:
379
+ type: object
380
+ $ref: "#/components/schemas/IMpvMessageContent"
381
+ updateGTFSTripId:
382
+ payload:
383
+ type: object
384
+ properties:
385
+ positions:
386
+ type: array
387
+ $ref: "#/components/schemas/IPositionTransformationResult"
388
+ trips:
389
+ type: array
390
+ $ref: "#/components/schemas/IUpdateGTFSTripIdData"
391
+ messageProperties:
392
+ payload:
393
+ type: object
394
+ properties:
395
+ positions:
396
+ type: array
397
+ items:
398
+ type: object
399
+ properties:
400
+ trips_id:
401
+ type: string
402
+ trips:
403
+ type: array
404
+ $ref: "#/components/schemas/IUpdateGTFSTripIdData"
405
+ IUpdateRunsGtfsTripInput:
406
+ payload:
407
+ type: object
408
+ properties:
409
+ run:
410
+ type: object
411
+ $ref: "#/components/schemas/ICommonRunsModel"
412
+ run_message:
413
+ type: object
414
+ $ref: "#/components/schemas/ICommonRunsMessagesModel"
415
+ IUpdateDelayInput:
416
+ payload:
417
+ type: object
418
+ properties:
419
+ updatedTrips:
420
+ type: array
421
+ items:
422
+ oneOf:
423
+ - $ref: "#/components/schemas/IUpdateDelayTripsIdsData"
424
+ - $ref: "#/components/schemas/IUpdateDelayRunTripsData"
425
+ positions:
426
+ type: array
427
+ items:
428
+ $ref: "#/components/schemas/IPositionTransformationResult"
429
+ schedule:
430
+ type: array
431
+ items:
432
+ $ref: "#/components/schemas/IScheduleDto"
433
+ schemas:
434
+ IUpdateGTFSTripIdData:
435
+ type: object
436
+ properties:
437
+ id:
438
+ type: string
439
+ start_timestamp:
440
+ type: string
441
+ nullable: true
442
+ run_number:
443
+ type: number
444
+ nullable: true
445
+ origin_route_name:
446
+ type: string
447
+ nullable: true
448
+ vehicle_registration_number:
449
+ type: number
450
+ nullable: true
451
+ IPositionTransformationResult:
452
+ type: object
453
+ properties:
454
+ asw_last_stop_id:
455
+ type: string
456
+ nullable: true
457
+ bearing:
458
+ type: number
459
+ nullable: true
460
+ cis_last_stop_id:
461
+ type: number
462
+ nullable: true
463
+ cis_last_stop_sequence:
464
+ type: number
465
+ nullable: true
466
+ delay_stop_arrival:
467
+ type: number
468
+ nullable: true
469
+ delay_stop_departure:
470
+ type: number
471
+ nullable: true
472
+ is_canceled:
473
+ type: boolean
474
+ lat:
475
+ type: number
476
+ nullable: true
477
+ lng:
478
+ type: number
479
+ nullable: true
480
+ origin_time:
481
+ type: string
482
+ origin_timestamp:
483
+ type: string
484
+ format: date-time
485
+ speed:
486
+ type: number
487
+ nullable: true
488
+ state_position:
489
+ type: string
490
+ enum:
491
+ [
492
+ off_track,
493
+ at_stop,
494
+ on_track,
495
+ before_track,
496
+ after_track,
497
+ canceled,
498
+ invisible,
499
+ unknown,
500
+ before_track_delayed,
501
+ duplicate,
502
+ mismatched,
503
+ not_public,
504
+ ]
505
+ state_process:
506
+ type: string
507
+ enum: [tcp_input, udp_input, input, processed]
508
+ is_tracked:
509
+ type: boolean
510
+ nullable: true
511
+ trips_id:
512
+ type: string
513
+ required:
514
+ - is_canceled
515
+ - origin_time
516
+ - origin_timestamp
517
+ - state_position
518
+ - state_process
519
+ - trips_id
520
+ ICommonRunsModel:
521
+ type: object
522
+ properties:
523
+ id:
524
+ type: string
525
+ description: The unique identifier of the run.
526
+ route_id:
527
+ type: string
528
+ description: The ID of the route.
529
+ run_number:
530
+ type: number
531
+ description: The number of the run.
532
+ line_short_name:
533
+ type: string
534
+ description: The short name of the line.
535
+ registration_number:
536
+ type: string
537
+ description: The registration number of the vehicle.
538
+ msg_start_timestamp:
539
+ type: string
540
+ description: The timestamp when the message was first sent.
541
+ msg_last_timestamp:
542
+ type: string
543
+ description: The timestamp when the message was last sent.
544
+ wheelchair_accessible:
545
+ type: boolean
546
+ description: Indicates if the vehicle is wheelchair accessible.
547
+ ICommonRunsMessagesModel:
548
+ type: object
549
+ properties:
550
+ id:
551
+ type: number
552
+ description: Autoincrement ID
553
+ runs_id:
554
+ type: string
555
+ description: Associated foreign key
556
+ lat:
557
+ type: number
558
+ description: Latitude
559
+ lng:
560
+ type: number
561
+ description: Longitude
562
+ actual_stop_asw_id:
563
+ type: string
564
+ description: Actual stop ASW ID
565
+ actual_stop_timestamp_real:
566
+ type: string
567
+ format: date-time
568
+ description: Actual stop timestamp (real)
569
+ actual_stop_timestamp_scheduled:
570
+ type: string
571
+ format: date-time
572
+ nullable: true
573
+ description: Actual stop timestamp (scheduled)
574
+ last_stop_asw_id:
575
+ type: string
576
+ description: Last stop ASW ID
577
+ packet_number:
578
+ type: string
579
+ description: Packet number
580
+ msg_timestamp:
581
+ type: string
582
+ format: date-time
583
+ description: Message timestamp
584
+ events:
585
+ type: string
586
+ enum: [P, O, V, T]
587
+ description: TCP events
588
+ IScheduleDto:
589
+ type: object
590
+ properties:
591
+ trip_id:
592
+ type: string
593
+ service_id:
594
+ type: string
595
+ direction_id:
596
+ type: number
597
+ nullable: true
598
+ shape_id:
599
+ type: string
600
+ nullable: true
601
+ date:
602
+ type: string
603
+ route_id:
604
+ type: string
605
+ route_type:
606
+ type: number
607
+ enum: [0, 1, 2, 3, 4, 7, 11, 1700]
608
+ route_short_name:
609
+ type: string
610
+ origin_route_name:
611
+ type: string
612
+ run_number:
613
+ type: number
614
+ is_regional:
615
+ type: string
616
+ is_substitute_transport:
617
+ type: string
618
+ is_night:
619
+ type: string
620
+ trip_headsign:
621
+ type: string
622
+ trip_short_name:
623
+ type: string
624
+ nullable: true
625
+ block_id:
626
+ type: string
627
+ nullable: true
628
+ exceptional:
629
+ type: number
630
+ min_stop_time:
631
+ type: object
632
+ properties:
633
+ hours:
634
+ type: number
635
+ minutes:
636
+ type: number
637
+ required:
638
+ - hours
639
+ max_stop_time:
640
+ type: object
641
+ properties:
642
+ hours:
643
+ type: number
644
+ minutes:
645
+ type: number
646
+ required:
647
+ - hours
648
+ start_timestamp:
649
+ type: string
650
+ end_timestamp:
651
+ type: string
652
+ first_stop_id:
653
+ type: string
654
+ last_stop_id:
655
+ type: string
656
+ trip_number:
657
+ type: number
658
+ nullable: true
659
+ route_licence_number:
660
+ type: number
661
+ nullable: true
662
+ requiredTurnaroundSeconds:
663
+ type: number
664
+ nullable: true
665
+ IUpdateDelayTripsIdsData:
666
+ type: object
667
+ properties:
668
+ id:
669
+ type: string
670
+ gtfs_trip_id:
671
+ type: string
672
+ gtfs_block_id:
673
+ type: string
674
+ gtfs_route_type:
675
+ type: number
676
+ gtfs_direction_id:
677
+ type: number
678
+ gtfs_shape_id:
679
+ type: string
680
+ start_timestamp:
681
+ type: string
682
+ end_timestamp:
683
+ type: string
684
+ run_number:
685
+ type: number
686
+ internal_run_number:
687
+ type: number
688
+ origin_route_name:
689
+ type: string
690
+ internal_route_name:
691
+ type: string
692
+ vehicle_registration_number:
693
+ type: number
694
+ IUpdateDelayRunTripsData:
695
+ type: object
696
+ properties:
697
+ id:
698
+ type: string
699
+ gtfs_trip_id:
700
+ type: string
701
+ gtfs_block_id:
702
+ type: string
703
+ gtfs_route_type:
704
+ type: number
705
+ gtfs_direction_id:
706
+ type: number
707
+ gtfs_shape_id:
708
+ type: string
709
+ start_timestamp:
710
+ type: string
711
+ end_timestamp:
712
+ type: string
713
+ run_number:
714
+ type: number
715
+ internal_run_number:
716
+ type: number
717
+ origin_route_name:
718
+ type: string
719
+ internal_route_name:
720
+ type: string
721
+ vehicle_registration_number:
722
+ type: number
723
+ IMpvPositionProperties:
724
+ type: object
725
+ properties:
726
+ alias:
727
+ type: string
728
+ asw:
729
+ type: string
730
+ azimut:
731
+ type: string
732
+ cpoz:
733
+ type: string
734
+ dopr:
735
+ type: string
736
+ doprSkut:
737
+ type: string
738
+ info:
739
+ type: string
740
+ kmenl:
741
+ type: string
742
+ lat:
743
+ type: string
744
+ lin:
745
+ type: string
746
+ lng:
747
+ type: string
748
+ np:
749
+ type: string
750
+ po:
751
+ type: string
752
+ rychl:
753
+ type: string
754
+ sled:
755
+ type: string
756
+ spoj:
757
+ type: string
758
+ t:
759
+ type: string
760
+ vuzevc:
761
+ type: string
762
+ zast:
763
+ type: string
764
+ zpoz_prij:
765
+ type: string
766
+ zpoz_odj:
767
+ type: string
768
+ zrus:
769
+ type: string
770
+ IMpvStopProperties:
771
+ type: object
772
+ properties:
773
+ odj:
774
+ type: string
775
+ prij:
776
+ type: string
777
+ stan:
778
+ type: string
779
+ zast:
780
+ type: string
781
+ asw:
782
+ type: string
783
+ zpoz_odj:
784
+ type: string
785
+ zpoz_prij:
786
+ type: string
787
+ zpoz_typ_odj:
788
+ type: string
789
+ zpoz_typ_prij:
790
+ type: string
791
+
792
+ IMpvMessageContent:
793
+ type: object
794
+ properties:
795
+ spoj:
796
+ oneOf:
797
+ - $ref: "#/components/schemas/IMpvPositionContent"
798
+ - type: array
799
+ items:
800
+ $ref: "#/components/schemas/IMpvPositionContent"
801
+ IMpvPositionContent:
802
+ type: object
803
+ properties:
804
+ $:
805
+ type: object
806
+ $ref: "#/components/schemas/IMpvPositionProperties"
807
+ ITripPositionTuple:
808
+ type: object
809
+ properties:
810
+ position:
811
+ type: object
812
+ description: All known positions with their properties
813
+ properties:
814
+ type:
815
+ type: string
816
+ example: "FeatureCollection"
817
+ features:
818
+ type: array
819
+ items:
820
+ allOf:
821
+ - $ref: "#/components/schemas/FeaturePoint"
822
+ - type: object
823
+ properties:
824
+ properties:
825
+ $ref: "#/components/schemas/IVPTripsPositionAttributes"
826
+ required:
827
+ - type
828
+ trip:
829
+ $ref: "#/components/schemas/IUpdateDelayRunTripsData"
830
+ GeometryPoint:
831
+ type: object
832
+ description: GeoJson point
833
+ properties:
834
+ coordinates:
835
+ type: array
836
+ items:
837
+ type: number
838
+ example: [14.441252, 50.109318]
839
+ description: Point
840
+ type:
841
+ type: string
842
+ enum:
843
+ - Point
844
+ FeaturePoint:
845
+ title: Feature Point
846
+ type: object
847
+ properties:
848
+ geometry:
849
+ type: object
850
+ properties:
851
+ type:
852
+ type: string
853
+ example: "Point"
854
+ coordinates:
855
+ $ref: "#/components/schemas/GeometryPoint"
856
+ required:
857
+ - coordinates
858
+ - type
859
+ properties:
860
+ type: object
861
+ type:
862
+ type: string
863
+ example: "Feature"
864
+ required:
865
+ - geometry
866
+ - properties
867
+ - type
868
+ IVPTripsPositionAttributes:
869
+ type: object
870
+ properties:
871
+ bearing:
872
+ type: number
873
+ nullable: true
874
+ lat:
875
+ type: number
876
+ lng:
877
+ type: number
878
+ origin_time:
879
+ type: string
880
+ origin_timestamp:
881
+ type: string
882
+ format: date-time
883
+ scheduled_timestamp:
884
+ type: string
885
+ nullable: true
886
+ format: date-time
887
+ delay:
888
+ type: number
889
+ nullable: true
890
+ is_tracked:
891
+ type: boolean
892
+ id:
893
+ type: string
894
+ shape_dist_traveled:
895
+ type: number
896
+ nullable: true
897
+ is_canceled:
898
+ type: boolean
899
+ state_position:
900
+ $ref: "#/components/schemas/StatePositionEnum"
901
+ state_process:
902
+ $ref: "#/components/schemas/StateProcessEnum"
903
+ tcp_event:
904
+ oneOf:
905
+ - $ref: "#/components/schemas/TCPEventEnum"
906
+ - $ref: "#/components/schemas/RegionalBusEventEnum"
907
+ nullable: true
908
+ this_stop_sequence:
909
+ type: number
910
+ nullable: true
911
+ this_stop_id:
912
+ type: string
913
+ nullable: true
914
+ last_stop_sequence:
915
+ type: number
916
+ nullable: true
917
+ last_stop_id:
401
918
  type: string
402
- trips:
403
- type: array
404
- $ref: '#/components/schemas/IUpdateGTFSTripIdData'
405
- IUpdateRunsGtfsTripInput:
406
- payload:
407
- type: object
408
- properties:
409
- run:
410
- type: object
411
- $ref: '#/components/schemas/ICommonRunsModel'
412
- run_message:
413
- type: object
414
- $ref: '#/components/schemas/ICommonRunsMessagesModel'
415
- IUpdateDelayInput:
416
- payload:
417
- type: object
418
- properties:
419
- updatedTrips:
420
- type: array
421
- items:
422
- oneOf:
423
- - $ref: '#/components/schemas/IUpdateDelayTripsIdsData'
424
- - $ref: '#/components/schemas/IUpdateDelayRunTripsData'
425
- positions:
426
- type: array
427
- items:
428
- $ref: '#/components/schemas/IPositionTransformationResult'
429
- schedule:
430
- type: array
431
- items:
432
- $ref: '#/components/schemas/IScheduleDto'
433
- schemas:
434
- IUpdateGTFSTripIdData:
435
- type: object
436
- properties:
437
- id:
438
- type: string
439
- start_timestamp:
440
- type: string
441
- nullable: true
442
- run_number:
443
- type: number
444
- nullable: true
445
- origin_route_name:
446
- type: string
447
- nullable: true
448
- vehicle_registration_number:
449
- type: number
450
- nullable: true
451
- IPositionTransformationResult:
452
- type: object
453
- properties:
454
- asw_last_stop_id:
455
- type: string
456
- nullable: true
457
- bearing:
458
- type: number
459
- nullable: true
460
- cis_last_stop_id:
461
- type: number
462
- nullable: true
463
- cis_last_stop_sequence:
464
- type: number
465
- nullable: true
466
- delay_stop_arrival:
467
- type: number
468
- nullable: true
469
- delay_stop_departure:
470
- type: number
471
- nullable: true
472
- is_canceled:
473
- type: boolean
474
- lat:
475
- type: number
476
- nullable: true
477
- lng:
478
- type: number
479
- nullable: true
480
- origin_time:
481
- type: string
482
- origin_timestamp:
483
- type: string
484
- format: date-time
485
- speed:
486
- type: number
487
- nullable: true
488
- state_position:
489
- type: string
490
- enum: [off_track,at_stop,on_track,before_track,after_track,canceled,invisible,unknown,before_track_delayed,duplicate,mismatched,not_public]
491
- state_process:
492
- type: string
493
- enum: [tcp_input,udp_input,input,processed]
494
- is_tracked:
495
- type: boolean
496
- nullable: true
497
- trips_id:
498
- type: string
499
- required:
500
- - is_canceled
501
- - origin_time
502
- - origin_timestamp
503
- - state_position
504
- - state_process
505
- - trips_id
506
- ICommonRunsModel:
507
- type: object
508
- properties:
509
- id:
510
- type: string
511
- description: The unique identifier of the run.
512
- route_id:
513
- type: string
514
- description: The ID of the route.
515
- run_number:
516
- type: number
517
- description: The number of the run.
518
- line_short_name:
519
- type: string
520
- description: The short name of the line.
521
- registration_number:
522
- type: string
523
- description: The registration number of the vehicle.
524
- msg_start_timestamp:
525
- type: string
526
- description: The timestamp when the message was first sent.
527
- msg_last_timestamp:
528
- type: string
529
- description: The timestamp when the message was last sent.
530
- wheelchair_accessible:
531
- type: boolean
532
- description: Indicates if the vehicle is wheelchair accessible.
533
- ICommonRunsMessagesModel:
534
- type: object
535
- properties:
536
- id:
537
- type: number
538
- description: Autoincrement ID
539
- runs_id:
540
- type: string
541
- description: Associated foreign key
542
- lat:
543
- type: number
544
- description: Latitude
545
- lng:
546
- type: number
547
- description: Longitude
548
- actual_stop_asw_id:
549
- type: string
550
- description: Actual stop ASW ID
551
- actual_stop_timestamp_real:
552
- type: string
553
- format: date-time
554
- description: Actual stop timestamp (real)
555
- actual_stop_timestamp_scheduled:
556
- type: string
557
- format: date-time
558
- nullable: true
559
- description: Actual stop timestamp (scheduled)
560
- last_stop_asw_id:
561
- type: string
562
- description: Last stop ASW ID
563
- packet_number:
564
- type: string
565
- description: Packet number
566
- msg_timestamp:
567
- type: string
568
- format: date-time
569
- description: Message timestamp
570
- events:
571
- type: string
572
- enum: [P, O, V, T]
573
- description: TCP events
574
- IScheduleDto:
575
- type: object
576
- properties:
577
- trip_id:
578
- type: string
579
- service_id:
580
- type: string
581
- direction_id:
582
- type: number
583
- nullable: true
584
- shape_id:
585
- type: string
586
- nullable: true
587
- date:
588
- type: string
589
- route_id:
590
- type: string
591
- route_type:
592
- type: number
593
- enum: [0,1,2,3,4,7,11,1700]
594
- route_short_name:
595
- type: string
596
- origin_route_name:
597
- type: string
598
- run_number:
599
- type: number
600
- is_regional:
601
- type: string
602
- is_substitute_transport:
603
- type: string
604
- is_night:
605
- type: string
606
- trip_headsign:
607
- type: string
608
- trip_short_name:
609
- type: string
610
- nullable: true
611
- block_id:
612
- type: string
613
- nullable: true
614
- exceptional:
615
- type: number
616
- min_stop_time:
617
- type: object
618
- properties:
619
- hours:
620
- type: number
621
- minutes:
622
- type: number
623
- required:
624
- - hours
625
- max_stop_time:
626
- type: object
627
- properties:
628
- hours:
629
- type: number
630
- minutes:
631
- type: number
632
- required:
633
- - hours
634
- start_timestamp:
635
- type: string
636
- end_timestamp:
637
- type: string
638
- first_stop_id:
639
- type: string
640
- last_stop_id:
641
- type: string
642
- trip_number:
643
- type: number
644
- nullable: true
645
- route_licence_number:
646
- type: number
647
- nullable: true
648
- requiredTurnaroundSeconds:
649
- type: number
650
- nullable: true
651
- IUpdateDelayTripsIdsData:
652
- type: object
653
- properties:
654
- id:
655
- type: string
656
- gtfs_trip_id:
657
- type: string
658
- gtfs_block_id:
659
- type: string
660
- gtfs_route_type:
661
- type: number
662
- gtfs_direction_id:
663
- type: number
664
- gtfs_shape_id:
665
- type: string
666
- start_timestamp:
667
- type: string
668
- end_timestamp:
669
- type: string
670
- run_number:
671
- type: number
672
- internal_run_number:
673
- type: number
674
- origin_route_name:
675
- type: string
676
- internal_route_name:
677
- type: string
678
- vehicle_registration_number:
679
- type: number
680
- IUpdateDelayRunTripsData:
681
- type: object
682
- properties:
683
- id:
684
- type: string
685
- gtfs_trip_id:
686
- type: string
687
- gtfs_block_id:
688
- type: string
689
- gtfs_route_type:
690
- type: number
691
- gtfs_direction_id:
919
+ nullable: true
920
+ last_stop_name:
921
+ type: string
922
+ nullable: true
923
+ last_stop_arrival_time:
924
+ type: string
925
+ nullable: true
926
+ format: date-time
927
+ last_stop_departure_time:
928
+ type: string
929
+ nullable: true
930
+ format: date-time
931
+ last_stop_headsign:
932
+ type: string
933
+ nullable: true
934
+ next_stop_sequence:
935
+ type: number
936
+ nullable: true
937
+ next_stop_id:
938
+ type: string
939
+ nullable: true
940
+ next_stop_name:
941
+ type: string
942
+ nullable: true
943
+ next_stop_arrival_time:
944
+ type: string
945
+ nullable: true
946
+ format: date-time
947
+ next_stop_departure_time:
948
+ type: string
949
+ nullable: true
950
+ format: date-time
951
+ valid_to:
952
+ type: string
953
+ nullable: true
954
+ format: date-time
955
+ GTFSRouteTypeEnum:
692
956
  type: number
693
- gtfs_shape_id:
694
- type: string
695
- start_timestamp:
957
+ enum: [0, 1, 2, 3, 4, 7, 11, 1700]
958
+ StatePositionEnum:
696
959
  type: string
697
- end_timestamp:
960
+ enum:
961
+ [
962
+ off_track,
963
+ at_stop,
964
+ on_track,
965
+ before_track,
966
+ after_track,
967
+ canceled,
968
+ invisible,
969
+ unknown,
970
+ before_track_delayed,
971
+ duplicate,
972
+ mismatched,
973
+ not_public,
974
+ ]
975
+ StateProcessEnum:
698
976
  type: string
699
- run_number:
700
- type: number
701
- internal_run_number:
702
- type: number
703
- origin_route_name:
977
+ enum: [tcp_input, udp_input, input, processed]
978
+ TCPEventEnum:
704
979
  type: string
705
- internal_route_name:
980
+ enum: [P, O, V, T]
981
+ RegionalBusEventEnum:
706
982
  type: string
707
- vehicle_registration_number:
708
- type: number
709
- IMpvPositionProperties:
710
- type: object
711
- properties:
712
- alias:
713
- type: string
714
- asw:
715
- type: string
716
- azimut:
717
- type: string
718
- cpoz:
719
- type: string
720
- dopr:
721
- type: string
722
- doprSkut:
723
- type: string
724
- info:
725
- type: string
726
- kmenl:
727
- type: string
728
- lat:
729
- type: string
730
- lin:
731
- type: string
732
- lng:
733
- type: string
734
- np:
735
- type: string
736
- po:
737
- type: string
738
- rychl:
739
- type: string
740
- sled:
741
- type: string
742
- spoj:
743
- type: string
744
- t:
745
- type: string
746
- vuzevc:
747
- type: string
748
- zast:
749
- type: string
750
- zpoz_prij:
751
- type: string
752
- zpoz_odj:
753
- type: string
754
- zrus:
755
- type: string
756
- IMpvStopProperties:
757
- type: object
758
- properties:
759
- odj:
760
- type: string
761
- prij:
762
- type: string
763
- stan:
764
- type: string
765
- zast:
766
- type: string
767
- asw:
768
- type: string
769
- zpoz_odj:
770
- type: string
771
- zpoz_prij:
772
- type: string
773
- zpoz_typ_odj:
774
- type: string
775
- zpoz_typ_prij:
776
- type: string
777
-
778
- IMpvMessageContent:
779
- type: object
780
- properties:
781
- spoj:
782
- oneOf:
783
- - $ref: '#/components/schemas/IMpvPositionContent'
784
- - type: array
785
- items:
786
- $ref: '#/components/schemas/IMpvPositionContent'
787
- IMpvPositionContent:
788
- type: object
789
- properties:
790
- $:
791
- type: object
792
- $ref: '#/components/schemas/IMpvPositionProperties'
793
- ITripPositionTuple:
794
- type: object
795
- properties:
796
- position:
983
+ enum: [R]
984
+ IPropagateDelayInput:
985
+ type: object
986
+ properties:
987
+ processedPositions:
988
+ type: array
989
+ items:
990
+ $ref: "#/components/schemas/IProcessedPositions"
991
+ trips:
992
+ type: array
993
+ items:
994
+ oneOf:
995
+ - $ref: "#/components/schemas/IUpdateDelayTripsIdsData"
996
+ - $ref: "#/components/schemas/IUpdateDelayRunTripsData"
997
+ IProcessedPositions:
998
+ type: object
999
+ properties:
1000
+ context:
1001
+ $ref: "#/components/schemas/IVPTripsLastPositionContext"
1002
+ positions:
1003
+ type: array
1004
+ items:
1005
+ $ref: "#/components/schemas/IPositionToUpdate"
1006
+ IVPTripsLastPositionContext:
1007
+ type: object
1008
+ properties:
1009
+ lastPositionId:
1010
+ type: string
1011
+ nullable: true
1012
+ lastPositionOriginTimestamp:
1013
+ type: number
1014
+ nullable: true
1015
+ lastPositionTracking:
797
1016
  type: object
798
1017
  description: All known positions with their properties
799
1018
  properties:
@@ -811,258 +1030,67 @@ components:
811
1030
  $ref: "#/components/schemas/IVPTripsPositionAttributes"
812
1031
  required:
813
1032
  - type
814
- trip:
815
- $ref: "#/components/schemas/IUpdateDelayRunTripsData"
816
- GeometryPoint:
817
- type: object
818
- description: GeoJson point
819
- properties:
820
- coordinates:
821
- type: array
822
- items:
823
- type: number
824
- example: [14.441252, 50.109318]
825
- description: Point
826
- type:
827
- type: string
828
- enum:
829
- - Point
830
- FeaturePoint:
831
- title: Feature Point
832
- type: object
833
- properties:
834
- geometry:
1033
+ lastPositionCanceled:
1034
+ type: boolean
1035
+ nullable: true
1036
+ lastPositionLastStop:
835
1037
  type: object
836
1038
  properties:
837
- type:
1039
+ id:
838
1040
  type: string
839
- example: "Point"
840
- coordinates:
841
- $ref: "#/components/schemas/GeometryPoint"
842
- required:
843
- - coordinates
844
- - type
845
- properties:
1041
+ nullable: true
1042
+ sequence:
1043
+ type: number
1044
+ nullable: true
1045
+ arrival_time:
1046
+ type: number
1047
+ nullable: true
1048
+ arrival_delay:
1049
+ type: number
1050
+ nullable: true
1051
+ departure_time:
1052
+ type: number
1053
+ nullable: true
1054
+ departure_delay:
1055
+ type: number
1056
+ nullable: true
1057
+ nullable: true
1058
+ lastPositionDelay:
1059
+ type: number
1060
+ nullable: true
1061
+ atStopStreak:
1062
+ $ref: "#/components/schemas/IVPTripsComputedPositionAtStopStreak"
1063
+ lastPositionBeforeTrackDelayed:
846
1064
  type: object
847
- type:
1065
+ properties:
1066
+ delay:
1067
+ type: number
1068
+ nullable: true
1069
+ origin_timestamp:
1070
+ type: string
1071
+ format: date-time
1072
+ nullable: true
1073
+ lastPositionState:
1074
+ $ref: "#/components/schemas/StatePositionEnum"
1075
+ nullable: true
1076
+ tripId:
848
1077
  type: string
849
- example: "Feature"
850
1078
  required:
851
- - geometry
852
- - properties
853
- - type
854
- IVPTripsPositionAttributes:
855
- type: object
856
- properties:
857
- bearing:
858
- type: number
859
- nullable: true
860
- lat:
861
- type: number
862
- lng:
863
- type: number
864
- origin_time:
865
- type: string
866
- origin_timestamp:
867
- type: string
868
- format: date-time
869
- scheduled_timestamp:
870
- type: string
871
- nullable: true
872
- format: date-time
873
- delay:
874
- type: number
875
- nullable: true
876
- is_tracked:
877
- type: boolean
878
- id:
879
- type: string
880
- shape_dist_traveled:
881
- type: number
882
- nullable: true
883
- is_canceled:
884
- type: boolean
885
- state_position:
886
- $ref: '#/components/schemas/StatePositionEnum'
887
- state_process:
888
- $ref: '#/components/schemas/StateProcessEnum'
889
- tcp_event:
890
- oneOf:
891
- - $ref: '#/components/schemas/TCPEventEnum'
892
- - $ref: '#/components/schemas/RegionalBusEventEnum'
893
- nullable: true
894
- this_stop_sequence:
895
- type: number
896
- nullable: true
897
- this_stop_id:
898
- type: string
899
- nullable: true
900
- last_stop_sequence:
901
- type: number
902
- nullable: true
903
- last_stop_id:
904
- type: string
905
- nullable: true
906
- last_stop_name:
907
- type: string
908
- nullable: true
909
- last_stop_arrival_time:
910
- type: string
911
- nullable: true
912
- format: date-time
913
- last_stop_departure_time:
914
- type: string
915
- nullable: true
916
- format: date-time
917
- last_stop_headsign:
918
- type: string
919
- nullable: true
920
- next_stop_sequence:
921
- type: number
922
- nullable: true
923
- next_stop_id:
924
- type: string
925
- nullable: true
926
- next_stop_name:
927
- type: string
928
- nullable: true
929
- next_stop_arrival_time:
930
- type: string
931
- nullable: true
932
- format: date-time
933
- next_stop_departure_time:
934
- type: string
935
- nullable: true
936
- format: date-time
937
- valid_to:
938
- type: string
939
- nullable: true
940
- format: date-time
941
- GTFSRouteTypeEnum:
942
- type: number
943
- enum: [0,1,2,3,4,7,11,1700]
944
- StatePositionEnum:
945
- type: string
946
- enum: [off_track,at_stop,on_track,before_track,after_track,canceled,invisible,unknown,before_track_delayed,duplicate,mismatched,not_public]
947
- StateProcessEnum:
948
- type: string
949
- enum: [tcp_input,udp_input,input,processed]
950
- TCPEventEnum:
951
- type: string
952
- enum: [P, O, V, T]
953
- RegionalBusEventEnum:
954
- type: string
955
- enum: [R]
956
- IPropagateDelayInput:
957
- type: object
958
- properties:
959
- processedPositions:
960
- type: array
961
- items:
962
- $ref: '#/components/schemas/IProcessedPositions'
963
- trips:
964
- type: array
965
- items:
966
- oneOf:
967
- - $ref: '#/components/schemas/IUpdateDelayTripsIdsData'
968
- - $ref: '#/components/schemas/IUpdateDelayRunTripsData'
969
- IProcessedPositions:
970
- type: object
971
- properties:
972
- context:
973
- $ref: '#/components/schemas/IVPTripsLastPositionContext'
974
- positions:
975
- type: array
976
- items:
977
- $ref: '#/components/schemas/IPositionToUpdate'
978
- IVPTripsLastPositionContext:
979
- type: object
980
- properties:
981
- lastPositionId:
982
- type: string
983
- nullable: true
984
- lastPositionOriginTimestamp:
985
- type: number
986
- nullable: true
987
- lastPositionTracking:
988
- type: object
989
- description: All known positions with their properties
990
- properties:
991
- type:
992
- type: string
993
- example: "FeatureCollection"
994
- features:
995
- type: array
996
- items:
997
- allOf:
998
- - $ref: "#/components/schemas/FeaturePoint"
999
- - type: object
1000
- properties:
1001
- properties:
1002
- $ref: "#/components/schemas/IVPTripsPositionAttributes"
1003
- required:
1004
- - type
1005
- lastPositionCanceled:
1006
- type: boolean
1007
- nullable: true
1008
- lastPositionLastStop:
1009
- type: object
1010
- properties:
1011
- id:
1012
- type: string
1013
- nullable: true
1014
- sequence:
1015
- type: number
1016
- nullable: true
1017
- arrival_time:
1018
- type: number
1019
- nullable: true
1020
- arrival_delay:
1021
- type: number
1022
- nullable: true
1023
- departure_time:
1024
- type: number
1025
- nullable: true
1026
- departure_delay:
1027
- type: number
1028
- nullable: true
1029
- nullable: true
1030
- lastPositionDelay:
1031
- type: number
1032
- nullable: true
1033
- atStopStreak:
1034
- $ref: '#/components/schemas/IVPTripsComputedPositionAtStopStreak'
1035
- lastPositionBeforeTrackDelayed:
1036
- type: object
1037
- properties:
1038
- delay:
1039
- type: number
1040
- nullable: true
1041
- origin_timestamp:
1042
- type: string
1043
- format: date-time
1044
- nullable: true
1045
- lastPositionState:
1046
- $ref: '#/components/schemas/StatePositionEnum'
1047
- nullable: true
1048
- tripId:
1049
- type: string
1050
- required:
1051
- - tripId
1052
- IVPTripsComputedPositionAtStopStreak:
1053
- type: object
1054
- properties:
1055
- firstPositionTimestamp:
1056
- type: number
1057
- nullable: true
1058
- firstPositionDelay:
1059
- type: number
1060
- nullable: true
1061
- stop_sequence:
1062
- type: number
1063
- nullable: true
1064
- required: []
1065
- IPositionToUpdate:
1079
+ - tripId
1080
+ IVPTripsComputedPositionAtStopStreak:
1081
+ type: object
1082
+ properties:
1083
+ firstPositionTimestamp:
1084
+ type: number
1085
+ nullable: true
1086
+ firstPositionDelay:
1087
+ type: number
1088
+ nullable: true
1089
+ stop_sequence:
1090
+ type: number
1091
+ nullable: true
1092
+ required: []
1093
+ IPositionToUpdate:
1066
1094
  type: object
1067
1095
  properties:
1068
1096
  state_process:
@@ -1072,7 +1100,7 @@ components:
1072
1100
  id:
1073
1101
  type: string
1074
1102
  gtfsData:
1075
- $ref: '#/components/schemas/IComputationTrip'
1103
+ $ref: "#/components/schemas/IComputationTrip"
1076
1104
  last_stop_headsign:
1077
1105
  type: string
1078
1106
  nullable: true
@@ -1084,7 +1112,7 @@ components:
1084
1112
  delay_stop_departure:
1085
1113
  type: number
1086
1114
  nullable: true
1087
- IComputationTrip:
1115
+ IComputationTrip:
1088
1116
  type: object
1089
1117
  properties:
1090
1118
  trip_id:
@@ -1092,89 +1120,89 @@ components:
1092
1120
  stop_times:
1093
1121
  type: array
1094
1122
  items:
1095
- $ref: '#/components/schemas/IStopTime'
1123
+ $ref: "#/components/schemas/IStopTime"
1096
1124
  shapes_anchor_points:
1097
1125
  type: array
1098
1126
  items:
1099
- $ref: '#/components/schemas/IShapeAnchorPoint'
1127
+ $ref: "#/components/schemas/IShapeAnchorPoint"
1100
1128
  shapes:
1101
1129
  type: array
1102
1130
  items:
1103
- $ref: '#/components/schemas/IComputationTripShape'
1104
- Shape:
1105
- type: object
1106
- properties:
1107
- shape_dist_traveled:
1108
- type: number
1109
- shape_id:
1110
- type: string
1111
- shape_pt_lat:
1112
- type: number
1113
- shape_pt_lon:
1114
- type: number
1115
- shape_pt_sequence:
1116
- type: number
1131
+ $ref: "#/components/schemas/IComputationTripShape"
1132
+ Shape:
1133
+ type: object
1134
+ properties:
1135
+ shape_dist_traveled:
1136
+ type: number
1137
+ shape_id:
1138
+ type: string
1139
+ shape_pt_lat:
1140
+ type: number
1141
+ shape_pt_lon:
1142
+ type: number
1143
+ shape_pt_sequence:
1144
+ type: number
1117
1145
 
1118
- Stop:
1119
- type: object
1120
- properties:
1121
- stop_id:
1122
- type: string
1123
- stop_lat:
1124
- type: number
1125
- stop_lon:
1126
- type: number
1127
- stop_name:
1128
- type: string
1129
- zone_id:
1130
- type: string
1131
- nullable: true
1132
- wheelchair_boarding:
1133
- $ref: '#/components/schemas/GtfsStopWheelchairBoardingEnum'
1146
+ Stop:
1147
+ type: object
1148
+ properties:
1149
+ stop_id:
1150
+ type: string
1151
+ stop_lat:
1152
+ type: number
1153
+ stop_lon:
1154
+ type: number
1155
+ stop_name:
1156
+ type: string
1157
+ zone_id:
1158
+ type: string
1159
+ nullable: true
1160
+ wheelchair_boarding:
1161
+ $ref: "#/components/schemas/GtfsStopWheelchairBoardingEnum"
1134
1162
 
1135
- GtfsStopWheelchairBoardingEnum:
1136
- type: string
1137
- enum:
1138
- - UNKNOWN
1139
- - ACCESSIBLE
1140
- - NOT_ACCESSIBLE
1163
+ GtfsStopWheelchairBoardingEnum:
1164
+ type: string
1165
+ enum:
1166
+ - UNKNOWN
1167
+ - ACCESSIBLE
1168
+ - NOT_ACCESSIBLE
1141
1169
 
1142
- TripWithShapesAndStopTimes:
1143
- type: object
1144
- properties:
1145
- shape_id:
1146
- type: string
1147
- shapes:
1148
- type: array
1149
- items:
1150
- $ref: '#/components/schemas/Shape'
1151
- nullable: true
1152
- stop_times:
1153
- type: array
1154
- items:
1155
- $ref: '#/components/schemas/IStopTime'
1156
- nullable: true
1170
+ TripWithShapesAndStopTimes:
1171
+ type: object
1172
+ properties:
1173
+ shape_id:
1174
+ type: string
1175
+ shapes:
1176
+ type: array
1177
+ items:
1178
+ $ref: "#/components/schemas/Shape"
1179
+ nullable: true
1180
+ stop_times:
1181
+ type: array
1182
+ items:
1183
+ $ref: "#/components/schemas/IStopTime"
1184
+ nullable: true
1157
1185
 
1158
- IStopTime:
1159
- type: object
1160
- properties:
1161
- arrival_time_seconds:
1162
- type: number
1163
- departure_time_seconds:
1164
- type: number
1165
- shape_dist_traveled:
1166
- type: number
1167
- stop_id:
1168
- type: string
1169
- stop_sequence:
1170
- type: number
1171
- stop_headsign:
1172
- type: string
1173
- is_no_stop_waypoint:
1174
- type: boolean
1175
- stop:
1176
- $ref: '#/components/schemas/Stop'
1177
- IShapeAnchorPoint:
1186
+ IStopTime:
1187
+ type: object
1188
+ properties:
1189
+ arrival_time_seconds:
1190
+ type: number
1191
+ departure_time_seconds:
1192
+ type: number
1193
+ shape_dist_traveled:
1194
+ type: number
1195
+ stop_id:
1196
+ type: string
1197
+ stop_sequence:
1198
+ type: number
1199
+ stop_headsign:
1200
+ type: string
1201
+ is_no_stop_waypoint:
1202
+ type: boolean
1203
+ stop:
1204
+ $ref: "#/components/schemas/Stop"
1205
+ IShapeAnchorPoint:
1178
1206
  type: object
1179
1207
  properties:
1180
1208
  index:
@@ -1202,243 +1230,254 @@ components:
1202
1230
  nullable: true
1203
1231
  time_scheduled_seconds:
1204
1232
  type: number
1205
- IComputationTripShape:
1206
- type: object
1207
- properties:
1208
- dist:
1209
- type: number
1210
- coords:
1211
- type: array
1212
- items:
1213
- type: number
1214
- required:
1215
- - dist
1216
- - coords
1217
- ICommonRunsInput:
1218
- type: object
1219
- properties:
1220
- M:
1221
- $ref: '#/components/schemas/ICommonRunsMessageContent'
1222
- ICommonRunsMessageContent:
1223
- type: object
1224
- properties:
1225
- V:
1226
- oneOf:
1227
- - $ref: '#/components/schemas/ICommonRunsMessagePropertiesWrapper'
1228
- - type: array
1229
- items:
1230
- $ref: '#/components/schemas/ICommonRunsMessagePropertiesWrapper'
1231
- ICommonRunsMessagePropertiesWrapper:
1232
- type: object
1233
- properties:
1234
- $:
1235
- $ref: '#/components/schemas/ICommonRunsMessageProperties'
1236
- ICommonRunsMessageProperties:
1237
- type: object
1238
- properties:
1239
- turnus:
1240
- type: string
1241
- line:
1242
- type: string
1243
- evc:
1244
- type: string
1245
- np:
1246
- type: string
1247
- lat:
1248
- type: string
1249
- lng:
1250
- type: string
1251
- akt:
1252
- type: string
1253
- takt:
1254
- type: string
1255
- konc:
1256
- type: string
1257
- tjr:
1258
- type: string
1259
- pkt:
1260
- type: string
1261
- tm:
1262
- type: string
1263
- events:
1264
- $ref: '#/components/schemas/TCPEventEnum'
1265
- ICommonRunsInputElement:
1266
- type: object
1267
- properties:
1268
- data:
1269
- $ref: '#/components/schemas/ICommonRunsMessagePropertiesWrapper'
1270
- timestamp:
1271
- type: string
1272
- ICommonRunsInputData:
1273
- type: object
1274
- properties:
1275
- data:
1276
- oneOf:
1277
- - $ref: '#/components/schemas/ICommonRunsMessagePropertiesWrapper'
1278
- - type: array
1279
- items:
1280
- $ref: '#/components/schemas/ICommonRunsMessagePropertiesWrapper'
1281
- timestamp:
1282
- type: number
1283
- MetroRunsMessageProperties:
1284
- type: object
1285
- properties:
1286
- linka:
1287
- type: string
1288
- tm:
1289
- type: string
1290
- gvd:
1291
- type: string
1292
- required:
1293
- - linka
1294
- - tm
1295
- MetroRunsTrainProperties:
1296
- type: object
1297
- properties:
1298
- csp:
1299
- type: string
1300
- csr:
1301
- type: string
1302
- cv:
1303
- type: string
1304
- ko:
1305
- type: string
1306
- odch:
1307
- type: string
1308
- required:
1309
- - csp
1310
- - csr
1311
- - cv
1312
- - ko
1313
- - odch
1314
- MetroRunsTrainContent:
1315
- type: object
1316
- properties:
1317
- $:
1318
- $ref: '#/components/schemas/MetroRunsTrainProperties'
1319
- MetroRunsMessageContent:
1320
- type: object
1321
- properties:
1322
- $:
1323
- $ref: '#/components/schemas/MetroRunsMessageProperties'
1324
- vlak:
1325
- oneOf:
1326
- - $ref: '#/components/schemas/MetroRunsTrainContent'
1327
- - type: array
1328
- items:
1329
- $ref: '#/components/schemas/MetroRunsTrainContent'
1330
- IMetroRunsInput:
1331
- type: object
1332
- properties:
1333
- m:
1334
- $ref: '#/components/schemas/MetroRunsMessageContent'
1335
- IRegionalBusRunsInput:
1336
- type: object
1337
- properties:
1338
- M:
1339
- $ref: '#/components/schemas/IRegionalBusRunsMessageContent'
1340
-
1341
- IRegionalBusRunsMessageContent:
1342
- type: object
1343
- properties:
1344
- V:
1345
- oneOf:
1346
- - $ref: '#/components/schemas/IRegionalBusRunsMessagePropertiesWrapper'
1347
- - type: array
1348
- items:
1349
- $ref: '#/components/schemas/IRegionalBusRunsMessagePropertiesWrapper'
1233
+ IComputationTripShape:
1234
+ type: object
1235
+ properties:
1236
+ dist:
1237
+ type: number
1238
+ coords:
1239
+ type: array
1240
+ items:
1241
+ type: number
1242
+ required:
1243
+ - dist
1244
+ - coords
1245
+ ICommonRunsInput:
1246
+ type: object
1247
+ properties:
1248
+ M:
1249
+ $ref: "#/components/schemas/ICommonRunsMessageContent"
1250
+ ICommonRunsMessageContent:
1251
+ type: object
1252
+ properties:
1253
+ V:
1254
+ oneOf:
1255
+ - $ref: "#/components/schemas/ICommonRunsMessagePropertiesWrapper"
1256
+ - type: array
1257
+ items:
1258
+ $ref: "#/components/schemas/ICommonRunsMessagePropertiesWrapper"
1259
+ ICommonRunsMessagePropertiesWrapper:
1260
+ type: object
1261
+ properties:
1262
+ $:
1263
+ $ref: "#/components/schemas/ICommonRunsMessageProperties"
1264
+ ICommonRunsMessageProperties:
1265
+ type: object
1266
+ properties:
1267
+ turnus:
1268
+ type: string
1269
+ line:
1270
+ type: string
1271
+ evc:
1272
+ type: string
1273
+ np:
1274
+ type: string
1275
+ lat:
1276
+ type: string
1277
+ lng:
1278
+ type: string
1279
+ akt:
1280
+ type: string
1281
+ takt:
1282
+ type: string
1283
+ konc:
1284
+ type: string
1285
+ tjr:
1286
+ type: string
1287
+ pkt:
1288
+ type: string
1289
+ tm:
1290
+ type: string
1291
+ events:
1292
+ $ref: "#/components/schemas/TCPEventEnum"
1293
+ ICommonRunsInputElement:
1294
+ type: object
1295
+ properties:
1296
+ data:
1297
+ $ref: "#/components/schemas/ICommonRunsMessagePropertiesWrapper"
1298
+ timestamp:
1299
+ type: string
1300
+ ICommonRunsInputData:
1301
+ type: object
1302
+ properties:
1303
+ data:
1304
+ oneOf:
1305
+ - $ref: "#/components/schemas/ICommonRunsMessagePropertiesWrapper"
1306
+ - type: array
1307
+ items:
1308
+ $ref: "#/components/schemas/ICommonRunsMessagePropertiesWrapper"
1309
+ timestamp:
1310
+ type: number
1311
+ MetroRunsMessageProperties:
1312
+ type: object
1313
+ properties:
1314
+ linka:
1315
+ type: string
1316
+ tm:
1317
+ type: string
1318
+ gvd:
1319
+ type: string
1320
+ required:
1321
+ - linka
1322
+ - tm
1323
+ MetroRunsTrainProperties:
1324
+ type: object
1325
+ properties:
1326
+ csp:
1327
+ type: string
1328
+ csr:
1329
+ type: string
1330
+ cv:
1331
+ type: string
1332
+ ko:
1333
+ type: string
1334
+ odch:
1335
+ type: string
1336
+ required:
1337
+ - csp
1338
+ - csr
1339
+ - cv
1340
+ - ko
1341
+ - odch
1342
+ MetroRunsTrainContent:
1343
+ type: object
1344
+ properties:
1345
+ $:
1346
+ $ref: "#/components/schemas/MetroRunsTrainProperties"
1347
+ MetroRunsMessageContent:
1348
+ type: object
1349
+ properties:
1350
+ $:
1351
+ $ref: "#/components/schemas/MetroRunsMessageProperties"
1352
+ vlak:
1353
+ oneOf:
1354
+ - $ref: "#/components/schemas/MetroRunsTrainContent"
1355
+ - type: array
1356
+ items:
1357
+ $ref: "#/components/schemas/MetroRunsTrainContent"
1358
+ IMetroRunsInput:
1359
+ type: object
1360
+ properties:
1361
+ m:
1362
+ $ref: "#/components/schemas/MetroRunsMessageContent"
1363
+ IRegionalBusRunsInput:
1364
+ type: object
1365
+ properties:
1366
+ M:
1367
+ $ref: "#/components/schemas/IRegionalBusRunsMessageContent"
1350
1368
 
1351
- IRegionalBusRunsMessagePropertiesWrapper:
1352
- type: object
1353
- properties:
1354
- $:
1355
- $ref: '#/components/schemas/IRegionalBusRunsMessageProperties'
1369
+ IRegionalBusRunsMessageContent:
1370
+ type: object
1371
+ properties:
1372
+ V:
1373
+ oneOf:
1374
+ - $ref: "#/components/schemas/IRegionalBusRunsMessagePropertiesWrapper"
1375
+ - type: array
1376
+ items:
1377
+ $ref: "#/components/schemas/IRegionalBusRunsMessagePropertiesWrapper"
1356
1378
 
1357
- IRegionalBusRunsMessageProperties:
1358
- type: object
1359
- properties:
1360
- imei:
1361
- type: string
1362
- line:
1363
- type: string
1364
- conn:
1365
- type: string
1366
- events:
1367
- type: string
1368
- lat:
1369
- type: string
1370
- lng:
1371
- type: string
1372
- tm:
1373
- type: string
1374
- evc:
1375
- type: string
1376
- rych:
1377
- type: string
1378
- smer:
1379
- type: string
1379
+ IRegionalBusRunsMessagePropertiesWrapper:
1380
+ type: object
1381
+ properties:
1382
+ $:
1383
+ $ref: "#/components/schemas/IRegionalBusRunsMessageProperties"
1380
1384
 
1381
- ITransformationInput:
1382
- type: object
1383
- properties:
1384
- messages:
1385
- type: array
1386
- items:
1387
- $ref: '#/components/schemas/IRegionalBusRunsMessagePropertiesWrapper'
1388
- timestamp:
1389
- type: number
1390
- IProcessRegionalBusRunMessage:
1391
- type: object
1392
- properties:
1393
- cis_line_id:
1394
- type: string
1395
- cis_trip_number:
1396
- type: number
1397
- registration_number:
1398
- type: number
1399
- required:
1400
- - cis_line_id
1401
- - cis_trip_number
1402
- - registration_number
1403
- IProcessRegionalBusRunMessagesInput:
1404
- type: object
1405
- properties:
1406
- messages:
1407
- type: array
1408
- items:
1409
- $ref: '#/components/schemas/IProcessRegionalBusRunMessage'
1410
- required:
1411
- - messages
1412
- IProcessMetroRunsMessage:
1413
- $ref: '#/components/schemas/IProcessMetroRunsMessage'
1385
+ IRegionalBusRunsMessageProperties:
1386
+ type: object
1387
+ properties:
1388
+ imei:
1389
+ type: string
1390
+ line:
1391
+ type: string
1392
+ conn:
1393
+ type: string
1394
+ events:
1395
+ type: string
1396
+ lat:
1397
+ type: string
1398
+ lng:
1399
+ type: string
1400
+ tm:
1401
+ type: string
1402
+ evc:
1403
+ type: string
1404
+ rych:
1405
+ type: string
1406
+ smer:
1407
+ type: string
1414
1408
 
1415
- IProcessMetroRunsMessagesInput:
1416
- type: object
1417
- properties:
1418
- routeName:
1419
- type: string
1420
- messages:
1421
- type: array
1422
- items:
1423
- $ref: '#/components/schemas/IProcessMetroRunsMessage'
1424
- IMetroRunsMessagesModel:
1425
- type: object
1426
- properties:
1427
- route_name:
1428
- type: string
1429
- message_timestamp:
1430
- type: string
1431
- format: date-time
1432
- train_set_number_scheduled:
1433
- type: string
1434
- train_set_number_real:
1435
- type: string
1436
- train_number:
1437
- type: string
1438
- track_id:
1439
- type: string
1440
- delay_origin:
1441
- type: number
1442
- actual_position_timestamp_scheduled:
1443
- type: string
1444
- format: date-time
1409
+ ITransformationInput:
1410
+ type: object
1411
+ properties:
1412
+ messages:
1413
+ type: array
1414
+ items:
1415
+ $ref: "#/components/schemas/IRegionalBusRunsMessagePropertiesWrapper"
1416
+ timestamp:
1417
+ type: number
1418
+ IProcessRegionalBusRunMessage:
1419
+ type: object
1420
+ properties:
1421
+ cis_line_id:
1422
+ type: string
1423
+ cis_trip_number:
1424
+ type: number
1425
+ registration_number:
1426
+ type: number
1427
+ required:
1428
+ - cis_line_id
1429
+ - cis_trip_number
1430
+ - registration_number
1431
+ IProcessRegionalBusRunMessagesInput:
1432
+ type: object
1433
+ properties:
1434
+ messages:
1435
+ type: array
1436
+ items:
1437
+ $ref: "#/components/schemas/IProcessRegionalBusRunMessage"
1438
+ required:
1439
+ - messages
1440
+ IProcessMetroRunsMessage:
1441
+ type: object
1442
+ properties:
1443
+ message_timestamp:
1444
+ type: string
1445
+ format: date-time
1446
+ actual_position_timestamp_scheduled:
1447
+ type: string
1448
+ format: date-time
1449
+ allOf:
1450
+ - $ref: "#/components/schemas/IMetroRunsMessagesModel"
1451
+ required:
1452
+ - message_timestamp
1453
+ - actual_position_timestamp_scheduled
1454
+ IProcessMetroRunsMessagesInput:
1455
+ type: object
1456
+ properties:
1457
+ routeName:
1458
+ type: string
1459
+ messages:
1460
+ type: array
1461
+ items:
1462
+ $ref: "#/components/schemas/IProcessMetroRunsMessage"
1463
+ IMetroRunsMessagesModel:
1464
+ type: object
1465
+ properties:
1466
+ route_name:
1467
+ type: string
1468
+ message_timestamp:
1469
+ type: string
1470
+ format: date-time
1471
+ train_set_number_scheduled:
1472
+ type: string
1473
+ train_set_number_real:
1474
+ type: string
1475
+ train_number:
1476
+ type: string
1477
+ track_id:
1478
+ type: string
1479
+ delay_origin:
1480
+ type: number
1481
+ actual_position_timestamp_scheduled:
1482
+ type: string
1483
+ format: date-time