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
  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
  M0019:
625
611
  description: |-
@@ -636,7 +622,6 @@ objects:
636
622
  securityCode:
637
623
  type: string
638
624
  description: Security code 2
639
- range: "[text]"
640
625
  input:
641
626
  type: integer
642
627
  description: Number of Input
@@ -661,11 +646,9 @@ objects:
661
646
  oldSecurityCode:
662
647
  type: string
663
648
  description: Previous security code
664
- range: "[text]"
665
649
  newSecurityCode:
666
650
  type: string
667
651
  description: New security code
668
- range: "[text]"
669
652
  command: setSecurityCode
670
653
  M0104:
671
654
  description: |-
@@ -676,7 +659,6 @@ objects:
676
659
  securityCode:
677
660
  type: string
678
661
  description: Security code 1
679
- range: "[text]"
680
662
  year:
681
663
  type: integer
682
664
  description: |-
@@ -826,7 +808,6 @@ objects:
826
808
  securityCode:
827
809
  type: string
828
810
  description: Security code 2
829
- range: "[text]"
830
811
  command: setStart
831
812
  M0011:
832
813
  description: |-
@@ -843,7 +824,6 @@ objects:
843
824
  securityCode:
844
825
  type: string
845
826
  description: Security code 2
846
- range: "[text]"
847
827
  command: setStop
848
828
  Detector logic:
849
829
  description:
@@ -1017,7 +997,6 @@ objects:
1017
997
  securityCode:
1018
998
  type: string
1019
999
  description: Security code 2
1020
- range: "[text]"
1021
1000
  mode:
1022
1001
  type: boolean
1023
1002
  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
  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
  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: |-
@@ -0,0 +1,111 @@
1
+ {
2
+ "allOf" : [
3
+ {
4
+ "description" : "Serious detector error (hardware).\nIs a “major fault” defined according to 3.8 i EN12675 which causes the controller to switch to a “failure mode” according to 3.6 in EN12675.",
5
+ "properties" : {
6
+ "n" : {
7
+ "enum" : [
8
+ "detector",
9
+ "errormode",
10
+ "manual",
11
+ "type"
12
+ ]
13
+ }
14
+ }
15
+ },
16
+ {
17
+ "if" : {
18
+ "required" : [
19
+ "n"
20
+ ],
21
+ "properties" : {
22
+ "n" : {
23
+ "const" : "detector"
24
+ }
25
+ }
26
+ },
27
+ "then" : {
28
+ "properties" : {
29
+ "v" : {
30
+ "description" : "Designation of the detector (hardware)",
31
+ "type" : "string"
32
+ }
33
+ }
34
+ }
35
+ },
36
+ {
37
+ "if" : {
38
+ "required" : [
39
+ "n"
40
+ ],
41
+ "properties" : {
42
+ "n" : {
43
+ "const" : "type"
44
+ }
45
+ }
46
+ },
47
+ "then" : {
48
+ "properties" : {
49
+ "v" : {
50
+ "description" : "Type of detector.",
51
+ "type" : "string",
52
+ "enum" : [
53
+ "input",
54
+ "loop"
55
+ ]
56
+ }
57
+ }
58
+ }
59
+ },
60
+ {
61
+ "if" : {
62
+ "required" : [
63
+ "n"
64
+ ],
65
+ "properties" : {
66
+ "n" : {
67
+ "const" : "errormode"
68
+ }
69
+ }
70
+ },
71
+ "then" : {
72
+ "properties" : {
73
+ "v" : {
74
+ "description" : "Detector forced on/off while detector error",
75
+ "type" : "string",
76
+ "enum" : [
77
+ "off",
78
+ "on"
79
+ ]
80
+ }
81
+ }
82
+ }
83
+ },
84
+ {
85
+ "if" : {
86
+ "required" : [
87
+ "n"
88
+ ],
89
+ "properties" : {
90
+ "n" : {
91
+ "const" : "manual"
92
+ }
93
+ }
94
+ },
95
+ "then" : {
96
+ "properties" : {
97
+ "v" : {
98
+ "allOf" : [
99
+ {
100
+ "description" : "Manually controlled detector logic (True/False)"
101
+ },
102
+ {
103
+ "$ref" : "../../../core/3.1.1/definitions.json#/boolean"
104
+ }
105
+ ]
106
+ }
107
+ }
108
+ }
109
+ }
110
+ ]
111
+ }