rsmp 0.48.2 → 0.48.3

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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/Rakefile +25 -2
  4. data/lib/rsmp/convert/export/json_schema/index.rb +38 -17
  5. data/lib/rsmp/convert/export/json_schema.rb +29 -0
  6. data/lib/rsmp/version.rb +1 -1
  7. data/schemas/tlc/1.0.10/commands/M0001.json +4 -4
  8. data/schemas/tlc/1.0.10/{sxl.yaml → source/sxl.yaml} +60 -63
  9. data/schemas/tlc/1.0.10/sxl_index.json +3 -3
  10. data/schemas/tlc/1.0.13/commands/M0001.json +4 -4
  11. data/schemas/tlc/1.0.13/{sxl.yaml → source/sxl.yaml} +67 -70
  12. data/schemas/tlc/1.0.13/sxl_index.json +3 -3
  13. data/schemas/tlc/1.0.14/commands/M0001.json +4 -4
  14. data/schemas/tlc/1.0.14/{sxl.yaml → source/sxl.yaml} +67 -70
  15. data/schemas/tlc/1.0.14/sxl_index.json +3 -3
  16. data/schemas/tlc/1.0.15/commands/M0001.json +4 -4
  17. data/schemas/tlc/1.0.15/{sxl.yaml → source/sxl.yaml} +70 -73
  18. data/schemas/tlc/1.0.15/sxl_index.json +3 -3
  19. data/schemas/tlc/1.0.7/commands/M0001.json +4 -4
  20. data/schemas/tlc/1.0.7/{sxl.yaml → source/sxl.yaml} +62 -65
  21. data/schemas/tlc/1.0.7/sxl_index.json +3 -3
  22. data/schemas/tlc/1.0.8/commands/M0001.json +4 -4
  23. data/schemas/tlc/1.0.8/{sxl.yaml → source/sxl.yaml} +60 -63
  24. data/schemas/tlc/1.0.8/sxl_index.json +3 -3
  25. data/schemas/tlc/1.0.9/commands/M0001.json +4 -4
  26. data/schemas/tlc/1.0.9/{sxl.yaml → source/sxl.yaml} +60 -63
  27. data/schemas/tlc/1.0.9/sxl_index.json +3 -3
  28. data/schemas/tlc/1.1.0/commands/M0022.json +8 -8
  29. data/schemas/tlc/1.1.0/{sxl.yaml → source/sxl.yaml} +74 -74
  30. data/schemas/tlc/1.1.0/statuses/S0033.json +2 -2
  31. data/schemas/tlc/1.1.0/sxl_index.json +10 -10
  32. data/schemas/tlc/1.2.0/commands/M0022.json +8 -8
  33. data/schemas/tlc/1.2.0/{sxl.yaml → source/sxl.yaml} +76 -76
  34. data/schemas/tlc/1.2.0/statuses/S0033.json +2 -2
  35. data/schemas/tlc/1.2.0/sxl_index.json +10 -10
  36. data/schemas/tlc/1.2.1/commands/M0022.json +8 -8
  37. data/schemas/tlc/1.2.1/{sxl.yaml → source/sxl.yaml} +76 -76
  38. data/schemas/tlc/1.2.1/statuses/S0033.json +2 -2
  39. data/schemas/tlc/1.2.1/sxl_index.json +10 -10
  40. data/schemas/tlc/1.3.0/commands/command_requests.json +0 -16
  41. data/schemas/tlc/1.3.0/{sxl.yaml → source/sxl.yaml} +1 -0
  42. data/schemas/tlc/1.3.0/sxl_index.json +1 -1
  43. metadata +12 -17
  44. data/schemas/tlc/1.0.8/statuses/S0025.json +0 -181
  45. data/schemas/tlc/1.0.9/statuses/S0025.json +0 -181
  46. data/schemas/tlc/1.2.0/statuses/S0018.json +0 -61
  47. data/schemas/tlc/1.2.1/statuses/S0018.json +0 -61
  48. data/schemas/tlc/1.3.0/statuses/S0018.json +0 -61
@@ -118,7 +118,7 @@ objects:
118
118
  - : Signal group is undefined/does not exist
119
119
  pattern: "^[a-hA-G0-9N-P]*$"
