rsmp_schema 0.1.0 → 0.1.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 (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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07e5fccae77303733072ab27976c1cb1991ea9cd1add360dbac63e8da97baf8b
4
- data.tar.gz: 364e6d5569d3fa262a96de68b80bec855d4fd3bb06c754ee47c5bcc3ea9300c4
3
+ metadata.gz: aeef79729314dc2a8440a0697560f02608622a0c46ffaa635d6ec18b7afc3a43
4
+ data.tar.gz: 04c0d1bbc1039a924ca63e70bb29bafceb0dbbc5d8a95e54d9a39686f7d34847
5
5
  SHA512:
6
- metadata.gz: d9a41e3ef2a8f1ce2ed30b701867b118fdaad9fc7f2bced0ca3637a65f242bb69735715e1d41d5bf7ea20690c2280cad7bdbd3b33ce2d0e137f218517967f3d8
7
- data.tar.gz: 9885c98876461dab7abc379206ee2617ffb6747fe96a91dec3c382d9111029b3a98ad9a389a6b2ea311db1d4d98e66ead63bf8baf5a7b020c3f520878bad4d54
6
+ metadata.gz: d8905cc3b11e5fc4aa9721e07a4b4f0de852f872af7e7dc364e9fa63e09720870bbc1e2cd3cb5efd816d35c641e128e829a2ed2b7de079084f7d3aff96b13688
7
+ data.tar.gz: efea6b4d539ba3bd686900beb2595cf72b17c890208193204fab0fe040faa671eb49ec67ba0973bc1f7077a8a1be392d6d4f4c281a57c78e633fa2eebd26653d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsmp_schema (0.1.0)
4
+ rsmp_schema (0.1.1)
5
5
  json_schemer (~> 0.2.21)
6
6
  thor (~> 1.2.1)
7
7
 
@@ -1,5 +1,5 @@
1
1
  module RSMP
2
2
  module Schema
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -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
  S0091:
403
396
  description: |-
@@ -437,7 +430,6 @@ objects:
437
430
  status:
438
431
  type: string
439
432
  description: Manufacturer, product name and version of traffic light controller
440
- range: "[text]"
441
433
  S0096:
442
434
  description: |-
443
435
  Current date and time
@@ -519,7 +511,6 @@ objects:
519
511
  securityCode:
520
512
  type: string
521
513
  description: Security code 2
522
- range: "[text]"
523
514
  timeplan:
524
515
  type: integer
525
516
  description: designation of time plan
@@ -540,7 +531,6 @@ objects:
540
531
  securityCode:
541
532
  type: string
542
533
  description: Security code 2
543
- range: "[text]"
544
534
  traficsituation:
545
535
  type: integer
546
536
  description: designation of traficsituation
@@ -558,7 +548,6 @@ objects:
558
548
  securityCode:
559
549
  type: string
560
550
  description: Security code 2
561
- range: "[text]"
562
551
  command: setRestart
563
552
  M0005:
564
553
  description: |-
@@ -575,7 +564,6 @@ objects:
575
564
  securityCode:
576
565
  type: string
577
566
  description: Security code 2
578
- range: "[text]"
579
567
  emergencyroute:
580
568
  type: integer
581
569
  description: Number of emergency route
@@ -598,7 +586,6 @@ objects:
598
586
  securityCode:
599
587
  type: string
600
588
  description: Security code 2
601
- range: "[text]"
602
589
  input:
603
590
  type: integer
604
591
  description: Number of Input
@@ -619,7 +606,6 @@ objects:
619
606
  securityCode:
620
607
  type: string
621
608
  description: Security code 2
622
- range: "[text]"
623
609
  command: setFixedTime
624
610
  M0012:
625
611
  description: |-
@@ -656,11 +642,9 @@ objects:
656
642
  "5,4143,65:22,1,4"
657
643
 
658
644
  Such a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red
659
- range: "[text]"
660
645
  securityCode:
661
646
  type: string
662
647
  description: Security code 2
663
- range: "[text]"
664
648
  command: setStart
665
649
  M0013:
666
650
  description: |-
@@ -691,11 +675,9 @@ objects:
691
675
  "5,4143:65:22,1,4"
692
676
 
693
677
  Such a message would activate input 6,7,10,17,22 and deactivate input 5,11,24
694
- range: "[text]"
695
678
  securityCode:
696
679
  type: string
697
680
  description: Security code 2
698
- range: "[text]"
699
681
  command: setInput
700
682
  M0019:
701
683
  description: |-
@@ -712,7 +694,6 @@ objects:
712
694
  securityCode:
713
695
  type: string
714
696
  description: Security code 2
715
- range: "[text]"
716
697
  input:
717
698
  type: integer
718
699
  description: Number of Input
@@ -737,11 +718,9 @@ objects:
737
718
  oldSecurityCode:
738
719
  type: string
739
720
  description: Previous security code
740
- range: "[text]"
741
721
  newSecurityCode:
742
722
  type: string
743
723
  description: New security code
744
- range: "[text]"
745
724
  command: setSecurityCode
746
725
  M0104:
747
726
  description: |-
@@ -752,7 +731,6 @@ objects:
752
731
  securityCode:
753
732
  type: string
754
733
  description: Security code 1
755
- range: "[text]"
756
734
  year:
757
735
  type: integer
758
736
  description: |-
@@ -859,7 +837,6 @@ objects:
859
837
  securityCode:
860
838
  type: string
861
839
  description: Security code 2
862
- range: "[text]"
863
840
  command: setStart
864
841
  M0011:
865
842
  description: |-
@@ -876,7 +853,6 @@ objects:
876
853
  securityCode:
877
854
  type: string
878
855
  description: Security code 2
879
- range: "[text]"
880
856
  command: setStop
881
857
  Detector logic:
882
858
  description:
@@ -1050,7 +1026,6 @@ objects:
1050
1026
  securityCode:
1051
1027
  type: string
1052
1028
  description: Security code 2
1053
- range: "[text]"
1054
1029
  mode:
1055
1030
  type: boolean
1056
1031
  description: |-
@@ -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
@@ -655,7 +640,6 @@ objects:
655
640
  securityCode:
656
641
  type: string
657
642
  description: Security code 2
658
- range: "[text]"
659
643
  timeplan:
660
644
  type: integer
661
645
  description: designation of time plan
@@ -676,7 +660,6 @@ objects:
676
660
  securityCode:
677
661
  type: string
678
662
  description: Security code 2
679
- range: "[text]"
680
663
  traficsituation:
681
664
  type: integer
682
665
  description: designation of traficsituation
@@ -694,7 +677,6 @@ objects:
694
677
  securityCode:
695
678
  type: string
696
679
  description: Security code 2
697
- range: "[text]"
698
680
  command: setRestart
699
681
  M0005:
700
682
  description: |-
@@ -711,7 +693,6 @@ objects:
711
693
  securityCode:
712
694
  type: string
713
695
  description: Security code 2
714
- range: "[text]"
715
696
  emergencyroute:
716
697
  type: integer
717
698
  description: Number of emergency route
@@ -734,7 +715,6 @@ objects:
734
715
  securityCode:
735
716
  type: string
736
717
  description: Security code 2
737
- range: "[text]"
738
718
  input:
739
719
  type: integer
740
720
  description: Number of Input
@@ -755,7 +735,6 @@ objects:
755
735
  securityCode:
756
736
  type: string
757
737
  description: Security code 2
758
- range: "[text]"
759
738
  command: setFixedTime
760
739
  M0012:
761
740
  description: |-
@@ -792,11 +771,9 @@ objects:
792
771
  "5,4143,65:22,1,4"
793
772
 
794
773
  Such a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red
795
- range: "[text]"
796
774
  securityCode:
797
775
  type: string
798
776
  description: Security code 2
799
- range: "[text]"
800
777
  command: setStart
801
778
  M0013:
802
779
  description: |-
@@ -827,11 +804,9 @@ objects:
827
804
  "5,4143:65:22,1,4"
828
805
 
829
806
  Such a message would activate input 6,7,10,17,22 and deactivate input 5,11,24
830
- range: "[text]"
831
807
  securityCode:
832
808
  type: string
833
809
  description: Security code 2
834
- range: "[text]"
835
810
  command: setInput
836
811
  M0014:
837
812
  description: |-
@@ -856,11 +831,9 @@ objects:
856
831
 
857
832
  E.g.
858
833
  dd-ee,dd-ee
859
- range: "[text]"
860
834
  securityCode:
861
835
  type: string
862
836
  description: Security code 2
863
- range: "[text]"
864
837
  command: setCommands
865
838
  M0015:
866
839
  description: |-
@@ -880,7 +853,6 @@ objects:
880
853
  securityCode:
881
854
  type: string
882
855
  description: Security code 2
883
- range: "[text]"
884
856
  command: setOffset
885
857
  M0016:
886
858
  description: |-
@@ -910,11 +882,9 @@ objects:
910
882
 
911
883
  E.g.
912
884
  d-t,d-t
913
- range: "[text]"
914
885
  securityCode:
915
886
  type: string
916
887
  description: Security code 2
917
- range: "[text]"
918
888
  command: setWeekTable
919
889
  M0017:
920
890
  description: |-
@@ -945,11 +915,9 @@ objects:
945
915
 
946
916
  E.g.
947
917
  t-o-h-m,t-o-h-m
948
- range: "[text]"
949
918
  securityCode:
950
919
  type: string
951
920
  description: Security code 2
952
- range: "[text]"
953
921
  command: setTimeTable
954
922
  M0018:
955
923
  description: |-
@@ -969,7 +937,6 @@ objects:
969
937
  securityCode:
970
938
  type: string
971
939
  description: Security code 2
972
- range: "[text]"
973
940
  command: setCycleTime
974
941
  M0019:
975
942
  description: |-
@@ -986,7 +953,6 @@ objects:
986
953
  securityCode:
987
954
  type: string
988
955
  description: Security code 2
989
- range: "[text]"
990
956
  input:
991
957
  type: integer
992
958
  description: Number of Input
@@ -1011,11 +977,9 @@ objects:
1011
977
  oldSecurityCode:
1012
978
  type: string
1013
979
  description: Previous security code
1014
- range: "[text]"
1015
980
  newSecurityCode:
1016
981
  type: string
1017
982
  description: New security code
1018
- range: "[text]"
1019
983
  command: setSecurityCode
1020
984
  M0104:
1021
985
  description: |-
@@ -1026,7 +990,6 @@ objects:
1026
990
  securityCode:
1027
991
  type: string
1028
992
  description: Security code 1
1029
- range: "[text]"
1030
993
  year:
1031
994
  type: integer
1032
995
  description: |-
@@ -1176,7 +1139,6 @@ objects:
1176
1139
  securityCode:
1177
1140
  type: string
1178
1141
  description: Security code 2
1179
- range: "[text]"
1180
1142
  command: setStart
1181
1143
  M0011:
1182
1144
  description: |-
@@ -1193,7 +1155,6 @@ objects:
1193
1155
  securityCode:
1194
1156
  type: string
1195
1157
  description: Security code 2
1196
- range: "[text]"
1197
1158
  command: setStop
1198
1159
  Detector logic:
1199
1160
  description:
@@ -1367,7 +1328,6 @@ objects:
1367
1328
  securityCode:
1368
1329
  type: string
1369
1330
  description: Security code 2
1370
- range: "[text]"
1371
1331
  mode:
1372
1332
  type: boolean
1373
1333
  description: |-