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,572 @@
1
+ {
2
+ "meta" : {
3
+ "name" : "tlc",
4
+ "description" : "Traffic Light Controllers",
5
+ "version" : "1.1.0",
6
+ "minimum_core_version" : "3.2.0"
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
+ "source",
49
+ "status"
50
+ ]
51
+ },
52
+ "S0008" : {
53
+ "arguments" : [
54
+ "intersection",
55
+ "source",
56
+ "status"
57
+ ]
58
+ },
59
+ "S0009" : {
60
+ "arguments" : [
61
+ "intersection",
62
+ "source",
63
+ "status"
64
+ ]
65
+ },
66
+ "S0010" : {
67
+ "arguments" : [
68
+ "intersection",
69
+ "source",
70
+ "status"
71
+ ]
72
+ },
73
+ "S0011" : {
74
+ "arguments" : [
75
+ "intersection",
76
+ "source",
77
+ "status"
78
+ ]
79
+ },
80
+ "S0012" : {
81
+ "arguments" : [
82
+ "intersection",
83
+ "source",
84
+ "status"
85
+ ]
86
+ },
87
+ "S0013" : {
88
+ "arguments" : [
89
+ "intersection",
90
+ "status"
91
+ ]
92
+ },
93
+ "S0014" : {
94
+ "arguments" : [
95
+ "source",
96
+ "status"
97
+ ]
98
+ },
99
+ "S0015" : {
100
+ "arguments" : [
101
+ "source",
102
+ "status"
103
+ ]
104
+ },
105
+ "S0016" : {
106
+ "arguments" : [
107
+ "number"
108
+ ]
109
+ },
110
+ "S0017" : {
111
+ "arguments" : [
112
+ "number"
113
+ ]
114
+ },
115
+ "S0018" : {
116
+ "arguments" : [
117
+ "number"
118
+ ]
119
+ },
120
+ "S0019" : {
121
+ "arguments" : [
122
+ "number"
123
+ ]
124
+ },
125
+ "S0020" : {
126
+ "arguments" : [
127
+ "controlmode",
128
+ "intersection"
129
+ ]
130
+ },
131
+ "S0021" : {
132
+ "arguments" : [
133
+ "detectorlogics"
134
+ ]
135
+ },
136
+ "S0022" : {
137
+ "arguments" : [
138
+ "status"
139
+ ]
140
+ },
141
+ "S0023" : {
142
+ "arguments" : [
143
+ "status"
144
+ ]
145
+ },
146
+ "S0024" : {
147
+ "arguments" : [
148
+ "status"
149
+ ]
150
+ },
151
+ "S0025" : {
152
+ "arguments" : [
153
+ "ToGConfidence",
154
+ "ToRConfidence",
155
+ "likelyToGEstimate",
156
+ "likelyToREstimate",
157
+ "maxToGEstimate",
158
+ "maxToREstimate",
159
+ "minToGEstimate",
160
+ "minToREstimate"
161
+ ]
162
+ },
163
+ "S0026" : {
164
+ "arguments" : [
165
+ "status"
166
+ ]
167
+ },
168
+ "S0027" : {
169
+ "arguments" : [
170
+ "status"
171
+ ]
172
+ },
173
+ "S0028" : {
174
+ "arguments" : [
175
+ "status"
176
+ ]
177
+ },
178
+ "S0029" : {
179
+ "arguments" : [
180
+ "status"
181
+ ]
182
+ },
183
+ "S0030" : {
184
+ "arguments" : [
185
+ "status"
186
+ ]
187
+ },
188
+ "S0031" : {
189
+ "arguments" : [
190
+ "status"
191
+ ]
192
+ },
193
+ "S0032" : {
194
+ "arguments" : [
195
+ "intersection",
196
+ "source",
197
+ "status"
198
+ ]
199
+ },
200
+ "S0033" : {
201
+ "arguments" : [
202
+ "status"
203
+ ]
204
+ },
205
+ "S0034" : {
206
+ "arguments" : [
207
+ "status"
208
+ ]
209
+ },
210
+ "S0091" : {
211
+ "arguments" : [
212
+ "user"
213
+ ]
214
+ },
215
+ "S0092" : {
216
+ "arguments" : [
217
+ "user"
218
+ ]
219
+ },
220
+ "S0095" : {
221
+ "arguments" : [
222
+ "status"
223
+ ]
224
+ },
225
+ "S0096" : {
226
+ "arguments" : [
227
+ "day",
228
+ "hour",
229
+ "minute",
230
+ "month",
231
+ "second",
232
+ "year"
233
+ ]
234
+ },
235
+ "S0097" : {
236
+ "arguments" : [
237
+ "checksum",
238
+ "timestamp"
239
+ ]
240
+ },
241
+ "S0098" : {
242
+ "arguments" : [
243
+ "config",
244
+ "timestamp",
245
+ "version"
246
+ ]
247
+ },
248
+ "S0201" : {
249
+ "arguments" : [
250
+ "starttime",
251
+ "vehicles"
252
+ ]
253
+ },
254
+ "S0202" : {
255
+ "arguments" : [
256
+ "speed",
257
+ "starttime"
258
+ ]
259
+ },
260
+ "S0203" : {
261
+ "arguments" : [
262
+ "occupancy",
263
+ "starttime"
264
+ ]
265
+ },
266
+ "S0204" : {
267
+ "arguments" : [
268
+ "B",
269
+ "C",
270
+ "F",
271
+ "L",
272
+ "LS",
273
+ "MC",
274
+ "P",
275
+ "PS",
276
+ "SP",
277
+ "starttime"
278
+ ]
279
+ },
280
+ "S0205" : {
281
+ "arguments" : [
282
+ "start",
283
+ "vehicles"
284
+ ]
285
+ },
286
+ "S0206" : {
287
+ "arguments" : [
288
+ "speed",
289
+ "start"
290
+ ]
291
+ },
292
+ "S0207" : {
293
+ "arguments" : [
294
+ "occupancy",
295
+ "start"
296
+ ]
297
+ },
298
+ "S0208" : {
299
+ "arguments" : [
300
+ "B",
301
+ "C",
302
+ "F",
303
+ "L",
304
+ "LS",
305
+ "MC",
306
+ "P",
307
+ "PS",
308
+ "SP",
309
+ "start"
310
+ ]
311
+ }
312
+ },
313
+ "commands" : {
314
+ "M0001" : {
315
+ "arguments" : [
316
+ "intersection",
317
+ "securityCode",
318
+ "status",
319
+ "timeout"
320
+ ]
321
+ },
322
+ "M0002" : {
323
+ "arguments" : [
324
+ "securityCode",
325
+ "status",
326
+ "timeplan"
327
+ ]
328
+ },
329
+ "M0003" : {
330
+ "arguments" : [
331
+ "securityCode",
332
+ "status",
333
+ "traficsituation"
334
+ ]
335
+ },
336
+ "M0004" : {
337
+ "arguments" : [
338
+ "securityCode",
339
+ "status"
340
+ ]
341
+ },
342
+ "M0005" : {
343
+ "arguments" : [
344
+ "emergencyroute",
345
+ "securityCode",
346
+ "status"
347
+ ]
348
+ },
349
+ "M0006" : {
350
+ "arguments" : [
351
+ "input",
352
+ "securityCode",
353
+ "status"
354
+ ]
355
+ },
356
+ "M0007" : {
357
+ "arguments" : [
358
+ "securityCode",
359
+ "status"
360
+ ]
361
+ },
362
+ "M0008" : {
363
+ "arguments" : [
364
+ "mode",
365
+ "securityCode",
366
+ "status"
367
+ ]
368
+ },
369
+ "M0010" : {
370
+ "arguments" : [
371
+ "securityCode",
372
+ "status"
373
+ ]
374
+ },
375
+ "M0011" : {
376
+ "arguments" : [
377
+ "securityCode",
378
+ "status"
379
+ ]
380
+ },
381
+ "M0012" : {
382
+ "arguments" : [
383
+ "securityCode",
384
+ "status"
385
+ ]
386
+ },
387
+ "M0013" : {
388
+ "arguments" : [
389
+ "securityCode",
390
+ "status"
391
+ ]
392
+ },
393
+ "M0014" : {
394
+ "arguments" : [
395
+ "plan",
396
+ "securityCode",
397
+ "status"
398
+ ]
399
+ },
400
+ "M0015" : {
401
+ "arguments" : [
402
+ "plan",
403
+ "securityCode",
404
+ "status"
405
+ ]
406
+ },
407
+ "M0016" : {
408
+ "arguments" : [
409
+ "securityCode",
410
+ "status"
411
+ ]
412
+ },
413
+ "M0017" : {
414
+ "arguments" : [
415
+ "securityCode",
416
+ "status"
417
+ ]
418
+ },
419
+ "M0018" : {
420
+ "arguments" : [
421
+ "plan",
422
+ "securityCode",
423
+ "status"
424
+ ]
425
+ },
426
+ "M0019" : {
427
+ "arguments" : [
428
+ "input",
429
+ "inputValue",
430
+ "securityCode",
431
+ "status"
432
+ ]
433
+ },
434
+ "M0020" : {
435
+ "arguments" : [
436
+ "output",
437
+ "outputValue",
438
+ "securityCode",
439
+ "status"
440
+ ]
441
+ },
442
+ "M0021" : {
443
+ "arguments" : [
444
+ "securityCode",
445
+ "status"
446
+ ]
447
+ },
448
+ "M0022" : {
449
+ "arguments" : [
450
+ "approachId",
451
+ "connectionId",
452
+ "eta",
453
+ "inputId",
454
+ "laneInId",
455
+ "laneOutId",
456
+ "level",
457
+ "priorityId",
458
+ "requestId",
459
+ "signalGroupId",
460
+ "type",
461
+ "vehicleType"
462
+ ]
463
+ },
464
+ "M0023" : {
465
+ "arguments" : [
466
+ "securityCode",
467
+ "status"
468
+ ]
469
+ },
470
+ "M0103" : {
471
+ "arguments" : [
472
+ "newSecurityCode",
473
+ "oldSecurityCode",
474
+ "status"
475
+ ]
476
+ },
477
+ "M0104" : {
478
+ "arguments" : [
479
+ "day",
480
+ "hour",
481
+ "minute",
482
+ "month",
483
+ "second",
484
+ "securityCode",
485
+ "year"
486
+ ]
487
+ }
488
+ },
489
+ "alarms" : {
490
+ "A0001" : {
491
+ "arguments" : []
492
+ },
493
+ "A0002" : {
494
+ "arguments" : []
495
+ },
496
+ "A0003" : {
497
+ "arguments" : []
498
+ },
499
+ "A0004" : {
500
+ "arguments" : []
501
+ },
502
+ "A0005" : {
503
+ "arguments" : []
504
+ },
505
+ "A0006" : {
506
+ "arguments" : []
507
+ },
508
+ "A0007" : {
509
+ "arguments" : [
510
+ "protocol"
511
+ ]
512
+ },
513
+ "A0008" : {
514
+ "arguments" : [
515
+ "timeplan"
516
+ ]
517
+ },
518
+ "A0009" : {
519
+ "arguments" : []
520
+ },
521
+ "A0010" : {
522
+ "arguments" : []
523
+ },
524
+ "A0101" : {
525
+ "arguments" : []
526
+ },
527
+ "A0201" : {
528
+ "arguments" : [
529
+ "color"
530
+ ]
531
+ },
532
+ "A0202" : {
533
+ "arguments" : [
534
+ "color"
535
+ ]
536
+ },
537
+ "A0301" : {
538
+ "arguments" : [
539
+ "detector",
540
+ "errormode",
541
+ "manual",
542
+ "type"
543
+ ]
544
+ },
545
+ "A0302" : {
546
+ "arguments" : [
547
+ "detector",
548
+ "errormode",
549
+ "logicerror",
550
+ "manual",
551
+ "type"
552
+ ]
553
+ },
554
+ "A0303" : {
555
+ "arguments" : [
556
+ "detector",
557
+ "errormode",
558
+ "manual",
559
+ "type"
560
+ ]
561
+ },
562
+ "A0304" : {
563
+ "arguments" : [
564
+ "detector",
565
+ "errormode",
566
+ "logicerror",
567
+ "manual",
568
+ "type"
569
+ ]
570
+ }
571
+ }
572
+ }
@@ -70,5 +70,6 @@
70
70
  "$ref" : "alarms/alarms.json"
71
71
  }
72
72
  }
73
- ]
73
+ ],
74
+ "minimum_core_version" : "3.2.0"
74
75
  }
@@ -3,6 +3,7 @@ meta:
3
3
  name: tlc
4
4
  description: Traffic Light Controllers
5
5
  version: 1.2.0
6
+ minimum_core_version: 3.2.0
6
7
  objects:
7
8
  Traffic Light Controller:
8
9
  description: