rsmp 0.45.0 → 0.45.1

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 (59) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rubocop.yaml +1 -1
  3. data/.github/workflows/sus.yaml +1 -1
  4. data/.gitignore +0 -1
  5. data/CHANGELOG.md +12 -1
  6. data/Gemfile +0 -2
  7. data/Gemfile.lock +1 -79
  8. data/README.md +14 -35
  9. data/documentation/configuration.md +12 -11
  10. data/documentation/message_distribution.md +1 -2
  11. data/documentation/tasks.md +1 -2
  12. data/exe/rsmp +1 -2
  13. data/lib/rsmp/cli.rb +33 -3
  14. data/lib/rsmp/convert/export/json_schema/outputs.rb +18 -0
  15. data/lib/rsmp/convert/export/json_schema/values.rb +1 -1
  16. data/lib/rsmp/convert/export/json_schema.rb +14 -6
  17. data/lib/rsmp/schema/core_sxl_resolution.rb +69 -0
  18. data/lib/rsmp/schema/validation.rb +57 -0
  19. data/lib/rsmp/schema.rb +40 -67
  20. data/lib/rsmp/version.rb +1 -1
  21. data/schemas/tlc/1.0.10/rsmp.json +2 -1
  22. data/schemas/tlc/1.0.10/sxl.yaml +1 -0
  23. data/schemas/tlc/1.0.10/sxl_index.json +356 -0
  24. data/schemas/tlc/1.0.13/rsmp.json +2 -1
  25. data/schemas/tlc/1.0.13/sxl.yaml +1 -0
  26. data/schemas/tlc/1.0.13/sxl_index.json +436 -0
  27. data/schemas/tlc/1.0.14/rsmp.json +2 -1
  28. data/schemas/tlc/1.0.14/sxl.yaml +1 -0
  29. data/schemas/tlc/1.0.14/sxl_index.json +468 -0
  30. data/schemas/tlc/1.0.15/rsmp.json +2 -1
  31. data/schemas/tlc/1.0.15/sxl.yaml +1 -0
  32. data/schemas/tlc/1.0.15/sxl_index.json +508 -0
  33. data/schemas/tlc/1.0.7/rsmp.json +2 -1
  34. data/schemas/tlc/1.0.7/sxl.yaml +1 -0
  35. data/schemas/tlc/1.0.7/sxl_index.json +356 -0
  36. data/schemas/tlc/1.0.8/rsmp.json +2 -1
  37. data/schemas/tlc/1.0.8/sxl.yaml +1 -0
  38. data/schemas/tlc/1.0.8/sxl_index.json +356 -0
  39. data/schemas/tlc/1.0.9/rsmp.json +2 -1
  40. data/schemas/tlc/1.0.9/sxl.yaml +1 -0
  41. data/schemas/tlc/1.0.9/sxl_index.json +356 -0
  42. data/schemas/tlc/1.1.0/rsmp.json +2 -1
  43. data/schemas/tlc/1.1.0/sxl.yaml +1 -0
  44. data/schemas/tlc/1.1.0/sxl_index.json +572 -0
  45. data/schemas/tlc/1.2.0/rsmp.json +2 -1
  46. data/schemas/tlc/1.2.0/sxl.yaml +1 -0
  47. data/schemas/tlc/1.2.0/sxl_index.json +571 -0
  48. data/schemas/tlc/1.2.1/rsmp.json +2 -1
  49. data/schemas/tlc/1.2.1/sxl.yaml +1 -0
  50. data/schemas/tlc/1.2.1/sxl_index.json +571 -0
  51. data/schemas/tlc/1.3.0/defs/definitions.json +86 -25
  52. data/schemas/tlc/1.3.0/rsmp.json +2 -1
  53. data/schemas/tlc/1.3.0/statuses/S0024.json +2 -1
  54. data/schemas/tlc/1.3.0/sxl.yaml +1 -0
  55. data/schemas/tlc/1.3.0/sxl_index.json +578 -0
  56. metadata +14 -4
  57. data/.github/copilot-instructions.md +0 -33
  58. data/.rspec +0 -1
  59. data/cucumber.yml +0 -1
