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,468 @@
1
+ {
2
+ "meta" : {
3
+ "name" : "tlc",
4
+ "description" : "Traffic Light Controllers",
5
+ "version" : "1.0.14",
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
+ "S0091" : {
176
+ "arguments" : [
177
+ "status",
178
+ "user"
179
+ ]
180
+ },
181
+ "S0092" : {
182
+ "arguments" : [
183
+ "status",
184
+ "user"
185
+ ]
186
+ },
187
+ "S0095" : {
188
+ "arguments" : [
189
+ "status"
190
+ ]
191
+ },
192
+ "S0096" : {
193
+ "arguments" : [
194
+ "day",
195
+ "hour",
196
+ "minute",
197
+ "month",
198
+ "second",
199
+ "year"
200
+ ]
201
+ },
202
+ "S0201" : {
203
+ "arguments" : [
204
+ "starttime",
205
+ "vehicles"
206
+ ]
207
+ },
208
+ "S0202" : {
209
+ "arguments" : [
210
+ "speed",
211
+ "starttime"
212
+ ]
213
+ },
214
+ "S0203" : {
215
+ "arguments" : [
216
+ "occupancy",
217
+ "starttime"
218
+ ]
219
+ },
220
+ "S0204" : {
221
+ "arguments" : [
222
+ "B",
223
+ "C",
224
+ "F",
225
+ "L",
226
+ "LS",
227
+ "MC",
228
+ "P",
229
+ "PS",
230
+ "SP",
231
+ "starttime"
232
+ ]
233
+ },
234
+ "S0205" : {
235
+ "arguments" : [
236
+ "start",
237
+ "vehicles"
238
+ ]
239
+ },
240
+ "S0206" : {
241
+ "arguments" : [
242
+ "speed",
243
+ "start"
244
+ ]
245
+ },
246
+ "S0207" : {
247
+ "arguments" : [
248
+ "occupancy",
249
+ "start"
250
+ ]
251
+ },
252
+ "S0208" : {
253
+ "arguments" : [
254
+ "B",
255
+ "C",
256
+ "F",
257
+ "L",
258
+ "LS",
259
+ "MC",
260
+ "P",
261
+ "PS",
262
+ "SP",
263
+ "start"
264
+ ]
265
+ }
266
+ },
267
+ "commands" : {
268
+ "M0001" : {
269
+ "arguments" : [
270
+ "intersection",
271
+ "securityCode",
272
+ "status",
273
+ "timeout"
274
+ ]
275
+ },
276
+ "M0002" : {
277
+ "arguments" : [
278
+ "securityCode",
279
+ "status",
280
+ "timeplan"
281
+ ]
282
+ },
283
+ "M0003" : {
284
+ "arguments" : [
285
+ "securityCode",
286
+ "status",
287
+ "traficsituation"
288
+ ]
289
+ },
290
+ "M0004" : {
291
+ "arguments" : [
292
+ "securityCode",
293
+ "status"
294
+ ]
295
+ },
296
+ "M0005" : {
297
+ "arguments" : [
298
+ "emergencyroute",
299
+ "securityCode",
300
+ "status"
301
+ ]
302
+ },
303
+ "M0006" : {
304
+ "arguments" : [
305
+ "input",
306
+ "securityCode",
307
+ "status"
308
+ ]
309
+ },
310
+ "M0007" : {
311
+ "arguments" : [
312
+ "securityCode",
313
+ "status"
314
+ ]
315
+ },
316
+ "M0008" : {
317
+ "arguments" : [
318
+ "mode",
319
+ "securityCode",
320
+ "status"
321
+ ]
322
+ },
323
+ "M0010" : {
324
+ "arguments" : [
325
+ "securityCode",
326
+ "status"
327
+ ]
328
+ },
329
+ "M0011" : {
330
+ "arguments" : [
331
+ "securityCode",
332
+ "status"
333
+ ]
334
+ },
335
+ "M0012" : {
336
+ "arguments" : [
337
+ "securityCode",
338
+ "status"
339
+ ]
340
+ },
341
+ "M0013" : {
342
+ "arguments" : [
343
+ "securityCode",
344
+ "status"
345
+ ]
346
+ },
347
+ "M0014" : {
348
+ "arguments" : [
349
+ "plan",
350
+ "securityCode",
351
+ "status"
352
+ ]
353
+ },
354
+ "M0015" : {
355
+ "arguments" : [
356
+ "plan",
357
+ "securityCode",
358
+ "status"
359
+ ]
360
+ },
361
+ "M0016" : {
362
+ "arguments" : [
363
+ "securityCode",
364
+ "status"
365
+ ]
366
+ },
367
+ "M0017" : {
368
+ "arguments" : [
369
+ "securityCode",
370
+ "status"
371
+ ]
372
+ },
373
+ "M0018" : {
374
+ "arguments" : [
375
+ "plan",
376
+ "securityCode",
377
+ "status"
378
+ ]
379
+ },
380
+ "M0019" : {
381
+ "arguments" : [
382
+ "input",
383
+ "inputValue",
384
+ "securityCode",
385
+ "status"
386
+ ]
387
+ },
388
+ "M0103" : {
389
+ "arguments" : [
390
+ "newSecurityCode",
391
+ "oldSecurityCode",
392
+ "status"
393
+ ]
394
+ },
395
+ "M0104" : {
396
+ "arguments" : [
397
+ "day",
398
+ "hour",
399
+ "minute",
400
+ "month",
401
+ "second",
402
+ "securityCode",
403
+ "year"
404
+ ]
405
+ }
406
+ },
407
+ "alarms" : {
408
+ "A0001" : {
409
+ "arguments" : []
410
+ },
411
+ "A0002" : {
412
+ "arguments" : []
413
+ },
414
+ "A0003" : {
415
+ "arguments" : []
416
+ },
417
+ "A0004" : {
418
+ "arguments" : []
419
+ },
420
+ "A0005" : {
421
+ "arguments" : []
422
+ },
423
+ "A0006" : {
424
+ "arguments" : []
425
+ },
426
+ "A0007" : {
427
+ "arguments" : []
428
+ },
429
+ "A0008" : {
430
+ "arguments" : [
431
+ "timeplan"
432
+ ]
433
+ },
434
+ "A0009" : {
435
+ "arguments" : []
436
+ },
437
+ "A0101" : {
438
+ "arguments" : []
439
+ },
440
+ "A0201" : {
441
+ "arguments" : [
442
+ "color"
443
+ ]
444
+ },
445
+ "A0202" : {
446
+ "arguments" : [
447
+ "color"
448
+ ]
449
+ },
450
+ "A0301" : {
451
+ "arguments" : [
452
+ "detector",
453
+ "errormode",
454
+ "manual",
455
+ "type"
456
+ ]
457
+ },
458
+ "A0302" : {
459
+ "arguments" : [
460
+ "detector",
461
+ "errormode",
462
+ "logicerror",
463
+ "manual",
464
+ "type"
465
+ ]
466
+ }
467
+ }
468
+ }
@@ -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.15
6
+ minimum_core_version: 3.1.2
6
7
  objects:
7
8
  Traffic Light Controller:
8
9
  description: