rsmp_schema 0.1.1 → 0.2.2
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rsmp_schema/convert/export/json_schema.rb +96 -54
- data/lib/rsmp_schema/schema.rb +80 -24
- data/lib/rsmp_schema/version.rb +1 -1
- data/lib/rsmp_schema.rb +2 -0
- data/schemas/tlc/1.0.10/sxl.yaml +20 -40
- data/schemas/tlc/1.0.13/sxl.yaml +20 -40
- data/schemas/tlc/1.0.14/sxl.yaml +20 -40
- data/schemas/tlc/1.0.15/sxl.yaml +20 -40
- data/schemas/tlc/1.0.7/sxl.yaml +20 -40
- data/schemas/tlc/1.0.8/sxl.yaml +20 -40
- data/schemas/tlc/1.0.9/sxl.yaml +20 -40
- data/schemas/tlc/1.1/commands/M0001.json +1 -1
- data/schemas/tlc/1.1/statuses/S0032.json +1 -1
- data/schemas/tlc/1.1/statuses/S0033.json +93 -0
- data/schemas/tlc/1.1/statuses/S0205.json +8 -2
- data/schemas/tlc/1.1/statuses/S0206.json +8 -2
- data/schemas/tlc/1.1/statuses/S0207.json +8 -2
- data/schemas/tlc/1.1/statuses/S0208.json +72 -18
- data/schemas/tlc/1.1/statuses/statuses.json +16 -0
- data/schemas/tlc/1.1/sxl.yaml +186 -121
- metadata +3 -2
data/schemas/tlc/1.0.13/sxl.yaml
CHANGED
@@ -177,15 +177,13 @@ objects:
|
|
177
177
|
During maintenance work the controller might be using dark mode (no output to the signal heads).
|
178
178
|
arguments:
|
179
179
|
intersection:
|
180
|
-
|
181
|
-
type: integer
|
180
|
+
type: integer_list
|
182
181
|
description: |-
|
183
182
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
184
183
|
Other value: Intersection number
|
185
184
|
range: "[0-255]"
|
186
185
|
status:
|
187
|
-
|
188
|
-
type: boolean
|
186
|
+
type: boolean_list
|
189
187
|
description: |-
|
190
188
|
False: Traffic Light Controller in dark mode
|
191
189
|
True: Traffic Light Controller not in dark mode
|
@@ -196,15 +194,13 @@ objects:
|
|
196
194
|
Signal timings is controlled manually by service personnel using the operating panel of the controller.
|
197
195
|
arguments:
|
198
196
|
intersection:
|
199
|
-
|
200
|
-
type: integer
|
197
|
+
type: integer_list
|
201
198
|
description: |-
|
202
199
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
203
200
|
Other value: Intersection number
|
204
201
|
range: "[0-255]"
|
205
202
|
status:
|
206
|
-
|
207
|
-
type: boolean
|
203
|
+
type: boolean_list
|
208
204
|
description: |-
|
209
205
|
False: Manual control inactive
|
210
206
|
True: Manual control active
|
@@ -215,15 +211,13 @@ objects:
|
|
215
211
|
Usually only used in case normal detectors can't be used, e.g. during maintenance work.
|
216
212
|
arguments:
|
217
213
|
intersection:
|
218
|
-
|
219
|
-
type: integer
|
214
|
+
type: integer_list
|
220
215
|
description: |-
|
221
216
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
222
217
|
Other value: Intersection number
|
223
218
|
range: "[0-255]"
|
224
219
|
status:
|
225
|
-
|
226
|
-
type: boolean
|
220
|
+
type: boolean_list
|
227
221
|
description: |-
|
228
222
|
False: Fixed time control inactive
|
229
223
|
True: Fixed time control active
|
@@ -234,15 +228,13 @@ objects:
|
|
234
228
|
Used to determine if the controller is operating independently or operating with other controllers (coordination).
|
235
229
|
arguments:
|
236
230
|
intersection:
|
237
|
-
|
238
|
-
type: integer
|
231
|
+
type: integer_list
|
239
232
|
description: |-
|
240
233
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
241
234
|
Other value: Intersection number
|
242
235
|
range: "[0-255]"
|
243
236
|
status:
|
244
|
-
|
245
|
-
type: boolean
|
237
|
+
type: boolean_list
|
246
238
|
description: |-
|
247
239
|
False: Isolated control disabled
|
248
240
|
True: Isolated control enabled (Vehicle actuated control or Fixed time control)
|
@@ -253,15 +245,13 @@ objects:
|
|
253
245
|
Yellow flash may be used during a serious fault (depending on configuration) or maintenance work. It can also be manually set using M0001.
|
254
246
|
arguments:
|
255
247
|
intersection:
|
256
|
-
|
257
|
-
type: integer
|
248
|
+
type: integer_list
|
258
249
|
description: |-
|
259
250
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
260
251
|
Other value: Intersection number
|
261
252
|
range: "[0-255]"
|
262
253
|
status:
|
263
|
-
|
264
|
-
type: boolean
|
254
|
+
type: boolean_list
|
265
255
|
description: |-
|
266
256
|
False: Yellow flash disabled
|
267
257
|
True: Yellow flash enabled
|
@@ -272,15 +262,13 @@ objects:
|
|
272
262
|
All red can be manually set using the controllers operating panel during maintenance work.
|
273
263
|
arguments:
|
274
264
|
intersection:
|
275
|
-
|
276
|
-
type: integer
|
265
|
+
type: integer_list
|
277
266
|
description: |-
|
278
267
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
279
268
|
Other value: Intersection number
|
280
269
|
range: "[0-255]"
|
281
270
|
status:
|
282
|
-
|
283
|
-
type: boolean
|
271
|
+
type: boolean_list
|
284
272
|
description: |-
|
285
273
|
False: All red disabled
|
286
274
|
True: All red enabled
|
@@ -291,15 +279,13 @@ objects:
|
|
291
279
|
The "police key" is a external control switch present in some controllers that manually switches the controller to either dark mode or yellow flash.
|
292
280
|
arguments:
|
293
281
|
intersection:
|
294
|
-
|
295
|
-
type: integer
|
282
|
+
type: integer_list
|
296
283
|
description: |-
|
297
284
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
298
285
|
Other value: Intersection number
|
299
286
|
range: "[0-255]"
|
300
287
|
status:
|
301
|
-
|
302
|
-
type: integer
|
288
|
+
type: integer_list
|
303
289
|
values:
|
304
290
|
0: disabled
|
305
291
|
1: dark mode
|
@@ -367,15 +353,13 @@ objects:
|
|
367
353
|
Can be used for the management system to check the current control mode (startup, normal, standby, failure, test).
|
368
354
|
arguments:
|
369
355
|
intersection:
|
370
|
-
|
371
|
-
type: integer
|
356
|
+
type: integer_list
|
372
357
|
description: |-
|
373
358
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
374
359
|
Other value: Intersection number
|
375
360
|
range: "[0-255]"
|
376
361
|
controlmode:
|
377
|
-
|
378
|
-
type: string
|
362
|
+
type: string_list
|
379
363
|
values:
|
380
364
|
startup: Startup mode
|
381
365
|
control: Normal control
|
@@ -598,29 +582,25 @@ objects:
|
|
598
582
|
Requires security code 2.
|
599
583
|
arguments:
|
600
584
|
status:
|
601
|
-
|
585
|
+
type: string_list
|
602
586
|
description: Set operating mode
|
603
|
-
type: string
|
604
587
|
values:
|
605
588
|
NormalControl: Normal Control
|
606
589
|
YellowFlash: Enables yellow flash
|
607
590
|
Dark: Enables dark mode
|
608
591
|
securityCode:
|
609
|
-
|
592
|
+
type: string_list
|
610
593
|
description: Security code 2
|
611
|
-
type: string
|
612
594
|
timeout:
|
613
|
-
|
595
|
+
type: integer_list
|
614
596
|
description: |-
|
615
597
|
Time in minutes until controller automatically reverts to previous functional position.
|
616
598
|
0=no automatic return
|
617
|
-
type: integer
|
618
599
|
min: 0
|
619
600
|
max: 1440
|
620
601
|
intersection:
|
621
|
-
|
602
|
+
type: integer_list
|
622
603
|
description: Intersection number
|
623
|
-
type: integer
|
624
604
|
min: 0
|
625
605
|
max: 255
|
626
606
|
command: setValue
|
data/schemas/tlc/1.0.14/sxl.yaml
CHANGED
@@ -177,15 +177,13 @@ objects:
|
|
177
177
|
During maintenance work the controller might be using dark mode (no output to the signal heads).
|
178
178
|
arguments:
|
179
179
|
intersection:
|
180
|
-
|
181
|
-
type: integer
|
180
|
+
type: integer_list
|
182
181
|
description: |-
|
183
182
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
184
183
|
Other value: Intersection number
|
185
184
|
range: "[0-255]"
|
186
185
|
status:
|
187
|
-
|
188
|
-
type: boolean
|
186
|
+
type: boolean_list
|
189
187
|
description: |-
|
190
188
|
False: Traffic Light Controller in dark mode
|
191
189
|
True: Traffic Light Controller not in dark mode
|
@@ -196,15 +194,13 @@ objects:
|
|
196
194
|
Signal timings is controlled manually by service personnel using the operating panel of the controller.
|
197
195
|
arguments:
|
198
196
|
intersection:
|
199
|
-
|
200
|
-
type: integer
|
197
|
+
type: integer_list
|
201
198
|
description: |-
|
202
199
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
203
200
|
Other value: Intersection number
|
204
201
|
range: "[0-255]"
|
205
202
|
status:
|
206
|
-
|
207
|
-
type: boolean
|
203
|
+
type: boolean_list
|
208
204
|
description: |-
|
209
205
|
False: Manual control inactive
|
210
206
|
True: Manual control active
|
@@ -215,15 +211,13 @@ objects:
|
|
215
211
|
Usually only used in case normal detectors can't be used, e.g. during maintenance work.
|
216
212
|
arguments:
|
217
213
|
intersection:
|
218
|
-
|
219
|
-
type: integer
|
214
|
+
type: integer_list
|
220
215
|
description: |-
|
221
216
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
222
217
|
Other value: Intersection number
|
223
218
|
range: "[0-255]"
|
224
219
|
status:
|
225
|
-
|
226
|
-
type: boolean
|
220
|
+
type: boolean_list
|
227
221
|
description: |-
|
228
222
|
False: Fixed time control inactive
|
229
223
|
True: Fixed time control active
|
@@ -234,15 +228,13 @@ objects:
|
|
234
228
|
Used to determine if the controller is operating independently or operating with other controllers (coordination).
|
235
229
|
arguments:
|
236
230
|
intersection:
|
237
|
-
|
238
|
-
type: integer
|
231
|
+
type: integer_list
|
239
232
|
description: |-
|
240
233
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
241
234
|
Other value: Intersection number
|
242
235
|
range: "[0-255]"
|
243
236
|
status:
|
244
|
-
|
245
|
-
type: boolean
|
237
|
+
type: boolean_list
|
246
238
|
description: |-
|
247
239
|
False: Isolated control disabled
|
248
240
|
True: Isolated control enabled (Vehicle actuated control or Fixed time control)
|
@@ -253,15 +245,13 @@ objects:
|
|
253
245
|
Yellow flash may be used during a serious fault (depending on configuration) or maintenance work. It can also be manually set using M0001.
|
254
246
|
arguments:
|
255
247
|
intersection:
|
256
|
-
|
257
|
-
type: integer
|
248
|
+
type: integer_list
|
258
249
|
description: |-
|
259
250
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
260
251
|
Other value: Intersection number
|
261
252
|
range: "[0-255]"
|
262
253
|
status:
|
263
|
-
|
264
|
-
type: boolean
|
254
|
+
type: boolean_list
|
265
255
|
description: |-
|
266
256
|
False: Yellow flash disabled
|
267
257
|
True: Yellow flash enabled
|
@@ -272,15 +262,13 @@ objects:
|
|
272
262
|
All red can be manually set using the controllers operating panel during maintenance work.
|
273
263
|
arguments:
|
274
264
|
intersection:
|
275
|
-
|
276
|
-
type: integer
|
265
|
+
type: integer_list
|
277
266
|
description: |-
|
278
267
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
279
268
|
Other value: Intersection number
|
280
269
|
range: "[0-255]"
|
281
270
|
status:
|
282
|
-
|
283
|
-
type: boolean
|
271
|
+
type: boolean_list
|
284
272
|
description: |-
|
285
273
|
False: All red disabled
|
286
274
|
True: All red enabled
|
@@ -291,15 +279,13 @@ objects:
|
|
291
279
|
The "police key" is a external control switch present in some controllers that manually switches the controller to either dark mode or yellow flash.
|
292
280
|
arguments:
|
293
281
|
intersection:
|
294
|
-
|
295
|
-
type: integer
|
282
|
+
type: integer_list
|
296
283
|
description: |-
|
297
284
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
298
285
|
Other value: Intersection number
|
299
286
|
range: "[0-255]"
|
300
287
|
status:
|
301
|
-
|
302
|
-
type: integer
|
288
|
+
type: integer_list
|
303
289
|
values:
|
304
290
|
0: disabled
|
305
291
|
1: dark mode
|
@@ -367,15 +353,13 @@ objects:
|
|
367
353
|
Can be used for the management system to check the current control mode (startup, normal, standby, failure, test).
|
368
354
|
arguments:
|
369
355
|
intersection:
|
370
|
-
|
371
|
-
type: integer
|
356
|
+
type: integer_list
|
372
357
|
description: |-
|
373
358
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
374
359
|
Other value: Intersection number
|
375
360
|
range: "[0-255]"
|
376
361
|
controlmode:
|
377
|
-
|
378
|
-
type: string
|
362
|
+
type: string_list
|
379
363
|
values:
|
380
364
|
startup: Startup mode
|
381
365
|
control: Normal control
|
@@ -736,29 +720,25 @@ objects:
|
|
736
720
|
Requires security code 2.
|
737
721
|
arguments:
|
738
722
|
status:
|
739
|
-
|
723
|
+
type: string_list
|
740
724
|
description: Set operating mode
|
741
|
-
type: string
|
742
725
|
values:
|
743
726
|
NormalControl: Normal Control
|
744
727
|
YellowFlash: Enables yellow flash
|
745
728
|
Dark: Enables dark mode
|
746
729
|
securityCode:
|
747
|
-
|
730
|
+
type: string_list
|
748
731
|
description: Security code 2
|
749
|
-
type: string
|
750
732
|
timeout:
|
751
|
-
|
733
|
+
type: integer_list
|
752
734
|
description: |-
|
753
735
|
Time in minutes until controller automatically reverts to previous functional position.
|
754
736
|
0=no automatic return
|
755
|
-
type: integer
|
756
737
|
min: 0
|
757
738
|
max: 1440
|
758
739
|
intersection:
|
759
|
-
|
740
|
+
type: integer_list
|
760
741
|
description: Intersection number
|
761
|
-
type: integer
|
762
742
|
min: 0
|
763
743
|
max: 255
|
764
744
|
command: setValue
|
data/schemas/tlc/1.0.15/sxl.yaml
CHANGED
@@ -183,15 +183,13 @@ objects:
|
|
183
183
|
During maintenance work the controller might be using dark mode (no output to the signal heads).
|
184
184
|
arguments:
|
185
185
|
intersection:
|
186
|
-
|
187
|
-
type: integer
|
186
|
+
type: integer_list
|
188
187
|
description: |-
|
189
188
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
190
189
|
Other value: Intersection number
|
191
190
|
range: "[0-255]"
|
192
191
|
status:
|
193
|
-
|
194
|
-
type: boolean
|
192
|
+
type: boolean_list
|
195
193
|
description: |-
|
196
194
|
False: Traffic Light Controller in dark mode
|
197
195
|
True: Traffic Light Controller not in dark mode
|
@@ -202,15 +200,13 @@ objects:
|
|
202
200
|
Signal timings is controlled manually by service personnel using the operating panel of the controller.
|
203
201
|
arguments:
|
204
202
|
intersection:
|
205
|
-
|
206
|
-
type: integer
|
203
|
+
type: integer_list
|
207
204
|
description: |-
|
208
205
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
209
206
|
Other value: Intersection number
|
210
207
|
range: "[0-255]"
|
211
208
|
status:
|
212
|
-
|
213
|
-
type: boolean
|
209
|
+
type: boolean_list
|
214
210
|
description: |-
|
215
211
|
False: Manual control inactive
|
216
212
|
True: Manual control active
|
@@ -221,15 +217,13 @@ objects:
|
|
221
217
|
Usually only used in case normal detectors can't be used, e.g. during maintenance work.
|
222
218
|
arguments:
|
223
219
|
intersection:
|
224
|
-
|
225
|
-
type: integer
|
220
|
+
type: integer_list
|
226
221
|
description: |-
|
227
222
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
228
223
|
Other value: Intersection number
|
229
224
|
range: "[0-255]"
|
230
225
|
status:
|
231
|
-
|
232
|
-
type: boolean
|
226
|
+
type: boolean_list
|
233
227
|
description: |-
|
234
228
|
False: Fixed time control inactive
|
235
229
|
True: Fixed time control active
|
@@ -240,15 +234,13 @@ objects:
|
|
240
234
|
Used to determine if the controller is operating independently or operating with other controllers (coordination).
|
241
235
|
arguments:
|
242
236
|
intersection:
|
243
|
-
|
244
|
-
type: integer
|
237
|
+
type: integer_list
|
245
238
|
description: |-
|
246
239
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
247
240
|
Other value: Intersection number
|
248
241
|
range: "[0-255]"
|
249
242
|
status:
|
250
|
-
|
251
|
-
type: boolean
|
243
|
+
type: boolean_list
|
252
244
|
description: |-
|
253
245
|
False: Isolated control disabled
|
254
246
|
True: Isolated control enabled (Vehicle actuated control or Fixed time control)
|
@@ -259,15 +251,13 @@ objects:
|
|
259
251
|
Yellow flash may be used during a serious fault (depending on configuration) or maintenance work. It can also be manually set using M0001.
|
260
252
|
arguments:
|
261
253
|
intersection:
|
262
|
-
|
263
|
-
type: integer
|
254
|
+
type: integer_list
|
264
255
|
description: |-
|
265
256
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
266
257
|
Other value: Intersection number
|
267
258
|
range: "[0-255]"
|
268
259
|
status:
|
269
|
-
|
270
|
-
type: boolean
|
260
|
+
type: boolean_list
|
271
261
|
description: |-
|
272
262
|
False: Yellow flash disabled
|
273
263
|
True: Yellow flash enabled
|
@@ -278,15 +268,13 @@ objects:
|
|
278
268
|
All red can be manually set using the controllers operating panel during maintenance work.
|
279
269
|
arguments:
|
280
270
|
intersection:
|
281
|
-
|
282
|
-
type: integer
|
271
|
+
type: integer_list
|
283
272
|
description: |-
|
284
273
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
285
274
|
Other value: Intersection number
|
286
275
|
range: "[0-255]"
|
287
276
|
status:
|
288
|
-
|
289
|
-
type: boolean
|
277
|
+
type: boolean_list
|
290
278
|
description: |-
|
291
279
|
False: All red disabled
|
292
280
|
True: All red enabled
|
@@ -297,15 +285,13 @@ objects:
|
|
297
285
|
The "police key" is a external control switch present in some controllers that manually switches the controller to either dark mode or yellow flash.
|
298
286
|
arguments:
|
299
287
|
intersection:
|
300
|
-
|
301
|
-
type: integer
|
288
|
+
type: integer_list
|
302
289
|
description: |-
|
303
290
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
304
291
|
Other value: Intersection number
|
305
292
|
range: "[0-255]"
|
306
293
|
status:
|
307
|
-
|
308
|
-
type: integer
|
294
|
+
type: integer_list
|
309
295
|
values:
|
310
296
|
0: disabled
|
311
297
|
1: dark mode
|
@@ -373,15 +359,13 @@ objects:
|
|
373
359
|
Can be used for the management system to check the current control mode (startup, normal, standby, failure, test).
|
374
360
|
arguments:
|
375
361
|
intersection:
|
376
|
-
|
377
|
-
type: integer
|
362
|
+
type: integer_list
|
378
363
|
description: |-
|
379
364
|
0: Not applicable (only one intersection exists or applicable for all intersection of the traffic light controller)
|
380
365
|
Other value: Intersection number
|
381
366
|
range: "[0-255]"
|
382
367
|
controlmode:
|
383
|
-
|
384
|
-
type: string
|
368
|
+
type: string_list
|
385
369
|
values:
|
386
370
|
startup: Startup mode
|
387
371
|
control: Normal control
|
@@ -833,29 +817,25 @@ objects:
|
|
833
817
|
Requires security code 2.
|
834
818
|
arguments:
|
835
819
|
status:
|
836
|
-
|
820
|
+
type: string_list
|
837
821
|
description: Set operating mode
|
838
|
-
type: string
|
839
822
|
values:
|
840
823
|
NormalControl: Normal Control
|
841
824
|
YellowFlash: Enables yellow flash
|
842
825
|
Dark: Enables dark mode
|
843
826
|
securityCode:
|
844
|
-
|
827
|
+
type: string_list
|
845
828
|
description: Security code 2
|
846
|
-
type: string
|
847
829
|
timeout:
|
848
|
-
|
830
|
+
type: integer_list
|
849
831
|
description: |-
|
850
832
|
Time in minutes until controller automatically reverts to previous functional position.
|
851
833
|
0=no automatic return
|
852
|
-
type: integer
|
853
834
|
min: 0
|
854
835
|
max: 1440
|
855
836
|
intersection:
|
856
|
-
|
837
|
+
type: integer_list
|
857
838
|
description: Intersection number
|
858
|
-
type: integer
|
859
839
|
min: 0
|
860
840
|
max: 255
|
861
841
|
command: setValue
|