@golemio/ndic 1.3.0 → 1.3.1-rc.1498639082

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.
@@ -0,0 +1,870 @@
1
+ asyncapi: 3.0.0
2
+ info:
3
+ title: 🚧 NDIC
4
+ version: 1.0.0
5
+ description: This document describes internal RabbitMQ queues of the NDIC module.
6
+ contact:
7
+ name: Golemio Prague Data Plaform
8
+ email: golemio@operatorict.czdd
9
+ url: https://golemio.cz
10
+ operations:
11
+ ndic.refreshGlobalNetworkData:
12
+ action: "send"
13
+ channel:
14
+ $ref: "#/channels/ndic.refreshGlobalNetworkData"
15
+ ndic.regionsDataRetention:
16
+ action: "send"
17
+ channel:
18
+ $ref: "#/channels/ndic.regionsDataRetention"
19
+ ndic.saveTrafficInfo:
20
+ action: "send"
21
+ channel:
22
+ $ref: "#/channels/ndic.saveTrafficInfo"
23
+ ndic.saveTrafficRestrictions:
24
+ action: "send"
25
+ channel:
26
+ $ref: "#/channels/ndic.saveTrafficRestrictions"
27
+ ndic.saveTrafficRestrictionsRegions:
28
+ action: "send"
29
+ channel:
30
+ $ref: "#/channels/ndic.saveTrafficRestrictionsRegions"
31
+ channels:
32
+ ndic.refreshGlobalNetworkData:
33
+ address: dataplatform.ndic.refreshGlobalNetworkData
34
+ description: Refresh data of PostgreSQL table `ndic.global_network_osm_mapping`
35
+ bindings:
36
+ amqp:
37
+ is: queue
38
+ queue:
39
+ durable: true
40
+ messages:
41
+ empty:
42
+ $ref: "#/components/messages/emptyMessage"
43
+ ndic.regionsDataRetention:
44
+ address: dataplatform.ndic.regionsDataRetention
45
+ description: Delete data of PostgreSQL table `ndic.ndic_traffic_restrictions_regions` older than 2 days (by its `situation_record_version_time` column)
46
+ bindings:
47
+ amqp:
48
+ is: queue
49
+ queue:
50
+ durable: true
51
+ messages:
52
+ empty:
53
+ $ref: "#/components/messages/emptyMessage"
54
+ ndic.saveTrafficInfo:
55
+ address: dataplatform.ndic.saveTrafficInfo
56
+ description: Save data to PostgreSQL table `ndic.ndic_traffic_info`
57
+ bindings:
58
+ amqp:
59
+ is: queue
60
+ queue:
61
+ durable: true
62
+ messages:
63
+ data:
64
+ $ref: "#/components/messages/ndic.saveTrafficInfo"
65
+ ndic.saveTrafficRestrictions:
66
+ address: dataplatform.ndic.saveTrafficRestrictions
67
+ description: Save data to PostgreSQL table `ndic.ndic_traffic_restrictions`
68
+ bindings:
69
+ amqp:
70
+ is: queue
71
+ queue:
72
+ durable: true
73
+ messages:
74
+ data:
75
+ $ref: "#/components/messages/ndic.saveTrafficRestrictions"
76
+ ndic.saveTrafficRestrictionsRegions:
77
+ address: dataplatform.ndic.saveTrafficRestrictionsRegions
78
+ description: Save data to PostgreSQL table `ndic.ndic_traffic_restrictions_regions`
79
+ bindings:
80
+ amqp:
81
+ is: queue
82
+ queue:
83
+ durable: true
84
+ messages:
85
+ data:
86
+ $ref: "#/components/messages/ndic.saveTrafficRestrictionsRegions"
87
+ components:
88
+ messages:
89
+ emptyMessage:
90
+ title: Empty message
91
+ ndic.saveTrafficInfo:
92
+ payload:
93
+ $ref: "#/components/schemas/ndic.ITrafficInfo"
94
+ ndic.saveTrafficRestrictions:
95
+ payload:
96
+ $ref: "#/components/schemas/ndic.ITrafficRestrictions"
97
+ ndic.saveTrafficRestrictionsRegions:
98
+ payload:
99
+ $ref: "#/components/schemas/ndic.ITrafficRestrictions"
100
+ schemas:
101
+ ndic.ITrafficInfo:
102
+ type: object
103
+ properties:
104
+ "$":
105
+ type: object
106
+ properties:
107
+ modelBaseVersion:
108
+ type: string
109
+ enum:
110
+ - "2"
111
+ required:
112
+ - modelBaseVersion
113
+ additionalProperties: true
114
+ exchange:
115
+ "$ref": "#/components/schemas/ndic.Exchange"
116
+ payloadPublication:
117
+ "$ref": "#/components/schemas/ndic.PayloadPublication"
118
+ required:
119
+ - "$"
120
+ - exchange
121
+ - payloadPublication
122
+ additionalProperties: false
123
+ ndic.ITrafficRestrictions:
124
+ type: object
125
+ properties:
126
+ "$":
127
+ type: object
128
+ properties:
129
+ modelBaseVersion:
130
+ type: string
131
+ enum:
132
+ - "2"
133
+ required:
134
+ - modelBaseVersion
135
+ additionalProperties: true
136
+ exchange:
137
+ "$ref": "#/components/schemas/ndic.Exchange"
138
+ payloadPublication:
139
+ "$ref": "#/components/schemas/ndic.PayloadPublication"
140
+ required:
141
+ - "$"
142
+ - exchange
143
+ - payloadPublication
144
+ additionalProperties: false
145
+ ndic._ExtensionType:
146
+ type: object
147
+ ndic.AbnormalTraffic:
148
+ type: object
149
+ properties:
150
+ abnormalTrafficType:
151
+ type: string
152
+ relativeTrafficFlow:
153
+ type: string
154
+ trafficTrendType:
155
+ type: string
156
+ abnormalTrafficExtension:
157
+ "$ref": "#/components/schemas/ndic._ExtensionType"
158
+ ndic.Accident:
159
+ type: object
160
+ properties:
161
+ accidentType:
162
+ oneOf:
163
+ - type: string
164
+ - items:
165
+ type: string
166
+ type: array
167
+ totalNumberOfVehiclesInvolved:
168
+ type: string
169
+ pattern: "^[0-9]+$"
170
+ vehicleInvolved:
171
+ oneOf:
172
+ - type: object
173
+ - items:
174
+ type: object
175
+ type: array
176
+ groupOfVehiclesInvolved:
177
+ oneOf:
178
+ - type: object
179
+ - items:
180
+ type: object
181
+ type: array
182
+ groupOfPeopleInvolved:
183
+ oneOf:
184
+ - type: object
185
+ - items:
186
+ type: object
187
+ type: array
188
+ accidentExtension:
189
+ "$ref": "#/components/schemas/ndic._ExtensionType"
190
+ required:
191
+ - accidentType
192
+ ndic.AnimalPresenceObstruction:
193
+ type: object
194
+ properties:
195
+ alive:
196
+ type: boolean
197
+ animalPresenceType:
198
+ type: string
199
+ animalPresenceObstructionExtension:
200
+ "$ref": "#/components/schemas/ndic._ExtensionType"
201
+ required:
202
+ - animalPresenceType
203
+ ndic.AuthorityOperation:
204
+ type: object
205
+ properties:
206
+ authorityOperationType:
207
+ type: string
208
+ authorityOperationExtension:
209
+ "$ref": "#/components/schemas/ndic._ExtensionType"
210
+ required:
211
+ - authorityOperationType
212
+ ndic.CarParks:
213
+ type: object
214
+ properties:
215
+ carParkConfiguration:
216
+ type: string
217
+ carParkIdentity:
218
+ type: string
219
+ carParkOccupancy:
220
+ type: string
221
+ pattern: "^[0-9]+(.[0-9]+){0,1}$"
222
+ carParkStatus:
223
+ type: string
224
+ numberOfVacantParkingSpaces:
225
+ type: string
226
+ pattern: "^[0-9]+$"
227
+ occupiedSpaces:
228
+ type: string
229
+ pattern: "^[0-9]+$"
230
+ totalCapacity:
231
+ type: string
232
+ pattern: "^[0-9]+$"
233
+ carParksExtension:
234
+ "$ref": "#/components/schemas/ndic._ExtensionType"
235
+ required:
236
+ - carParkIdentity
237
+ ndic.Conditions:
238
+ type: object
239
+ properties:
240
+ drivingConditionType:
241
+ type: string
242
+ conditionsExtension:
243
+ "$ref": "#/components/schemas/ndic._ExtensionType"
244
+ ndic.ConstructionWorks:
245
+ allOf:
246
+ - "$ref": "#/components/schemas/ndic.Roadworks"
247
+ - type: object
248
+ properties:
249
+ constructionWorkType:
250
+ type: string
251
+ constructionWorksExtension:
252
+ "$ref": "#/components/schemas/ndic._ExtensionType"
253
+ ndic.Delays:
254
+ type: object
255
+ properties:
256
+ delaysType:
257
+ type: string
258
+ delayTimeValue:
259
+ type: string
260
+ pattern: "^[0-9]+(.[0-9]+){0,1}$"
261
+ additionalProperties: false
262
+ ndic.DisturbanceActivity:
263
+ type: object
264
+ properties:
265
+ disturbanceActivityType:
266
+ type: string
267
+ disturbanceActivityExtension:
268
+ "$ref": "#/components/schemas/ndic._ExtensionType"
269
+ required:
270
+ - disturbanceActivityType
271
+ ndic.EnvironmentalObstruction:
272
+ allOf:
273
+ - "$ref": "#/components/schemas/ndic.Obstruction"
274
+ - type: object
275
+ properties:
276
+ depth:
277
+ type: string
278
+ pattern: "^[0-9]+(.[0-9]+){0,1}$"
279
+ environmentalObstructionType:
280
+ type: string
281
+ environmentalObstructionExtension:
282
+ "$ref": "#/components/schemas/ndic._ExtensionType"
283
+ required:
284
+ - environmentalObstructionType
285
+ ndic.EquipmentOrSystemFault:
286
+ type: object
287
+ properties:
288
+ equipmentOrSystemFaultType:
289
+ type: string
290
+ faultyEquipmentOrSystemType:
291
+ type: string
292
+ equipmentOrSystemFaultExtension:
293
+ "$ref": "#/components/schemas/ndic._ExtensionType"
294
+ required:
295
+ - equipmentOrSystemFaultType
296
+ - faultyEquipmentOrSystemType
297
+ ndic.Exchange:
298
+ type: object
299
+ properties:
300
+ supplierIdentification:
301
+ "$ref": "#/components/schemas/ndic.InternationalIdentifier"
302
+ exchangeExtension:
303
+ "$ref": "#/components/schemas/ndic._ExtensionType"
304
+ required:
305
+ - supplierIdentification
306
+ ndic.GeneralInstructionOrMessageToRoadUsers:
307
+ allOf:
308
+ - "$ref": "#/components/schemas/ndic.NetworkManagement"
309
+ - type: object
310
+ properties:
311
+ generalInstructionToRoadUsersType:
312
+ type: string
313
+ generalMessageToRoadUsers:
314
+ type: object
315
+ generalInstructionOrMessageToRoadUsersExtension:
316
+ "$ref": "#/components/schemas/ndic._ExtensionType"
317
+ ndic.GeneralNetworkManagement:
318
+ allOf:
319
+ - "$ref": "#/components/schemas/ndic.NetworkManagement"
320
+ - type: object
321
+ properties:
322
+ generalNetworkManagementType:
323
+ type: string
324
+ trafficManuallyDirectedBy:
325
+ type: string
326
+ generalNetworkManagementExtension:
327
+ "$ref": "#/components/schemas/ndic._ExtensionType"
328
+ required:
329
+ - generalNetworkManagementType
330
+ ndic.GeneralObstruction:
331
+ allOf:
332
+ - "$ref": "#/components/schemas/ndic.Obstruction"
333
+ - type: object
334
+ properties:
335
+ obstructionType:
336
+ oneOf:
337
+ - type: string
338
+ - items:
339
+ type: string
340
+ type: array
341
+ groupOfPeopleInvolved:
342
+ oneOf:
343
+ - type: object
344
+ - items:
345
+ type: object
346
+ type: array
347
+ generalObstructionExtension:
348
+ "$ref": "#/components/schemas/ndic._ExtensionType"
349
+ required:
350
+ - obstructionType
351
+ ndic.GroupOfLocations:
352
+ allOf:
353
+ - type: object
354
+ properties:
355
+ "$":
356
+ type: object
357
+ properties:
358
+ xsi:type:
359
+ type: string
360
+ lang:
361
+ type: string
362
+ required:
363
+ - xsi:type
364
+ additionalProperties: false
365
+ required:
366
+ - "$"
367
+ - anyOf:
368
+ - "$ref": "#/components/schemas/ndic.Linear"
369
+ ndic.HeaderInformation:
370
+ type: object
371
+ properties:
372
+ confidentiality:
373
+ type: string
374
+ informationStatus:
375
+ type: string
376
+ urgency:
377
+ type: string
378
+ required:
379
+ - confidentiality
380
+ - informationStatus
381
+ additionalProperties: false
382
+ ndic.Impact:
383
+ type: object
384
+ properties:
385
+ capacityRemaining:
386
+ type: string
387
+ pattern: "^[0-9]+(.[0-9]+){0,1}$"
388
+ numberOfLanesRestricted:
389
+ type: string
390
+ pattern: "^[0-9]+$"
391
+ numberOfOperationalLanes:
392
+ type: string
393
+ pattern: "^[0-9]+$"
394
+ originalNumberOfLanes:
395
+ type: string
396
+ pattern: "^[0-9]+$"
397
+ trafficConstrictionType:
398
+ type: string
399
+ delays:
400
+ "$ref": "#/components/schemas/ndic.Delays"
401
+ additionalProperties: false
402
+ ndic.InfrastructureDamageObstruction:
403
+ allOf:
404
+ - "$ref": "#/components/schemas/ndic.Obstruction"
405
+ - type: object
406
+ properties:
407
+ infrastructureDamageType:
408
+ type: string
409
+ infrastructureDamageObstructionExtension:
410
+ "$ref": "#/components/schemas/ndic._ExtensionType"
411
+ required:
412
+ - infrastructureDamageType
413
+ ndic.InternationalIdentifier:
414
+ type: object
415
+ properties:
416
+ country:
417
+ type: string
418
+ nationalIdentifier:
419
+ type: string
420
+ internationalIdentifierExtension:
421
+ "$ref": "#/components/schemas/ndic._ExtensionType"
422
+ required:
423
+ - country
424
+ - nationalIdentifier
425
+ additionalProperties: false
426
+ ndic.Linear:
427
+ allOf:
428
+ - "$ref": "#/components/schemas/ndic.NetworkLocation"
429
+ - type: object
430
+ properties:
431
+ alertCLinear:
432
+ type: object
433
+ linearWithinLinearElement:
434
+ type: object
435
+ globalNetworkLinear:
436
+ type: object
437
+ linearExtension:
438
+ type: object
439
+ ndic.MaintenanceWorks:
440
+ allOf:
441
+ - "$ref": "#/components/schemas/ndic.Roadworks"
442
+ - type: object
443
+ properties:
444
+ roadMaintenanceType:
445
+ oneOf:
446
+ - type: string
447
+ - items:
448
+ type: string
449
+ type: array
450
+ maintenanceWorksExtension:
451
+ "$ref": "#/components/schemas/ndic._ExtensionType"
452
+ required:
453
+ - roadMaintenanceType
454
+ ndic.NetworkLocation:
455
+ type: object
456
+ properties:
457
+ supplementaryPositionalDescription:
458
+ type: object
459
+ destination:
460
+ type: object
461
+ ndic.NetworkManagement:
462
+ type: object
463
+ properties:
464
+ complianceOption:
465
+ type: string
466
+ applicableForTrafficDirection:
467
+ oneOf:
468
+ - type: string
469
+ - items:
470
+ type: string
471
+ type: array
472
+ applicableForTrafficType:
473
+ oneOf:
474
+ - type: string
475
+ - items:
476
+ type: string
477
+ type: array
478
+ placesAtWhichApplicable:
479
+ oneOf:
480
+ - type: string
481
+ - items:
482
+ type: string
483
+ type: array
484
+ forVehiclesWithCharacteristicsOf:
485
+ oneOf:
486
+ - type: object
487
+ - items:
488
+ type: object
489
+ type: array
490
+ required:
491
+ - complianceOption
492
+ ndic.NonWeatherRelatedRoadConditions:
493
+ allOf:
494
+ - "$ref": "#/components/schemas/ndic.Conditions"
495
+ - type: object
496
+ properties:
497
+ nonWeatherRelatedRoadConditionType:
498
+ oneOf:
499
+ - type: string
500
+ - items:
501
+ type: string
502
+ type: array
503
+ nonWeatherRelatedRoadConditionsExtension:
504
+ "$ref": "#/components/schemas/ndic._ExtensionType"
505
+ required:
506
+ - nonWeatherRelatedRoadConditionType
507
+ ndic.Obstruction:
508
+ type: object
509
+ properties:
510
+ numberOfObstructions:
511
+ type: string
512
+ pattern: "^[0-9]+$"
513
+ mobilityOfObstruction:
514
+ type: object
515
+ ndic.OverallPeriod:
516
+ type: object
517
+ properties:
518
+ overallStartTime:
519
+ "$ref": "#/components/schemas/ndic.DateTime"
520
+ overallEndTime:
521
+ "$ref": "#/components/schemas/ndic.DateTime"
522
+ required:
523
+ - overallStartTime
524
+ additionalProperties: false
525
+ ndic.PayloadPublication:
526
+ type: object
527
+ properties:
528
+ "$":
529
+ type: object
530
+ properties:
531
+ xsi:type:
532
+ type: string
533
+ enum:
534
+ - SituationPublication
535
+ lang:
536
+ type: string
537
+ required:
538
+ - xsi:type
539
+ additionalProperties: false
540
+ publicationTime:
541
+ "$ref": "#/components/schemas/ndic.DateTime"
542
+ publicationCreator:
543
+ "$ref": "#/components/schemas/ndic.InternationalIdentifier"
544
+ situation:
545
+ oneOf:
546
+ - "$ref": "#/components/schemas/ndic.Situation"
547
+ - items:
548
+ "$ref": "#/components/schemas/ndic.Situation"
549
+ type: array
550
+ situationPublicationExtension:
551
+ "$ref": "#/components/schemas/ndic._ExtensionType"
552
+ required:
553
+ - "$"
554
+ - publicationTime
555
+ - publicationCreator
556
+ - situation
557
+ additionalProperties: false
558
+ ndic.PoorEnvironmentConditions:
559
+ allOf:
560
+ - "$ref": "#/components/schemas/ndic.Conditions"
561
+ - type: object
562
+ properties:
563
+ poorEnvironmentType:
564
+ oneOf:
565
+ - type: string
566
+ - items:
567
+ type: string
568
+ type: array
569
+ precipitationDetail:
570
+ type: object
571
+ visibility:
572
+ type: object
573
+ temperature:
574
+ type: object
575
+ wind:
576
+ type: object
577
+ poorEnvironmentConditionsExtension:
578
+ "$ref": "#/components/schemas/ndic._ExtensionType"
579
+ required:
580
+ - poorEnvironmentType
581
+ ndic.PublicEvent:
582
+ type: object
583
+ properties:
584
+ publicEventType:
585
+ type: string
586
+ publicEventExtension:
587
+ "$ref": "#/components/schemas/ndic._ExtensionType"
588
+ required:
589
+ - publicEventType
590
+ ndic.ReroutingManagement:
591
+ allOf:
592
+ - "$ref": "#/components/schemas/ndic.NetworkManagement"
593
+ - type: object
594
+ properties:
595
+ reroutingManagementType:
596
+ oneOf:
597
+ - type: string
598
+ - items:
599
+ type: string
600
+ type: array
601
+ reroutingItineraryDescription:
602
+ type: object
603
+ signedRerouting:
604
+ type: boolean
605
+ entry:
606
+ type: string
607
+ exit:
608
+ type: string
609
+ roadOrJunctionNumber:
610
+ type: string
611
+ reroutingManagementExtension:
612
+ "$ref": "#/components/schemas/ndic._ExtensionType"
613
+ required:
614
+ - reroutingManagementType
615
+ ndic.RoadOperatorServiceDisruption:
616
+ type: object
617
+ properties:
618
+ roadOperatorServiceDisruptionType:
619
+ oneOf:
620
+ - type: string
621
+ - items:
622
+ type: string
623
+ type: array
624
+ roadOperatorServiceDisruptionExtension:
625
+ "$ref": "#/components/schemas/ndic._ExtensionType"
626
+ required:
627
+ - roadOperatorServiceDisruptionType
628
+ ndic.RoadOrCarriagewayOrLaneManagement:
629
+ allOf:
630
+ - "$ref": "#/components/schemas/ndic.NetworkManagement"
631
+ - type: object
632
+ properties:
633
+ roadOrCarriagewayOrLaneManagementType:
634
+ type: string
635
+ minimumCarOccupancy:
636
+ type: string
637
+ pattern: "^[0-9]+$"
638
+ roadOrCarriagewayOrLaneManagementExtension:
639
+ "$ref": "#/components/schemas/ndic._ExtensionType"
640
+ required:
641
+ - roadOrCarriagewayOrLaneManagementType
642
+ ndic.RoadsideAssistance:
643
+ type: object
644
+ properties:
645
+ roadsideAssistanceType:
646
+ type: string
647
+ roadsideAssistanceExtension:
648
+ "$ref": "#/components/schemas/ndic._ExtensionType"
649
+ required:
650
+ - roadsideAssistanceType
651
+ ndic.RoadsideServiceDisruption:
652
+ type: object
653
+ properties:
654
+ roadsideServiceDisruptionType:
655
+ oneOf:
656
+ - type: string
657
+ - items:
658
+ type: string
659
+ type: array
660
+ roadsideServiceDisruptionExtension:
661
+ "$ref": "#/components/schemas/ndic._ExtensionType"
662
+ required:
663
+ - roadsideServiceDisruptionType
664
+ ndic.Roadworks:
665
+ type: object
666
+ properties:
667
+ roadworksDuration:
668
+ type: string
669
+ roadworksScale:
670
+ type: string
671
+ underTraffic:
672
+ type: boolean
673
+ urgentRoadworks:
674
+ type: boolean
675
+ mobility:
676
+ type: object
677
+ subjects:
678
+ type: object
679
+ maintenanceVehicles:
680
+ type: object
681
+ ndic.Situation:
682
+ type: object
683
+ properties:
684
+ "$":
685
+ type: object
686
+ properties:
687
+ id:
688
+ type: string
689
+ version:
690
+ type: string
691
+ required:
692
+ - id
693
+ - version
694
+ additionalProperties: false
695
+ situationVersionTime:
696
+ "$ref": "#/components/schemas/ndic.DateTime"
697
+ headerInformation:
698
+ "$ref": "#/components/schemas/ndic.HeaderInformation"
699
+ situationRecord:
700
+ oneOf:
701
+ - "$ref": "#/components/schemas/ndic.SituationRecord"
702
+ - items:
703
+ "$ref": "#/components/schemas/ndic.SituationRecord"
704
+ type: array
705
+ situationExtension:
706
+ "$ref": "#/components/schemas/ndic._ExtensionType"
707
+ required:
708
+ - "$"
709
+ - headerInformation
710
+ - situationRecord
711
+ additionalProperties: false
712
+ ndic.SituationRecord:
713
+ allOf:
714
+ - type: object
715
+ properties:
716
+ "$":
717
+ type: object
718
+ properties:
719
+ id:
720
+ type: string
721
+ xsi:type:
722
+ type: string
723
+ version:
724
+ type: string
725
+ required:
726
+ - id
727
+ - version
728
+ additionalProperties: false
729
+ situationRecordCreationTime:
730
+ "$ref": "#/components/schemas/ndic.DateTime"
731
+ situationRecordVersionTime:
732
+ "$ref": "#/components/schemas/ndic.DateTime"
733
+ probabilityOfOccurrence:
734
+ type: string
735
+ source:
736
+ type: object
737
+ validity:
738
+ "$ref": "#/components/schemas/ndic.Validity"
739
+ impact:
740
+ "$ref": "#/components/schemas/ndic.Impact"
741
+ cause:
742
+ type: object
743
+ generalPublicComment:
744
+ oneOf:
745
+ - type: object
746
+ - items:
747
+ type: object
748
+ type: array
749
+ groupOfLocations:
750
+ "$ref": "#/components/schemas/ndic.GroupOfLocations"
751
+ situationRecordExtension:
752
+ "$ref": "#/components/schemas/ndic._ExtensionType"
753
+ required:
754
+ - situationRecordCreationTime
755
+ - situationRecordVersionTime
756
+ - probabilityOfOccurrence
757
+ - validity
758
+ - groupOfLocations
759
+ - anyOf:
760
+ - "$ref": "#/components/schemas/ndic.AbnormalTraffic"
761
+ - "$ref": "#/components/schemas/ndic.Accident"
762
+ - "$ref": "#/components/schemas/ndic.AnimalPresenceObstruction"
763
+ - "$ref": "#/components/schemas/ndic.AuthorityOperation"
764
+ - "$ref": "#/components/schemas/ndic.CarParks"
765
+ - "$ref": "#/components/schemas/ndic.Conditions"
766
+ - "$ref": "#/components/schemas/ndic.ConstructionWorks"
767
+ - "$ref": "#/components/schemas/ndic.DisturbanceActivity"
768
+ - "$ref": "#/components/schemas/ndic.EnvironmentalObstruction"
769
+ - "$ref": "#/components/schemas/ndic.EquipmentOrSystemFault"
770
+ - "$ref": "#/components/schemas/ndic.GeneralInstructionOrMessageToRoadUsers"
771
+ - "$ref": "#/components/schemas/ndic.GeneralNetworkManagement"
772
+ - "$ref": "#/components/schemas/ndic.GeneralObstruction"
773
+ - "$ref": "#/components/schemas/ndic.InfrastructureDamageObstruction"
774
+ - "$ref": "#/components/schemas/ndic.MaintenanceWorks"
775
+ - "$ref": "#/components/schemas/ndic.NonWeatherRelatedRoadConditions"
776
+ - "$ref": "#/components/schemas/ndic.PoorEnvironmentConditions"
777
+ - "$ref": "#/components/schemas/ndic.PublicEvent"
778
+ - "$ref": "#/components/schemas/ndic.ReroutingManagement"
779
+ - "$ref": "#/components/schemas/ndic.RoadOperatorServiceDisruption"
780
+ - "$ref": "#/components/schemas/ndic.RoadOrCarriagewayOrLaneManagement"
781
+ - "$ref": "#/components/schemas/ndic.RoadsideAssistance"
782
+ - "$ref": "#/components/schemas/ndic.RoadsideServiceDisruption"
783
+ - "$ref": "#/components/schemas/ndic.SpeedManagement"
784
+ - "$ref": "#/components/schemas/ndic.TransitInformation"
785
+ - "$ref": "#/components/schemas/ndic.VehicleObstruction"
786
+ - "$ref": "#/components/schemas/ndic.WeatherRelatedRoadConditions"
787
+ - "$ref": "#/components/schemas/ndic.WinterDrivingManagement"
788
+ ndic.SpeedManagement:
789
+ allOf:
790
+ - "$ref": "#/components/schemas/ndic.NetworkManagement"
791
+ - type: object
792
+ properties:
793
+ speedManagementType:
794
+ type: string
795
+ temporarySpeedLimit:
796
+ type: string
797
+ pattern: "^[0-9]+(.[0-9]+){0,1}$"
798
+ speedManagementExtension:
799
+ "$ref": "#/components/schemas/ndic._ExtensionType"
800
+ ndic.TransitInformation:
801
+ type: object
802
+ properties:
803
+ transitServiceInformation:
804
+ type: string
805
+ transitServiceType:
806
+ type: string
807
+ transitInformationExtension:
808
+ "$ref": "#/components/schemas/ndic._ExtensionType"
809
+ required:
810
+ - transitServiceInformation
811
+ - transitServiceType
812
+ ndic.Validity:
813
+ type: object
814
+ properties:
815
+ validityStatus:
816
+ type: string
817
+ validityTimeSpecification:
818
+ "$ref": "#/components/schemas/ndic.OverallPeriod"
819
+ required:
820
+ - validityStatus
821
+ - validityTimeSpecification
822
+ additionalProperties: false
823
+ ndic.VehicleObstruction:
824
+ allOf:
825
+ - "$ref": "#/components/schemas/ndic.Obstruction"
826
+ - type: object
827
+ properties:
828
+ vehicleObstructionType:
829
+ type: string
830
+ obstructingVehicle:
831
+ oneOf:
832
+ - type: object
833
+ - items:
834
+ type: object
835
+ type: array
836
+ vehicleObstructionExtension:
837
+ "$ref": "#/components/schemas/ndic._ExtensionType"
838
+ required:
839
+ - vehicleObstructionType
840
+ ndic.WeatherRelatedRoadConditions:
841
+ allOf:
842
+ - "$ref": "#/components/schemas/ndic.Conditions"
843
+ - type: object
844
+ properties:
845
+ weatherRelatedRoadConditionType:
846
+ oneOf:
847
+ - type: string
848
+ - items:
849
+ type: string
850
+ type: array
851
+ roadSurfaceConditionMeasurements:
852
+ type: object
853
+ weatherRelatedRoadConditionsExtension:
854
+ "$ref": "#/components/schemas/ndic._ExtensionType"
855
+ required:
856
+ - weatherRelatedRoadConditionType
857
+ ndic.WinterDrivingManagement:
858
+ allOf:
859
+ - "$ref": "#/components/schemas/ndic.NetworkManagement"
860
+ - type: object
861
+ properties:
862
+ winterEquipmentManagementType:
863
+ type: string
864
+ winterDrivingManagementExtension:
865
+ "$ref": "#/components/schemas/ndic._ExtensionType"
866
+ required:
867
+ - winterEquipmentManagementType
868
+ ndic.DateTime:
869
+ type: string
870
+ format: date-time
@@ -62,6 +62,8 @@ Popis dat, jak nám jsou posíláná na input-gateway. Pokud je vystaveno více
62
62
 
63
63
  Popis transformace a případného obohacení dat. Zaměřeno hlavně na workery a jejich metody.
64
64
 
65
+ Interní RabbitMQ fronty jsou popsány v [AsyncAPI](./asyncapi.yaml).
66
+
65
67
  ### *LegacyNdicWorker*
66
68
 
67
69
  Worker slouží pro zpracování příchozích dat NdicTrafficInfo a NdicTrafficRestrictions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/ndic",
3
- "version": "1.3.0",
3
+ "version": "1.3.1-rc.1498639082",
4
4
  "description": "Golemio NDIC Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,8 +35,8 @@
35
35
  "@apideck/portman": "^1.26.5",
36
36
  "@commitlint/cli": "^11.0.0",
37
37
  "@commitlint/config-conventional": "^11.0.0",
38
- "@golemio/cli": "1.7.0",
39
- "@golemio/core": "1.14.1",
38
+ "@golemio/cli": "1.7.1",
39
+ "@golemio/core": "1.15.0",
40
40
  "@golemio/db-common": "1.1.4",
41
41
  "@golemio/eslint-config": "1.1.2",
42
42
  "@golemio/traffic-common": "1.0.9",