rsmp 0.43.2 → 0.45.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 (222) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rubocop.yaml +1 -1
  3. data/.github/workflows/sus.yaml +1 -1
  4. data/.gitignore +0 -1
  5. data/CHANGELOG.md +12 -1
  6. data/Gemfile +0 -2
  7. data/Gemfile.lock +10 -88
  8. data/README.md +30 -35
  9. data/Rakefile +2 -2
  10. data/config/supervisor.yaml +2 -1
  11. data/config/tlc.yaml +2 -2
  12. data/documentation/configuration.md +12 -11
  13. data/documentation/message_distribution.md +1 -2
  14. data/documentation/tasks.md +1 -2
  15. data/exe/rsmp +1 -2
  16. data/lib/rsmp/cli.rb +62 -8
  17. data/lib/rsmp/component/component.rb +0 -4
  18. data/lib/rsmp/component/component_base.rb +15 -2
  19. data/lib/rsmp/component/component_proxy.rb +1 -1
  20. data/lib/rsmp/component/components.rb +22 -1
  21. data/lib/rsmp/convert/export/json_schema/outputs.rb +19 -0
  22. data/lib/rsmp/convert/export/json_schema/values.rb +7 -5
  23. data/lib/rsmp/convert/export/json_schema.rb +15 -3
  24. data/lib/rsmp/helpers/deep_merge.rb +2 -2
  25. data/lib/rsmp/message.rb +32 -0
  26. data/lib/rsmp/node/site/site.rb +34 -10
  27. data/lib/rsmp/node/supervisor/modules/configuration.rb +32 -5
  28. data/lib/rsmp/node/supervisor/modules/connection.rb +0 -2
  29. data/lib/rsmp/node/supervisor/supervisor.rb +0 -7
  30. data/lib/rsmp/options/options.rb +55 -6
  31. data/lib/rsmp/options/schemas/site.json +6 -3
  32. data/lib/rsmp/options/schemas/supervisor.json +5 -2
  33. data/lib/rsmp/options/schemas/supervisor_site.json +5 -2
  34. data/lib/rsmp/options/site_options.rb +3 -2
  35. data/lib/rsmp/options/supervisor_options.rb +3 -1
  36. data/lib/rsmp/proxy/modules/acknowledgements.rb +2 -0
  37. data/lib/rsmp/proxy/modules/receive.rb +5 -2
  38. data/lib/rsmp/proxy/modules/state.rb +1 -0
  39. data/lib/rsmp/proxy/modules/versions.rb +90 -15
  40. data/lib/rsmp/proxy/proxy.rb +52 -3
  41. data/lib/rsmp/proxy/site/modules/status.rb +5 -3
  42. data/lib/rsmp/proxy/site/site_proxy.rb +68 -35
  43. data/lib/rsmp/proxy/site/sxl_selection.rb +54 -0
  44. data/lib/rsmp/proxy/supervisor/supervisor_proxy.rb +54 -18
  45. data/lib/rsmp/schema/core_sxl_resolution.rb +69 -0
  46. data/lib/rsmp/schema/message_resolution.rb +104 -0
  47. data/lib/rsmp/schema/validation.rb +57 -0
  48. data/lib/rsmp/schema.rb +87 -32
  49. data/lib/rsmp/schema_error.rb +7 -1
  50. data/lib/rsmp/sxl/interface.rb +48 -0
  51. data/lib/rsmp/sxl/registry.rb +55 -0
  52. data/lib/rsmp/sxl/site_interface.rb +10 -0
  53. data/lib/rsmp/sxl/supervisor_interface.rb +21 -0
  54. data/lib/rsmp/tlc/detector_logic.rb +2 -2
  55. data/lib/rsmp/tlc/signal_group.rb +2 -2
  56. data/lib/rsmp/tlc/site_interface.rb +10 -0
  57. data/lib/rsmp/tlc/{traffic_controller_proxy.rb → supervisor_interface.rb} +19 -34
  58. data/lib/rsmp/tlc/traffic_controller.rb +10 -2
  59. data/lib/rsmp/tlc/traffic_controller_site.rb +4 -2
  60. data/lib/rsmp/tlc.rb +10 -0
  61. data/lib/rsmp/version.rb +1 -1
  62. data/lib/rsmp.rb +8 -1
  63. data/rsmp.gemspec +5 -5
  64. data/schemas/core/3.3.0/aggregated_status.json +25 -0
  65. data/schemas/core/3.3.0/aggregated_status_request.json +9 -0
  66. data/schemas/core/3.3.0/alarm.json +71 -0
  67. data/schemas/core/3.3.0/alarm_acknowledge.json +11 -0
  68. data/schemas/core/3.3.0/alarm_issue.json +44 -0
  69. data/schemas/core/3.3.0/alarm_request.json +3 -0
  70. data/schemas/core/3.3.0/alarm_suspend_resume.json +3 -0
  71. data/schemas/core/3.3.0/alarm_suspended_resumed.json +44 -0
  72. data/schemas/core/3.3.0/command_request.json +24 -0
  73. data/schemas/core/3.3.0/command_response.json +35 -0
  74. data/schemas/core/3.3.0/component_list.json +24 -0
  75. data/schemas/core/3.3.0/core.json +40 -0
  76. data/schemas/core/3.3.0/definitions.json +133 -0
  77. data/schemas/core/3.3.0/message_ack.json +11 -0
  78. data/schemas/core/3.3.0/message_not_ack.json +15 -0
  79. data/schemas/core/3.3.0/rsmp.json +142 -0
  80. data/schemas/core/3.3.0/status.json +21 -0
  81. data/schemas/core/3.3.0/status_request.json +5 -0
  82. data/schemas/core/3.3.0/status_response.json +41 -0
  83. data/schemas/core/3.3.0/status_subscribe.json +31 -0
  84. data/schemas/core/3.3.0/status_unsubscribe.json +5 -0
  85. data/schemas/core/3.3.0/status_update.json +41 -0
  86. data/schemas/core/3.3.0/version.json +144 -0
  87. data/schemas/core/3.3.0/watchdog.json +9 -0
  88. data/schemas/tlc/1.0.10/rsmp.json +2 -1
  89. data/schemas/tlc/1.0.10/sxl.yaml +1 -0
  90. data/schemas/tlc/1.0.10/sxl_index.json +356 -0
  91. data/schemas/tlc/1.0.13/rsmp.json +2 -1
  92. data/schemas/tlc/1.0.13/sxl.yaml +1 -0
  93. data/schemas/tlc/1.0.13/sxl_index.json +436 -0
  94. data/schemas/tlc/1.0.14/rsmp.json +2 -1
  95. data/schemas/tlc/1.0.14/sxl.yaml +1 -0
  96. data/schemas/tlc/1.0.14/sxl_index.json +468 -0
  97. data/schemas/tlc/1.0.15/rsmp.json +2 -1
  98. data/schemas/tlc/1.0.15/sxl.yaml +1 -0
  99. data/schemas/tlc/1.0.15/sxl_index.json +508 -0
  100. data/schemas/tlc/1.0.7/rsmp.json +2 -1
  101. data/schemas/tlc/1.0.7/sxl.yaml +1 -0
  102. data/schemas/tlc/1.0.7/sxl_index.json +356 -0
  103. data/schemas/tlc/1.0.8/rsmp.json +2 -1
  104. data/schemas/tlc/1.0.8/sxl.yaml +1 -0
  105. data/schemas/tlc/1.0.8/sxl_index.json +356 -0
  106. data/schemas/tlc/1.0.9/rsmp.json +2 -1
  107. data/schemas/tlc/1.0.9/sxl.yaml +1 -0
  108. data/schemas/tlc/1.0.9/sxl_index.json +356 -0
  109. data/schemas/tlc/1.1.0/rsmp.json +2 -1
  110. data/schemas/tlc/1.1.0/sxl.yaml +1 -0
  111. data/schemas/tlc/1.1.0/sxl_index.json +572 -0
  112. data/schemas/tlc/1.2.0/rsmp.json +2 -1
  113. data/schemas/tlc/1.2.0/sxl.yaml +1 -0
  114. data/schemas/tlc/1.2.0/sxl_index.json +571 -0
  115. data/schemas/tlc/1.2.1/rsmp.json +2 -1
  116. data/schemas/tlc/1.2.1/sxl.yaml +1 -0
  117. data/schemas/tlc/1.2.1/sxl_index.json +571 -0
  118. data/schemas/tlc/1.3.0/alarms/A0001.json +4 -0
  119. data/schemas/tlc/1.3.0/alarms/A0002.json +4 -0
  120. data/schemas/tlc/1.3.0/alarms/A0003.json +4 -0
  121. data/schemas/tlc/1.3.0/alarms/A0004.json +4 -0
  122. data/schemas/tlc/1.3.0/alarms/A0005.json +4 -0
  123. data/schemas/tlc/1.3.0/alarms/A0006.json +4 -0
  124. data/schemas/tlc/1.3.0/alarms/A0007.json +34 -0
  125. data/schemas/tlc/1.3.0/alarms/A0008.json +30 -0
  126. data/schemas/tlc/1.3.0/alarms/A0009.json +4 -0
  127. data/schemas/tlc/1.3.0/alarms/A0010.json +4 -0
  128. data/schemas/tlc/1.3.0/alarms/A0101.json +4 -0
  129. data/schemas/tlc/1.3.0/alarms/A0201.json +35 -0
  130. data/schemas/tlc/1.3.0/alarms/A0202.json +35 -0
  131. data/schemas/tlc/1.3.0/alarms/A0301.json +92 -0
  132. data/schemas/tlc/1.3.0/alarms/A0302.json +115 -0
  133. data/schemas/tlc/1.3.0/alarms/A0303.json +92 -0
  134. data/schemas/tlc/1.3.0/alarms/A0304.json +115 -0
  135. data/schemas/tlc/1.3.0/alarms/alarms.json +287 -0
  136. data/schemas/tlc/1.3.0/commands/M0001.json +92 -0
  137. data/schemas/tlc/1.3.0/commands/M0002.json +69 -0
  138. data/schemas/tlc/1.3.0/commands/M0003.json +69 -0
  139. data/schemas/tlc/1.3.0/commands/M0004.json +51 -0
  140. data/schemas/tlc/1.3.0/commands/M0005.json +69 -0
  141. data/schemas/tlc/1.3.0/commands/M0006.json +69 -0
  142. data/schemas/tlc/1.3.0/commands/M0007.json +51 -0
  143. data/schemas/tlc/1.3.0/commands/M0008.json +87 -0
  144. data/schemas/tlc/1.3.0/commands/M0010.json +51 -0
  145. data/schemas/tlc/1.3.0/commands/M0011.json +51 -0
  146. data/schemas/tlc/1.3.0/commands/M0012.json +51 -0
  147. data/schemas/tlc/1.3.0/commands/M0013.json +51 -0
  148. data/schemas/tlc/1.3.0/commands/M0014.json +69 -0
  149. data/schemas/tlc/1.3.0/commands/M0015.json +69 -0
  150. data/schemas/tlc/1.3.0/commands/M0016.json +51 -0
  151. data/schemas/tlc/1.3.0/commands/M0017.json +51 -0
  152. data/schemas/tlc/1.3.0/commands/M0018.json +69 -0
  153. data/schemas/tlc/1.3.0/commands/M0019.json +87 -0
  154. data/schemas/tlc/1.3.0/commands/M0020.json +87 -0
  155. data/schemas/tlc/1.3.0/commands/M0021.json +51 -0
  156. data/schemas/tlc/1.3.0/commands/M0022.json +249 -0
  157. data/schemas/tlc/1.3.0/commands/M0023.json +51 -0
  158. data/schemas/tlc/1.3.0/commands/M0024.json +33 -0
  159. data/schemas/tlc/1.3.0/commands/M0103.json +72 -0
  160. data/schemas/tlc/1.3.0/commands/M0104.json +141 -0
  161. data/schemas/tlc/1.3.0/commands/command_requests.json +8 -0
  162. data/schemas/tlc/1.3.0/commands/command_responses.json +8 -0
  163. data/schemas/tlc/1.3.0/commands/commands.json +415 -0
  164. data/schemas/tlc/1.3.0/defs/definitions.json +133 -0
  165. data/schemas/tlc/1.3.0/defs/guards.json +24 -0
  166. data/schemas/tlc/1.3.0/rsmp.json +75 -0
  167. data/schemas/tlc/1.3.0/statuses/S0001.json +109 -0
  168. data/schemas/tlc/1.3.0/statuses/S0002.json +36 -0
  169. data/schemas/tlc/1.3.0/statuses/S0003.json +36 -0
  170. data/schemas/tlc/1.3.0/statuses/S0004.json +36 -0
  171. data/schemas/tlc/1.3.0/statuses/S0005.json +72 -0
  172. data/schemas/tlc/1.3.0/statuses/S0006.json +54 -0
  173. data/schemas/tlc/1.3.0/statuses/S0007.json +73 -0
  174. data/schemas/tlc/1.3.0/statuses/S0008.json +73 -0
  175. data/schemas/tlc/1.3.0/statuses/S0009.json +73 -0
  176. data/schemas/tlc/1.3.0/statuses/S0010.json +73 -0
  177. data/schemas/tlc/1.3.0/statuses/S0011.json +73 -0
  178. data/schemas/tlc/1.3.0/statuses/S0012.json +73 -0
  179. data/schemas/tlc/1.3.0/statuses/S0013.json +54 -0
  180. data/schemas/tlc/1.3.0/statuses/S0014.json +55 -0
  181. data/schemas/tlc/1.3.0/statuses/S0015.json +55 -0
  182. data/schemas/tlc/1.3.0/statuses/S0016.json +36 -0
  183. data/schemas/tlc/1.3.0/statuses/S0017.json +36 -0
  184. data/schemas/tlc/1.3.0/statuses/S0018.json +61 -0
  185. data/schemas/tlc/1.3.0/statuses/S0019.json +36 -0
  186. data/schemas/tlc/1.3.0/statuses/S0020.json +54 -0
  187. data/schemas/tlc/1.3.0/statuses/S0021.json +37 -0
  188. data/schemas/tlc/1.3.0/statuses/S0022.json +36 -0
  189. data/schemas/tlc/1.3.0/statuses/S0023.json +37 -0
  190. data/schemas/tlc/1.3.0/statuses/S0024.json +37 -0
  191. data/schemas/tlc/1.3.0/statuses/S0025.json +162 -0
  192. data/schemas/tlc/1.3.0/statuses/S0026.json +36 -0
  193. data/schemas/tlc/1.3.0/statuses/S0027.json +36 -0
  194. data/schemas/tlc/1.3.0/statuses/S0028.json +36 -0
  195. data/schemas/tlc/1.3.0/statuses/S0029.json +36 -0
  196. data/schemas/tlc/1.3.0/statuses/S0030.json +36 -0
  197. data/schemas/tlc/1.3.0/statuses/S0031.json +36 -0
  198. data/schemas/tlc/1.3.0/statuses/S0032.json +73 -0
  199. data/schemas/tlc/1.3.0/statuses/S0033.json +77 -0
  200. data/schemas/tlc/1.3.0/statuses/S0034.json +36 -0
  201. data/schemas/tlc/1.3.0/statuses/S0035.json +49 -0
  202. data/schemas/tlc/1.3.0/statuses/S0091.json +40 -0
  203. data/schemas/tlc/1.3.0/statuses/S0092.json +40 -0
  204. data/schemas/tlc/1.3.0/statuses/S0095.json +36 -0
  205. data/schemas/tlc/1.3.0/statuses/S0096.json +126 -0
  206. data/schemas/tlc/1.3.0/statuses/S0097.json +54 -0
  207. data/schemas/tlc/1.3.0/statuses/S0098.json +72 -0
  208. data/schemas/tlc/1.3.0/statuses/S0201.json +54 -0
  209. data/schemas/tlc/1.3.0/statuses/S0202.json +54 -0
  210. data/schemas/tlc/1.3.0/statuses/S0203.json +54 -0
  211. data/schemas/tlc/1.3.0/statuses/S0204.json +198 -0
  212. data/schemas/tlc/1.3.0/statuses/S0205.json +54 -0
  213. data/schemas/tlc/1.3.0/statuses/S0206.json +54 -0
  214. data/schemas/tlc/1.3.0/statuses/S0207.json +54 -0
  215. data/schemas/tlc/1.3.0/statuses/S0208.json +198 -0
  216. data/schemas/tlc/1.3.0/statuses/statuses.json +787 -0
  217. data/schemas/tlc/1.3.0/sxl.yaml +2297 -0
  218. data/schemas/tlc/1.3.0/sxl_index.json +578 -0
  219. metadata +157 -15
  220. data/.github/copilot-instructions.md +0 -33
  221. data/.rspec +0 -1
  222. data/cucumber.yml +0 -1
@@ -0,0 +1,571 @@
1
+ {
2
+ "meta" : {
3
+ "name" : "tlc",
4
+ "description" : "Traffic Light Controllers",
5
+ "version" : "1.2.1",
6
+ "minimum_core_version" : "3.2.0"
7
+ },
8
+ "statuses" : {
9
+ "S0001" : {
10
+ "arguments" : [
11
+ "basecyclecounter",
12
+ "cyclecounter",
13
+ "signalgroupstatus",
14
+ "stage"
15
+ ]
16
+ },
17
+ "S0002" : {
18
+ "arguments" : [
19
+ "detectorlogicstatus"
20
+ ]
21
+ },
22
+ "S0003" : {
23
+ "arguments" : [
24
+ "inputstatus"
25
+ ]
26
+ },
27
+ "S0004" : {
28
+ "arguments" : [
29
+ "outputstatus"
30
+ ]
31
+ },
32
+ "S0005" : {
33
+ "arguments" : [
34
+ "status",
35
+ "statusByIntersection"
36
+ ]
37
+ },
38
+ "S0006" : {
39
+ "arguments" : [
40
+ "emergencystage",
41
+ "status"
42
+ ]
43
+ },
44
+ "S0007" : {
45
+ "arguments" : [
46
+ "intersection",
47
+ "source",
48
+ "status"
49
+ ]
50
+ },
51
+ "S0008" : {
52
+ "arguments" : [
53
+ "intersection",
54
+ "source",
55
+ "status"
56
+ ]
57
+ },
58
+ "S0009" : {
59
+ "arguments" : [
60
+ "intersection",
61
+ "source",
62
+ "status"
63
+ ]
64
+ },
65
+ "S0010" : {
66
+ "arguments" : [
67
+ "intersection",
68
+ "source",
69
+ "status"
70
+ ]
71
+ },
72
+ "S0011" : {
73
+ "arguments" : [
74
+ "intersection",
75
+ "source",
76
+ "status"
77
+ ]
78
+ },
79
+ "S0012" : {
80
+ "arguments" : [
81
+ "intersection",
82
+ "source",
83
+ "status"
84
+ ]
85
+ },
86
+ "S0013" : {
87
+ "arguments" : [
88
+ "intersection",
89
+ "status"
90
+ ]
91
+ },
92
+ "S0014" : {
93
+ "arguments" : [
94
+ "source",
95
+ "status"
96
+ ]
97
+ },
98
+ "S0015" : {
99
+ "arguments" : [
100
+ "source",
101
+ "status"
102
+ ]
103
+ },
104
+ "S0016" : {
105
+ "arguments" : [
106
+ "number"
107
+ ]
108
+ },
109
+ "S0017" : {
110
+ "arguments" : [
111
+ "number"
112
+ ]
113
+ },
114
+ "S0019" : {
115
+ "arguments" : [
116
+ "number"
117
+ ]
118
+ },
119
+ "S0020" : {
120
+ "arguments" : [
121
+ "controlmode",
122
+ "intersection"
123
+ ]
124
+ },
125
+ "S0021" : {
126
+ "arguments" : [
127
+ "detectorlogics"
128
+ ]
129
+ },
130
+ "S0022" : {
131
+ "arguments" : [
132
+ "status"
133
+ ]
134
+ },
135
+ "S0023" : {
136
+ "arguments" : [
137
+ "status"
138
+ ]
139
+ },
140
+ "S0024" : {
141
+ "arguments" : [
142
+ "status"
143
+ ]
144
+ },
145
+ "S0025" : {
146
+ "arguments" : [
147
+ "ToGConfidence",
148
+ "ToRConfidence",
149
+ "likelyToGEstimate",
150
+ "likelyToREstimate",
151
+ "maxToGEstimate",
152
+ "maxToREstimate",
153
+ "minToGEstimate",
154
+ "minToREstimate"
155
+ ]
156
+ },
157
+ "S0026" : {
158
+ "arguments" : [
159
+ "status"
160
+ ]
161
+ },
162
+ "S0027" : {
163
+ "arguments" : [
164
+ "status"
165
+ ]
166
+ },
167
+ "S0028" : {
168
+ "arguments" : [
169
+ "status"
170
+ ]
171
+ },
172
+ "S0029" : {
173
+ "arguments" : [
174
+ "status"
175
+ ]
176
+ },
177
+ "S0030" : {
178
+ "arguments" : [
179
+ "status"
180
+ ]
181
+ },
182
+ "S0031" : {
183
+ "arguments" : [
184
+ "status"
185
+ ]
186
+ },
187
+ "S0032" : {
188
+ "arguments" : [
189
+ "intersection",
190
+ "source",
191
+ "status"
192
+ ]
193
+ },
194
+ "S0033" : {
195
+ "arguments" : [
196
+ "status"
197
+ ]
198
+ },
199
+ "S0034" : {
200
+ "arguments" : [
201
+ "status"
202
+ ]
203
+ },
204
+ "S0035" : {
205
+ "arguments" : [
206
+ "emergencyroutes"
207
+ ]
208
+ },
209
+ "S0091" : {
210
+ "arguments" : [
211
+ "user"
212
+ ]
213
+ },
214
+ "S0092" : {
215
+ "arguments" : [
216
+ "user"
217
+ ]
218
+ },
219
+ "S0095" : {
220
+ "arguments" : [
221
+ "status"
222
+ ]
223
+ },
224
+ "S0096" : {
225
+ "arguments" : [
226
+ "day",
227
+ "hour",
228
+ "minute",
229
+ "month",
230
+ "second",
231
+ "year"
232
+ ]
233
+ },
234
+ "S0097" : {
235
+ "arguments" : [
236
+ "checksum",
237
+ "timestamp"
238
+ ]
239
+ },
240
+ "S0098" : {
241
+ "arguments" : [
242
+ "config",
243
+ "timestamp",
244
+ "version"
245
+ ]
246
+ },
247
+ "S0201" : {
248
+ "arguments" : [
249
+ "starttime",
250
+ "vehicles"
251
+ ]
252
+ },
253
+ "S0202" : {
254
+ "arguments" : [
255
+ "speed",
256
+ "starttime"
257
+ ]
258
+ },
259
+ "S0203" : {
260
+ "arguments" : [
261
+ "occupancy",
262
+ "starttime"
263
+ ]
264
+ },
265
+ "S0204" : {
266
+ "arguments" : [
267
+ "B",
268
+ "C",
269
+ "F",
270
+ "L",
271
+ "LS",
272
+ "MC",
273
+ "P",
274
+ "PS",
275
+ "SP",
276
+ "starttime"
277
+ ]
278
+ },
279
+ "S0205" : {
280
+ "arguments" : [
281
+ "start",
282
+ "vehicles"
283
+ ]
284
+ },
285
+ "S0206" : {
286
+ "arguments" : [
287
+ "speed",
288
+ "start"
289
+ ]
290
+ },
291
+ "S0207" : {
292
+ "arguments" : [
293
+ "occupancy",
294
+ "start"
295
+ ]
296
+ },
297
+ "S0208" : {
298
+ "arguments" : [
299
+ "B",
300
+ "C",
301
+ "F",
302
+ "L",
303
+ "LS",
304
+ "MC",
305
+ "P",
306
+ "PS",
307
+ "SP",
308
+ "start"
309
+ ]
310
+ }
311
+ },
312
+ "commands" : {
313
+ "M0001" : {
314
+ "arguments" : [
315
+ "intersection",
316
+ "securityCode",
317
+ "status",
318
+ "timeout"
319
+ ]
320
+ },
321
+ "M0002" : {
322
+ "arguments" : [
323
+ "securityCode",
324
+ "status",
325
+ "timeplan"
326
+ ]
327
+ },
328
+ "M0003" : {
329
+ "arguments" : [
330
+ "securityCode",
331
+ "status",
332
+ "traficsituation"
333
+ ]
334
+ },
335
+ "M0004" : {
336
+ "arguments" : [
337
+ "securityCode",
338
+ "status"
339
+ ]
340
+ },
341
+ "M0005" : {
342
+ "arguments" : [
343
+ "emergencyroute",
344
+ "securityCode",
345
+ "status"
346
+ ]
347
+ },
348
+ "M0006" : {
349
+ "arguments" : [
350
+ "input",
351
+ "securityCode",
352
+ "status"
353
+ ]
354
+ },
355
+ "M0007" : {
356
+ "arguments" : [
357
+ "securityCode",
358
+ "status"
359
+ ]
360
+ },
361
+ "M0008" : {
362
+ "arguments" : [
363
+ "mode",
364
+ "securityCode",
365
+ "status"
366
+ ]
367
+ },
368
+ "M0010" : {
369
+ "arguments" : [
370
+ "securityCode",
371
+ "status"
372
+ ]
373
+ },
374
+ "M0011" : {
375
+ "arguments" : [
376
+ "securityCode",
377
+ "status"
378
+ ]
379
+ },
380
+ "M0012" : {
381
+ "arguments" : [
382
+ "securityCode",
383
+ "status"
384
+ ]
385
+ },
386
+ "M0013" : {
387
+ "arguments" : [
388
+ "securityCode",
389
+ "status"
390
+ ]
391
+ },
392
+ "M0014" : {
393
+ "arguments" : [
394
+ "plan",
395
+ "securityCode",
396
+ "status"
397
+ ]
398
+ },
399
+ "M0015" : {
400
+ "arguments" : [
401
+ "plan",
402
+ "securityCode",
403
+ "status"
404
+ ]
405
+ },
406
+ "M0016" : {
407
+ "arguments" : [
408
+ "securityCode",
409
+ "status"
410
+ ]
411
+ },
412
+ "M0017" : {
413
+ "arguments" : [
414
+ "securityCode",
415
+ "status"
416
+ ]
417
+ },
418
+ "M0018" : {
419
+ "arguments" : [
420
+ "plan",
421
+ "securityCode",
422
+ "status"
423
+ ]
424
+ },
425
+ "M0019" : {
426
+ "arguments" : [
427
+ "input",
428
+ "inputValue",
429
+ "securityCode",
430
+ "status"
431
+ ]
432
+ },
433
+ "M0020" : {
434
+ "arguments" : [
435
+ "output",
436
+ "outputValue",
437
+ "securityCode",
438
+ "status"
439
+ ]
440
+ },
441
+ "M0021" : {
442
+ "arguments" : [
443
+ "securityCode",
444
+ "status"
445
+ ]
446
+ },
447
+ "M0022" : {
448
+ "arguments" : [
449
+ "approachId",
450
+ "connectionId",
451
+ "eta",
452
+ "inputId",
453
+ "laneInId",
454
+ "laneOutId",
455
+ "level",
456
+ "priorityId",
457
+ "requestId",
458
+ "signalGroupId",
459
+ "type",
460
+ "vehicleType"
461
+ ]
462
+ },
463
+ "M0023" : {
464
+ "arguments" : [
465
+ "securityCode",
466
+ "status"
467
+ ]
468
+ },
469
+ "M0103" : {
470
+ "arguments" : [
471
+ "newSecurityCode",
472
+ "oldSecurityCode",
473
+ "status"
474
+ ]
475
+ },
476
+ "M0104" : {
477
+ "arguments" : [
478
+ "day",
479
+ "hour",
480
+ "minute",
481
+ "month",
482
+ "second",
483
+ "securityCode",
484
+ "year"
485
+ ]
486
+ }
487
+ },
488
+ "alarms" : {
489
+ "A0001" : {
490
+ "arguments" : []
491
+ },
492
+ "A0002" : {
493
+ "arguments" : []
494
+ },
495
+ "A0003" : {
496
+ "arguments" : []
497
+ },
498
+ "A0004" : {
499
+ "arguments" : []
500
+ },
501
+ "A0005" : {
502
+ "arguments" : []
503
+ },
504
+ "A0006" : {
505
+ "arguments" : []
506
+ },
507
+ "A0007" : {
508
+ "arguments" : [
509
+ "protocol"
510
+ ]
511
+ },
512
+ "A0008" : {
513
+ "arguments" : [
514
+ "timeplan"
515
+ ]
516
+ },
517
+ "A0009" : {
518
+ "arguments" : []
519
+ },
520
+ "A0010" : {
521
+ "arguments" : []
522
+ },
523
+ "A0101" : {
524
+ "arguments" : []
525
+ },
526
+ "A0201" : {
527
+ "arguments" : [
528
+ "color"
529
+ ]
530
+ },
531
+ "A0202" : {
532
+ "arguments" : [
533
+ "color"
534
+ ]
535
+ },
536
+ "A0301" : {
537
+ "arguments" : [
538
+ "detector",
539
+ "errormode",
540
+ "manual",
541
+ "type"
542
+ ]
543
+ },
544
+ "A0302" : {
545
+ "arguments" : [
546
+ "detector",
547
+ "errormode",
548
+ "logicerror",
549
+ "manual",
550
+ "type"
551
+ ]
552
+ },
553
+ "A0303" : {
554
+ "arguments" : [
555
+ "detector",
556
+ "errormode",
557
+ "manual",
558
+ "type"
559
+ ]
560
+ },
561
+ "A0304" : {
562
+ "arguments" : [
563
+ "detector",
564
+ "errormode",
565
+ "logicerror",
566
+ "manual",
567
+ "type"
568
+ ]
569
+ }
570
+ }
571
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Serious hardware error.\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Less serious hardware error.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Serious configuration error.\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Less serious configuration error.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Synchronisation error (coordination).\nIs a \"minor fault\" defined according to 3.11 in EN12675."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Safety error\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675."
4
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Communication error.\nUsed for communication errors with the central system. Includes NTP connection loss if the TLC is configured to use NTP.\nIs a \"minor fault\" defined according to 3.11 in EN12675.",
4
+ "properties" : {
5
+ "n" : {
6
+ "enum" : [
7
+ "protocol"
8
+ ]
9
+ }
10
+ },
11
+ "allOf" : [
12
+ {
13
+ "if" : {
14
+ "properties" : {
15
+ "n" : {
16
+ "const" : "protocol"
17
+ }
18
+ }
19
+ },
20
+ "then" : {
21
+ "properties" : {
22
+ "v" : {
23
+ "description" : "Type of communication error, e.g. NTP or RSMP",
24
+ "type" : "string",
25
+ "enum" : [
26
+ "ntp",
27
+ "rsmp"
28
+ ]
29
+ }
30
+ }
31
+ }
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Dead lock error.\nUsed for dead lock errors.\nFor instance; a signal group has requested green but is unable to switch due to a conflicting signal group for an extended period of time. At some point the request times out and the controller goes into failure mode. The cause for this error is due to configuration errors or external sources.\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675.",
4
+ "properties" : {
5
+ "n" : {
6
+ "enum" : [
7
+ "timeplan"
8
+ ]
9
+ }
10
+ },
11
+ "allOf" : [
12
+ {
13
+ "if" : {
14
+ "properties" : {
15
+ "n" : {
16
+ "const" : "timeplan"
17
+ }
18
+ }
19
+ },
20
+ "then" : {
21
+ "properties" : {
22
+ "v" : {
23
+ "description" : "Current time plan",
24
+ "type" : "string"
25
+ }
26
+ }
27
+ }
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Other error.\nUsed for other errors not covered by any other alarm type.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Door open.\nUsed for open door (room or cabinet)."
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
+ "description" : "Pushbutton error.\nUsed for push buttons."
4
+ }