120
120
  cyclecounter:
121
- type: integer_as_string
121
+ type: integer
122
122
  description: |-
123
123
  Cycle counter.
124
124
  Used for handling of coordination between TLC's.
@@ -136,7 +136,7 @@ objects:
136
136
  min: 0
137
137
  max: 999
138
138
  basecyclecounter:
139
- type: integer_as_string
139
+ type: integer
140
140
  description: |-
141
141
  Base cycle counter.
142
142
  Used for handling of coordination between TLC's.
@@ -145,7 +145,7 @@ objects:
145
145
  min: 0
146
146
  max: 999
147
147
  stage:
148
- type: integer_as_string
148
+ type: integer
149
149
  description: Current stage (isolated)
150
150
  min: 0
151
151
  max: 999
@@ -201,7 +201,7 @@ objects:
201
201
  During startup mode the traffic controller shows dark, red, yellow flash or using the predetermined start cycle (minimum times).
202
202
  arguments:
203
203
  status:
204
- type: boolean_as_string
204
+ type: boolean
205
205
  description: |-
206
206
  False: Controller is not in start up mode
207
207
  True: Controller is currently in start up mode
@@ -212,12 +212,12 @@ objects:
212
212
  type: array
213
213
  items:
214
214
  intersection:
215
- type: integer_as_string
215
+ type: integer
216
216
  description: Intersection id
217
217
  min: 0
218
218
  max: 255
219
219
  startup:
220
- type: boolean_as_string
220
+ type: boolean
221
221
  description: Start up mode
222
222
  S0006:
223
223
  description: |-
@@ -231,13 +231,13 @@ objects:
231
231
  Deprecated, use S0035 instead.
232
232
  arguments:
233
233
  status:
234
- type: boolean_as_string
234
+ type: boolean
235
235
  deprecated: true
236
236
  description: |-
237
237
  False: Emergency route inactive
238
238
  True: Emergency route active
239
239
  emergencystage:
240
- type: integer_as_string
240
+ type: integer
241
241
  deprecated: true
242
242
  description: Number of emergency route (set to zero if no route is active)
243
243
  min: 0
@@ -446,7 +446,7 @@ objects:
446
446
  The time plan (signal program) may change signal timings, cycle time, control strategy and much more. Typical usage is is scenario based control where change of program is used to change priority etc.
447
447
  arguments:
448
448
  status:
449
- type: integer_as_string
449
+ type: integer
450
450
  description: Current time plan
451
451
  min: 1
452
452
  max: 255
@@ -468,7 +468,7 @@ objects:
468
468
  Traffic situation is a concept used to divide multiple TLC's into areas and sub-areas. The traffic situation gives the possibility to change the TLC sub-area dynamically depending on the time of day and the traffic flow. Depending on the traffic situation each TLC selects the time plan dynamically.
469
469
  arguments:
470
470
  status:
471
- type: integer_as_string
471
+ type: integer
472
472
  description: Current traffic situation
473
473
  min: 1
474
474
  max: 255
@@ -488,7 +488,7 @@ objects:
488
488
  Can be used by the management system to check the number of detector logics configured in the controller.
489
489
  arguments:
490
490
  number:
491
- type: integer_as_string
491
+ type: integer
492
492
  description: Number of detector logics
493
493
  min: 1
494
494
  max: 65025
@@ -498,7 +498,7 @@ objects:
498
498
  Can be used for the management system to check the number of signal groups configured in the controller.
499
499
  arguments:
500
500
  number:
501
- type: integer_as_string
501
+ type: integer
502
502
  description: Number of signal groups
503
503
  min: 1
504
504
  max: 65025
@@ -508,7 +508,7 @@ objects:
508
508
  Can be used for the management system to check the number of traffic situations configured in the controller.
509
509
  arguments:
510
510
  number:
511
- type: integer_as_string
511
+ type: integer
512
512
  description: Number of traffic situations
513
513
  min: 1
514
514
  max: 65025
@@ -811,7 +811,7 @@ objects:
811
811
  Used in conjunction with dynamic bands, M0014
812
812
  arguments:
813
813
  status:
814
- type: integer_as_string
814
+ type: integer
815
815
  description: Timeout, in minutes
