rsmp_schema 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/rsmp_schema/version.rb +1 -1
  4. data/schemas/tlc/1.0.10/sxl.yaml +0 -25
  5. data/schemas/tlc/1.0.13/sxl.yaml +0 -40
  6. data/schemas/tlc/1.0.14/sxl.yaml +0 -40
  7. data/schemas/tlc/1.0.15/sxl.yaml +0 -47
  8. data/schemas/tlc/1.0.7/sxl.yaml +0 -21
  9. data/schemas/tlc/1.0.8/sxl.yaml +0 -25
  10. data/schemas/tlc/1.0.9/sxl.yaml +0 -25
  11. data/schemas/tlc/1.1/alarms/A0303.json +111 -0
  12. data/schemas/tlc/1.1/alarms/A0304.json +137 -0
  13. data/schemas/tlc/1.1/alarms/alarms.json +33 -1
  14. data/schemas/tlc/1.1/commands/M0001.json +1 -1
  15. data/schemas/tlc/1.1/commands/M0005.json +1 -1
  16. data/schemas/tlc/1.1/commands/M0013.json +1 -1
  17. data/schemas/tlc/1.1/commands/M0019.json +1 -1
  18. data/schemas/tlc/1.1/commands/M0022.json +335 -0
  19. data/schemas/tlc/1.1/commands/M0023.json +64 -0
  20. data/schemas/tlc/1.1/commands/commands.json +32 -0
  21. data/schemas/tlc/1.1/statuses/S0001.json +3 -3
  22. data/schemas/tlc/1.1/statuses/S0002.json +1 -1
  23. data/schemas/tlc/1.1/statuses/S0003.json +1 -1
  24. data/schemas/tlc/1.1/statuses/S0004.json +1 -1
  25. data/schemas/tlc/1.1/statuses/S0007.json +1 -1
  26. data/schemas/tlc/1.1/statuses/S0008.json +1 -1
  27. data/schemas/tlc/1.1/statuses/S0009.json +1 -1
  28. data/schemas/tlc/1.1/statuses/S0010.json +1 -1
  29. data/schemas/tlc/1.1/statuses/S0011.json +1 -1
  30. data/schemas/tlc/1.1/statuses/S0012.json +1 -1
  31. data/schemas/tlc/1.1/statuses/S0013.json +2 -2
  32. data/schemas/tlc/1.1/statuses/S0020.json +1 -1
  33. data/schemas/tlc/1.1/statuses/S0032.json +96 -0
  34. data/schemas/tlc/1.1/statuses/S0034.json +40 -0
  35. data/schemas/tlc/1.1/statuses/statuses.json +32 -0
  36. data/schemas/tlc/1.1/sxl.yaml +417 -127
  37. metadata +8 -2
@@ -97,7 +97,6 @@ objects:
97
97
  signalgroupstatus:
98
98
  type: string
99
99
  description: Signal group status as text field
100
- range: "[text]"
101
100
  pattern: "^[a-hA-G0-9N-P]*$"
102
101
  cyclecounter:
103
102
  type: integer
@@ -120,7 +119,6 @@ objects:
120
119
  detectorlogicstatus:
121
120
  type: string
122
121
  description: Detector logic status as text field
123
- range: "[text]"
124
122
  S0003:
125
123
  description: |-
126
124
  Input status.
@@ -130,11 +128,9 @@ objects:
130
128
  inputstatus:
131
129
  type: string
132
130
  description: Input status as text field
133
- range: "[text]"
134
131
  extendedinputstatus:
135
132
  type: string
136
133
  description: Extended input status as text field
137
- range: "[text]"
138
134
  S0004:
139
135
  description: |-
140
136
  Output status.
@@ -144,11 +140,9 @@ objects:
144
140
  outputstatus:
145
141
  type: string
146
142
  description: Output status as text field
147
- range: "[text]"
148
143
  extendedoutputstatus:
149
144
  type: string
150
145
  description: Extended output status as text field
151
- range: "[text]"
152
146
  S0005:
153
147
  description: |-
154
148
  Traffic Light Controller starting.
@@ -397,7 +391,6 @@ objects:
397
391
  detectorlogics:
398
392
  type: string
399
393
  description: Manually set detector logics (1/0) as text field
400
- range: "[text]"
401
394
  pattern: "^[01]*$"
402
395
  S0022:
403
396
  description: |-
@@ -408,7 +401,6 @@ objects:
408
401
  status:
409
402
  type: string
410
403
  description: Comma separated list of configured time plans. E.g. "1,2,3,5"
411
- range: "[text]"
412
404
  S0023:
413
405
  description: |-
414
406
  Dynamic bands.
@@ -428,7 +420,6 @@ objects:
428
420
 
429
421
  E.g.
430
422
  pp-dd-ee,pp-dd-ee
431
- range: "[text]"
432
423
  pattern: "(^$)|(^(?<item>(\\d{1,2})\\-\\d{1,2}-\\d{1,2})(,\\g<item>)*$)"
433
424
  S0024:
434
425
  description: |-
@@ -448,7 +439,6 @@ objects:
448
439
 
449
440
  E.g.
450
441
  pp-tt,pp-tt
451
- range: "[text]"
452
442
  pattern: "^(\\d{1,2}\\-\\d{1,2})(?:,(\\d{1,2}\\-\\d{1,2}))*$"
453
443
  S0026:
454
444
  description: |-
@@ -476,7 +466,6 @@ objects:
476
466
  Each segment is separated with a comma
477
467
  E.g.
478
468
  d-t,d-t
479
- range: "[text]"
480
469
  S0027:
481
470
  description: |-
482
471
  Time tables.
@@ -505,7 +494,6 @@ objects:
505
494
 
506
495
  E.g.
507
496
  t-o-h-m,t-o-h-m
508
- range: "[text]"
509
497
  S0028:
510
498
  description: |-
511
499
  Cycle time.
@@ -524,7 +512,6 @@ objects:
524
512
 
525
513
  E.g.
526
514
  pp-tt,pp-tt
527
- range: "[text]"
528
515
  S0029:
529
516
  description: |-
530
517
  Forced input status.
@@ -534,7 +521,6 @@ objects:
534
521
  status:
535
522
  type: string
536
523
  description: Forced input status as text field
537
- range: "[text]"
538
524
  S0091:
539
525
  description: |-
540
526
  Operator logged in/out OP-panel.
@@ -573,7 +559,6 @@ objects:
573
559
  status:
574
560
  type: string
575
561
  description: Manufacturer, product name and version of traffic light controller
576
- range: "[text]"
577
562
  S0096:
578
563
  description: |-
579
564
  Current date and time
@@ -793,7 +778,6 @@ objects:
793
778
  securityCode:
794
779
  type: string
795
780
  description: Security code 2
796
- range: "[text]"
797
781
  timeplan:
798
782
  type: integer
799
783
  description: designation of time plan
@@ -814,7 +798,6 @@ objects:
814
798
  securityCode:
815
799
  type: string
816
800
  description: Security code 2
817
- range: "[text]"
818
801
  traficsituation:
819
802
  type: integer
820
803
  description: designation of traficsituation
@@ -832,7 +815,6 @@ objects:
832
815
  securityCode:
833
816
  type: string
834
817
  description: Security code 2
835
- range: "[text]"
836
818
  command: setRestart
837
819
  M0005:
838
820
  description: |-
@@ -849,7 +831,6 @@ objects:
849
831
  securityCode:
850
832
  type: string
851
833
  description: Security code 2
852
- range: "[text]"
853
834
  emergencyroute:
854
835
  type: integer
855
836
  description: Number of emergency route
@@ -872,7 +853,6 @@ objects:
872
853
  securityCode:
873
854
  type: string
874
855
  description: Security code 2
875
- range: "[text]"
876
856
  input:
877
857
  type: integer
878
858
  description: Number of Input
@@ -893,7 +873,6 @@ objects:
893
873
  securityCode:
894
874
  type: string
895
875
  description: Security code 2
896
- range: "[text]"
897
876
  command: setFixedTime
898
877
  M0012:
