rsmp_schema 0.4.5 → 0.5
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/.github/workflows/rspec.yaml +1 -1
- data/.tool-versions +1 -0
- data/Gemfile.lock +2 -2
- data/lib/rsmp_schema/schema.rb +6 -3
- data/lib/rsmp_schema/version.rb +1 -1
- data/schemas/core/3.2/status_response.json +1 -1
- data/schemas/core/3.2.1/core.json +39 -0
- data/schemas/core/3.2.1/rsmp.json +133 -0
- data/schemas/tlc/1.2/alarms/A0001.json +3 -0
- data/schemas/tlc/1.2/alarms/A0002.json +3 -0
- data/schemas/tlc/1.2/alarms/A0003.json +3 -0
- data/schemas/tlc/1.2/alarms/A0004.json +3 -0
- data/schemas/tlc/1.2/alarms/A0005.json +3 -0
- data/schemas/tlc/1.2/alarms/A0006.json +3 -0
- data/schemas/tlc/1.2/alarms/A0007.json +59 -0
- data/schemas/tlc/1.2/alarms/A0008.json +61 -0
- data/schemas/tlc/1.2/alarms/A0009.json +3 -0
- data/schemas/tlc/1.2/alarms/A0010.json +3 -0
- data/schemas/tlc/1.2/alarms/A0101.json +3 -0
- data/schemas/tlc/1.2/alarms/A0201.json +60 -0
- data/schemas/tlc/1.2/alarms/A0202.json +60 -0
- data/schemas/tlc/1.2/alarms/A0301.json +132 -0
- data/schemas/tlc/1.2/alarms/A0302.json +158 -0
- data/schemas/tlc/1.2/alarms/A0303.json +132 -0
- data/schemas/tlc/1.2/alarms/A0304.json +158 -0
- data/schemas/tlc/1.2/alarms/alarms.json +286 -0
- data/schemas/tlc/1.2/commands/M0001.json +138 -0
- data/schemas/tlc/1.2/commands/M0002.json +112 -0
- data/schemas/tlc/1.2/commands/M0003.json +112 -0
- data/schemas/tlc/1.2/commands/M0004.json +85 -0
- data/schemas/tlc/1.2/commands/M0005.json +112 -0
- data/schemas/tlc/1.2/commands/M0006.json +112 -0
- data/schemas/tlc/1.2/commands/M0007.json +85 -0
- data/schemas/tlc/1.2/commands/M0008.json +112 -0
- data/schemas/tlc/1.2/commands/M0010.json +85 -0
- data/schemas/tlc/1.2/commands/M0011.json +85 -0
- data/schemas/tlc/1.2/commands/M0012.json +79 -0
- data/schemas/tlc/1.2/commands/M0013.json +79 -0
- data/schemas/tlc/1.2/commands/M0014.json +106 -0
- data/schemas/tlc/1.2/commands/M0015.json +112 -0
- data/schemas/tlc/1.2/commands/M0016.json +79 -0
- data/schemas/tlc/1.2/commands/M0017.json +79 -0
- data/schemas/tlc/1.2/commands/M0018.json +112 -0
- data/schemas/tlc/1.2/commands/M0019.json +139 -0
- data/schemas/tlc/1.2/commands/M0020.json +139 -0
- data/schemas/tlc/1.2/commands/M0021.json +79 -0
- data/schemas/tlc/1.2/commands/M0022.json +355 -0
- data/schemas/tlc/1.2/commands/M0023.json +85 -0
- data/schemas/tlc/1.2/commands/M0103.json +103 -0
- data/schemas/tlc/1.2/commands/M0104.json +220 -0
- data/schemas/tlc/1.2/commands/command_requests.json +7 -0
- data/schemas/tlc/1.2/commands/command_responses.json +7 -0
- data/schemas/tlc/1.2/commands/commands.json +398 -0
- data/schemas/tlc/1.2/rsmp.json +73 -0
- data/schemas/tlc/1.2/statuses/S0001.json +137 -0
- data/schemas/tlc/1.2/statuses/S0002.json +55 -0
- data/schemas/tlc/1.2/statuses/S0003.json +55 -0
- data/schemas/tlc/1.2/statuses/S0004.json +55 -0
- data/schemas/tlc/1.2/statuses/S0005.json +112 -0
- data/schemas/tlc/1.2/statuses/S0006.json +88 -0
- data/schemas/tlc/1.2/statuses/S0007.json +116 -0
- data/schemas/tlc/1.2/statuses/S0008.json +116 -0
- data/schemas/tlc/1.2/statuses/S0009.json +116 -0
- data/schemas/tlc/1.2/statuses/S0010.json +116 -0
- data/schemas/tlc/1.2/statuses/S0011.json +116 -0
- data/schemas/tlc/1.2/statuses/S0012.json +116 -0
- data/schemas/tlc/1.2/statuses/S0013.json +88 -0
- data/schemas/tlc/1.2/statuses/S0014.json +90 -0
- data/schemas/tlc/1.2/statuses/S0015.json +90 -0
- data/schemas/tlc/1.2/statuses/S0016.json +61 -0
- data/schemas/tlc/1.2/statuses/S0017.json +61 -0
- data/schemas/tlc/1.2/statuses/S0018.json +61 -0
- data/schemas/tlc/1.2/statuses/S0019.json +61 -0
- data/schemas/tlc/1.2/statuses/S0020.json +88 -0
- data/schemas/tlc/1.2/statuses/S0021.json +56 -0
- data/schemas/tlc/1.2/statuses/S0022.json +55 -0
- data/schemas/tlc/1.2/statuses/S0023.json +56 -0
- data/schemas/tlc/1.2/statuses/S0024.json +56 -0
- data/schemas/tlc/1.2/statuses/S0025.json +250 -0
- data/schemas/tlc/1.2/statuses/S0026.json +55 -0
- data/schemas/tlc/1.2/statuses/S0027.json +55 -0
- data/schemas/tlc/1.2/statuses/S0028.json +55 -0
- data/schemas/tlc/1.2/statuses/S0029.json +55 -0
- data/schemas/tlc/1.2/statuses/S0030.json +55 -0
- data/schemas/tlc/1.2/statuses/S0031.json +55 -0
- data/schemas/tlc/1.2/statuses/S0032.json +116 -0
- data/schemas/tlc/1.2/statuses/S0033.json +114 -0
- data/schemas/tlc/1.2/statuses/S0034.json +61 -0
- data/schemas/tlc/1.2/statuses/S0035.json +74 -0
- data/schemas/tlc/1.2/statuses/S0091.json +65 -0
- data/schemas/tlc/1.2/statuses/S0092.json +65 -0
- data/schemas/tlc/1.2/statuses/S0095.json +55 -0
- data/schemas/tlc/1.2/statuses/S0096.json +196 -0
- data/schemas/tlc/1.2/statuses/S0097.json +82 -0
- data/schemas/tlc/1.2/statuses/S0098.json +103 -0
- data/schemas/tlc/1.2/statuses/S0201.json +88 -0
- data/schemas/tlc/1.2/statuses/S0202.json +88 -0
- data/schemas/tlc/1.2/statuses/S0203.json +88 -0
- data/schemas/tlc/1.2/statuses/S0204.json +304 -0
- data/schemas/tlc/1.2/statuses/S0205.json +88 -0
- data/schemas/tlc/1.2/statuses/S0206.json +88 -0
- data/schemas/tlc/1.2/statuses/S0207.json +88 -0
- data/schemas/tlc/1.2/statuses/S0208.json +304 -0
- data/schemas/tlc/1.2/statuses/statuses.json +786 -0
- data/schemas/tlc/1.2/sxl.yaml +2082 -0
- metadata +102 -2
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description" : "Force input.\nForce a given input (1-255) of the controllers general purpose I/O to either True or False. Can be used for all types of input where the traffic light controller must react to external control.\nCan be used for 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
|
+
"inputValue",
|
|
10
|
+
"securityCode",
|
|
11
|
+
"status"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"cO" : {
|
|
15
|
+
"const" : "setInput"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"if" : {
|
|
21
|
+
"required" : [
|
|
22
|
+
"q"
|
|
23
|
+
],
|
|
24
|
+
"properties" : {
|
|
25
|
+
"q" : {
|
|
26
|
+
"const" : "undefined"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"then" : {
|
|
31
|
+
"s" : {
|
|
32
|
+
"type" : "null"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"else" : {
|
|
36
|
+
"allOf" : [
|
|
37
|
+
{
|
|
38
|
+
"if" : {
|
|
39
|
+
"required" : [
|
|
40
|
+
"n"
|
|
41
|
+
],
|
|
42
|
+
"properties" : {
|
|
43
|
+
"n" : {
|
|
44
|
+
"const" : "status"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"then" : {
|
|
49
|
+
"properties" : {
|
|
50
|
+
"v" : {
|
|
51
|
+
"allOf" : [
|
|
52
|
+
{
|
|
53
|
+
"description" : "False: Release input\nTrue: Force input"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"if" : {
|
|
65
|
+
"required" : [
|
|
66
|
+
"n"
|
|
67
|
+
],
|
|
68
|
+
"properties" : {
|
|
69
|
+
"n" : {
|
|
70
|
+
"const" : "securityCode"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"then" : {
|
|
75
|
+
"properties" : {
|
|
76
|
+
"v" : {
|
|
77
|
+
"description" : "Security code 2",
|
|
78
|
+
"type" : "string"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"if" : {
|
|
85
|
+
"required" : [
|
|
86
|
+
"n"
|
|
87
|
+
],
|
|
88
|
+
"properties" : {
|
|
89
|
+
"n" : {
|
|
90
|
+
"const" : "input"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"then" : {
|
|
95
|
+
"properties" : {
|
|
96
|
+
"v" : {
|
|
97
|
+
"allOf" : [
|
|
98
|
+
{
|
|
99
|
+
"description" : "Number of Input"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/integer"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"if" : {
|
|
111
|
+
"required" : [
|
|
112
|
+
"n"
|
|
113
|
+
],
|
|
114
|
+
"properties" : {
|
|
115
|
+
"n" : {
|
|
116
|
+
"const" : "inputValue"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"then" : {
|
|
121
|
+
"properties" : {
|
|
122
|
+
"v" : {
|
|
123
|
+
"allOf" : [
|
|
124
|
+
{
|
|
125
|
+
"description" : "False: input forced to False\nTrue: input forced to True"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description" : "Force output.\nForce a given output (1-255) of the controllers general purpose I/O to either True of False. Can be used for all types of output where the traffic light controller needs to control other equipment.\nCan be used for 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
|
+
"output",
|
|
9
|
+
"outputValue",
|
|
10
|
+
"securityCode",
|
|
11
|
+
"status"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"cO" : {
|
|
15
|
+
"const" : "setOutput"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"if" : {
|
|
21
|
+
"required" : [
|
|
22
|
+
"q"
|
|
23
|
+
],
|
|
24
|
+
"properties" : {
|
|
25
|
+
"q" : {
|
|
26
|
+
"const" : "undefined"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"then" : {
|
|
31
|
+
"s" : {
|
|
32
|
+
"type" : "null"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"else" : {
|
|
36
|
+
"allOf" : [
|
|
37
|
+
{
|
|
38
|
+
"if" : {
|
|
39
|
+
"required" : [
|
|
40
|
+
"n"
|
|
41
|
+
],
|
|
42
|
+
"properties" : {
|
|
43
|
+
"n" : {
|
|
44
|
+
"const" : "status"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"then" : {
|
|
49
|
+
"properties" : {
|
|
50
|
+
"v" : {
|
|
51
|
+
"allOf" : [
|
|
52
|
+
{
|
|
53
|
+
"description" : "False: Force output\nTrue: Release output"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"if" : {
|
|
65
|
+
"required" : [
|
|
66
|
+
"n"
|
|
67
|
+
],
|
|
68
|
+
"properties" : {
|
|
69
|
+
"n" : {
|
|
70
|
+
"const" : "securityCode"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"then" : {
|
|
75
|
+
"properties" : {
|
|
76
|
+
"v" : {
|
|
77
|
+
"description" : "Security code 2",
|
|
78
|
+
"type" : "string"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"if" : {
|
|
85
|
+
"required" : [
|
|
86
|
+
"n"
|
|
87
|
+
],
|
|
88
|
+
"properties" : {
|
|
89
|
+
"n" : {
|
|
90
|
+
"const" : "output"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"then" : {
|
|
95
|
+
"properties" : {
|
|
96
|
+
"v" : {
|
|
97
|
+
"allOf" : [
|
|
98
|
+
{
|
|
99
|
+
"description" : "Number of Output"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/integer"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"if" : {
|
|
111
|
+
"required" : [
|
|
112
|
+
"n"
|
|
113
|
+
],
|
|
114
|
+
"properties" : {
|
|
115
|
+
"n" : {
|
|
116
|
+
"const" : "outputValue"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"then" : {
|
|
121
|
+
"properties" : {
|
|
122
|
+
"v" : {
|
|
123
|
+
"allOf" : [
|
|
124
|
+
{
|
|
125
|
+
"description" : "False: output forced to False\nTrue: output forced to True"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"$ref" : "../../../core/3.1.2/definitions.json#/boolean"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description" : "Set trigger level sensitivity for loop detector.\nThe trigger level sensitivity determines at what level a loop detector should trigger. If it set too low then then traffic will not be detected as intended. If it is set too high the detector might give false positives.\nThis command provides the ability to fine tune loop detectors to make sure they detect traffic as intended.\nRequires security code 2",
|
|
3
|
+
"allOf" : [
|
|
4
|
+
{
|
|
5
|
+
"properties" : {
|
|
6
|
+
"n" : {
|
|
7
|
+
"enum" : [
|
|
8
|
+
"securityCode",
|
|
9
|
+
"status"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"cO" : {
|
|
13
|
+
"const" : "setLevel"
|
|
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
|
+
"description" : "Loop detector trigger level sensitivity is written as dd-ss where:\ndd=loop detector number\nss=sensitivity value",
|
|
50
|
+
"type" : "string"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"if" : {
|
|
57
|
+
"required" : [
|
|
58
|
+
"n"
|
|
59
|
+
],
|
|
60
|
+
"properties" : {
|
|
61
|
+
"n" : {
|
|
62
|
+
"const" : "securityCode"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"then" : {
|
|
67
|
+
"properties" : {
|
|
68
|
+
"v" : {
|
|
69
|
+
"description" : "Security code 2",
|
|
70
|
+
"type" : "string"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|