816
816
  min: 0
817
817
  max: 65535
@@ -829,7 +829,7 @@ objects:
829
829
  type: array
830
830
  items:
831
831
  id:
832
- type: integer_as_string
832
+ type: integer
833
833
  description: ID of active emergency route
834
834
  min: 1
835
835
  max: 255
@@ -839,7 +839,7 @@ objects:
839
839
  Provides information if maintenance personnel is currently working on site.
840
840
  arguments:
841
841
  user:
842
- type: integer_as_string
842
+ type: integer
843
843
  values:
844
844
  0: Nobody logged in
845
845
  1: Operator logged in at level 1 (read only)
@@ -850,7 +850,7 @@ objects:
850
850
  Provides information if maintenance personnel is currently working with the controller.
851
851
  arguments:
852
852
  user:
853
- type: integer_as_string
853
+ type: integer
854
854
  values:
855
855
  0: Nobody logged in
856
856
  1: Operator logged in at level 1 (read only)
@@ -870,32 +870,32 @@ objects:
870
870
  Provides diagnostic information about the current date and time set in the controller.
871
871
  arguments:
872
872
  year:
873
- type: integer_as_string
873
+ type: integer
874
874
  description: Year
875
875
  min: 0
876
876
  max: 9999
877
877
  month:
878
- type: integer_as_string
878
+ type: integer
879
879
  description: Month
880
880
  min: 1
881
881
  max: 12
882
882
  day:
883
- type: integer_as_string
883
+ type: integer
884
884
  description: Day of month
885
885
  min: 1
886
886
  max: 31
887
887
  hour:
888
- type: integer_as_string
888
+ type: integer
889
889
  description: Hour
890
890
  min: 0
891
891
  max: 23
892
892
  minute:
893
- type: integer_as_string
893
+ type: integer
894
894
  description: Minute
895
895
  min: 0
896
896
  max: 59
897
897
  second:
898
- type: integer_as_string
898
+ type: integer
899
899
  description: Second
900
900
  min: 0
901
901
  max: 59
@@ -1123,14 +1123,14 @@ objects:
1123
1123
  type: string
1124
1124
  description: Security code 2
1125
1125
  timeout:
1126
- type: integer_as_string
1126
+ type: integer
1127
1127
  description: |-
1128
1128
  Time in minutes until controller automatically reverts to previous functional position.
1129
1129
  0=no automatic return
1130
1130
  min: 0
1131
1131
  max: 1440
1132
1132
  intersection:
1133
- type: integer_as_string
1133
+ type: integer
1134
1134
  description: |-
1135
1135
  Intersection number.
1136
1136
  Command only applies to specified intersection. Other intersections remains in their respective operating mode(s).
@@ -1147,7 +1147,7 @@ objects:
1147
1147
  Requires security code 2
1148
1148
  arguments:
1149
1149
  status:
1150
- type: boolean_as_string
1150
+ type: boolean
1151
1151
  description: |-
1152
1152
  False: Controller uses time plan according to programming
1153
1153
  True: Controller uses time plan according to command
@@ -1155,7 +1155,7 @@ objects:
1155
1155
  type: string
1156
1156
  description: Security code 2
1157
1157
  timeplan:
1158
- type: integer_as_string
1158
+ type: integer
1159
1159
  description: designation of time plan
1160
1160
  min: 1
1161
1161
  max: 255
@@ -1168,7 +1168,7 @@ objects:
1168
1168
  Requires security code 2
1169
1169
  arguments:
1170
1170
  status:
1171
- type: boolean_as_string
1171
+ type: boolean
1172
1172
  description: |-
1173
1173
  False: Controller uses traffic situation according to own programming
1174
1174
  True: Controller uses traffic situation according to command
@@ -1176,7 +1176,7 @@ objects:
1176
1176
  type: string
1177
1177
  description: Security code 2
1178
1178
  traficsituation:
1179
- type: integer_as_string
1179
+ type: integer
1180
1180
  description: designation of traficsituation
1181
1181
  min: 1
1182
1182
  max: 255
@@ -1188,7 +1188,7 @@ objects:
1188
1188
  Requires security code 2
1189
1189
  arguments:
1190
1190
  status:
1191
- type: boolean_as_string
1191
+ type: boolean
1192
1192
  deprecated: true
1193
1193
  description: 'True: Restart controller'
1194
1194
  securityCode:
@@ -1204,7 +1204,7 @@ objects:
1204
1204
  Requires security code 2.
1205
1205
  arguments:
1206
1206
  status:
1207
- type: boolean_as_string
1207
+ type: boolean
1208
1208
  description: |-
1209
1209
  False: Deactivate emergency route
1210
1210
  True: Activate emergency route
@@ -1212,7 +1212,7 @@ objects:
1212
1212
  type: string
1213
1213
  description: Security code 2
1214
1214
  emergencyroute:
1215
- type: integer_as_string
1215
+ type: integer
1216
1216
  description: Number of emergency route
1217
1217
  min: 1
1218
1218
  max: 255
@@ -1227,7 +1227,7 @@ objects:
1227
1227
  Requires security code 2.
1228
1228
  arguments:
1229
1229
  status:
1230
- type: boolean_as_string
1230
+ type: boolean
1231
1231
  description: |-
1232
1232
  False: Deactivate input
1233
1233
  True: Activate input
@@ -1235,7 +1235,7 @@ objects:
1235
1235
  type: string
1236
1236
  description: Security code 2
1237
1237
  input:
1238
- type: integer_as_string
1238
+ type: integer
1239
1239
  description: Number of Input
1240
1240
  min: 1
1241
1241
  max: 255
@@ -1248,7 +1248,7 @@ objects:
1248
1248
  Requires security code 2.
1249
1249
  arguments:
1250
1250
  status:
1251
- type: boolean_as_string
1251
+ type: boolean
1252
1252
  description: |-
1253
1253
  False: Deactivate fixed time control
1254
1254
  True: Activate fixed time control
@@ -1349,7 +1349,7 @@ objects:
1349
1349
  Requires security code 2
1350
1350
  arguments:
1351
1351
  plan:
1352
- type: integer_as_string
1352
+ type: integer
1353
1353
  description: Plan to be changed
1354
1354
  min: 0
1355
1355
  max: 255
@@ -1377,12 +1377,12 @@ objects:
1377
1377
  Requires security code 2.
1378
1378
  arguments:
1379
1379
  status:
1380
- type: integer_as_string
1380
+ type: integer
1381
1381
  description: Set offset time in seconds
1382
1382
  min: 0
1383
1383
  max: 255
1384
1384
  plan:
1385
- type: integer_as_string
1385
+ type: integer
1386
1386
  description: Time plan nr
1387
1387
  min: 0
1388
1388
  max: 255
@@ -1463,12 +1463,12 @@ objects:
1463
1463
  Requires security code 2.
1464
1464
  arguments:
1465
1465
  status:
1466
- type: integer_as_string
1466
+ type: integer
1467
1467
  description: Set cycle time in seconds
1468
1468
  min: 1
1469
1469
  max: 255
1470
1470
  plan:
1471
- type: integer_as_string
1471
+ type: integer
1472
1472
  description: Time plan nr
1473
1473
  min: 0
1474
1474
  max: 255
@@ -1484,7 +1484,7 @@ objects:
1484
1484
  Requires security code 2.
1485
1485
  arguments:
1486
1486
  status:
1487
- type: boolean_as_string
1487
+ type: boolean
1488
1488
  description: |-
1489
1489
  False: Release input
1490
1490
  True: Force input
@@ -1492,12 +1492,12 @@ objects:
1492
1492
  type: string
1493
1493
  description: Security code 2
1494
1494
  input:
1495
- type: integer_as_string
1495
+ type: integer
1496
1496
  description: Number of Input
1497
1497
  min: 1
1498
1498
  max: 255
1499
1499
  inputValue:
1500
- type: boolean_as_string
1500
+ type: boolean
1501
1501
  description: |-
1502
1502
  False: input forced to False
1503
1503
  True: input forced to True
@@ -1510,7 +1510,7 @@ objects:
1510
1510
  Requires security code 2.
1511
1511
  arguments:
1512
1512
  status:
1513
- type: boolean_as_string
1513
+ type: boolean
1514
1514
  description: |-
1515
1515
  False: Force output
1516
1516
  True: Release output
@@ -1518,12 +1518,12 @@ objects:
1518
1518
  type: string
1519
1519
  description: Security code 2
1520
1520
  output:
1521
- type: integer_as_string
1521
+ type: integer
1522
1522
  description: Number of Output
1523
1523
  min: 1
1524
1524
  max: 255
1525
1525
  outputValue:
1526
- type: boolean_as_string
1526
+ type: boolean
1527
1527
  description: |-
1528
1528
  False: output forced to False
1529
1529
  True: output forced to True
@@ -1687,7 +1687,7 @@ objects:
1687
1687
  Requires security code 2.
1688
1688
  arguments:
1689
1689
  status:
1690
- type: integer_as_string
1690
+ type: integer
1691
1691
  min: 0
1692
1692
  max: 65535
1693
1693
  description: Timeout, in minutes
@@ -1724,32 +1724,32 @@ objects:
1724
1724
  type: string
1725
1725
  description: Security code 1
1726
1726
  year:
1727
- type: integer_as_string
1727
+ type: integer
1728
1728
  description: Year
1729
1729
  min: 0
1730
1730
  max: 9999
1731
1731
  month:
1732
- type: integer_as_string
1732
+ type: integer
1733
1733
  description: Month
1734
1734
  min: 1
1735
1735
  max: 12
1736
1736
  day:
1737
- type: integer_as_string
1737
+ type: integer
1738
1738
  description: Day of month
1739
1739
  min: 1
1740
1740
  max: 31
1741
1741
  hour:
1742
- type: integer_as_string
1742
+ type: integer
1743
1743
  description: Hour
1744
1744
  min: 0
1745
1745
  max: 23
1746
1746
  minute:
1747
- type: integer_as_string
1747
+ type: integer
1748
1748
  description: Minute
1749
1749
  min: 0
1750
1750
  max: 59
1751
1751
  second:
1752
- type: integer_as_string
1752
+ type: integer
1753
1753
  description: Second
1754
1754
  min: 0
1755
1755
  max: 59
@@ -1767,7 +1767,7 @@ objects:
1767
1767
  category: D
1768
1768
  arguments:
1769
1769
  timeplan:
1770
- type: integer_as_string
1770
+ type: integer
1771
1771
  description: Current time plan
1772
1772
  min: 1
1773
1773
  max: 255
@@ -1826,7 +1826,7 @@ objects:
1826
1826
  description: |-
1827
1827
  Time stamp for the most likely time for the signal group to go to green. If the signal group is green, it is the most likely time for the next green.
1828
1828
  ToGConfidence:
1829
- type: integer_as_string
1829
+ type: integer
1830
1830
  description: Confidence of the likelyToGEstimate. 0-100%
1831
1831
  min: 0
1832
1832
  max: 100
@@ -1843,7 +1843,7 @@ objects:
1843
1843
  description: |-
1844
1844
  Time stamp for the most likely time for the signal group to go to red. If the signal group is red, it is the most likely time for the next red.
1845
1845
  ToRConfidence:
1846
- type: integer_as_string
1846
+ type: integer
1847
1847
  description: Confidence of the likelyToREstimate. 0-100%
1848
1848
  min: 0
1849
1849
  max: 100
@@ -1857,7 +1857,7 @@ objects:
1857
1857
  reserved: true
1858
1858
  arguments:
1859
1859
  status:
1860
- type: boolean_as_string
1860
+ type: boolean
1861
1861
  description: |-
1862
1862
  False: No command (default)
1863
1863
  True: Order a signal group to green
@@ -1874,7 +1874,7 @@ objects:
1874
1874
  reserved: true
1875
1875
  arguments:
1876
1876
  status:
1877
- type: boolean_as_string
1877
+ type: boolean
1878
1878
  description: |-
1879
1879
  False: No command (default)
1880
1880
  True: Order a signal group to red
@@ -1906,7 +1906,7 @@ objects:
1906
1906
  description: Detector forced on/off while detector error
1907
1907
  values: ['on','off'] # on/off must be quoted, otherwise they are converted to true/false
1908
1908
  manual:
1909
- type: boolean_as_string
1909
+ type: boolean
1910
1910
  description: Manually controlled detector logic (True/False)
1911
1911
  A0302:
1912
1912
  description: |-
@@ -1930,7 +1930,7 @@ objects:
1930
1930
  description: Detector forced on/off while detector error
1931
1931
  values: ['on','off'] # on/off must be quoted, otherwise they are converted to true/false
1932
1932
  manual:
1933
- type: boolean_as_string
1933
+ type: boolean
1934
1934
  description: Manually controlled detector logic (True/False)
1935
1935
  logicerror:
1936
1936
  type: string
@@ -1960,7 +1960,7 @@ objects:
1960
1960
  description: Detector forced on/off while detector error
1961
1961
  values: ['on','off'] # on/off must be quoted, otherwise they are converted to true/false
1962
1962
  manual:
1963
- type: boolean_as_string
1963
+ type: boolean
1964
1964
  description: Manually controlled detector logic (True/False)
1965
1965
  A0304:
1966
1966
  description: |-
@@ -1984,7 +1984,7 @@ objects:
1984
1984
  description: Detector forced on/off while detector error
1985
1985
  values: ['on','off'] # on/off must be quoted, otherwise they are converted to true/false
1986
1986
  manual:
1987
- type: boolean_as_string
1987
+ type: boolean
1988
1988
  description: Manually controlled detector logic (True/False)
1989
1989
  logicerror:
1990
1990
  type: string
@@ -2003,7 +2003,7 @@ objects:
2003
2003
  type: timestamp
2004
2004
  description: Time stamp for start of measuring
2005
2005
  vehicles:
2006
- type: integer_as_string
2006
+ type: integer
2007
2007
  description: Number of vehicles on a given detector logic (since last
2008
2008
  update)
2009
2009
  min: 0
@@ -2017,7 +2017,7 @@ objects:
2017
2017
  type: timestamp
2018
2018
  description: Time stamp for start of measuring
2019
2019
  speed:
2020
- type: integer_as_string
2020
+ type: integer
2021
2021
  description: Average speed in km/h
2022
2022
  min: 0
2023
2023
  max: 65535
@@ -2030,7 +2030,7 @@ objects:
2030
2030
  type: timestamp
2031
2031
  description: Time stamp for start of measuring
2032
2032
  occupancy:
2033
- type: integer_as_string
2033
+ type: integer
2034
2034
  description: Occupancy in percent (0-100%)
2035
2035
  min: 0
2036
2036
  max: 100
@@ -2043,47 +2043,47 @@ objects:
2043
2043
  type: timestamp
2044
2044
  description: Time stamp for start of measuring
2045
2045
  P:
2046
- type: integer_as_string
2046
+ type: integer
2047
2047
  description: Number of cars
2048
2048
  min: 0
2049
2049
  max: 65535
2050
2050
  PS:
2051
- type: integer_as_string
2051
+ type: integer
2052
2052
  description: Number of cars with trailers
2053
2053
  min: 0
2054
2054
  max: 65535
2055
2055
  L:
2056
- type: integer_as_string
2056
+ type: integer
2057
2057
  description: Number of trucks
2058
2058
  min: 0
2059
2059
  max: 65535
2060
2060
  LS:
2061
- type: integer_as_string
2061
+ type: integer
2062
2062
  description: Number of trucks with trailers
2063
2063
  min: 0
2064
2064
  max: 65535
2065
2065
  B:
2066
- type: integer_as_string
2066
+ type: integer
2067
2067
  description: Number of buses
2068
2068
  min: 0
2069
2069
  max: 65535
2070
2070
  SP:
2071
- type: integer_as_string
2071
+ type: integer
2072
2072
  description: Number of trams
2073
2073
  min: 0
2074
2074
  max: 65535
2075
2075
  MC:
2076
- type: integer_as_string
2076
+ type: integer
2077
2077
  description: Number of motor cycles
2078
2078
  min: 0
2079
2079
  max: 65535
2080
2080
  C:
2081
- type: integer_as_string
2081
+ type: integer
2082
2082
  description: Number of bicycles
2083
2083
  min: 0
2084
2084
  max: 65535
2085
2085
  F:
2086
- type: integer_as_string
2086
+ type: integer
2087
2087
  description: Number of pedestrians
2088
2088
  min: 0
2089
2089
  max: 65535
@@ -2096,7 +2096,7 @@ objects:
2096
2096
  Requires security code 2
2097
2097
  arguments:
2098
2098
  status:
2099
- type: boolean_as_string
2099
+ type: boolean
2100
2100
  description: |-
2101
2101
  False: Deactivate manual control of detector logic
2102
2102
  True: Activate manual control of detector logic
@@ -2104,7 +2104,7 @@ objects:
2104
2104
  type: string
2105
2105
  description: Security code 2
2106
2106
  mode:
2107
- type: boolean_as_string
2107
+ type: boolean
2108
2108
  description: |-
2109
2109
  False: Deactivate detector logic
2110
2110
  True: Activate detector logic
@@ -60,11 +60,11 @@
60
60
  },
61
61
  "e" : {
62
62
  "description" : "Estimated green extension provided by the priority, in seconds\nOnly used when state is 'completed'.",
63
- "type" : "integer"
63
+ "$ref" : "../defs/definitions.json#/integer"
64
64
  },
65
65
  "d" : {
66
66
  "description" : "Estimated red reduction provided by the priority, in seconds\nOnly used when state is 'completed'.",
67
- "type" : "integer"
67
+ "$ref" : "../defs/definitions.json#/integer"
68
68
  }
69
69
  }
70
70
  }
@@ -202,8 +202,8 @@
202
202
  "status" : {
203
203
  "type" : "array",
204
204
  "items" : {
205
- "d" : "integer",
206
- "e" : "integer",
205
+ "d" : "integer_as_string",
206
+ "e" : "integer_as_string",
207
207
  "r" : "string",
208
208
  "s" : "string",
209
209
  "t" : "timestamp"
@@ -470,14 +470,14 @@
470
470
  "type" : "string"
471
471
  },
472
472
  "optional" : {
473
- "approachId" : "integer",
474
- "connectionId" : "integer",
475
- "eta" : "integer",
476
- "inputId" : "integer",
477
- "laneInId" : "integer",
478
- "laneOutId" : "integer",
479
- "level" : "integer",
480
- "priorityId" : "integer",
473
+ "approachId" : "integer_as_string",
474
+ "connectionId" : "integer_as_string",
475
+ "eta" : "integer_as_string",
476
+ "inputId" : "integer_as_string",
477
+ "laneInId" : "integer_as_string",
478
+ "laneOutId" : "integer_as_string",
479
+ "level" : "integer_as_string",
480
+ "priorityId" : "integer_as_string",
481
481
  "signalGroupId" : "string",
482
482
  "vehicleType" : "string"
483
483
  }
@@ -1229,22 +1229,6 @@
1229
1229
  },
1230
1230
  "then" : {
1231
1231
  "allOf" : [
1232
- {
1233
- "contains" : {
1234
- "required" : [
1235
- "cCI",
1236
- "n"
1237
- ],
1238
- "properties" : {
1239
- "cCI" : {
1240
- "const" : "M0022"
1241
- },
1242
- "n" : {
1243
- "const" : "level"
1244
- }
1245
- }
1246
- }
1247
- },
1248
1232
  {
1249
1233
  "contains" : {
1250
1234
  "required" : [
@@ -1769,6 +1769,7 @@ objects:
1769
1769
  cancel: Cancel an existing priority
1770
1770
  level:
1771
1771
  type: integer_as_string
1772
+ optional: true
1772
1773
  description: |-
1773
1774
  0: Lowest, 14: Highest
1774
1775
  min: 0
@@ -470,7 +470,6 @@
470
470
  },
471
471
  "M0022" : {
472
472
  "required" : {
473
- "level" : "integer_as_string",
474
473
  "requestId" : "string",
475
474
  "type" : "string"
476
475
  },
@@ -481,6 +480,7 @@
481
480
  "inputId" : "integer_as_string",
482
481
  "laneInId" : "integer_as_string",
483
482
  "laneOutId" : "integer_as_string",
483
+ "level" : "integer_as_string",
484
484
  "priorityId" : "integer_as_string",
485
485
  "signalGroupId" : "string",
486
486
  "vehicleType" : "string"