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,436 @@
1
+ {
2
+ "meta" : {
3
+ "name" : "tlc",
4
+ "description" : "Traffic Light Controllers",
5
+ "version" : "1.0.13",
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
+ },
235
+ "commands" : {
236
+ "M0001" : {
237
+ "arguments" : [
238
+ "intersection",
239
+ "securityCode",
240
+ "status",
241
+ "timeout"
242
+ ]
243
+ },
244
+ "M0002" : {
245
+ "arguments" : [
246
+ "securityCode",
247
+ "status",
248
+ "timeplan"
249
+ ]
250
+ },
251
+ "M0003" : {
252
+ "arguments" : [
253
+ "securityCode",
254
+ "status",
255
+ "traficsituation"
256
+ ]
257
+ },
258
+ "M0004" : {
259
+ "arguments" : [
260
+ "securityCode",
261
+ "status"
262
+ ]
263
+ },
264
+ "M0005" : {
265
+ "arguments" : [
266
+ "emergencyroute",
267
+ "securityCode",
268
+ "status"
269
+ ]
270
+ },
271
+ "M0006" : {
272
+ "arguments" : [
273
+ "input",
274
+ "securityCode",
275
+ "status"
276
+ ]
277
+ },
278
+ "M0007" : {
279
+ "arguments" : [
280
+ "securityCode",
281
+ "status"
282
+ ]
283
+ },
284
+ "M0008" : {
285
+ "arguments" : [
286
+ "mode",
287
+ "securityCode",
288
+ "status"
289
+ ]
290
+ },
291
+ "M0010" : {
292
+ "arguments" : [
293
+ "securityCode",
294
+ "status"
295
+ ]
296
+ },
297
+ "M0011" : {
298
+ "arguments" : [
299
+ "securityCode",
300
+ "status"
301
+ ]
302
+ },
303
+ "M0012" : {
304
+ "arguments" : [
305
+ "securityCode",
306
+ "status"
307
+ ]
308
+ },
309
+ "M0013" : {
310
+ "arguments" : [
311
+ "securityCode",
312
+ "status"
313
+ ]
314
+ },
315
+ "M0014" : {
316
+ "arguments" : [
317
+ "plan",
318
+ "securityCode",
319
+ "status"
320
+ ]
321
+ },
322
+ "M0015" : {
323
+ "arguments" : [
324
+ "plan",
325
+ "securityCode",
326
+ "status"
327
+ ]
328
+ },
329
+ "M0016" : {
330
+ "arguments" : [
331
+ "securityCode",
332
+ "status"
333
+ ]
334
+ },
335
+ "M0017" : {
336
+ "arguments" : [
337
+ "securityCode",
338
+ "status"
339
+ ]
340
+ },
341
+ "M0018" : {
342
+ "arguments" : [
343
+ "plan",
344
+ "securityCode",
345
+ "status"
346
+ ]
347
+ },
348
+ "M0019" : {
349
+ "arguments" : [
350
+ "input",
351
+ "inputValue",
352
+ "securityCode",
353
+ "status"
354
+ ]
355
+ },
356
+ "M0103" : {
357
+ "arguments" : [
358
+ "newSecurityCode",
359
+ "oldSecurityCode",
360
+ "status"
361
+ ]
362
+ },
363
+ "M0104" : {
364
+ "arguments" : [
365
+ "day",
366
+ "hour",
367
+ "minute",
368
+ "month",
369
+ "second",
370
+ "securityCode",
371
+ "year"
372
+ ]
373
+ }
374
+ },
375
+ "alarms" : {
376
+ "A0001" : {
377
+ "arguments" : []
378
+ },
379
+ "A0002" : {
380
+ "arguments" : []
381
+ },
382
+ "A0003" : {
383
+ "arguments" : []
384
+ },
385
+ "A0004" : {
386
+ "arguments" : []
387
+ },
388
+ "A0005" : {
389
+ "arguments" : []
390
+ },
391
+ "A0006" : {
392
+ "arguments" : []
393
+ },
394
+ "A0007" : {
395
+ "arguments" : []
396
+ },
397
+ "A0008" : {
398
+ "arguments" : [
399
+ "timeplan"
400
+ ]
401
+ },
402
+ "A0009" : {
403
+ "arguments" : []
404
+ },
405
+ "A0101" : {
406
+ "arguments" : []
407
+ },
408
+ "A0201" : {
409
+ "arguments" : [
410
+ "color"
411
+ ]
412
+ },
413
+ "A0202" : {
414
+ "arguments" : [
415
+ "color"
416
+ ]
417
+ },
418
+ "A0301" : {
419
+ "arguments" : [
420
+ "detector",
421
+ "errormode",
422
+ "manual",
423
+ "type"
424
+ ]
425
+ },
426
+ "A0302" : {
427
+ "arguments" : [
428
+ "detector",
429
+ "errormode",
430
+ "logicerror",
431
+ "manual",
432
+ "type"
433
+ ]
434
+ }
435
+ }
436
+ }
@@ -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.14
6
+ minimum_core_version: 3.1.2
6
7
  objects:
7
8
  Traffic Light Controller:
8
9
  description: