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
@@ -74,7 +74,7 @@
74
74
  "properties" : {
75
75
  "v" : {
76
76
  "description" : "ID of an input, using the same numbering scheme as M0006",
77
- "type" : "integer"
77
+ "$ref" : "../defs/definitions.json#/integer"
78
78
  }
79
79
  }
80
80
  }
@@ -91,7 +91,7 @@
91
91
  "properties" : {
92
92
  "v" : {
93
93
  "description" : "ID of a connection, connecting an ingoing and an outgoing lane",
94
- "type" : "integer"
94
+ "$ref" : "../defs/definitions.json#/integer"
95
95
  }
96
96
  }
97
97
  }
@@ -108,7 +108,7 @@
108
108
  "properties" : {
109
109
  "v" : {
110
110
  "description" : "ID of an intersection approach",
111
- "type" : "integer"
111
+ "$ref" : "../defs/definitions.json#/integer"
112
112
  }
113
113
  }
114
114
  }
@@ -125,7 +125,7 @@
125
125
  "properties" : {
126
126
  "v" : {
127
127
  "description" : "ID of an ingoing lane",
128
- "type" : "integer"
128
+ "$ref" : "../defs/definitions.json#/integer"
129
129
  }
130
130
  }
131
131
  }
@@ -142,7 +142,7 @@
142
142
  "properties" : {
143
143
  "v" : {
144
144
  "description" : "ID of an outgoing lane",
145
- "type" : "integer"
145
+ "$ref" : "../defs/definitions.json#/integer"
146
146
  }
147
147
  }
148
148
  }
@@ -159,7 +159,7 @@
159
159
  "properties" : {
160
160
  "v" : {
161
161
  "description" : "ID of a priority",
162
- "type" : "integer"
162
+ "$ref" : "../defs/definitions.json#/integer"
163
163
  }
164
164
  }
165
165
  }
@@ -197,7 +197,7 @@
197
197
  "properties" : {
198
198
  "v" : {
199
199
  "description" : "0: Lowest, 14: Highest",
200
- "type" : "integer"
200
+ "$ref" : "../defs/definitions.json#/integer"
201
201
  }
202
202
  }
203
203
  }
@@ -214,7 +214,7 @@
214
214
  "properties" : {
215
215
  "v" : {
216
216
  "description" : "Estimated time of arrival to the intersection, in seconds",
217
- "type" : "integer"
217
+ "$ref" : "../defs/definitions.json#/integer"
218
218
  }
219
219
  }
220
220
  }
@@ -117,7 +117,7 @@ objects:
117
117
  - = Signal group is undefined/does not exist
118
118
  pattern: "^[a-hA-G0-9N-P]*$"
119
119
  cyclecounter:
120
- type: integer_as_string
120
+ type: integer
121
121
  description: |-
122
122
  Cycle counter.
123
123
  Used for handling of coordination between TLC's.
@@ -135,7 +135,7 @@ objects:
135
135
  min: 0
136
136
  max: 999
137
137
  basecyclecounter:
138
- type: integer_as_string
138
+ type: integer
139
139
  description: |-
140
140
  Base cycle counter.
141
141
  Used for handling of coordination between TLC's.
@@ -144,7 +144,7 @@ objects:
144
144
  min: 0
145
145
  max: 999
146
146
  stage:
147
- type: integer_as_string
147
+ type: integer
148
148
  description: Current stage (isolated)
149
149
  min: 0
150
150
  max: 999
@@ -197,7 +197,7 @@ objects:
197
197
  During startup mode the traffic controller shows dark, red, yellow flash or using the predetermined start cycle (minimum times).
198
198
  arguments:
199
199
  status:
200
- type: boolean_as_string
200
+ type: boolean
201
201
  description: |-
202
202
  False: Controller is not in start up mode
203
203
  True: Controller is currently in start up mode
@@ -208,12 +208,12 @@ objects:
208
208
  type: array
209
209
  items:
210
210
  intersection:
211
- type: integer_as_string
211
+ type: integer
212
212
  description: Intersection id
213
213
  min: 0
214
214
  max: 255
215
215
  startup:
216
- type: boolean_as_string
216
+ type: boolean
217
217
  description: Start up mode
218
218
  S0006:
219
219
  description: |-
@@ -227,13 +227,13 @@ objects:
227
227
  Deprecated, use S0035 instead.
228
228
  arguments:
229
229
  status:
230
- type: boolean_as_string
230
+ type: boolean
231
231
  deprecated: true
232
232
  description: |-
233
233
  False: Emergency route inactive
234
234
  True: Emergency route active
235
235
  emergencystage:
236
- type: integer_as_string
236
+ type: integer
237
237
  deprecated: true
238
238
  description: Number of emergency route (set to zero if no route is active)
239
239
  min: 0
@@ -442,7 +442,7 @@ objects:
442
442
  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.
443
443
  arguments:
444
444
  status:
445
- type: integer_as_string
445
+ type: integer
446
446
  description: Current time plan
447
447
  min: 1
448
448
  max: 255
@@ -464,7 +464,7 @@ objects:
464
464
  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.
465
465
  arguments:
466
466
  status:
467
- type: integer_as_string
467
+ type: integer
468
468
  description: Current traffic situation
469
469
  min: 1
470
470
  max: 255
@@ -484,7 +484,7 @@ objects:
484
484
  Can be used by the management system to check the number of detector logics configured in the controller.
485
485
  arguments:
486
486
  number:
487
- type: integer_as_string
487
+ type: integer
488
488
  description: Number of detector logics
489
489
  min: 1
490
490
  max: 65025
@@ -494,7 +494,7 @@ objects:
494
494
  Can be used for the management system to check the number of signal groups configured in the controller.
495
495
  arguments:
496
496
  number:
497
- type: integer_as_string
497
+ type: integer
498
498
  description: Number of signal groups
499
499
  min: 1
500
500
  max: 65025
@@ -504,7 +504,7 @@ objects:
504
504
  Can be used for the management system to check the number of traffic situations configured in the controller.
505
505
  arguments:
506
506
  number:
507
- type: integer_as_string
507
+ type: integer
508
508
  description: Number of traffic situations
509
509
  min: 1
510
510
  max: 65025
@@ -789,7 +789,7 @@ objects:
789
789
  Used in conjunction with dynamic bands, M0014
790
790
  arguments:
791
791
  status:
792
- type: integer_as_string
792
+ type: integer
793
793
  description: Timeout, in minutes
794
794
  min: 0
795
795
  max: 65535
@@ -807,7 +807,7 @@ objects:
807
807
  type: array
808
808
  items:
809
809
  id:
810
- type: integer_as_string
810
+ type: integer
811
811
  description: ID of active emergency route
812
812
  min: 1
813
813
  max: 255
@@ -817,7 +817,7 @@ objects:
817
817
  Provides information if maintenance personnel is currently working on site.
818
818
  arguments:
819
819
  user:
820
- type: integer_as_string
820
+ type: integer
821
821
  values:
822
822
  0: Nobody logged in
823
823
  1: Operator logged in at level 1 (read only)
@@ -828,7 +828,7 @@ objects:
828
828
  Provides information if maintenance personnel is currently working with the controller.
829
829
  arguments:
830
830
  user:
831
- type: integer_as_string
831
+ type: integer
832
832
  values:
833
833
  0: Nobody logged in
834
834
  1: Operator logged in at level 1 (read only)
@@ -848,32 +848,32 @@ objects:
848
848
  Provides diagnostic information about the current date and time set in the controller.
849
849
  arguments:
850
850
  year:
851
- type: integer_as_string
851
+ type: integer
852
852
  description: Year
853
853
  min: 0
854
854
  max: 9999
855
855
  month:
856
- type: integer_as_string
856
+ type: integer
857
857
  description: Month
858
858
  min: 1
859
859
  max: 12
860
860
  day:
861
- type: integer_as_string
861
+ type: integer
862
862
  description: Day of month
863
863
  min: 1
864
864
  max: 31
865
865
  hour:
866
- type: integer_as_string
866
+ type: integer
867
867
  description: Hour
868
868
  min: 0
869
869
  max: 23
870
870
  minute:
871
- type: integer_as_string
871
+ type: integer
872
872
  description: Minute
873
873
  min: 0
874
874
  max: 59
875
875
  second:
876
- type: integer_as_string
876
+ type: integer
877
877
  description: Second
878
878
  min: 0
879
879
  max: 59
@@ -1101,14 +1101,14 @@ objects:
1101
1101
  type: string
1102
1102
  description: Security code 2
1103
1103
  timeout:
1104
- type: integer_as_string
1104
+ type: integer
1105
1105
  description: |-
1106
1106
  Time in minutes until controller automatically reverts to previous functional position.
1107
1107
  0=no automatic return
1108
1108
  min: 0
1109
1109
  max: 1440
1110
1110
  intersection:
1111
- type: integer_as_string
1111
+ type: integer
1112
1112
  description: Intersection number
1113
1113
  min: 0
1114
1114
  max: 255
@@ -1122,7 +1122,7 @@ objects:
1122
1122
  Requires security code 2
1123
1123
  arguments:
1124
1124
  status:
1125
- type: boolean_as_string
1125
+ type: boolean
1126
1126
  description: |-
1127
1127
  False: Controller uses time plan according to programming
1128
1128
  True: Controller uses time plan according to command
@@ -1130,7 +1130,7 @@ objects:
1130
1130
  type: string
1131
1131
  description: Security code 2
1132
1132
  timeplan:
1133
- type: integer_as_string
1133
+ type: integer
1134
1134
  description: designation of time plan
1135
1135
  min: 1
1136
1136
  max: 255
@@ -1143,7 +1143,7 @@ objects:
1143
1143
  Requires security code 2
1144
1144
  arguments:
1145
1145
  status:
1146
- type: boolean_as_string
1146
+ type: boolean
1147
1147
  description: |-
1148
1148
  False: Controller uses traffic situation according to own programming
1149
1149
  True: Controller uses traffic situation according to command
@@ -1151,7 +1151,7 @@ objects:
1151
1151
  type: string
1152
1152
  description: Security code 2
1153
1153
  traficsituation:
1154
- type: integer_as_string
1154
+ type: integer
1155
1155
  description: designation of traficsituation
1156
1156
  min: 1
1157
1157
  max: 255
@@ -1163,7 +1163,7 @@ objects:
1163
1163
  Requires security code 2
1164
1164
  arguments:
1165
1165
  status:
1166
- type: boolean_as_string
1166
+ type: boolean
1167
1167
  description: 'True: Restart controller'
1168
1168
  securityCode:
1169
1169
  type: string
@@ -1177,7 +1177,7 @@ objects:
1177
1177
  Requires security code 2.
1178
1178
  arguments:
1179
1179
  status:
1180
- type: boolean_as_string
1180
+ type: boolean
1181
1181
  description: |-
1182
1182
  False: Deactivate emergency route
1183
1183
  True: Activate emergency route
@@ -1185,7 +1185,7 @@ objects:
1185
1185
  type: string
1186
1186
  description: Security code 2
1187
1187
  emergencyroute:
1188
- type: integer_as_string
1188
+ type: integer
1189
1189
  description: Number of emergency route
1190
1190
  min: 1
1191
1191
  max: 255
@@ -1200,7 +1200,7 @@ objects:
1200
1200
  Requires security code 2.
1201
1201
  arguments:
1202
1202
  status:
1203
- type: boolean_as_string
1203
+ type: boolean
1204
1204
  description: |-
1205
1205
  False: Deactivate input
1206
1206
  True: Activate input
@@ -1208,7 +1208,7 @@ objects:
1208
1208
  type: string
1209
1209
  description: Security code 2
1210
1210
  input:
1211
- type: integer_as_string
1211
+ type: integer
1212
1212
  description: Number of Input
1213
1213
  min: 1
1214
1214
  max: 255
@@ -1221,7 +1221,7 @@ objects:
1221
1221
  Requires security code 2.
1222
1222
  arguments:
1223
1223
  status:
1224
- type: boolean_as_string
1224
+ type: boolean
1225
1225
  description: |-
1226
1226
  False: Deactivate fixed time control
1227
1227
  True: Activate fixed time control
@@ -1322,7 +1322,7 @@ objects:
1322
1322
  Requires security code 2
1323
1323
  arguments:
1324
1324
  plan:
1325
- type: integer_as_string
1325
+ type: integer
1326
1326
  description: Plan to be changed
1327
1327
  min: 0
1328
1328
  max: 255
@@ -1350,12 +1350,12 @@ objects:
1350
1350
  Requires security code 2.
1351
1351
  arguments:
1352
1352
  status:
1353
- type: integer_as_string
1353
+ type: integer
1354
1354
  description: Set offset time in seconds
1355
1355
  min: 0
1356
1356
  max: 255
1357
1357
  plan:
1358
- type: integer_as_string
1358
+ type: integer
1359
1359
  description: Time plan nr
1360
1360
  min: 0
1361
1361
  max: 255
@@ -1436,12 +1436,12 @@ objects:
1436
1436
  Requires security code 2.
1437
1437
  arguments:
1438
1438
  status:
1439
- type: integer_as_string
1439
+ type: integer
1440
1440
  description: Set cycle time in seconds
1441
1441
  min: 1
1442
1442
  max: 255
1443
1443
  plan:
1444
- type: integer_as_string
1444
+ type: integer
1445
1445
  description: Time plan nr
1446
1446
  min: 0
1447
1447
  max: 255
@@ -1457,7 +1457,7 @@ objects:
1457
1457
  Requires security code 2.
1458
1458
  arguments:
1459
1459
  status:
1460
- type: boolean_as_string
1460
+ type: boolean
1461
1461
  description: |-
1462
1462
  False: Release input
1463
1463
  True: Force input
@@ -1465,12 +1465,12 @@ objects:
1465
1465
  type: string
1466
1466
  description: Security code 2
1467
1467
  input:
1468
- type: integer_as_string
1468
+ type: integer
1469
1469
  description: Number of Input
1470
1470
  min: 1
1471
1471
  max: 255
1472
1472
  inputValue:
1473
- type: boolean_as_string
1473
+ type: boolean
1474
1474
  description: |-
1475
1475
  False: input forced to False
1476
1476
  True: input forced to True
@@ -1483,7 +1483,7 @@ objects:
1483
1483
  Requires security code 2.
1484
1484
  arguments:
1485
1485
  status:
1486
- type: boolean_as_string
1486
+ type: boolean
1487
1487
  description: |-
1488
1488
  False: Force output
1489
1489
  True: Release output
@@ -1491,12 +1491,12 @@ objects:
1491
1491
  type: string
1492
1492
  description: Security code 2
1493
1493
  output:
1494
- type: integer_as_string
1494
+ type: integer
1495
1495
  description: Number of Output
1496
1496
  min: 1
1497
1497
  max: 255
1498
1498
  outputValue:
1499
- type: boolean_as_string
1499
+ type: boolean
1500
1500
  description: |-
1501
1501
  False: output forced to False
1502
1502
  True: output forced to True
@@ -1660,7 +1660,7 @@ objects:
1660
1660
  Requires security code 2.
1661
1661
  arguments:
1662
1662
  status:
1663
- type: integer_as_string
1663
+ type: integer
1664
1664
  min: 0
1665
1665
  max: 65535
1666
1666
  description: Timeout, in minutes
@@ -1697,32 +1697,32 @@ objects:
1697
1697
  type: string
1698
1698
  description: Security code 1
1699
1699
  year:
1700
- type: integer_as_string
1700
+ type: integer
1701
1701
  description: Year
1702
1702
  min: 0
1703
1703
  max: 9999
1704
1704
  month:
1705
- type: integer_as_string
1705
+ type: integer
1706
1706
  description: Month
1707
1707
  min: 1
1708
1708
  max: 12
1709
1709
  day:
1710
- type: integer_as_string
1710
+ type: integer
1711
1711
  description: Day of month
1712
1712
  min: 1
1713
1713
  max: 31
1714
1714
  hour:
1715
- type: integer_as_string
1715
+ type: integer
1716
1716
  description: Hour
1717
1717
  min: 0
1718
1718
  max: 23
1719
1719
  minute:
1720
- type: integer_as_string
1720
+ type: integer
1721
1721
  description: Minute
1722
1722
  min: 0
1723
1723
  max: 59
1724
1724
  second:
1725
- type: integer_as_string
1725
+ type: integer
1726
1726
  description: Second
1727
1727
  min: 0
1728
1728
  max: 59
@@ -1740,7 +1740,7 @@ objects:
1740
1740
  category: D
1741
1741
  arguments:
1742
1742
  timeplan:
1743
- type: integer_as_string
1743
+ type: integer
1744
1744
  description: Current time plan
1745
1745
  min: 1
1746
1746
  max: 255
@@ -1799,7 +1799,7 @@ objects:
1799
1799
  description: |-
1800
1800
  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.
1801
1801
  ToGConfidence:
1802
- type: integer_as_string
1802
+ type: integer
1803
1803
  description: Confidence of the likelyToGEstimate. 0-100%
1804
1804
  min: 0
1805
1805
  max: 100
@@ -1816,7 +1816,7 @@ objects:
1816
1816
  description: |-
1817
1817
  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.
1818
1818
  ToRConfidence:
1819
- type: integer_as_string
1819
+ type: integer
1820
1820
  description: Confidence of the likelyToREstimate. 0-100%
1821
1821
  min: 0
1822
1822
  max: 100
@@ -1830,7 +1830,7 @@ objects:
1830
1830
  reserved: true
1831
1831
  arguments:
1832
1832
  status:
1833
- type: boolean_as_string
1833
+ type: boolean
1834
1834
  description: |-
1835
1835
  False: No command (default)
1836
1836
  True: Order a signal group to green
@@ -1847,7 +1847,7 @@ objects:
1847
1847
  reserved: true
1848
1848
  arguments:
1849
1849
  status:
1850
- type: boolean_as_string
1850
+ type: boolean
1851
1851
  description: |-
1852
1852
  False: No command (default)
1853
1853
  True: Order a signal group to red
@@ -1879,7 +1879,7 @@ objects:
1879
1879
  description: Detector forced on/off while detector error
1880
1880
  values: ['on','off'] # on/off must be quoted, otherwise they are converted to true/false
1881
1881
  manual:
1882
- type: boolean_as_string
1882
+ type: boolean
1883
1883
  description: Manually controlled detector logic (True/False)
1884
1884
  A0302:
1885
1885
  description: |-
@@ -1903,7 +1903,7 @@ objects:
1903
1903
  description: Detector forced on/off while detector error
1904
1904
  values: ['on','off'] # on/off must be quoted, otherwise they are converted to true/false
1905
1905
  manual:
1906
- type: boolean_as_string
1906
+ type: boolean
1907
1907
  description: Manually controlled detector logic (True/False)
1908
1908
  logicerror:
1909
1909
  type: string
@@ -1933,7 +1933,7 @@ objects:
1933
1933
  description: Detector forced on/off while detector error
1934
1934
  values: ['on','off'] # on/off must be quoted, otherwise they are converted to true/false
1935
1935
  manual:
1936
- type: boolean_as_string
1936
+ type: boolean
1937
1937
  description: Manually controlled detector logic (True/False)
1938
1938
  A0304:
1939
1939
  description: |-
@@ -1957,7 +1957,7 @@ objects:
1957
1957
  description: Detector forced on/off while detector error
1958
1958
  values: ['on','off'] # on/off must be quoted, otherwise they are converted to true/false
1959
1959
  manual:
1960
- type: boolean_as_string
1960
+ type: boolean
1961
1961
  description: Manually controlled detector logic (True/False)
1962
1962
  logicerror:
1963
1963
  type: string
@@ -1976,7 +1976,7 @@ objects:
1976
1976
  type: timestamp
1977
1977
  description: Time stamp for start of measuring
1978
1978
  vehicles:
1979
- type: integer_as_string
1979
+ type: integer
1980
1980
  description: Number of vehicles on a given detector logic (since last
1981
1981
  update)
1982
1982
  min: 0
@@ -1990,7 +1990,7 @@ objects:
1990
1990
  type: timestamp
1991
1991
  description: Time stamp for start of measuring
1992
1992
  speed:
1993
- type: integer_as_string
1993
+ type: integer
1994
1994
  description: Average speed in km/h
1995
1995
  min: 0
1996
1996
  max: 65535
@@ -2003,7 +2003,7 @@ objects:
2003
2003
  type: timestamp
2004
2004
  description: Time stamp for start of measuring
2005
2005
  occupancy:
2006
- type: integer_as_string
2006
+ type: integer
2007
2007
  description: Occupancy in percent (0-100%)
2008
2008
  min: 0
2009
2009
  max: 100
@@ -2016,47 +2016,47 @@ objects:
2016
2016
  type: timestamp
2017
2017
  description: Time stamp for start of measuring
2018
2018
  P:
2019
- type: integer_as_string
2019
+ type: integer
2020
2020
  description: Number of cars
2021
2021
  min: 0
2022
2022
  max: 65535
2023
2023
  PS:
2024
- type: integer_as_string
2024
+ type: integer
2025
2025
  description: Number of cars with trailers
2026
2026
  min: 0
2027
2027
  max: 65535
2028
2028
  L:
2029
- type: integer_as_string
2029
+ type: integer
2030
2030
  description: Number of trucks
2031
2031
  min: 0
2032
2032
  max: 65535
2033
2033
  LS:
2034
- type: integer_as_string
2034
+ type: integer
2035
2035
  description: Number of trucks with trailers
2036
2036
  min: 0
2037
2037
  max: 65535
2038
2038
  B:
2039
- type: integer_as_string
2039
+ type: integer
2040
2040
  description: Number of buses
2041
2041
  min: 0
2042
2042
  max: 65535
2043
2043
  SP:
2044
- type: integer_as_string
2044
+ type: integer
2045
2045
  description: Number of trams
2046
2046
  min: 0
2047
2047
  max: 65535
2048
2048
  MC:
2049
- type: integer_as_string
2049
+ type: integer
2050
2050
  description: Number of motor cycles
2051
2051
  min: 0
2052
2052
  max: 65535
2053
2053
  C:
2054
- type: integer_as_string
2054
+ type: integer
2055
2055
  description: Number of bicycles
2056
2056
  min: 0
2057
2057
  max: 65535
2058
2058
  F:
2059
- type: integer_as_string
2059
+ type: integer
2060
2060
  description: Number of pedestrians
2061
2061
  min: 0
2062
2062
  max: 65535
@@ -2069,7 +2069,7 @@ objects:
2069
2069
  Requires security code 2
2070
2070
  arguments:
2071
2071
  status:
2072
- type: boolean_as_string
2072
+ type: boolean
2073
2073
  description: |-
2074
2074
  False: Deactivate manual control of detector logic
2075
2075
  True: Activate manual control of detector logic
@@ -2077,7 +2077,7 @@ objects:
2077
2077
  type: string
2078
2078
  description: Security code 2
2079
2079
  mode:
2080
- type: boolean_as_string
2080
+ type: boolean
2081
2081
  description: |-
2082
2082
  False: Deactivate detector logic
2083
2083
  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
  }