@golemio/pid 3.12.1 → 3.12.2-dev.1783567547

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 (117) hide show
  1. package/db/example/00_clear_test_data.sql +3 -1
  2. package/db/example/22_jis_events.sql +551 -0
  3. package/db/migrations/postgresql/20250415115907-jis-events.js +53 -0
  4. package/db/migrations/postgresql/sqls/20250415115907-jis-events-down.sql +3 -0
  5. package/db/migrations/postgresql/sqls/20250415115907-jis-events-up.sql +30 -0
  6. package/dist/{output-gateway/shared/constants/jis/InfotextSeverityLevelEnum.d.ts → helpers/jis/JISEventSeverityLevelEnum.d.ts} +1 -1
  7. package/dist/helpers/jis/JISEventSeverityLevelEnum.js +10 -0
  8. package/dist/helpers/jis/JISEventSeverityLevelEnum.js.map +1 -0
  9. package/dist/helpers/jis/JISInfotextSeverityLevelEnum.d.ts +5 -0
  10. package/dist/helpers/jis/JISInfotextSeverityLevelEnum.js +10 -0
  11. package/dist/helpers/jis/JISInfotextSeverityLevelEnum.js.map +1 -0
  12. package/dist/input-gateway/jis/JisInfotextsRouter.d.ts +4 -2
  13. package/dist/input-gateway/jis/JisInfotextsRouter.js +19 -5
  14. package/dist/input-gateway/jis/JisInfotextsRouter.js.map +1 -1
  15. package/dist/input-gateway/jis/controllers/JisEventsController.d.ts +9 -0
  16. package/dist/input-gateway/jis/controllers/JisEventsController.js +28 -0
  17. package/dist/input-gateway/jis/controllers/JisEventsController.js.map +1 -0
  18. package/dist/input-gateway/jis/{JisInfotextsController.js → controllers/JisInfotextsController.js} +1 -1
  19. package/dist/input-gateway/jis/controllers/JisInfotextsController.js.map +1 -0
  20. package/dist/input-gateway/vehicle-positions/VehiclePositionsController.js +0 -1
  21. package/dist/input-gateway/vehicle-positions/VehiclePositionsController.js.map +1 -1
  22. package/dist/integration-engine/data-retention/ioc/RetentionContainerToken.js +1 -1
  23. package/dist/integration-engine/data-retention/ioc/RetentionContainerToken.js.map +1 -1
  24. package/dist/integration-engine/ioc/ModuleContainerToken.js +9 -9
  25. package/dist/integration-engine/ioc/ModuleContainerToken.js.map +1 -1
  26. package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.d.ts +10 -0
  27. package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.js +52 -0
  28. package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.js.map +1 -0
  29. package/dist/integration-engine/jis/ioc/Di.js +16 -2
  30. package/dist/integration-engine/jis/ioc/Di.js.map +1 -1
  31. package/dist/integration-engine/jis/ioc/JISContainerToken.d.ts +8 -1
  32. package/dist/integration-engine/jis/ioc/JISContainerToken.js +15 -8
  33. package/dist/integration-engine/jis/ioc/JISContainerToken.js.map +1 -1
  34. package/dist/integration-engine/jis/repositories/JISEventsRepository.d.ts +29 -0
  35. package/dist/integration-engine/jis/repositories/JISEventsRepository.js +113 -0
  36. package/dist/integration-engine/jis/repositories/JISEventsRepository.js.map +1 -0
  37. package/dist/integration-engine/jis/repositories/JISEventsRopidGTFSRoutesRepository.d.ts +30 -0
  38. package/dist/integration-engine/jis/repositories/JISEventsRopidGTFSRoutesRepository.js +88 -0
  39. package/dist/integration-engine/jis/repositories/JISEventsRopidGTFSRoutesRepository.js.map +1 -0
  40. package/dist/integration-engine/jis/repositories/JISInfotextsRepository.js +4 -1
  41. package/dist/integration-engine/jis/repositories/JISInfotextsRepository.js.map +1 -1
  42. package/dist/integration-engine/jis/services/JISEventsDataService.d.ts +20 -0
  43. package/dist/integration-engine/jis/services/JISEventsDataService.js +74 -0
  44. package/dist/integration-engine/jis/services/JISEventsDataService.js.map +1 -0
  45. package/dist/integration-engine/jis/transformations/JISEventsTransformation.d.ts +13 -0
  46. package/dist/integration-engine/jis/transformations/JISEventsTransformation.js +48 -0
  47. package/dist/integration-engine/jis/transformations/JISEventsTransformation.js.map +1 -0
  48. package/dist/integration-engine/jis/workers/JISWorker.js +3 -1
  49. package/dist/integration-engine/jis/workers/JISWorker.js.map +1 -1
  50. package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.d.ts +9 -0
  51. package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.js +50 -0
  52. package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.js.map +1 -0
  53. package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.d.ts +15 -0
  54. package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.js +61 -0
  55. package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.js.map +1 -0
  56. package/dist/integration-engine/ropid-gtfs/data-access/cache/DelayComputationRedisRepository.js.map +1 -1
  57. package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.js +29 -29
  58. package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.js.map +1 -1
  59. package/dist/integration-engine/vehicle-positions/ioc/VPContainerToken.js +43 -43
  60. package/dist/integration-engine/vehicle-positions/ioc/VPContainerToken.js.map +1 -1
  61. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateTrainDelayTask.js.map +1 -1
  62. package/dist/output-gateway/pid/ioc/OgPidToken.js +22 -22
  63. package/dist/output-gateway/pid/ioc/OgPidToken.js.map +1 -1
  64. package/dist/output-gateway/pid/service/helpers/PriorityMapper.d.ts +2 -2
  65. package/dist/output-gateway/pid/service/helpers/PriorityMapper.js +4 -4
  66. package/dist/output-gateway/pid/service/helpers/PriorityMapper.js.map +1 -1
  67. package/dist/output-gateway/public/ioc/OgModuleToken.js +26 -26
  68. package/dist/output-gateway/public/ioc/OgModuleToken.js.map +1 -1
  69. package/dist/schema-definitions/jis/constants/jisEventCause.d.ts +1 -0
  70. package/dist/schema-definitions/jis/constants/jisEventCause.js +18 -0
  71. package/dist/schema-definitions/jis/constants/jisEventCause.js.map +1 -0
  72. package/dist/schema-definitions/jis/constants/jisEventEffect.d.ts +1 -0
  73. package/dist/schema-definitions/jis/constants/jisEventEffect.js +17 -0
  74. package/dist/schema-definitions/jis/constants/jisEventEffect.js.map +1 -0
  75. package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.d.ts +3 -0
  76. package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.js +88 -0
  77. package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.js.map +1 -0
  78. package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.js +2 -2
  79. package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.js.map +1 -1
  80. package/dist/schema-definitions/jis/datasources/interfaces/IJISEvent.d.ts +25 -0
  81. package/dist/schema-definitions/jis/datasources/interfaces/IJISEvent.js +3 -0
  82. package/dist/schema-definitions/jis/datasources/interfaces/IJISEvent.js.map +1 -0
  83. package/dist/schema-definitions/jis/datasources/interfaces/IJISEventRoute.d.ts +3 -0
  84. package/dist/schema-definitions/jis/datasources/interfaces/IJISEventRoute.js +3 -0
  85. package/dist/schema-definitions/jis/datasources/interfaces/IJISEventRoute.js.map +1 -0
  86. package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotext.d.ts +2 -2
  87. package/dist/schema-definitions/jis/datasources/interfaces/index.d.ts +2 -0
  88. package/dist/schema-definitions/jis/datasources/interfaces/index.js +2 -0
  89. package/dist/schema-definitions/jis/datasources/interfaces/index.js.map +1 -1
  90. package/dist/schema-definitions/jis/models/JISEventsModel.d.ts +28 -0
  91. package/dist/schema-definitions/jis/models/JISEventsModel.js +137 -0
  92. package/dist/schema-definitions/jis/models/JISEventsModel.js.map +1 -0
  93. package/dist/schema-definitions/jis/models/JISEventsRopidGTFSRoutesModel.d.ts +12 -0
  94. package/dist/schema-definitions/jis/models/JISEventsRopidGTFSRoutesModel.js +41 -0
  95. package/dist/schema-definitions/jis/models/JISEventsRopidGTFSRoutesModel.js.map +1 -0
  96. package/dist/schema-definitions/jis/models/JISInfotextsModel.d.ts +2 -2
  97. package/dist/schema-definitions/jis/models/JISInfotextsModel.js +3 -3
  98. package/dist/schema-definitions/jis/models/JISInfotextsModel.js.map +1 -1
  99. package/dist/schema-definitions/jis/models/interfaces/IJISEvent.d.ts +19 -0
  100. package/dist/schema-definitions/jis/models/interfaces/IJISEvent.js +3 -0
  101. package/dist/schema-definitions/jis/models/interfaces/IJISEvent.js.map +1 -0
  102. package/dist/schema-definitions/jis/models/interfaces/IJISEventsRopidGTFSRoutes.d.ts +4 -0
  103. package/dist/schema-definitions/jis/models/interfaces/IJISEventsRopidGTFSRoutes.js +3 -0
  104. package/dist/schema-definitions/jis/models/interfaces/IJISEventsRopidGTFSRoutes.js.map +1 -0
  105. package/dist/schema-definitions/jis/models/interfaces/IJISInfotext.d.ts +2 -2
  106. package/dist/schema-definitions/jis/models/interfaces/index.d.ts +2 -0
  107. package/dist/schema-definitions/jis/models/interfaces/index.js +2 -0
  108. package/dist/schema-definitions/jis/models/interfaces/index.js.map +1 -1
  109. package/docs/assets/pid_jis_erd.png +0 -0
  110. package/docs/asyncapi.yaml +278 -55
  111. package/docs/implementation_documentation.md +45 -1
  112. package/docs/openapi-input.yaml +328 -58
  113. package/package.json +2 -2
  114. package/dist/input-gateway/jis/JisInfotextsController.js.map +0 -1
  115. package/dist/output-gateway/shared/constants/jis/InfotextSeverityLevelEnum.js +0 -10
  116. package/dist/output-gateway/shared/constants/jis/InfotextSeverityLevelEnum.js.map +0 -1
  117. /package/dist/input-gateway/jis/{JisInfotextsController.d.ts → controllers/JisInfotextsController.d.ts} +0 -0
@@ -4,9 +4,20 @@ info:
4
4
  version: 1.0.0
5
5
  description: PID
6
6
  channels:
7
+ jis.fetchJISEvents:
8
+ address: vehicle-positions.jis.fetchJISEvents
9
+ description: Fetch JIS events from data source
10
+ bindings:
11
+ amqp:
12
+ is: queue
13
+ queue:
14
+ durable: true
15
+ messages:
16
+ empty:
17
+ $ref: "#/components/messages/emptyMessage"
7
18
  jis.fetchJISInfotexts:
8
19
  address: vehicle-positions.jis.fetchJISInfotexts
9
- description: Fetch JIS Infotexts from data source
20
+ description: Fetch JIS infotexts from data source
10
21
  bindings:
11
22
  amqp:
12
23
  is: queue
@@ -15,9 +26,20 @@ channels:
15
26
  messages:
16
27
  empty:
17
28
  $ref: "#/components/messages/emptyMessage"
29
+ jis.refreshJISEvents:
30
+ address: vehicle-positions.jis.refreshJISEvents
31
+ description: Refresh JIS events in database
32
+ bindings:
33
+ amqp:
34
+ is: queue
35
+ queue:
36
+ durable: true
37
+ messages:
38
+ empty:
39
+ $ref: "#/components/messages/JISEvents"
18
40
  jis.refreshJISInfotexts:
19
41
  address: vehicle-positions.jis.refreshJISInfotexts
20
- description: Refresh JIS Infotexts in database
42
+ description: Refresh JIS infotexts in database
21
43
  bindings:
22
44
  amqp:
23
45
  is: queue
@@ -25,7 +47,7 @@ channels:
25
47
  durable: true
26
48
  messages:
27
49
  empty:
28
- $ref: "#/components/messages/IJISInfotext"
50
+ $ref: "#/components/messages/JISInfotexts"
29
51
  updateGTFSTripId:
30
52
  address: vehicle-positions.vehiclepositions.updateGTFSTripId
31
53
  description: some description
@@ -256,6 +278,18 @@ channels:
256
278
  empty:
257
279
  $ref: "#/components/messages/EmptyObject"
258
280
  operations:
281
+ jis.fetchJISEvents:
282
+ action: "send"
283
+ channel:
284
+ $ref: "#/channels/jis.fetchJISEvents"
285
+ jis.fetchJISInfotexts:
286
+ action: "send"
287
+ channel:
288
+ $ref: "#/channels/jis.fetchJISInfotexts"
289
+ jis.refreshJISEvents:
290
+ action: "send"
291
+ channel:
292
+ $ref: "#/channels/jis.refreshJISEvents"
259
293
  jis.refreshJISInfotexts:
260
294
  action: "send"
261
295
  channel:
@@ -458,12 +492,17 @@ components:
458
492
  type: array
459
493
  items:
460
494
  $ref: "#/components/schemas/IScheduleDto"
461
- IJISInfotext:
495
+ JISEvents:
496
+ payload:
497
+ type: array
498
+ items:
499
+ $ref: "#/components/schemas/JISEvent"
500
+ JISInfotexts:
462
501
  payload:
463
502
  type: array
464
- items:
465
- $ref: "#/components/schemas/JisInfotext"
466
-
503
+ items:
504
+ $ref: "#/components/schemas/JISInfotext"
505
+
467
506
  schemas:
468
507
  IUpdateGTFSTripIdData:
469
508
  type: object
@@ -1544,80 +1583,264 @@ components:
1544
1583
  actual_position_timestamp_scheduled:
1545
1584
  type: string
1546
1585
  format: date-time
1547
- JisInfotext:
1548
- type: object
1549
- properties:
1550
- id:
1586
+ JISEvent:
1587
+ type: object
1588
+ required:
1589
+ - id
1590
+ - type
1591
+ - header_text
1592
+ - cause
1593
+ - cause_detail
1594
+ - severity_level
1595
+ - active_period
1596
+ - effect
1597
+ - effect_detail
1598
+ - description_text
1599
+ - url
1600
+ - organization_name
1601
+ - created_timestamp
1602
+ - last_modified_timestamp
1603
+ properties:
1604
+ id:
1551
1605
  type: string
1552
1606
  format: uuid
1553
- description: Unique identifier for the infotext
1554
- severity_level:
1607
+ description: Unique identifier of the event in the UUIDv4 format
1608
+ example: e5cc7b38-79e1-4f7a-b8de-884971e23412
1609
+ type:
1555
1610
  type: string
1611
+ example: INCIDENT
1556
1612
  enum:
1557
- - SEVERE
1558
- - WARNING
1559
- - INFO
1560
- description: Severity level of the infotext
1561
- display_type:
1562
- type: string
1563
- description: How the infotext is displayed
1564
- active_period:
1613
+ - INCIDENT
1614
+ - DISRUPTION
1615
+ - SERVICE_CHANGE
1616
+ header_text:
1565
1617
  type: object
1566
1618
  properties:
1567
- start:
1568
- type: string
1569
- format: date-time
1570
- description: Start time of the active period
1571
- end:
1572
- type: string
1573
- format: date-time
1574
- description: End time of the active period
1619
+ cs:
1620
+ type: string
1621
+ example: Nehoda Jiřího z Poděbrad
1622
+ en:
1623
+ type: string
1624
+ example: Accident at Jiřího z Poděbrad
1625
+ nullable: true
1626
+ required:
1627
+ - cs
1628
+ - en
1629
+ cause:
1630
+ type: string
1631
+ example: ACCIDENT
1632
+ enum:
1633
+ - ACCIDENT
1634
+ - STRIKE
1635
+ - TECHNICAL_PROBLEM
1636
+ - CONSTRUCTION
1637
+ - WEATHER
1638
+ - DEMONSTRATION
1639
+ - POLICE_ACTIVITY
1640
+ - MEDICAL_EMERGENCY
1641
+ - OTHER_CAUSE
1642
+ - UNKNOWN_CAUSE
1643
+ - HOLIDAY
1644
+ - MAINTENANCE
1645
+ cause_detail:
1646
+ type: object
1647
+ properties:
1648
+ cs:
1649
+ type: string
1650
+ example: Nehoda na křižovatce
1651
+ en:
1652
+ type: string
1653
+ example: Accident at the intersection
1654
+ nullable: true
1575
1655
  required:
1576
- - start
1577
- - end
1578
- description: The period during which the infotext is active
1579
- description_text:
1656
+ - cs
1657
+ - en
1658
+ severity_level:
1659
+ type: string
1660
+ example: SEVERE
1661
+ enum:
1662
+ - INFO
1663
+ - WARNING
1664
+ - SEVERE
1665
+ description: |
1666
+ INFO - priority 3 \
1667
+ WARNING - priority 2 \
1668
+ SEVERE - priority 1
1669
+ active_period:
1670
+ type: object
1671
+ required:
1672
+ - start
1673
+ - end
1674
+ properties:
1675
+ start:
1676
+ type: string
1677
+ format: date-time
1678
+ example: "2024-02-29T11:22:20.958Z"
1679
+ end:
1680
+ type: string
1681
+ format: date-time
1682
+ nullable: true
1683
+ example: "2024-03-03T14:22:20.958Z"
1684
+ description: The start and end date/time of the event validity
1685
+ effect:
1686
+ type: string
1687
+ example: DETOUR
1688
+ enum:
1689
+ - DETOUR
1690
+ - REDUCED_SERVICE
1691
+ - MODIFIED_SERVICE
1692
+ - SIGNIFICANT_DELAYS
1693
+ - ADDITIONAL_SERVICE
1694
+ - OTHER_EFFECT
1695
+ - NO_SERVICE
1696
+ - STOP_MOVED
1697
+ - NO_EFFECT
1698
+ - ACCESSIBILITY_ISSUE
1699
+ - UNKNOWN_EFFECT
1700
+ effect_detail:
1701
+ type: object
1702
+ properties:
1703
+ cs:
1704
+ type: string
1705
+ example: Tramvaje jezdí několik zastávek jinudy.
1706
+ en:
1707
+ type: string
1708
+ example: Trams are running a few stops differently.
1709
+ nullable: true
1710
+ required:
1711
+ - cs
1712
+ - en
1713
+ description_text:
1580
1714
  type: object
1581
1715
  properties:
1582
1716
  cs:
1583
1717
  type: string
1584
- description: Description in Czech
1718
+ description: Event description in Czech
1585
1719
  en:
1586
1720
  type: string
1587
- description: Description in English
1721
+ nullable: true
1722
+ description: Event description in English
1588
1723
  required:
1589
1724
  - cs
1590
1725
  - en
1591
- description: Localized descriptions of the infotext
1592
- informed_entity:
1726
+ description: Localized descriptions of the event
1727
+ url:
1728
+ type: object
1729
+ properties:
1730
+ cs:
1731
+ type: string
1732
+ format: uri
1733
+ example: https://pid.cz/zmena/cs/nehoda-jiriho-z-podebrad
1734
+ en:
1735
+ type: string
1736
+ format: uri
1737
+ nullable: true
1738
+ example: https://pid.cz/zmena/en/accident-jiriho-z-podebrad
1739
+ required:
1740
+ - cs
1741
+ - en
1742
+ organization_name:
1743
+ type: string
1744
+ example: ROPID
1745
+ informed_entity:
1593
1746
  type: object
1747
+ nullable: true
1594
1748
  properties:
1595
- stops:
1749
+ routes:
1596
1750
  type: array
1751
+ nullable: true
1597
1752
  items:
1598
1753
  type: object
1599
1754
  properties:
1600
- stop_id:
1755
+ route_id:
1601
1756
  type: string
1602
- description: Unique identifier for the stop
1757
+ description: Unique GTFS identifier of the affected route
1603
1758
  required:
1604
- - stop_id
1605
- required:
1606
- - stops
1607
- created_timestamp:
1759
+ - route_id
1760
+ last_modified_timestamp:
1761
+ type: string
1762
+ format: date-time
1763
+ example: "2024-02-29T12:22:20.958Z"
1764
+ description: Timestamp from when the event was last modified in VYMI
1765
+ created_timestamp:
1766
+ type: string
1767
+ format: date-time
1768
+ example: "2024-02-29T12:22:20.958Z"
1769
+ description: Timestamp from when the event was created in VYMI
1770
+ JISInfotext:
1771
+ type: object
1772
+ properties:
1773
+ id:
1774
+ type: string
1775
+ format: uuid
1776
+ description: Unique identifier for the infotext
1777
+ severity_level:
1778
+ type: string
1779
+ enum:
1780
+ - SEVERE
1781
+ - WARNING
1782
+ - INFO
1783
+ description: Severity level of the infotext
1784
+ display_type:
1785
+ type: string
1786
+ description: How the infotext is displayed
1787
+ active_period:
1788
+ type: object
1789
+ properties:
1790
+ start:
1608
1791
  type: string
1609
1792
  format: date-time
1610
- description: Timestamp when the infotext was created in VYMI
1611
- last_modified_timestamp:
1793
+ description: Start time of the active period
1794
+ end:
1612
1795
  type: string
1613
1796
  format: date-time
1614
- description: Timestamp when the infotext was updated in VYMI
1797
+ description: End time of the active period
1615
1798
  required:
1616
- - id
1617
- - severity_level
1618
- - display_type
1619
- - active_period
1620
- - description_text
1621
- - informed_entity
1622
- - created_timestamp
1623
- - last_modified_timestamp
1799
+ - start
1800
+ - end
1801
+ description: The period during which the infotext is active
1802
+ description_text:
1803
+ type: object
1804
+ properties:
1805
+ cs:
1806
+ type: string
1807
+ description: Description in Czech
1808
+ en:
1809
+ type: string
1810
+ description: Description in English
1811
+ required:
1812
+ - cs
1813
+ - en
1814
+ description: Localized descriptions of the infotext
1815
+ informed_entity:
1816
+ type: object
1817
+ properties:
1818
+ stops:
1819
+ type: array
1820
+ items:
1821
+ type: object
1822
+ properties:
1823
+ stop_id:
1824
+ type: string
1825
+ description: Unique identifier for the stop
1826
+ required:
1827
+ - stop_id
1828
+ required:
1829
+ - stops
1830
+ created_timestamp:
1831
+ type: string
1832
+ format: date-time
1833
+ description: Timestamp when the infotext was created in VYMI
1834
+ last_modified_timestamp:
1835
+ type: string
1836
+ format: date-time
1837
+ description: Timestamp when the infotext was updated in VYMI
1838
+ required:
1839
+ - id
1840
+ - severity_level
1841
+ - display_type
1842
+ - active_period
1843
+ - description_text
1844
+ - informed_entity
1845
+ - created_timestamp
1846
+ - last_modified_timestamp
@@ -215,6 +215,39 @@ _:warning: Původním záměrem bylo využití OIS číselníku během zpracová
215
215
  - prod `0 */1 * * * *`
216
216
  - názvy rabbitmq front
217
217
  - vehicle-positions.ropidpresets.collectAndSaveLogs se zprávou `{ "targetMinutes": n }`
218
+
219
+ #### _JIS Events_
220
+
221
+ - zdroj dat
222
+ - baseUrl: module.pid.jis.baseUrl
223
+ - VYMI events path: module.pid.jis.events.path
224
+ - hlavičky VYMI events dotazu: module.pid.jis.events.headers
225
+ - formát dat
226
+ - protokol: http
227
+ - datový typ: json
228
+ - validační schéma: [JISEventsJsonSchema](../src/schema-definitions/jis/datasources/JISEventsJsonSchema.ts)
229
+ - příklad vstupnich dat: [eventsDataSourceFixture](../test/integration-engine/jis/fixtures/eventsDataSourceFixture.ts)
230
+ - frekvence stahování
231
+ - data jsou stažena pouze po manuálním zaslání zprávy do RabbitMQ fronty (primární způsob aktualizace dat je aktivní posílání)
232
+ - název rabbitmq fronty
233
+ - vehicle-positions.jis.fetchJISEvents
234
+
235
+ #### _JIS Infotexts_
236
+
237
+ - zdroj dat
238
+ - baseUrl: module.pid.jis.baseUrl
239
+ - VYMI infotexts path: module.pid.jis.infotexts.path
240
+ - hlavičky VYMI infotexts dotazu: module.pid.jis.infotexts.headers
241
+ - formát dat
242
+ - protokol: http
243
+ - datový typ: json
244
+ - validační schéma: [JISInfotextsJsonSchema](../src/schema-definitions/jis/datasources/JISInfotextsJsonSchema.ts)
245
+ - příklad vstupnich dat: [infotextsDataSourceFixture](../test/integration-engine/jis/fixtures/infotextsDataSourceFixture.ts)
246
+ - frekvence stahování
247
+ - data jsou stažena pouze po manuálním zaslání zprávy do RabbitMQ fronty (primární způsob aktualizace dat je aktivní posílání)
248
+ - název rabbitmq fronty
249
+ - vehicle-positions.jis.fetchJISInfotexts
250
+
218
251
  ### _Ropid staticka data_
219
252
 
220
253
  - zdroj dat
@@ -365,7 +398,18 @@ _:warning: Původním záměrem bylo využití OIS číselníku během zpracová
365
398
  - agregace dat: 1 MB
366
399
  - odhadovaná zátěž
367
400
  - desítky až stovky zpráv za minutu
368
- #### _JIS Infotexty_
401
+
402
+ #### _JIS Events_
403
+
404
+ - formát dat
405
+ - protokol: http
406
+ - datový typ: json
407
+ - validační schéma: [JISEventsJsonSchema](../src/schema-definitions/jis/datasources/JISEventsJsonSchema.ts)
408
+ - příklad vstupnich dat: [eventsDataSourceFixture](../test/integration-engine/jis/fixtures/eventsDataSourceFixture.ts)
409
+ - název rabbitmq fronty
410
+ - vehicle-positions.jis.refreshJISEvents
411
+
412
+ #### _JIS Infotexts_
369
413
 
370
414
  - formát dat
371
415
  - protokol: http