@@ -0,0 +1,508 @@
1
+ {
2
+ "meta" : {
3
+ "name" : "tlc",
4
+ "description" : "Traffic Light Controllers",
5
+ "version" : "1.0.15",
6
+ "minimum_core_version" : "3.1.2"
7
+ },
8
+ "statuses" : {
9
+ "S0001" : {
10
+ "arguments" : [
11
+ "basecyclecounter",
12
+ "cyclecounter",
13
+ "signalgroupstatus",
14
+ "stage"
15
+ ]
16
+ },
17
+ "S0002" : {
18
+ "arguments" : [
19
+ "detectorlogicstatus"
20
+ ]
21
+ },
22
+ "S0003" : {
23
+ "arguments" : [
24
+ "extendedinputstatus",
25
+ "inputstatus"
26
+ ]
27
+ },
28
+ "S0004" : {
29
+ "arguments" : [
30
+ "extendedoutputstatus",
31
+ "outputstatus"
32
+ ]
33
+ },
34
+ "S0005" : {
35
+ "arguments" : [
36
+ "status"
37
+ ]
38
+ },
39
+ "S0006" : {
40
+ "arguments" : [
41
+ "emergencystage",
42
+ "status"
43
+ ]
44
+ },
45
+ "S0007" : {
46
+ "arguments" : [
47
+ "intersection",
48
+ "status"
49
+ ]
50
+ },
51
+ "S0008" : {
52
+ "arguments" : [
53
+ "intersection",
54
+ "status"
55
+ ]
56
+ },
57
+ "S0009" : {
58
+ "arguments" : [
59
+ "intersection",
60
+ "status"
61
+ ]
62
+ },
63
+ "S0010" : {
64
+ "arguments" : [
65
+ "intersection",
66
+ "status"
67
+ ]
68
+ },
69
+ "S0011" : {
70
+ "arguments" : [
71
+ "intersection",
72
+ "status"
73
+ ]
74
+ },
75
+ "S0012" : {
76
+ "arguments" : [
77
+ "intersection",
78
+ "status"
79
+ ]
80
+ },
81
+ "S0013" : {
82
+ "arguments" : [
83
+ "intersection",
84
+ "status"
85
+ ]
86
+ },
87
+ "S0014" : {
88
+ "arguments" : [
89
+ "status"
90
+ ]
91
+ },
92
+ "S0015" : {
93
+ "arguments" : [
94
+ "status"
95
+ ]
96
+ },
97
+ "S0016" : {
98
+ "arguments" : [
99
+ "number"
100
+ ]
101
+ },
102
+ "S0017" : {
103
+ "arguments" : [
104
+ "number"
105
+ ]
106
+ },
107
+ "S0018" : {
108
+ "arguments" : [
109
+ "number"
110
+ ]
111
+ },
112
+ "S0019" : {
113
+ "arguments" : [
114
+ "number"
115
+ ]
116
+ },
117
+ "S0020" : {
118
+ "arguments" : [
119
+ "controlmode",
120
+ "intersection"
121
+ ]
122
+ },
123
+ "S0021" : {
124
+ "arguments" : [
125
+ "detectorlogics"
126
+ ]
127
+ },
128
+ "S0022" : {
129
+ "arguments" : [
130
+ "status"
131
+ ]
132
+ },
133
+ "S0023" : {
134
+ "arguments" : [
135
+ "status"
136
+ ]
137
+ },
138
+ "S0024" : {
139
+ "arguments" : [
140
+ "status"
141
+ ]
142
+ },
143
+ "S0025" : {
144
+ "arguments" : [
145
+ "ToGConfidence",
146
+ "ToRConfidence",
147
+ "likelyToGEstimate",
148
+ "likelyToREstimate",
149
+ "maxToGEstimate",
150
+ "maxToREstimate",
151
+ "minToGEstimate",
152
+ "minToREstimate"
153
+ ]
154
+ },
155
+ "S0026" : {
156
+ "arguments" : [
157
+ "status"
158
+ ]
159
+ },
160
+ "S0027" : {
161
+ "arguments" : [
162
+ "status"
163
+ ]
164
+ },
165
+ "S0028" : {
166
+ "arguments" : [
167
+ "status"
168
+ ]
169
+ },
170
+ "S0029" : {
171
+ "arguments" : [
172
+ "status"
173
+ ]
174
+ },
175
+ "S0030" : {
176
+ "arguments" : [
177
+ "status"
178
+ ]
179
+ },
180
+ "S0031" : {
181
+ "arguments" : [
182
+ "status"
183
+ ]
184
+ },
185
+ "S0091" : {
186
+ "arguments" : [
187
+ "status",
188
+ "user"
189
+ ]
190
+ },
191
+ "S0092" : {
192
+ "arguments" : [
193
+ "status",
194
+ "user"
195
+ ]
196
+ },
197
+ "S0095" : {
198
+ "arguments" : [
199
+ "status"
200
+ ]
201
+ },
202
+ "S0096" : {
203
+ "arguments" : [
204
+ "day",
205
+ "hour",
206
+ "minute",
207
+ "month",
208
+ "second",
209
+ "year"
210
+ ]
211
+ },
212
+ "S0097" : {
213
+ "arguments" : [
214
+ "checksum",
215
+ "timestamp"
216
+ ]
217
+ },
218
+ "S0098" : {
219
+ "arguments" : [
220
+ "config",
221
+ "timestamp",
222
+ "version"
223
+ ]
224
+ },
225
+ "S0201" : {
226
+ "arguments" : [
227
+ "starttime",
228
+ "vehicles"
229
+ ]
230
+ },
231
+ "S0202" : {
232
+ "arguments" : [
233
+ "speed",
234
+ "starttime"
235
+ ]
236
+ },
237
+ "S0203" : {
238
+ "arguments" : [
239
+ "occupancy",
240
+ "starttime"
241
+ ]
242
+ },
243
+ "S0204" : {
244
+ "arguments" : [
245
+ "B",
246
+ "C",
247
+ "F",
248
+ "L",
249
+ "LS",
250
+ "MC",
251
+ "P",
252
+ "PS",
253
+ "SP",
254
+ "starttime"
255
+ ]
256
+ },
257
+ "S0205" : {
258
+ "arguments" : [
259
+ "start",
260
+ "vehicles"
261
+ ]
262
+ },
263
+ "S0206" : {
264
+ "arguments" : [
265
+ "speed",
266
+ "start"
267
+ ]
268
+ },
269
+ "S0207" : {
270
+ "arguments" : [
271
+ "occupancy",
272
+ "start"
273
+ ]
274
+ },
275
+ "S0208" : {
276
+ "arguments" : [
277
+ "B",
278
+ "C",
279
+ "F",
280
+ "L",
281
+ "LS",
282
+ "MC",
283
+ "P",
284
+ "PS",
285
+ "SP",
286
+ "start"
287
+ ]
288
+ }
289
+ },
290
+ "commands" : {
291
+ "M0001" : {
292
+ "arguments" : [
293
+ "intersection",
294
+ "securityCode",
295
+ "status",
296
+ "timeout"
297
+ ]
298
+ },
299
+ "M0002" : {
300
+ "arguments" : [
301
+ "securityCode",
302
+ "status",
303
+ "timeplan"
304
+ ]
305
+ },
306
+ "M0003" : {
307
+ "arguments" : [
308
+ "securityCode",
309
+ "status",
310
+ "traficsituation"
311
+ ]
312
+ },
313
+ "M0004" : {
314
+ "arguments" : [
315
+ "securityCode",
316
+ "status"
317
+ ]
318
+ },
319
+ "M0005" : {
320
+ "arguments" : [
321
+ "emergencyroute",
322
+ "securityCode",
323
+ "status"
324
+ ]
325
+ },
326
+ "M0006" : {
327
+ "arguments" : [
328
+ "input",
329
+ "securityCode",
330
+ "status"
331
+ ]
332
+ },
333
+ "M0007" : {
334
+ "arguments" : [
335
+ "securityCode",
336
+ "status"
337
+ ]
338
+ },
339
+ "M0008" : {
340
+ "arguments" : [
341
+ "mode",
342
+ "securityCode",
343
+ "status"
344
+ ]
345
+ },
346
+ "M0010" : {
347
+ "arguments" : [
348
+ "securityCode",
349
+ "status"
350
+ ]
351
+ },
352
+ "M0011" : {
353
+ "arguments" : [
354
+ "securityCode",
355
+ "status"
356
+ ]
357
+ },
358
+ "M0012" : {
359
+ "arguments" : [
360
+ "securityCode",
361
+ "status"
362
+ ]
363
+ },
364
+ "M0013" : {
365
+ "arguments" : [
366
+ "securityCode",
367
+ "status"
368
+ ]
369
+ },
370
+ "M0014" : {
371
+ "arguments" : [
372
+ "plan",
373
+ "securityCode",
374
+ "status"
375
+ ]
376
+ },
377
+ "M0015" : {
378
+ "arguments" : [
379
+ "plan",
380
+ "securityCode",
381
+ "status"
382
+ ]
383
+ },
384
+ "M0016" : {
385
+ "arguments" : [
386
+ "securityCode",
387
+ "status"
388
+ ]
389
+ },
390
+ "M0017" : {
391
+ "arguments" : [
392
+ "securityCode",
393
+ "status"
394
+ ]
395
+ },
396
+ "M0018" : {
397
+ "arguments" : [
398
+ "plan",
399
+ "securityCode",
400
+ "status"
401
+ ]
402
+ },
403
+ "M0019" : {
404
+ "arguments" : [
405
+ "input",
406
+ "inputValue",
407
+ "securityCode",
408
+ "status"
409
+ ]
410
+ },
411
+ "M0020" : {
412
+ "arguments" : [
413
+ "output",
414
+ "outputValue",
415
+ "securityCode",
416
+ "status"
417
+ ]
418
+ },
419
+ "M0021" : {
420
+ "arguments" : [
421
+ "securityCode",
422
+ "status"
423
+ ]
424
+ },
425
+ "M0103" : {
426
+ "arguments" : [
427
+ "newSecurityCode",
428
+ "oldSecurityCode",
429
+ "status"
430
+ ]
431
+ },
432
+ "M0104" : {
433
+ "arguments" : [
434
+ "day",
435
+ "hour",
436
+ "minute",
437
+ "month",
438
+ "second",
439
+ "securityCode",
440
+ "year"
441
+ ]
442
+ }
443
+ },
444
+ "alarms" : {
445
+ "A0001" : {
446
+ "arguments" : []
447
+ },
448
+ "A0002" : {
449
+ "arguments" : []
450
+ },
451
+ "A0003" : {
452
+ "arguments" : []
453
+ },
454
+ "A0004" : {
455
+ "arguments" : []
456
+ },
457
+ "A0005" : {
458
+ "arguments" : []
459
+ },
460
+ "A0006" : {
461
+ "arguments" : []
462
+ },
463
+ "A0007" : {
464
+ "arguments" : []
465
+ },
466
+ "A0008" : {
467
+ "arguments" : [
468
+ "timeplan"
469
+ ]
470
+ },
471
+ "A0009" : {
472
+ "arguments" : []
473
+ },
474
+ "A0010" : {
475
+ "arguments" : []
476
+ },
477
+ "A0101" : {
478
+ "arguments" : []
479
+ },
480
+ "A0201" : {
481
+ "arguments" : [
482
+ "color"
483
+ ]
484
+ },
485
+ "A0202" : {
486
+ "arguments" : [
487
+ "color"
488
+ ]
489
+ },
490
+ "A0301" : {
491
+ "arguments" : [
492
+ "detector",
493
+ "errormode",
494
+ "manual",
495
+ "type"
496
+ ]
497
+ },
498
+ "A0302" : {
499
+ "arguments" : [
500
+ "detector",
501
+ "errormode",
502
+ "logicerror",
503
+ "manual",
504
+ "type"
505
+ ]
506
+ }
507
+ }
508
+ }
@@ -70,5 +70,6 @@
70
70
  "$ref" : "alarms/alarms.json"
71
71
  }
72
72
  }
73
- ]
73
+ ],
74
+ "minimum_core_version" : "3.1.2"
74
75
  }
@@ -3,6 +3,7 @@ meta:
3
3
  name: tlc
4
4
  description: Traffic Light Controllers
5
5
  version: 1.0.7
6
+ minimum_core_version: 3.1.2
6
7
  objects:
7
8
  Traffic Light Controller:
8
9
  description: