rsmp_schema 0.5.3 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yaml +1 -1
- data/.tool-versions +1 -1
- data/Gemfile.lock +24 -22
- data/examples/validate.rb +1 -1
- data/lib/rsmp_schema/version.rb +1 -1
- data/rsmp_schema.gemspec +5 -5
- data/schemas/tlc/1.2/statuses/S0006.json +3 -3
- data/schemas/tlc/1.2/sxl.yaml +4 -4
- data/schemas/tlc/1.2.1/alarms/A0001.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0002.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0003.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0004.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0005.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0006.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0007.json +59 -0
- data/schemas/tlc/1.2.1/alarms/A0008.json +61 -0
- data/schemas/tlc/1.2.1/alarms/A0009.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0010.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0101.json +3 -0
- data/schemas/tlc/1.2.1/alarms/A0201.json +60 -0
- data/schemas/tlc/1.2.1/alarms/A0202.json +60 -0
- data/schemas/tlc/1.2.1/alarms/A0301.json +132 -0
- data/schemas/tlc/1.2.1/alarms/A0302.json +158 -0
- data/schemas/tlc/1.2.1/alarms/A0303.json +132 -0
- data/schemas/tlc/1.2.1/alarms/A0304.json +158 -0
- data/schemas/tlc/1.2.1/alarms/alarms.json +286 -0
- data/schemas/tlc/1.2.1/commands/M0001.json +138 -0
- data/schemas/tlc/1.2.1/commands/M0002.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0003.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0004.json +85 -0
- data/schemas/tlc/1.2.1/commands/M0005.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0006.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0007.json +85 -0
- data/schemas/tlc/1.2.1/commands/M0008.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0010.json +85 -0
- data/schemas/tlc/1.2.1/commands/M0011.json +85 -0
- data/schemas/tlc/1.2.1/commands/M0012.json +79 -0
- data/schemas/tlc/1.2.1/commands/M0013.json +79 -0
- data/schemas/tlc/1.2.1/commands/M0014.json +106 -0
- data/schemas/tlc/1.2.1/commands/M0015.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0016.json +79 -0
- data/schemas/tlc/1.2.1/commands/M0017.json +79 -0
- data/schemas/tlc/1.2.1/commands/M0018.json +112 -0
- data/schemas/tlc/1.2.1/commands/M0019.json +139 -0
- data/schemas/tlc/1.2.1/commands/M0020.json +139 -0
- data/schemas/tlc/1.2.1/commands/M0021.json +79 -0
- data/schemas/tlc/1.2.1/commands/M0022.json +355 -0
- data/schemas/tlc/1.2.1/commands/M0023.json +85 -0
- data/schemas/tlc/1.2.1/commands/M0103.json +103 -0
- data/schemas/tlc/1.2.1/commands/M0104.json +220 -0
- data/schemas/tlc/1.2.1/commands/command_requests.json +7 -0
- data/schemas/tlc/1.2.1/commands/command_responses.json +7 -0
- data/schemas/tlc/1.2.1/commands/commands.json +398 -0
- data/schemas/tlc/1.2.1/rsmp.json +73 -0
- data/schemas/tlc/1.2.1/statuses/S0001.json +137 -0
- data/schemas/tlc/1.2.1/statuses/S0002.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0003.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0004.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0005.json +112 -0
- data/schemas/tlc/1.2.1/statuses/S0006.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0007.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0008.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0009.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0010.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0011.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0012.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0013.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0014.json +90 -0
- data/schemas/tlc/1.2.1/statuses/S0015.json +90 -0
- data/schemas/tlc/1.2.1/statuses/S0016.json +61 -0
- data/schemas/tlc/1.2.1/statuses/S0017.json +61 -0
- data/schemas/tlc/1.2.1/statuses/S0018.json +61 -0
- data/schemas/tlc/1.2.1/statuses/S0019.json +61 -0
- data/schemas/tlc/1.2.1/statuses/S0020.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0021.json +56 -0
- data/schemas/tlc/1.2.1/statuses/S0022.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0023.json +56 -0
- data/schemas/tlc/1.2.1/statuses/S0024.json +56 -0
- data/schemas/tlc/1.2.1/statuses/S0025.json +250 -0
- data/schemas/tlc/1.2.1/statuses/S0026.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0027.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0028.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0029.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0030.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0031.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0032.json +116 -0
- data/schemas/tlc/1.2.1/statuses/S0033.json +114 -0
- data/schemas/tlc/1.2.1/statuses/S0034.json +61 -0
- data/schemas/tlc/1.2.1/statuses/S0035.json +74 -0
- data/schemas/tlc/1.2.1/statuses/S0091.json +65 -0
- data/schemas/tlc/1.2.1/statuses/S0092.json +65 -0
- data/schemas/tlc/1.2.1/statuses/S0095.json +55 -0
- data/schemas/tlc/1.2.1/statuses/S0096.json +196 -0
- data/schemas/tlc/1.2.1/statuses/S0097.json +82 -0
- data/schemas/tlc/1.2.1/statuses/S0098.json +103 -0
- data/schemas/tlc/1.2.1/statuses/S0201.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0202.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0203.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0204.json +304 -0
- data/schemas/tlc/1.2.1/statuses/S0205.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0206.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0207.json +88 -0
- data/schemas/tlc/1.2.1/statuses/S0208.json +304 -0
- data/schemas/tlc/1.2.1/statuses/statuses.json +786 -0
- data/schemas/tlc/1.2.1/sxl.yaml +2109 -0
- metadata +110 -13
@@ -0,0 +1,85 @@
|
|
1
|
+
{
|
2
|
+
"description" : "Restarts Traffic Light Controller.\nUsed in the event of serious faults in the device where a restart is considered to be able to remedy a problem.\nRequires security code 2",
|
3
|
+
"allOf" : [
|
4
|
+
{
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"securityCode",
|
9
|
+
"status"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"cO" : {
|
13
|
+
"const" : "setRestart"
|
14
|
+
}
|
15
|
+
}
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"if" : {
|
19
|
+
"required" : [
|
20
|
+
"q"
|
21
|
+
],
|
22
|
+
"properties" : {
|
23
|
+
"q" : {
|
24
|
+
"const" : "undefined"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"then" : {
|
29
|
+
"s" : {
|
30
|
+
"type" : "null"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"else" : {
|
34
|
+
"allOf" : [
|
35
|
+
{
|
36
|
+
"if" : {
|
37
|
+
"required" : [
|
38
|
+
"n"
|
39
|
+
],
|
40
|
+
"properties" : {
|
41
|
+
"n" : {
|
42
|
+
"const" : "status"
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"then" : {
|
47
|
+
"properties" : {
|
48
|
+
"v" : {
|
49
|
+
"allOf" : [
|
50
|
+
{
|
51
|
+
"description" : "True: Restart controller"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
55
|
+
}
|
56
|
+
]
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"if" : {
|
63
|
+
"required" : [
|
64
|
+
"n"
|
65
|
+
],
|
66
|
+
"properties" : {
|
67
|
+
"n" : {
|
68
|
+
"const" : "securityCode"
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"then" : {
|
73
|
+
"properties" : {
|
74
|
+
"v" : {
|
75
|
+
"description" : "Security code 2",
|
76
|
+
"type" : "string"
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
]
|
82
|
+
}
|
83
|
+
}
|
84
|
+
]
|
85
|
+
}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
{
|
2
|
+
"description" : "Activate emergency route.\nThe function is made for emergency prioritization. Works in the same way as the M0006 and M0008 where the traffic light controller responds to an input.\nShould be used in situations where full priority is given in the emergency vehicle program.\nRequires security code 2.",
|
3
|
+
"allOf" : [
|
4
|
+
{
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"emergencyroute",
|
9
|
+
"securityCode",
|
10
|
+
"status"
|
11
|
+
]
|
12
|
+
},
|
13
|
+
"cO" : {
|
14
|
+
"const" : "setEmergency"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"if" : {
|
20
|
+
"required" : [
|
21
|
+
"q"
|
22
|
+
],
|
23
|
+
"properties" : {
|
24
|
+
"q" : {
|
25
|
+
"const" : "undefined"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"then" : {
|
30
|
+
"s" : {
|
31
|
+
"type" : "null"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"else" : {
|
35
|
+
"allOf" : [
|
36
|
+
{
|
37
|
+
"if" : {
|
38
|
+
"required" : [
|
39
|
+
"n"
|
40
|
+
],
|
41
|
+
"properties" : {
|
42
|
+
"n" : {
|
43
|
+
"const" : "status"
|
44
|
+
}
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"then" : {
|
48
|
+
"properties" : {
|
49
|
+
"v" : {
|
50
|
+
"allOf" : [
|
51
|
+
{
|
52
|
+
"description" : "False: Deactivate emergency route\nTrue: Activate emergency route"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
56
|
+
}
|
57
|
+
]
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"if" : {
|
64
|
+
"required" : [
|
65
|
+
"n"
|
66
|
+
],
|
67
|
+
"properties" : {
|
68
|
+
"n" : {
|
69
|
+
"const" : "securityCode"
|
70
|
+
}
|
71
|
+
}
|
72
|
+
},
|
73
|
+
"then" : {
|
74
|
+
"properties" : {
|
75
|
+
"v" : {
|
76
|
+
"description" : "Security code 2",
|
77
|
+
"type" : "string"
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"if" : {
|
84
|
+
"required" : [
|
85
|
+
"n"
|
86
|
+
],
|
87
|
+
"properties" : {
|
88
|
+
"n" : {
|
89
|
+
"const" : "emergencyroute"
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"then" : {
|
94
|
+
"properties" : {
|
95
|
+
"v" : {
|
96
|
+
"allOf" : [
|
97
|
+
{
|
98
|
+
"description" : "Number of emergency route"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/integer"
|
102
|
+
}
|
103
|
+
]
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
]
|
109
|
+
}
|
110
|
+
}
|
111
|
+
]
|
112
|
+
}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
{
|
2
|
+
"description" : "Activate input.\nSet given input (1-255) of the controllers general purpose I/O to either true or false.\nThe function can provide an input to the traffic light controller on which a predefined action can be taken.\nCan be used for all types of input where the traffic light controller must react to external control.\nTypical usages are bus priority, coordination between traffic controllers, external control systems, and much more.\nRequires security code 2.",
|
3
|
+
"allOf" : [
|
4
|
+
{
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"input",
|
9
|
+
"securityCode",
|
10
|
+
"status"
|
11
|
+
]
|
12
|
+
},
|
13
|
+
"cO" : {
|
14
|
+
"const" : "setInput"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"if" : {
|
20
|
+
"required" : [
|
21
|
+
"q"
|
22
|
+
],
|
23
|
+
"properties" : {
|
24
|
+
"q" : {
|
25
|
+
"const" : "undefined"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"then" : {
|
30
|
+
"s" : {
|
31
|
+
"type" : "null"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"else" : {
|
35
|
+
"allOf" : [
|
36
|
+
{
|
37
|
+
"if" : {
|
38
|
+
"required" : [
|
39
|
+
"n"
|
40
|
+
],
|
41
|
+
"properties" : {
|
42
|
+
"n" : {
|
43
|
+
"const" : "status"
|
44
|
+
}
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"then" : {
|
48
|
+
"properties" : {
|
49
|
+
"v" : {
|
50
|
+
"allOf" : [
|
51
|
+
{
|
52
|
+
"description" : "False: Deactivate input\nTrue: Activate input"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
56
|
+
}
|
57
|
+
]
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"if" : {
|
64
|
+
"required" : [
|
65
|
+
"n"
|
66
|
+
],
|
67
|
+
"properties" : {
|
68
|
+
"n" : {
|
69
|
+
"const" : "securityCode"
|
70
|
+
}
|
71
|
+
}
|
72
|
+
},
|
73
|
+
"then" : {
|
74
|
+
"properties" : {
|
75
|
+
"v" : {
|
76
|
+
"description" : "Security code 2",
|
77
|
+
"type" : "string"
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"if" : {
|
84
|
+
"required" : [
|
85
|
+
"n"
|
86
|
+
],
|
87
|
+
"properties" : {
|
88
|
+
"n" : {
|
89
|
+
"const" : "input"
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"then" : {
|
94
|
+
"properties" : {
|
95
|
+
"v" : {
|
96
|
+
"allOf" : [
|
97
|
+
{
|
98
|
+
"description" : "Number of Input"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/integer"
|
102
|
+
}
|
103
|
+
]
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
]
|
109
|
+
}
|
110
|
+
}
|
111
|
+
]
|
112
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
{
|
2
|
+
"description" : "Activate fixed time control.\nDeactivates the traffic actuated control using detectors and activates pre-timed control.\nCan be used in case normal detectors can't be used, e.g. during maintenance work.\nRequires security code 2.",
|
3
|
+
"allOf" : [
|
4
|
+
{
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"securityCode",
|
9
|
+
"status"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"cO" : {
|
13
|
+
"const" : "setFixedTime"
|
14
|
+
}
|
15
|
+
}
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"if" : {
|
19
|
+
"required" : [
|
20
|
+
"q"
|
21
|
+
],
|
22
|
+
"properties" : {
|
23
|
+
"q" : {
|
24
|
+
"const" : "undefined"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"then" : {
|
29
|
+
"s" : {
|
30
|
+
"type" : "null"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"else" : {
|
34
|
+
"allOf" : [
|
35
|
+
{
|
36
|
+
"if" : {
|
37
|
+
"required" : [
|
38
|
+
"n"
|
39
|
+
],
|
40
|
+
"properties" : {
|
41
|
+
"n" : {
|
42
|
+
"const" : "status"
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"then" : {
|
47
|
+
"properties" : {
|
48
|
+
"v" : {
|
49
|
+
"allOf" : [
|
50
|
+
{
|
51
|
+
"description" : "False: Deactivate fixed time control\nTrue: Activate fixed time control"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
55
|
+
}
|
56
|
+
]
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"if" : {
|
63
|
+
"required" : [
|
64
|
+
"n"
|
65
|
+
],
|
66
|
+
"properties" : {
|
67
|
+
"n" : {
|
68
|
+
"const" : "securityCode"
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"then" : {
|
73
|
+
"properties" : {
|
74
|
+
"v" : {
|
75
|
+
"description" : "Security code 2",
|
76
|
+
"type" : "string"
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
]
|
82
|
+
}
|
83
|
+
}
|
84
|
+
]
|
85
|
+
}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
{
|
2
|
+
"description" : "Sets manual activation of detector logic.\nSet given detector logic (1-255) to either true or false.\nCan e.g. be used to connect RSMP compatible detection equipment to the traffic light controller. Can also be used for prioritization.\nRequires security code 2",
|
3
|
+
"allOf" : [
|
4
|
+
{
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"mode",
|
9
|
+
"securityCode",
|
10
|
+
"status"
|
11
|
+
]
|
12
|
+
},
|
13
|
+
"cO" : {
|
14
|
+
"const" : "setForceDetectorLogic"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"if" : {
|
20
|
+
"required" : [
|
21
|
+
"q"
|
22
|
+
],
|
23
|
+
"properties" : {
|
24
|
+
"q" : {
|
25
|
+
"const" : "undefined"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"then" : {
|
30
|
+
"s" : {
|
31
|
+
"type" : "null"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"else" : {
|
35
|
+
"allOf" : [
|
36
|
+
{
|
37
|
+
"if" : {
|
38
|
+
"required" : [
|
39
|
+
"n"
|
40
|
+
],
|
41
|
+
"properties" : {
|
42
|
+
"n" : {
|
43
|
+
"const" : "status"
|
44
|
+
}
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"then" : {
|
48
|
+
"properties" : {
|
49
|
+
"v" : {
|
50
|
+
"allOf" : [
|
51
|
+
{
|
52
|
+
"description" : "False: Deactivate manual control of detector logic\nTrue: Activate manual control of detector logic"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
56
|
+
}
|
57
|
+
]
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"if" : {
|
64
|
+
"required" : [
|
65
|
+
"n"
|
66
|
+
],
|
67
|
+
"properties" : {
|
68
|
+
"n" : {
|
69
|
+
"const" : "securityCode"
|
70
|
+
}
|
71
|
+
}
|
72
|
+
},
|
73
|
+
"then" : {
|
74
|
+
"properties" : {
|
75
|
+
"v" : {
|
76
|
+
"description" : "Security code 2",
|
77
|
+
"type" : "string"
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"if" : {
|
84
|
+
"required" : [
|
85
|
+
"n"
|
86
|
+
],
|
87
|
+
"properties" : {
|
88
|
+
"n" : {
|
89
|
+
"const" : "mode"
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"then" : {
|
94
|
+
"properties" : {
|
95
|
+
"v" : {
|
96
|
+
"allOf" : [
|
97
|
+
{
|
98
|
+
"description" : "False: Deactivate detector logic\nTrue: Activate detector logic"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
102
|
+
}
|
103
|
+
]
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
]
|
109
|
+
}
|
110
|
+
}
|
111
|
+
]
|
112
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
{
|
2
|
+
"description" : "Start of signal group. Orders a signal group to green.\nAlthough this command is intended to be used with coordination it is not actually specified to be used for this yet. It is reserved in the SXL for possible future use.\nIntended for use with coordination of signaling systems where a traffic light controller communicates with neighboring controllers. Only used when a primary controller orders signal group of other controller to green or red (Coordination with external control bits).\nRequires security code 2",
|
3
|
+
"allOf" : [
|
4
|
+
{
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"securityCode",
|
9
|
+
"status"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"cO" : {
|
13
|
+
"const" : "setStart"
|
14
|
+
}
|
15
|
+
}
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"if" : {
|
19
|
+
"required" : [
|
20
|
+
"q"
|
21
|
+
],
|
22
|
+
"properties" : {
|
23
|
+
"q" : {
|
24
|
+
"const" : "undefined"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"then" : {
|
29
|
+
"s" : {
|
30
|
+
"type" : "null"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"else" : {
|
34
|
+
"allOf" : [
|
35
|
+
{
|
36
|
+
"if" : {
|
37
|
+
"required" : [
|
38
|
+
"n"
|
39
|
+
],
|
40
|
+
"properties" : {
|
41
|
+
"n" : {
|
42
|
+
"const" : "status"
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"then" : {
|
47
|
+
"properties" : {
|
48
|
+
"v" : {
|
49
|
+
"allOf" : [
|
50
|
+
{
|
51
|
+
"description" : "False: No command (default)\nTrue: Order a signal group to green"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
55
|
+
}
|
56
|
+
]
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"if" : {
|
63
|
+
"required" : [
|
64
|
+
"n"
|
65
|
+
],
|
66
|
+
"properties" : {
|
67
|
+
"n" : {
|
68
|
+
"const" : "securityCode"
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"then" : {
|
73
|
+
"properties" : {
|
74
|
+
"v" : {
|
75
|
+
"description" : "Security code 2",
|
76
|
+
"type" : "string"
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
]
|
82
|
+
}
|
83
|
+
}
|
84
|
+
]
|
85
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
{
|
2
|
+
"description" : "Stop of signal group. Orders a signal group to red.\nAlthough this command is intended to be used with coordination it is not actually specified to be used for this yet. It is reserved in the SXL for possible future use.\nIntended for use with coordination of signaling systems where a traffic light controller communicates with neighboring controllers. Only used when a primary controller orders signal group of other controller to green or red (Coordination with external control bits).\nRequires security code 2",
|
3
|
+
"allOf" : [
|
4
|
+
{
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"securityCode",
|
9
|
+
"status"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
"cO" : {
|
13
|
+
"const" : "setStop"
|
14
|
+
}
|
15
|
+
}
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"if" : {
|
19
|
+
"required" : [
|
20
|
+
"q"
|
21
|
+
],
|
22
|
+
"properties" : {
|
23
|
+
"q" : {
|
24
|
+
"const" : "undefined"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"then" : {
|
29
|
+
"s" : {
|
30
|
+
"type" : "null"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"else" : {
|
34
|
+
"allOf" : [
|
35
|
+
{
|
36
|
+
"if" : {
|
37
|
+
"required" : [
|
38
|
+
"n"
|
39
|
+
],
|
40
|
+
"properties" : {
|
41
|
+
"n" : {
|
42
|
+
"const" : "status"
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"then" : {
|
47
|
+
"properties" : {
|
48
|
+
"v" : {
|
49
|
+
"allOf" : [
|
50
|
+
{
|
51
|
+
"description" : "False: No command (default)\nTrue: Order a signal group to red"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
55
|
+
}
|
56
|
+
]
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"if" : {
|
63
|
+
"required" : [
|
64
|
+
"n"
|
65
|
+
],
|
66
|
+
"properties" : {
|
67
|
+
"n" : {
|
68
|
+
"const" : "securityCode"
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"then" : {
|
73
|
+
"properties" : {
|
74
|
+
"v" : {
|
75
|
+
"description" : "Security code 2",
|
76
|
+
"type" : "string"
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
]
|
82
|
+
}
|
83
|
+
}
|
84
|
+
]
|
85
|
+
}
|