899
878
  description: |-
@@ -930,11 +909,9 @@ objects:
930
909
  "5,4143,65:22,1,4"
931
910
 
932
911
  Such a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red
933
- range: "[text]"
934
912
  securityCode:
935
913
  type: string
936
914
  description: Security code 2
937
- range: "[text]"
938
915
  command: setStart
939
916
  M0013:
940
917
  description: |-
@@ -965,11 +942,9 @@ objects:
965
942
  "5,4143:65:22,1,4"
966
943
 
967
944
  Such a message would activate input 6,7,10,17,22 and deactivate input 5,11,24
968
- range: "[text]"
969
945
  securityCode:
970
946
  type: string
971
947
  description: Security code 2
972
- range: "[text]"
973
948
  command: setInput
974
949
  M0014:
975
950
  description: |-
@@ -994,11 +969,9 @@ objects:
994
969
 
995
970
  E.g.
996
971
  dd-ee,dd-ee
997
- range: "[text]"
998
972
  securityCode:
999
973
  type: string
1000
974
  description: Security code 2
1001
- range: "[text]"
1002
975
  command: setCommands
1003
976
  M0015:
1004
977
  description: |-
@@ -1018,7 +991,6 @@ objects:
1018
991
  securityCode:
1019
992
  type: string
1020
993
  description: Security code 2
1021
- range: "[text]"
1022
994
  command: setOffset
1023
995
  M0016:
1024
996
  description: |-
@@ -1048,11 +1020,9 @@ objects:
1048
1020
 
1049
1021
  E.g.
1050
1022
  d-t,d-t
1051
- range: "[text]"
1052
1023
  securityCode:
1053
1024
  type: string
1054
1025
  description: Security code 2
1055
- range: "[text]"
1056
1026
  command: setWeekTable
1057
1027
  M0017:
1058
1028
  description: |-
@@ -1083,11 +1053,9 @@ objects:
1083
1053
 
1084
1054
  E.g.
1085
1055
  t-o-h-m,t-o-h-m
1086
- range: "[text]"
1087
1056
  securityCode:
1088
1057
  type: string
1089
1058
  description: Security code 2
1090
- range: "[text]"
1091
1059
  command: setTimeTable
1092
1060
  M0018:
1093
1061
  description: |-
@@ -1107,7 +1075,6 @@ objects:
1107
1075
  securityCode:
1108
1076
  type: string
1109
1077
  description: Security code 2
1110
- range: "[text]"
1111
1078
  command: setCycleTime
1112
1079
  M0019:
1113
1080
  description: |-
@@ -1124,7 +1091,6 @@ objects:
1124
1091
  securityCode:
1125
1092
  type: string
1126
1093
  description: Security code 2
1127
- range: "[text]"
1128
1094
  input:
1129
1095
  type: integer
1130
1096
  description: Number of Input
@@ -1149,11 +1115,9 @@ objects:
1149
1115
  oldSecurityCode:
1150
1116
  type: string
1151
1117
  description: Previous security code
1152
- range: "[text]"
1153
1118
  newSecurityCode:
1154
1119
  type: string
1155
1120
  description: New security code
1156
- range: "[text]"
1157
1121
  command: setSecurityCode
1158
1122
  M0104:
1159
1123
  description: |-
@@ -1164,7 +1128,6 @@ objects:
1164
1128
  securityCode:
1165
1129
  type: string
1166
1130
  description: Security code 1
1167
- range: "[text]"
1168
1131
  year:
1169
1132
  type: integer
1170
1133
  description: |-
@@ -1314,7 +1277,6 @@ objects:
1314
1277
  securityCode:
1315
1278
  type: string
1316
1279
  description: Security code 2
1317
- range: "[text]"
1318
1280
  command: setStart
1319
1281
  M0011:
1320
1282
  description: |-
@@ -1331,7 +1293,6 @@ objects:
1331
1293
  securityCode:
1332
1294
  type: string
1333
1295
  description: Security code 2
1334
- range: "[text]"
1335
1296
  command: setStop
1336
1297
  Detector logic:
1337
1298
  description:
@@ -1505,7 +1466,6 @@ objects:
1505
1466
  securityCode:
1506
1467
  type: string
1507
1468
  description: Security code 2
1508
- range: "[text]"
1509
1469
  mode:
1510
1470
  type: boolean
1511
1471
  description: |-
@@ -103,7 +103,6 @@ objects:
103
103
  signalgroupstatus:
104
104
  type: string
105
105
  description: Signal group status as text field
106
- range: "[text]"
107
106
  pattern: "^[a-hA-G0-9N-P]*$"
108
107
  cyclecounter:
109
108
  type: integer
@@ -126,7 +125,6 @@ objects:
126
125
  detectorlogicstatus:
127
126
  type: string
128
127
  description: Detector logic status as text field
129
- range: "[text]"
130
128
  S0003:
131
129
  description: |-
132
130
  Input status.
@@ -136,11 +134,9 @@ objects:
136
134
  inputstatus:
137
135
  type: string
138
136
  description: Input status as text field
139
- range: "[text]"
140
137
  extendedinputstatus:
141
138
  type: string
142
139
  description: Extended input status as text field
143
- range: "[text]"
144
140
  S0004:
145
141
  description: |-
146
142
  Output status.
@@ -150,11 +146,9 @@ objects:
150
146
  outputstatus:
151
147
  type: string
152
148
  description: Output status as text field
153
- range: "[text]"
154
149
  extendedoutputstatus:
155
150
  type: string
156
151
  description: Extended output status as text field
157
- range: "[text]"
158
152
  S0005:
159
153
  description: |-
160
154
  Traffic Light Controller starting.
@@ -403,7 +397,6 @@ objects:
403
397
  detectorlogics:
404
398
  type: string
405
399
  description: Manually set detector logics (1/0) as text field
406
- range: "[text]"
407
400
  pattern: "^[01]*$"
408
401
  S0022:
409
402
  description: |-
@@ -414,7 +407,6 @@ objects:
414
407
  status:
415
408
  type: string
416
409
  description: Comma separated list of configured time plans. E.g. "1,2,3,5"
417
- range: "[text]"
418
410
  S0023:
419
411
  description: |-
420
412
  Dynamic bands.
@@ -434,7 +426,6 @@ objects:
434
426
 
435
427
  E.g.
436
428
  pp-dd-ee,pp-dd-ee
437
- range: "[text]"
438
429
  pattern: "(^$)|(^(?<item>(\\d{1,2})\\-\\d{1,2}-\\d{1,2})(,\\g<item>)*$)"
439
430
  S0024:
440
431
  description: |-
@@ -454,7 +445,6 @@ objects:
454
445
 
455
446
  E.g.
456
447
  pp-tt,pp-tt
457
- range: "[text]"
458
448
  pattern: "^(\\d{1,2}\\-\\d{1,2})(?:,(\\d{1,2}\\-\\d{1,2}))*$"
459
449
  S0026:
460
450
  description: |-
@@ -482,7 +472,6 @@ objects:
482
472
  Each segment is separated with a comma
483
473
  E.g.
484
474
  d-t,d-t
485
- range: "[text]"
486
475
  S0027:
487
476
  description: |-
488
477
  Time tables.
@@ -511,7 +500,6 @@ objects:
511
500
 
512
501
  E.g.
513
502
  t-o-h-m,t-o-h-m
514
- range: "[text]"
515
503
  S0028:
516
504
  description: |-
517
505
  Cycle time.
@@ -530,7 +518,6 @@ objects:
530
518
 
531
519
  E.g.
532
520
  pp-tt,pp-tt
533
- range: "[text]"
534
521
  S0029:
535
522
  description: |-
536
523
  Forced input status.
@@ -540,7 +527,6 @@ objects:
540
527
  status:
541
528
  type: string
542
529
  description: Forced input status as text field
543
- range: "[text]"
544
530
  S0030:
545
531
  description: |-
546
532
  Forced output status.
@@ -550,7 +536,6 @@ objects:
550
536
  status:
551
537
  type: string
552
538
  description: Forced output status as text field
553
- range: "[text]"
554
539
  S0031:
555
540
  description: |-
556
541
  Trigger level sensitivity for loop detector.
@@ -564,7 +549,6 @@ objects:
564
549
  dd=loop detector number
565
550
  ss=sensitivity value
566
551
  Each loop detector is separated with a comma. E.g.dd-ss,dd-ss.
567
- range: "[text]"
568
552
  S0091:
569
553
  description: |-
570
554
  Operator logged in/out OP-panel.
@@ -603,7 +587,6 @@ objects:
603
587
  status:
604
588
  type: string
605
589
  description: Manufacturer, product name and version of traffic light controller
606
- range: "[text]"
607
590
  S0096:
608
591
  description: |-
609
592
  Current date and time
@@ -662,7 +645,6 @@ objects:
662
645
 
663
646
  Note:
664
647
  - The checksum should be calculated using the same data as used in S0098
665
- range: "[text]"
666
648
  timestamp:
667
649
  type: timestamp
668
650
  description: Time stamp of the checksum. Format according to W3C XML dateTime
@@ -705,7 +687,6 @@ objects:
705
687
  description: |-
706
688
  Version information of the configuration. Contains basic information such as controller id, changes to config and other information.
707
689
  The format is not specified in detail.
708
- range: "[text]"
709
690
  S0205:
710
691
  description: |-
711
692
  Traffic Counting: Number of vehicles.
@@ -894,7 +875,6 @@ objects:
894
875
  securityCode:
895
876
  type: string
896
877
  description: Security code 2
897
- range: "[text]"
898
878
  timeplan:
899
879
  type: integer
900
880
  description: designation of time plan
@@ -915,7 +895,6 @@ objects:
915
895
  securityCode:
916
896
  type: string
917
897
  description: Security code 2
918
- range: "[text]"
919
898
  traficsituation:
920
899
  type: integer
921
900
  description: designation of traficsituation
@@ -933,7 +912,6 @@ objects:
933
912
  securityCode:
934
913
  type: string
935
914
  description: Security code 2
936
- range: "[text]"
937
915
  command: setRestart
938
916
  M0005:
939
917
  description: |-
@@ -950,7 +928,6 @@ objects:
950
928
  securityCode:
951
929
  type: string
952
930
  description: Security code 2
953
- range: "[text]"
954
931
  emergencyroute:
955
932
  type: integer
956
933
  description: Number of emergency route
@@ -973,7 +950,6 @@ objects:
973
950
  securityCode:
974
951
  type: string
975
952
  description: Security code 2
976
- range: "[text]"
977
953
  input:
978
954
  type: integer
979
955
  description: Number of Input
@@ -994,7 +970,6 @@ objects:
994
970
  securityCode:
995
971
  type: string
996
972
  description: Security code 2
997
- range: "[text]"
998
973
  command: setFixedTime
999
974
  M0012:
1000
975
  description: |-
@@ -1031,11 +1006,9 @@ objects:
1031
1006
  "5,4143,65:22,1,4"
1032
1007
 
1033
1008
  Such a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red
1034
- range: "[text]"
1035
1009
  securityCode:
1036
1010
  type: string
1037
1011
  description: Security code 2
1038
- range: "[text]"
1039
1012
  command: setStart
1040
1013
  M0013:
1041
1014
  description: |-
@@ -1066,11 +1039,9 @@ objects:
1066
1039
  "5,4143:65:22,1,4"
1067
1040
 
1068
1041
  Such a message would activate input 6,7,10,17,22 and deactivate input 5,11,24
1069
- range: "[text]"
1070
1042
  securityCode:
1071
1043
  type: string
1072
1044
  description: Security code 2
1073
- range: "[text]"
1074
1045
  command: setInput
1075
1046
  M0014:
1076
1047
  description: |-
@@ -1095,11 +1066,9 @@ objects:
1095
1066
 
1096
1067
  E.g.
1097
1068
  dd-ee,dd-ee
1098
- range: "[text]"
1099
1069
  securityCode:
1100
1070
  type: string
1101
1071
  description: Security code 2
1102
- range: "[text]"
1103
1072
  command: setCommands
1104
1073
  M0015:
1105
1074
  description: |-
@@ -1119,7 +1088,6 @@ objects:
1119
1088
  securityCode:
1120
1089
  type: string
1121
1090
  description: Security code 2
1122
- range: "[text]"
1123
1091
  command: setOffset
1124
1092
  M0016:
1125
1093
  description: |-
@@ -1149,11 +1117,9 @@ objects:
1149
1117
 
1150
1118
  E.g.
1151
1119
  d-t,d-t
1152
- range: "[text]"
1153
1120
  securityCode:
1154
1121
  type: string
1155
1122
  description: Security code 2
1156
- range: "[text]"
1157
1123
  command: setWeekTable
1158
1124
  M0017:
1159
1125
  description: |-
@@ -1184,11 +1150,9 @@ objects:
1184
1150
 
1185
1151
  E.g.
1186
1152
  t-o-h-m,t-o-h-m
1187
- range: "[text]"
1188
1153
  securityCode:
1189
1154
  type: string
1190
1155
  description: Security code 2
1191
- range: "[text]"
1192
1156
  command: setTimeTable
1193
1157
  M0018:
1194
1158
  description: |-
@@ -1208,7 +1172,6 @@ objects:
1208
1172
  securityCode:
1209
1173
  type: string
1210
1174
  description: Security code 2
1211
- range: "[text]"
1212
1175
  command: setCycleTime
1213
1176
  M0019:
1214
1177
  description: |-
@@ -1225,7 +1188,6 @@ objects:
1225
1188
  securityCode:
1226
1189
  type: string
1227
1190
  description: Security code 2
1228
- range: "[text]"
1229
1191
  input:
1230
1192
  type: integer
1231
1193
  description: Number of Input
@@ -1251,7 +1213,6 @@ objects:
1251
1213
  securityCode:
1252
1214
  type: string
1253
1215
  description: Security code 2
1254
- range: "[text]"
1255
1216
  output:
1256
1217
  type: integer
1257
1218
  description: Number of Output
@@ -1275,11 +1236,9 @@ objects:
1275
1236
  Loop detector trigger level sensitivity is written as dd-ss where:
1276
1237
  dd=loop detector number
1277
1238
  ss=sensitivity value
1278
- range: "[text]"
1279
1239
  securityCode:
1280
1240
  type: string
1281
1241
  description: Security code 2
1282
- range: "[text]"
1283
1242
  command: setLevel
1284
1243
  M0103:
1285
1244
  description: |-
@@ -1295,11 +1254,9 @@ objects:
1295
1254
  oldSecurityCode:
1296
1255
  type: string
1297
1256
  description: Previous security code
1298
- range: "[text]"
1299
1257
  newSecurityCode:
1300
1258
  type: string
1301
1259
  description: New security code
1302
- range: "[text]"
1303
1260
  command: setSecurityCode
1304
1261
  M0104:
1305
1262
  description: |-
@@ -1310,7 +1267,6 @@ objects:
1310
1267
  securityCode:
1311
1268
  type: string
1312
1269
  description: Security code 1
1313
- range: "[text]"
1314
1270
  year:
1315
1271
  type: integer
1316
1272
  description: |-
@@ -1460,7 +1416,6 @@ objects:
1460
1416
  securityCode:
1461
1417
  type: string
1462
1418
  description: Security code 2
1463
- range: "[text]"
1464
1419
  command: setStart
1465
1420
  M0011:
1466
1421
  description: |-
@@ -1477,7 +1432,6 @@ objects:
1477
1432
  securityCode:
1478
1433
  type: string
1479
1434
  description: Security code 2
1480
- range: "[text]"
1481
1435
  command: setStop
1482
1436
  Detector logic:
1483
1437
  description:
@@ -1651,7 +1605,6 @@ objects:
1651
1605
  securityCode:
1652
1606
  type: string
1653
1607
  description: Security code 2
1654
- range: "[text]"
1655
1608
  mode:
1656
1609
  type: boolean
1657
1610
  description: |-