rsmp 0.47.0 → 0.48.0

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 (426) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/copilot-setup-steps.yml +1 -1
  3. data/.github/workflows/rubocop.yaml +1 -1
  4. data/.github/workflows/sus.yaml +1 -1
  5. data/CHANGELOG.md +10 -0
  6. data/Gemfile.lock +5 -5
  7. data/README.md +3 -1
  8. data/documentation/cli.md +225 -0
  9. data/documentation/configuration.md +57 -0
  10. data/lib/rsmp/cli/configuration.rb +30 -0
  11. data/lib/rsmp/cli.rb +18 -45
  12. data/lib/rsmp/collect/command_matcher.rb +13 -4
  13. data/lib/rsmp/collect/status_matcher.rb +14 -4
  14. data/lib/rsmp/command_list.rb +1 -1
  15. data/lib/rsmp/convert/export/json_schema/index.rb +64 -0
  16. data/lib/rsmp/convert/export/json_schema/items.rb +9 -1
  17. data/lib/rsmp/convert/export/json_schema/outputs.rb +65 -25
  18. data/lib/rsmp/convert/export/json_schema/values.rb +40 -11
  19. data/lib/rsmp/convert/export/json_schema.rb +3 -1
  20. data/lib/rsmp/message/sxl_codec.rb +194 -0
  21. data/lib/rsmp/message.rb +2 -0
  22. data/lib/rsmp/node/site/connections.rb +80 -0
  23. data/lib/rsmp/node/site/site.rb +21 -35
  24. data/lib/rsmp/node/supervisor/supervisor.rb +42 -0
  25. data/lib/rsmp/options/schemas/site.json +3 -0
  26. data/lib/rsmp/options/schemas/supervisor.json +1 -0
  27. data/lib/rsmp/options/site_options.rb +30 -21
  28. data/lib/rsmp/options/supervisor_options.rb +1 -0
  29. data/lib/rsmp/proxy/modules/receive.rb +3 -1
  30. data/lib/rsmp/proxy/modules/send.rb +26 -14
  31. data/lib/rsmp/proxy/proxy.rb +17 -0
  32. data/lib/rsmp/proxy/site/connection.rb +79 -0
  33. data/lib/rsmp/proxy/site/modules/commands.rb +24 -1
  34. data/lib/rsmp/proxy/site/site_proxy.rb +6 -15
  35. data/lib/rsmp/proxy/supervisor/modules/commands.rb +55 -0
  36. data/lib/rsmp/proxy/supervisor/modules/status.rb +13 -104
  37. data/lib/rsmp/proxy/supervisor/modules/status_updates.rb +148 -0
  38. data/lib/rsmp/proxy/supervisor/supervisor_proxy.rb +19 -0
  39. data/lib/rsmp/schema.rb +38 -1
  40. data/lib/rsmp/tlc/detector_logic.rb +2 -2
  41. data/lib/rsmp/tlc/modules/helpers.rb +0 -22
  42. data/lib/rsmp/tlc/modules/inputs.rb +4 -3
  43. data/lib/rsmp/tlc/modules/modes.rb +2 -2
  44. data/lib/rsmp/tlc/modules/plans.rb +7 -3
  45. data/lib/rsmp/tlc/modules/system.rb +1 -1
  46. data/lib/rsmp/tlc/proxy/control.rb +19 -19
  47. data/lib/rsmp/tlc/proxy/detectors.rb +3 -3
  48. data/lib/rsmp/tlc/proxy/io.rb +15 -12
  49. data/lib/rsmp/tlc/proxy/plans.rb +14 -14
  50. data/lib/rsmp/tlc/proxy/status.rb +9 -5
  51. data/lib/rsmp/tlc/proxy/system.rb +12 -6
  52. data/lib/rsmp/tlc/signal_group.rb +2 -2
  53. data/lib/rsmp/tlc/supervisor_interface.rb +42 -0
  54. data/lib/rsmp/tlc/traffic_controller_site.rb +1 -18
  55. data/lib/rsmp/version.rb +1 -1
  56. data/lib/rsmp.rb +4 -0
  57. data/schemas/core/3.1.4/command_response.json +11 -0
  58. data/schemas/core/3.1.5/command_response.json +11 -0
  59. data/schemas/core/3.2.0/command_response.json +11 -0
  60. data/schemas/core/3.2.1/command_response.json +11 -0
  61. data/schemas/core/3.2.2/command_response.json +11 -0
  62. data/schemas/core/3.3.0/command_response.json +11 -0
  63. data/schemas/tlc/1.0.10/alarms/A0008.json +21 -15
  64. data/schemas/tlc/1.0.10/alarms/A0201.json +26 -20
  65. data/schemas/tlc/1.0.10/alarms/A0202.json +26 -20
  66. data/schemas/tlc/1.0.10/alarms/A0301.json +69 -63
  67. data/schemas/tlc/1.0.10/alarms/A0302.json +87 -81
  68. data/schemas/tlc/1.0.10/commands/M0001.json +66 -60
  69. data/schemas/tlc/1.0.10/commands/M0002.json +48 -42
  70. data/schemas/tlc/1.0.10/commands/M0003.json +48 -42
  71. data/schemas/tlc/1.0.10/commands/M0004.json +35 -29
  72. data/schemas/tlc/1.0.10/commands/M0005.json +48 -42
  73. data/schemas/tlc/1.0.10/commands/M0006.json +48 -42
  74. data/schemas/tlc/1.0.10/commands/M0007.json +35 -29
  75. data/schemas/tlc/1.0.10/commands/M0008.json +48 -42
  76. data/schemas/tlc/1.0.10/commands/M0010.json +35 -29
  77. data/schemas/tlc/1.0.10/commands/M0011.json +35 -29
  78. data/schemas/tlc/1.0.10/commands/M0012.json +35 -29
  79. data/schemas/tlc/1.0.10/commands/M0013.json +35 -29
  80. data/schemas/tlc/1.0.10/commands/M0019.json +61 -55
  81. data/schemas/tlc/1.0.10/commands/M0103.json +51 -45
  82. data/schemas/tlc/1.0.10/commands/M0104.json +100 -94
  83. data/schemas/tlc/1.0.10/commands/command_requests.json +995 -1
  84. data/schemas/tlc/1.0.10/defs/guards.json +19 -0
  85. data/schemas/tlc/1.0.10/sxl.yaml +56 -56
  86. data/schemas/tlc/1.0.10/sxl_index.json +226 -244
  87. data/schemas/tlc/1.0.13/alarms/A0008.json +21 -15
  88. data/schemas/tlc/1.0.13/alarms/A0201.json +26 -20
  89. data/schemas/tlc/1.0.13/alarms/A0202.json +26 -20
  90. data/schemas/tlc/1.0.13/alarms/A0301.json +69 -63
  91. data/schemas/tlc/1.0.13/alarms/A0302.json +87 -81
  92. data/schemas/tlc/1.0.13/commands/M0001.json +66 -60
  93. data/schemas/tlc/1.0.13/commands/M0002.json +48 -42
  94. data/schemas/tlc/1.0.13/commands/M0003.json +48 -42
  95. data/schemas/tlc/1.0.13/commands/M0004.json +35 -29
  96. data/schemas/tlc/1.0.13/commands/M0005.json +48 -42
  97. data/schemas/tlc/1.0.13/commands/M0006.json +48 -42
  98. data/schemas/tlc/1.0.13/commands/M0007.json +35 -29
  99. data/schemas/tlc/1.0.13/commands/M0008.json +48 -42
  100. data/schemas/tlc/1.0.13/commands/M0010.json +35 -29
  101. data/schemas/tlc/1.0.13/commands/M0011.json +35 -29
  102. data/schemas/tlc/1.0.13/commands/M0012.json +35 -29
  103. data/schemas/tlc/1.0.13/commands/M0013.json +35 -29
  104. data/schemas/tlc/1.0.13/commands/M0014.json +48 -42
  105. data/schemas/tlc/1.0.13/commands/M0015.json +48 -42
  106. data/schemas/tlc/1.0.13/commands/M0016.json +35 -29
  107. data/schemas/tlc/1.0.13/commands/M0017.json +35 -29
  108. data/schemas/tlc/1.0.13/commands/M0018.json +48 -42
  109. data/schemas/tlc/1.0.13/commands/M0019.json +61 -55
  110. data/schemas/tlc/1.0.13/commands/M0103.json +51 -45
  111. data/schemas/tlc/1.0.13/commands/M0104.json +100 -94
  112. data/schemas/tlc/1.0.13/commands/command_requests.json +1293 -1
  113. data/schemas/tlc/1.0.13/defs/guards.json +19 -0
  114. data/schemas/tlc/1.0.13/sxl.yaml +63 -63
  115. data/schemas/tlc/1.0.13/sxl_index.json +280 -298
  116. data/schemas/tlc/1.0.14/alarms/A0008.json +21 -15
  117. data/schemas/tlc/1.0.14/alarms/A0201.json +26 -20
  118. data/schemas/tlc/1.0.14/alarms/A0202.json +26 -20
  119. data/schemas/tlc/1.0.14/alarms/A0301.json +69 -63
  120. data/schemas/tlc/1.0.14/alarms/A0302.json +87 -81
  121. data/schemas/tlc/1.0.14/commands/M0001.json +66 -60
  122. data/schemas/tlc/1.0.14/commands/M0002.json +48 -42
  123. data/schemas/tlc/1.0.14/commands/M0003.json +48 -42
  124. data/schemas/tlc/1.0.14/commands/M0004.json +35 -29
  125. data/schemas/tlc/1.0.14/commands/M0005.json +48 -42
  126. data/schemas/tlc/1.0.14/commands/M0006.json +48 -42
  127. data/schemas/tlc/1.0.14/commands/M0007.json +35 -29
  128. data/schemas/tlc/1.0.14/commands/M0008.json +48 -42
  129. data/schemas/tlc/1.0.14/commands/M0010.json +35 -29
  130. data/schemas/tlc/1.0.14/commands/M0011.json +35 -29
  131. data/schemas/tlc/1.0.14/commands/M0012.json +35 -29
  132. data/schemas/tlc/1.0.14/commands/M0013.json +35 -29
  133. data/schemas/tlc/1.0.14/commands/M0014.json +48 -42
  134. data/schemas/tlc/1.0.14/commands/M0015.json +48 -42
  135. data/schemas/tlc/1.0.14/commands/M0016.json +35 -29
  136. data/schemas/tlc/1.0.14/commands/M0017.json +35 -29
  137. data/schemas/tlc/1.0.14/commands/M0018.json +48 -42
  138. data/schemas/tlc/1.0.14/commands/M0019.json +61 -55
  139. data/schemas/tlc/1.0.14/commands/M0103.json +51 -45
  140. data/schemas/tlc/1.0.14/commands/M0104.json +100 -94
  141. data/schemas/tlc/1.0.14/commands/command_requests.json +1293 -1
  142. data/schemas/tlc/1.0.14/defs/guards.json +19 -0
  143. data/schemas/tlc/1.0.14/sxl.yaml +63 -63
  144. data/schemas/tlc/1.0.14/sxl_index.json +304 -322
  145. data/schemas/tlc/1.0.15/alarms/A0008.json +21 -15
  146. data/schemas/tlc/1.0.15/alarms/A0201.json +26 -20
  147. data/schemas/tlc/1.0.15/alarms/A0202.json +26 -20
  148. data/schemas/tlc/1.0.15/alarms/A0301.json +69 -63
  149. data/schemas/tlc/1.0.15/alarms/A0302.json +87 -81
  150. data/schemas/tlc/1.0.15/commands/M0001.json +66 -60
  151. data/schemas/tlc/1.0.15/commands/M0002.json +48 -42
  152. data/schemas/tlc/1.0.15/commands/M0003.json +48 -42
  153. data/schemas/tlc/1.0.15/commands/M0004.json +35 -29
  154. data/schemas/tlc/1.0.15/commands/M0005.json +48 -42
  155. data/schemas/tlc/1.0.15/commands/M0006.json +48 -42
  156. data/schemas/tlc/1.0.15/commands/M0007.json +35 -29
  157. data/schemas/tlc/1.0.15/commands/M0008.json +48 -42
  158. data/schemas/tlc/1.0.15/commands/M0010.json +35 -29
  159. data/schemas/tlc/1.0.15/commands/M0011.json +35 -29
  160. data/schemas/tlc/1.0.15/commands/M0012.json +35 -29
  161. data/schemas/tlc/1.0.15/commands/M0013.json +35 -29
  162. data/schemas/tlc/1.0.15/commands/M0014.json +48 -42
  163. data/schemas/tlc/1.0.15/commands/M0015.json +48 -42
  164. data/schemas/tlc/1.0.15/commands/M0016.json +35 -29
  165. data/schemas/tlc/1.0.15/commands/M0017.json +35 -29
  166. data/schemas/tlc/1.0.15/commands/M0018.json +48 -42
  167. data/schemas/tlc/1.0.15/commands/M0019.json +61 -55
  168. data/schemas/tlc/1.0.15/commands/M0020.json +61 -55
  169. data/schemas/tlc/1.0.15/commands/M0021.json +35 -29
  170. data/schemas/tlc/1.0.15/commands/M0103.json +51 -45
  171. data/schemas/tlc/1.0.15/commands/M0104.json +100 -94
  172. data/schemas/tlc/1.0.15/commands/command_requests.json +1425 -1
  173. data/schemas/tlc/1.0.15/defs/guards.json +19 -0
  174. data/schemas/tlc/1.0.15/sxl.yaml +66 -66
  175. data/schemas/tlc/1.0.15/sxl_index.json +330 -350
  176. data/schemas/tlc/1.0.7/alarms/A0008.json +21 -15
  177. data/schemas/tlc/1.0.7/alarms/A0201.json +26 -20
  178. data/schemas/tlc/1.0.7/alarms/A0202.json +26 -20
  179. data/schemas/tlc/1.0.7/alarms/A0301.json +69 -63
  180. data/schemas/tlc/1.0.7/alarms/A0302.json +87 -81
  181. data/schemas/tlc/1.0.7/commands/M0001.json +66 -60
  182. data/schemas/tlc/1.0.7/commands/M0002.json +48 -42
  183. data/schemas/tlc/1.0.7/commands/M0003.json +48 -42
  184. data/schemas/tlc/1.0.7/commands/M0004.json +35 -29
  185. data/schemas/tlc/1.0.7/commands/M0005.json +48 -42
  186. data/schemas/tlc/1.0.7/commands/M0006.json +48 -42
  187. data/schemas/tlc/1.0.7/commands/M0007.json +35 -29
  188. data/schemas/tlc/1.0.7/commands/M0008.json +48 -42
  189. data/schemas/tlc/1.0.7/commands/M0010.json +35 -29
  190. data/schemas/tlc/1.0.7/commands/M0011.json +35 -29
  191. data/schemas/tlc/1.0.7/commands/M0019.json +61 -55
  192. data/schemas/tlc/1.0.7/commands/M0103.json +51 -45
  193. data/schemas/tlc/1.0.7/commands/M0104.json +100 -94
  194. data/schemas/tlc/1.0.7/commands/command_requests.json +895 -1
  195. data/schemas/tlc/1.0.7/defs/guards.json +19 -0
  196. data/schemas/tlc/1.0.7/sxl.yaml +58 -58
  197. data/schemas/tlc/1.0.7/sxl_index.json +228 -246
  198. data/schemas/tlc/1.0.8/alarms/A0008.json +21 -15
  199. data/schemas/tlc/1.0.8/alarms/A0201.json +26 -20
  200. data/schemas/tlc/1.0.8/alarms/A0202.json +26 -20
  201. data/schemas/tlc/1.0.8/alarms/A0301.json +69 -63
  202. data/schemas/tlc/1.0.8/alarms/A0302.json +87 -81
  203. data/schemas/tlc/1.0.8/commands/M0001.json +66 -60
  204. data/schemas/tlc/1.0.8/commands/M0002.json +48 -42
  205. data/schemas/tlc/1.0.8/commands/M0003.json +48 -42
  206. data/schemas/tlc/1.0.8/commands/M0004.json +35 -29
  207. data/schemas/tlc/1.0.8/commands/M0005.json +48 -42
  208. data/schemas/tlc/1.0.8/commands/M0006.json +48 -42
  209. data/schemas/tlc/1.0.8/commands/M0007.json +35 -29
  210. data/schemas/tlc/1.0.8/commands/M0008.json +48 -42
  211. data/schemas/tlc/1.0.8/commands/M0010.json +35 -29
  212. data/schemas/tlc/1.0.8/commands/M0011.json +35 -29
  213. data/schemas/tlc/1.0.8/commands/M0012.json +35 -29
  214. data/schemas/tlc/1.0.8/commands/M0013.json +35 -29
  215. data/schemas/tlc/1.0.8/commands/M0019.json +61 -55
  216. data/schemas/tlc/1.0.8/commands/M0103.json +51 -45
  217. data/schemas/tlc/1.0.8/commands/M0104.json +100 -94
  218. data/schemas/tlc/1.0.8/commands/command_requests.json +995 -1
  219. data/schemas/tlc/1.0.8/defs/guards.json +19 -0
  220. data/schemas/tlc/1.0.8/sxl.yaml +56 -56
  221. data/schemas/tlc/1.0.8/sxl_index.json +226 -244
  222. data/schemas/tlc/1.0.9/alarms/A0008.json +21 -15
  223. data/schemas/tlc/1.0.9/alarms/A0201.json +26 -20
  224. data/schemas/tlc/1.0.9/alarms/A0202.json +26 -20
  225. data/schemas/tlc/1.0.9/alarms/A0301.json +69 -63
  226. data/schemas/tlc/1.0.9/alarms/A0302.json +87 -81
  227. data/schemas/tlc/1.0.9/commands/M0001.json +66 -60
  228. data/schemas/tlc/1.0.9/commands/M0002.json +48 -42
  229. data/schemas/tlc/1.0.9/commands/M0003.json +48 -42
  230. data/schemas/tlc/1.0.9/commands/M0004.json +35 -29
  231. data/schemas/tlc/1.0.9/commands/M0005.json +48 -42
  232. data/schemas/tlc/1.0.9/commands/M0006.json +48 -42
  233. data/schemas/tlc/1.0.9/commands/M0007.json +35 -29
  234. data/schemas/tlc/1.0.9/commands/M0008.json +48 -42
  235. data/schemas/tlc/1.0.9/commands/M0010.json +35 -29
  236. data/schemas/tlc/1.0.9/commands/M0011.json +35 -29
  237. data/schemas/tlc/1.0.9/commands/M0012.json +35 -29
  238. data/schemas/tlc/1.0.9/commands/M0013.json +35 -29
  239. data/schemas/tlc/1.0.9/commands/M0019.json +61 -55
  240. data/schemas/tlc/1.0.9/commands/M0103.json +51 -45
  241. data/schemas/tlc/1.0.9/commands/M0104.json +100 -94
  242. data/schemas/tlc/1.0.9/commands/command_requests.json +995 -1
  243. data/schemas/tlc/1.0.9/defs/guards.json +19 -0
  244. data/schemas/tlc/1.0.9/sxl.yaml +56 -56
  245. data/schemas/tlc/1.0.9/sxl_index.json +226 -244
  246. data/schemas/tlc/1.1.0/alarms/A0007.json +25 -19
  247. data/schemas/tlc/1.1.0/alarms/A0008.json +21 -15
  248. data/schemas/tlc/1.1.0/alarms/A0201.json +26 -20
  249. data/schemas/tlc/1.1.0/alarms/A0202.json +26 -20
  250. data/schemas/tlc/1.1.0/alarms/A0301.json +69 -63
  251. data/schemas/tlc/1.1.0/alarms/A0302.json +87 -81
  252. data/schemas/tlc/1.1.0/alarms/A0303.json +69 -63
  253. data/schemas/tlc/1.1.0/alarms/A0304.json +87 -81
  254. data/schemas/tlc/1.1.0/commands/M0001.json +66 -60
  255. data/schemas/tlc/1.1.0/commands/M0002.json +48 -42
  256. data/schemas/tlc/1.1.0/commands/M0003.json +48 -42
  257. data/schemas/tlc/1.1.0/commands/M0004.json +35 -29
  258. data/schemas/tlc/1.1.0/commands/M0005.json +48 -42
  259. data/schemas/tlc/1.1.0/commands/M0006.json +48 -42
  260. data/schemas/tlc/1.1.0/commands/M0007.json +35 -29
  261. data/schemas/tlc/1.1.0/commands/M0008.json +48 -42
  262. data/schemas/tlc/1.1.0/commands/M0010.json +35 -29
  263. data/schemas/tlc/1.1.0/commands/M0011.json +35 -29
  264. data/schemas/tlc/1.1.0/commands/M0012.json +35 -29
  265. data/schemas/tlc/1.1.0/commands/M0013.json +35 -29
  266. data/schemas/tlc/1.1.0/commands/M0014.json +48 -42
  267. data/schemas/tlc/1.1.0/commands/M0015.json +48 -42
  268. data/schemas/tlc/1.1.0/commands/M0016.json +35 -29
  269. data/schemas/tlc/1.1.0/commands/M0017.json +35 -29
  270. data/schemas/tlc/1.1.0/commands/M0018.json +48 -42
  271. data/schemas/tlc/1.1.0/commands/M0019.json +61 -55
  272. data/schemas/tlc/1.1.0/commands/M0020.json +61 -55
  273. data/schemas/tlc/1.1.0/commands/M0021.json +35 -29
  274. data/schemas/tlc/1.1.0/commands/M0022.json +194 -188
  275. data/schemas/tlc/1.1.0/commands/M0023.json +35 -29
  276. data/schemas/tlc/1.1.0/commands/M0103.json +51 -45
  277. data/schemas/tlc/1.1.0/commands/M0104.json +100 -94
  278. data/schemas/tlc/1.1.0/commands/command_requests.json +1525 -1
  279. data/schemas/tlc/1.1.0/defs/guards.json +19 -0
  280. data/schemas/tlc/1.1.0/statuses/S0033.json +2 -2
  281. data/schemas/tlc/1.1.0/sxl.yaml +75 -74
  282. data/schemas/tlc/1.1.0/sxl_index.json +391 -398
  283. data/schemas/tlc/1.2.0/alarms/A0007.json +25 -19
  284. data/schemas/tlc/1.2.0/alarms/A0008.json +21 -15
  285. data/schemas/tlc/1.2.0/alarms/A0201.json +26 -20
  286. data/schemas/tlc/1.2.0/alarms/A0202.json +26 -20
  287. data/schemas/tlc/1.2.0/alarms/A0301.json +69 -63
  288. data/schemas/tlc/1.2.0/alarms/A0302.json +87 -81
  289. data/schemas/tlc/1.2.0/alarms/A0303.json +69 -63
  290. data/schemas/tlc/1.2.0/alarms/A0304.json +87 -81
  291. data/schemas/tlc/1.2.0/commands/M0001.json +66 -60
  292. data/schemas/tlc/1.2.0/commands/M0002.json +48 -42
  293. data/schemas/tlc/1.2.0/commands/M0003.json +48 -42
  294. data/schemas/tlc/1.2.0/commands/M0004.json +35 -29
  295. data/schemas/tlc/1.2.0/commands/M0005.json +48 -42
  296. data/schemas/tlc/1.2.0/commands/M0006.json +48 -42
  297. data/schemas/tlc/1.2.0/commands/M0007.json +35 -29
  298. data/schemas/tlc/1.2.0/commands/M0008.json +48 -42
  299. data/schemas/tlc/1.2.0/commands/M0010.json +35 -29
  300. data/schemas/tlc/1.2.0/commands/M0011.json +35 -29
  301. data/schemas/tlc/1.2.0/commands/M0012.json +35 -29
  302. data/schemas/tlc/1.2.0/commands/M0013.json +35 -29
  303. data/schemas/tlc/1.2.0/commands/M0014.json +48 -42
  304. data/schemas/tlc/1.2.0/commands/M0015.json +48 -42
  305. data/schemas/tlc/1.2.0/commands/M0016.json +35 -29
  306. data/schemas/tlc/1.2.0/commands/M0017.json +35 -29
  307. data/schemas/tlc/1.2.0/commands/M0018.json +48 -42
  308. data/schemas/tlc/1.2.0/commands/M0019.json +61 -55
  309. data/schemas/tlc/1.2.0/commands/M0020.json +61 -55
  310. data/schemas/tlc/1.2.0/commands/M0021.json +35 -29
  311. data/schemas/tlc/1.2.0/commands/M0022.json +194 -188
  312. data/schemas/tlc/1.2.0/commands/M0023.json +35 -29
  313. data/schemas/tlc/1.2.0/commands/M0103.json +51 -45
  314. data/schemas/tlc/1.2.0/commands/M0104.json +100 -94
  315. data/schemas/tlc/1.2.0/commands/command_requests.json +1525 -1
  316. data/schemas/tlc/1.2.0/defs/guards.json +19 -0
  317. data/schemas/tlc/1.2.0/statuses/S0033.json +2 -2
  318. data/schemas/tlc/1.2.0/sxl.yaml +77 -76
  319. data/schemas/tlc/1.2.0/sxl_index.json +401 -397
  320. data/schemas/tlc/1.2.1/alarms/A0007.json +25 -19
  321. data/schemas/tlc/1.2.1/alarms/A0008.json +21 -15
  322. data/schemas/tlc/1.2.1/alarms/A0201.json +26 -20
  323. data/schemas/tlc/1.2.1/alarms/A0202.json +26 -20
  324. data/schemas/tlc/1.2.1/alarms/A0301.json +69 -63
  325. data/schemas/tlc/1.2.1/alarms/A0302.json +87 -81
  326. data/schemas/tlc/1.2.1/alarms/A0303.json +69 -63
  327. data/schemas/tlc/1.2.1/alarms/A0304.json +87 -81
  328. data/schemas/tlc/1.2.1/commands/M0001.json +66 -60
  329. data/schemas/tlc/1.2.1/commands/M0002.json +48 -42
  330. data/schemas/tlc/1.2.1/commands/M0003.json +48 -42
  331. data/schemas/tlc/1.2.1/commands/M0004.json +35 -29
  332. data/schemas/tlc/1.2.1/commands/M0005.json +48 -42
  333. data/schemas/tlc/1.2.1/commands/M0006.json +48 -42
  334. data/schemas/tlc/1.2.1/commands/M0007.json +35 -29
  335. data/schemas/tlc/1.2.1/commands/M0008.json +48 -42
  336. data/schemas/tlc/1.2.1/commands/M0010.json +35 -29
  337. data/schemas/tlc/1.2.1/commands/M0011.json +35 -29
  338. data/schemas/tlc/1.2.1/commands/M0012.json +35 -29
  339. data/schemas/tlc/1.2.1/commands/M0013.json +35 -29
  340. data/schemas/tlc/1.2.1/commands/M0014.json +48 -42
  341. data/schemas/tlc/1.2.1/commands/M0015.json +48 -42
  342. data/schemas/tlc/1.2.1/commands/M0016.json +35 -29
  343. data/schemas/tlc/1.2.1/commands/M0017.json +35 -29
  344. data/schemas/tlc/1.2.1/commands/M0018.json +48 -42
  345. data/schemas/tlc/1.2.1/commands/M0019.json +61 -55
  346. data/schemas/tlc/1.2.1/commands/M0020.json +61 -55
  347. data/schemas/tlc/1.2.1/commands/M0021.json +35 -29
  348. data/schemas/tlc/1.2.1/commands/M0022.json +194 -188
  349. data/schemas/tlc/1.2.1/commands/M0023.json +35 -29
  350. data/schemas/tlc/1.2.1/commands/M0103.json +51 -45
  351. data/schemas/tlc/1.2.1/commands/M0104.json +100 -94
  352. data/schemas/tlc/1.2.1/commands/command_requests.json +1525 -1
  353. data/schemas/tlc/1.2.1/defs/guards.json +19 -0
  354. data/schemas/tlc/1.2.1/statuses/S0033.json +2 -2
  355. data/schemas/tlc/1.2.1/sxl.yaml +77 -76
  356. data/schemas/tlc/1.2.1/sxl_index.json +401 -397
  357. data/schemas/tlc/1.3.0/alarms/A0007.json +25 -19
  358. data/schemas/tlc/1.3.0/alarms/A0008.json +21 -15
  359. data/schemas/tlc/1.3.0/alarms/A0201.json +26 -20
  360. data/schemas/tlc/1.3.0/alarms/A0202.json +26 -20
  361. data/schemas/tlc/1.3.0/alarms/A0301.json +69 -63
  362. data/schemas/tlc/1.3.0/alarms/A0302.json +87 -81
  363. data/schemas/tlc/1.3.0/alarms/A0303.json +70 -64
  364. data/schemas/tlc/1.3.0/alarms/A0304.json +88 -82
  365. data/schemas/tlc/1.3.0/commands/M0001.json +66 -60
  366. data/schemas/tlc/1.3.0/commands/M0002.json +48 -42
  367. data/schemas/tlc/1.3.0/commands/M0003.json +48 -42
  368. data/schemas/tlc/1.3.0/commands/M0004.json +35 -29
  369. data/schemas/tlc/1.3.0/commands/M0005.json +48 -42
  370. data/schemas/tlc/1.3.0/commands/M0006.json +48 -42
  371. data/schemas/tlc/1.3.0/commands/M0007.json +35 -29
  372. data/schemas/tlc/1.3.0/commands/M0008.json +61 -55
  373. data/schemas/tlc/1.3.0/commands/M0010.json +35 -29
  374. data/schemas/tlc/1.3.0/commands/M0011.json +35 -29
  375. data/schemas/tlc/1.3.0/commands/M0012.json +35 -29
  376. data/schemas/tlc/1.3.0/commands/M0013.json +36 -30
  377. data/schemas/tlc/1.3.0/commands/M0014.json +48 -42
  378. data/schemas/tlc/1.3.0/commands/M0015.json +48 -42
  379. data/schemas/tlc/1.3.0/commands/M0016.json +35 -29
  380. data/schemas/tlc/1.3.0/commands/M0017.json +35 -29
  381. data/schemas/tlc/1.3.0/commands/M0018.json +48 -42
  382. data/schemas/tlc/1.3.0/commands/M0019.json +61 -55
  383. data/schemas/tlc/1.3.0/commands/M0020.json +61 -55
  384. data/schemas/tlc/1.3.0/commands/M0021.json +35 -29
  385. data/schemas/tlc/1.3.0/commands/M0022.json +195 -189
  386. data/schemas/tlc/1.3.0/commands/M0023.json +35 -29
  387. data/schemas/tlc/1.3.0/commands/M0024.json +21 -15
  388. data/schemas/tlc/1.3.0/commands/M0103.json +51 -45
  389. data/schemas/tlc/1.3.0/commands/M0104.json +100 -94
  390. data/schemas/tlc/1.3.0/commands/command_requests.json +1559 -1
  391. data/schemas/tlc/1.3.0/defs/guards.json +19 -0
  392. data/schemas/tlc/1.3.0/statuses/S0001.json +4 -4
  393. data/schemas/tlc/1.3.0/statuses/S0005.json +3 -3
  394. data/schemas/tlc/1.3.0/statuses/S0006.json +2 -2
  395. data/schemas/tlc/1.3.0/statuses/S0007.json +1 -1
  396. data/schemas/tlc/1.3.0/statuses/S0008.json +1 -1
  397. data/schemas/tlc/1.3.0/statuses/S0009.json +1 -1
  398. data/schemas/tlc/1.3.0/statuses/S0010.json +1 -1
  399. data/schemas/tlc/1.3.0/statuses/S0011.json +1 -1
  400. data/schemas/tlc/1.3.0/statuses/S0012.json +1 -1
  401. data/schemas/tlc/1.3.0/statuses/S0013.json +1 -1
  402. data/schemas/tlc/1.3.0/statuses/S0014.json +1 -1
  403. data/schemas/tlc/1.3.0/statuses/S0015.json +1 -1
  404. data/schemas/tlc/1.3.0/statuses/S0016.json +1 -1
  405. data/schemas/tlc/1.3.0/statuses/S0017.json +1 -1
  406. data/schemas/tlc/1.3.0/statuses/S0019.json +1 -1
  407. data/schemas/tlc/1.3.0/statuses/S0020.json +1 -1
  408. data/schemas/tlc/1.3.0/statuses/S0025.json +2 -2
  409. data/schemas/tlc/1.3.0/statuses/S0027.json +1 -1
  410. data/schemas/tlc/1.3.0/statuses/S0032.json +2 -2
  411. data/schemas/tlc/1.3.0/statuses/S0033.json +5 -5
  412. data/schemas/tlc/1.3.0/statuses/S0034.json +1 -1
  413. data/schemas/tlc/1.3.0/statuses/S0035.json +1 -1
  414. data/schemas/tlc/1.3.0/statuses/S0091.json +1 -1
  415. data/schemas/tlc/1.3.0/statuses/S0092.json +1 -1
  416. data/schemas/tlc/1.3.0/statuses/S0096.json +6 -6
  417. data/schemas/tlc/1.3.0/statuses/S0201.json +1 -1
  418. data/schemas/tlc/1.3.0/statuses/S0202.json +1 -1
  419. data/schemas/tlc/1.3.0/statuses/S0203.json +1 -1
  420. data/schemas/tlc/1.3.0/statuses/S0204.json +9 -9
  421. data/schemas/tlc/1.3.0/statuses/S0205.json +1 -1
  422. data/schemas/tlc/1.3.0/statuses/S0206.json +1 -1
  423. data/schemas/tlc/1.3.0/statuses/S0207.json +1 -1
  424. data/schemas/tlc/1.3.0/statuses/S0208.json +9 -9
  425. data/schemas/tlc/1.3.0/sxl_index.json +408 -402
  426. metadata +8 -1
@@ -7,566 +7,559 @@
7
7
  },
8
8
  "statuses" : {
9
9
  "S0001" : {
10
- "arguments" : [
11
- "basecyclecounter",
12
- "cyclecounter",
13
- "signalgroupstatus",
14
- "stage"
15
- ]
10
+ "required" : {
11
+ "basecyclecounter" : "integer_as_string",
12
+ "cyclecounter" : "integer_as_string",
13
+ "signalgroupstatus" : "string",
14
+ "stage" : "integer_as_string"
15
+ }
16
16
  },
17
17
  "S0002" : {
18
- "arguments" : [
19
- "detectorlogicstatus"
20
- ]
18
+ "required" : {
19
+ "detectorlogicstatus" : "string"
20
+ }
21
21
  },
22
22
  "S0003" : {
23
- "arguments" : [
24
- "extendedinputstatus",
25
- "inputstatus"
26
- ]
23
+ "required" : {
24
+ "extendedinputstatus" : "string",
25
+ "inputstatus" : "string"
26
+ }
27
27
  },
28
28
  "S0004" : {
29
- "arguments" : [
30
- "extendedoutputstatus",
31
- "outputstatus"
32
- ]
29
+ "required" : {
30
+ "extendedoutputstatus" : "string",
31
+ "outputstatus" : "string"
32
+ }
33
33
  },
34
34
  "S0005" : {
35
- "arguments" : [
36
- "status"
37
- ]
35
+ "required" : {
36
+ "status" : "boolean_as_string"
37
+ }
38
38
  },
39
39
  "S0006" : {
40
- "arguments" : [
41
- "emergencystage",
42
- "status"
43
- ]
40
+ "required" : {
41
+ "emergencystage" : "integer_as_string",
42
+ "status" : "boolean_as_string"
43
+ }
44
44
  },
45
45
  "S0007" : {
46
- "arguments" : [
47
- "intersection",
48
- "source",
49
- "status"
50
- ]
46
+ "required" : {
47
+ "intersection" : "integer_list",
48
+ "source" : "string_list",
49
+ "status" : "boolean_list"
50
+ }
51
51
  },
52
52
  "S0008" : {
53
- "arguments" : [
54
- "intersection",
55
- "source",
56
- "status"
57
- ]
53
+ "required" : {
54
+ "intersection" : "integer_list",
55
+ "source" : "string_list",
56
+ "status" : "boolean_list"
57
+ }
58
58
  },
59
59
  "S0009" : {
60
- "arguments" : [
61
- "intersection",
62
- "source",
63
- "status"
64
- ]
60
+ "required" : {
61
+ "intersection" : "integer_list",
62
+ "source" : "string_list",
63
+ "status" : "boolean_list"
64
+ }
65
65
  },
66
66
  "S0010" : {
67
- "arguments" : [
68
- "intersection",
69
- "source",
70
- "status"
71
- ]
67
+ "required" : {
68
+ "intersection" : "integer_list",
69
+ "source" : "string_list",
70
+ "status" : "boolean_list"
71
+ }
72
72
  },
73
73
  "S0011" : {
74
- "arguments" : [
75
- "intersection",
76
- "source",
77
- "status"
78
- ]
74
+ "required" : {
75
+ "intersection" : "integer_list",
76
+ "source" : "string_list",
77
+ "status" : "boolean_list"
78
+ }
79
79
  },
80
80
  "S0012" : {
81
- "arguments" : [
82
- "intersection",
83
- "source",
84
- "status"
85
- ]
81
+ "required" : {
82
+ "intersection" : "integer_list",
83
+ "source" : "string_list",
84
+ "status" : "boolean_list"
85
+ }
86
86
  },
87
87
  "S0013" : {
88
- "arguments" : [
89
- "intersection",
90
- "status"
91
- ]
88
+ "required" : {
89
+ "intersection" : "integer_list",
90
+ "status" : "integer_list"
91
+ }
92
92
  },
93
93
  "S0014" : {
94
- "arguments" : [
95
- "source",
96
- "status"
97
- ]
94
+ "required" : {
95
+ "source" : "string",
96
+ "status" : "integer_as_string"
97
+ }
98
98
  },
99
99
  "S0015" : {
100
- "arguments" : [
101
- "source",
102
- "status"
103
- ]
100
+ "required" : {
101
+ "source" : "string",
102
+ "status" : "integer_as_string"
103
+ }
104
104
  },
105
105
  "S0016" : {
106
- "arguments" : [
107
- "number"
108
- ]
106
+ "required" : {
107
+ "number" : "integer_as_string"
108
+ }
109
109
  },
110
110
  "S0017" : {
111
- "arguments" : [
112
- "number"
113
- ]
111
+ "required" : {
112
+ "number" : "integer_as_string"
113
+ }
114
114
  },
115
115
  "S0018" : {
116
- "arguments" : [
117
- "number"
118
- ]
116
+ "required" : {
117
+ "number" : "integer_as_string"
118
+ }
119
119
  },
120
120
  "S0019" : {
121
- "arguments" : [
122
- "number"
123
- ]
121
+ "required" : {
122
+ "number" : "integer_as_string"
123
+ }
124
124
  },
125
125
  "S0020" : {
126
- "arguments" : [
127
- "controlmode",
128
- "intersection"
129
- ]
126
+ "required" : {
127
+ "controlmode" : "string_list",
128
+ "intersection" : "integer_list"
129
+ }
130
130
  },
131
131
  "S0021" : {
132
- "arguments" : [
133
- "detectorlogics"
134
- ]
132
+ "required" : {
133
+ "detectorlogics" : "string"
134
+ }
135
135
  },
136
136
  "S0022" : {
137
- "arguments" : [
138
- "status"
139
- ]
137
+ "required" : {
138
+ "status" : "string"
139
+ }
140
140
  },
141
141
  "S0023" : {
142
- "arguments" : [
143
- "status"
144
- ]
142
+ "required" : {
143
+ "status" : "string"
144
+ }
145
145
  },
146
146
  "S0024" : {
147
- "arguments" : [
148
- "status"
149
- ]
147
+ "required" : {
148
+ "status" : "string"
149
+ }
150
150
  },
151
151
  "S0025" : {
152
- "arguments" : [
153
- "ToGConfidence",
154
- "ToRConfidence",
155
- "likelyToGEstimate",
156
- "likelyToREstimate",
157
- "maxToGEstimate",
158
- "maxToREstimate",
159
- "minToGEstimate",
160
- "minToREstimate"
161
- ]
152
+ "required" : {
153
+ "ToGConfidence" : "integer_as_string",
154
+ "ToRConfidence" : "integer_as_string",
155
+ "likelyToGEstimate" : "timestamp",
156
+ "likelyToREstimate" : "timestamp",
157
+ "maxToGEstimate" : "timestamp",
158
+ "maxToREstimate" : "timestamp",
159
+ "minToGEstimate" : "timestamp",
160
+ "minToREstimate" : "timestamp"
161
+ }
162
162
  },
163
163
  "S0026" : {
164
- "arguments" : [
165
- "status"
166
- ]
164
+ "required" : {
165
+ "status" : "string"
166
+ }
167
167
  },
168
168
  "S0027" : {
169
- "arguments" : [
170
- "status"
171
- ]
169
+ "required" : {
170
+ "status" : "string"
171
+ }
172
172
  },
173
173
  "S0028" : {
174
- "arguments" : [
175
- "status"
176
- ]
174
+ "required" : {
175
+ "status" : "string"
176
+ }
177
177
  },
178
178
  "S0029" : {
179
- "arguments" : [
180
- "status"
181
- ]
179
+ "required" : {
180
+ "status" : "string"
181
+ }
182
182
  },
183
183
  "S0030" : {
184
- "arguments" : [
185
- "status"
186
- ]
184
+ "required" : {
185
+ "status" : "string"
186
+ }
187
187
  },
188
188
  "S0031" : {
189
- "arguments" : [
190
- "status"
191
- ]
189
+ "required" : {
190
+ "status" : "string"
191
+ }
192
192
  },
193
193
  "S0032" : {
194
- "arguments" : [
195
- "intersection",
196
- "source",
197
- "status"
198
- ]
194
+ "required" : {
195
+ "intersection" : "integer_list",
196
+ "source" : "string_list",
197
+ "status" : "string_list"
198
+ }
199
199
  },
200
200
  "S0033" : {
201
- "arguments" : [
202
- "status"
203
- ]
201
+ "required" : {
202
+ "status" : {
203
+ "type" : "array",
204
+ "items" : {
205
+ "d" : "integer",
206
+ "e" : "integer",
207
+ "r" : "string",
208
+ "s" : "string",
209
+ "t" : "timestamp"
210
+ }
211
+ }
212
+ }
204
213
  },
205
214
  "S0034" : {
206
- "arguments" : [
207
- "status"
208
- ]
215
+ "required" : {
216
+ "status" : "integer_as_string"
217
+ }
209
218
  },
210
219
  "S0091" : {
211
- "arguments" : [
212
- "user"
213
- ]
220
+ "required" : {
221
+ "user" : "integer_as_string"
222
+ }
214
223
  },
215
224
  "S0092" : {
216
- "arguments" : [
217
- "user"
218
- ]
225
+ "required" : {
226
+ "user" : "integer_as_string"
227
+ }
219
228
  },
220
229
  "S0095" : {
221
- "arguments" : [
222
- "status"
223
- ]
230
+ "required" : {
231
+ "status" : "string"
232
+ }
224
233
  },
225
234
  "S0096" : {
226
- "arguments" : [
227
- "day",
228
- "hour",
229
- "minute",
230
- "month",
231
- "second",
232
- "year"
233
- ]
235
+ "required" : {
236
+ "day" : "integer_as_string",
237
+ "hour" : "integer_as_string",
238
+ "minute" : "integer_as_string",
239
+ "month" : "integer_as_string",
240
+ "second" : "integer_as_string",
241
+ "year" : "integer_as_string"
242
+ }
234
243
  },
235
244
  "S0097" : {
236
- "arguments" : [
237
- "checksum",
238
- "timestamp"
239
- ]
245
+ "required" : {
246
+ "checksum" : "string",
247
+ "timestamp" : "timestamp"
248
+ }
240
249
  },
241
250
  "S0098" : {
242
- "arguments" : [
243
- "config",
244
- "timestamp",
245
- "version"
246
- ]
251
+ "required" : {
252
+ "config" : "base64",
253
+ "timestamp" : "timestamp",
254
+ "version" : "string"
255
+ }
247
256
  },
248
257
  "S0201" : {
249
- "arguments" : [
250
- "starttime",
251
- "vehicles"
252
- ]
258
+ "required" : {
259
+ "starttime" : "timestamp",
260
+ "vehicles" : "integer_as_string"
261
+ }
253
262
  },
254
263
  "S0202" : {
255
- "arguments" : [
256
- "speed",
257
- "starttime"
258
- ]
264
+ "required" : {
265
+ "speed" : "integer_as_string",
266
+ "starttime" : "timestamp"
267
+ }
259
268
  },
260
269
  "S0203" : {
261
- "arguments" : [
262
- "occupancy",
263
- "starttime"
264
- ]
270
+ "required" : {
271
+ "occupancy" : "integer_as_string",
272
+ "starttime" : "timestamp"
273
+ }
265
274
  },
266
275
  "S0204" : {
267
- "arguments" : [
268
- "B",
269
- "C",
270
- "F",
271
- "L",
272
- "LS",
273
- "MC",
274
- "P",
275
- "PS",
276
- "SP",
277
- "starttime"
278
- ]
276
+ "required" : {
277
+ "B" : "integer_as_string",
278
+ "C" : "integer_as_string",
279
+ "F" : "integer_as_string",
280
+ "L" : "integer_as_string",
281
+ "LS" : "integer_as_string",
282
+ "MC" : "integer_as_string",
283
+ "P" : "integer_as_string",
284
+ "PS" : "integer_as_string",
285
+ "SP" : "integer_as_string",
286
+ "starttime" : "timestamp"
287
+ }
279
288
  },
280
289
  "S0205" : {
281
- "arguments" : [
282
- "start",
283
- "vehicles"
284
- ]
290
+ "required" : {
291
+ "start" : "timestamp",
292
+ "vehicles" : "integer_list"
293
+ }
285
294
  },
286
295
  "S0206" : {
287
- "arguments" : [
288
- "speed",
289
- "start"
290
- ]
296
+ "required" : {
297
+ "speed" : "integer_list",
298
+ "start" : "timestamp"
299
+ }
291
300
  },
292
301
  "S0207" : {
293
- "arguments" : [
294
- "occupancy",
295
- "start"
296
- ]
302
+ "required" : {
303
+ "occupancy" : "integer_list",
304
+ "start" : "timestamp"
305
+ }
297
306
  },
298
307
  "S0208" : {
299
- "arguments" : [
300
- "B",
301
- "C",
302
- "F",
303
- "L",
304
- "LS",
305
- "MC",
306
- "P",
307
- "PS",
308
- "SP",
309
- "start"
310
- ]
308
+ "required" : {
309
+ "B" : "integer_list",
310
+ "C" : "integer_list",
311
+ "F" : "integer_list",
312
+ "L" : "integer_list",
313
+ "LS" : "integer_list",
314
+ "MC" : "integer_list",
315
+ "P" : "integer_list",
316
+ "PS" : "integer_list",
317
+ "SP" : "integer_list",
318
+ "start" : "timestamp"
319
+ }
311
320
  }
312
321
  },
313
322
  "commands" : {
314
323
  "M0001" : {
315
- "arguments" : [
316
- "intersection",
317
- "securityCode",
318
- "status",
319
- "timeout"
320
- ]
324
+ "required" : {
325
+ "intersection" : "integer_as_string",
326
+ "securityCode" : "string",
327
+ "status" : "string",
328
+ "timeout" : "integer_as_string"
329
+ }
321
330
  },
322
331
  "M0002" : {
323
- "arguments" : [
324
- "securityCode",
325
- "status",
326
- "timeplan"
327
- ]
332
+ "required" : {
333
+ "securityCode" : "string",
334
+ "status" : "boolean_as_string",
335
+ "timeplan" : "integer_as_string"
336
+ }
328
337
  },
329
338
  "M0003" : {
330
- "arguments" : [
331
- "securityCode",
332
- "status",
333
- "traficsituation"
334
- ]
339
+ "required" : {
340
+ "securityCode" : "string",
341
+ "status" : "boolean_as_string",
342
+ "traficsituation" : "integer_as_string"
343
+ }
335
344
  },
336
345
  "M0004" : {
337
- "arguments" : [
338
- "securityCode",
339
- "status"
340
- ]
346
+ "required" : {
347
+ "securityCode" : "string",
348
+ "status" : "boolean_as_string"
349
+ }
341
350
  },
342
351
  "M0005" : {
343
- "arguments" : [
344
- "emergencyroute",
345
- "securityCode",
346
- "status"
347
- ]
352
+ "required" : {
353
+ "emergencyroute" : "integer_as_string",
354
+ "securityCode" : "string",
355
+ "status" : "boolean_as_string"
356
+ }
348
357
  },
349
358
  "M0006" : {
350
- "arguments" : [
351
- "input",
352
- "securityCode",
353
- "status"
354
- ]
359
+ "required" : {
360
+ "input" : "integer_as_string",
361
+ "securityCode" : "string",
362
+ "status" : "boolean_as_string"
363
+ }
355
364
  },
356
365
  "M0007" : {
357
- "arguments" : [
358
- "securityCode",
359
- "status"
360
- ]
366
+ "required" : {
367
+ "securityCode" : "string",
368
+ "status" : "boolean_as_string"
369
+ }
361
370
  },
362
371
  "M0008" : {
363
- "arguments" : [
364
- "mode",
365
- "securityCode",
366
- "status"
367
- ]
372
+ "required" : {
373
+ "mode" : "boolean_as_string",
374
+ "securityCode" : "string",
375
+ "status" : "boolean_as_string"
376
+ }
368
377
  },
369
378
  "M0010" : {
370
- "arguments" : [
371
- "securityCode",
372
- "status"
373
- ]
379
+ "required" : {
380
+ "securityCode" : "string",
381
+ "status" : "boolean_as_string"
382
+ }
374
383
  },
375
384
  "M0011" : {
376
- "arguments" : [
377
- "securityCode",
378
- "status"
379
- ]
385
+ "required" : {
386
+ "securityCode" : "string",
387
+ "status" : "boolean_as_string"
388
+ }
380
389
  },
381
390
  "M0012" : {
382
- "arguments" : [
383
- "securityCode",
384
- "status"
385
- ]
391
+ "required" : {
392
+ "securityCode" : "string",
393
+ "status" : "string"
394
+ }
386
395
  },
387
396
  "M0013" : {
388
- "arguments" : [
389
- "securityCode",
390
- "status"
391
- ]
397
+ "required" : {
398
+ "securityCode" : "string",
399
+ "status" : "string"
400
+ }
392
401
  },
393
402
  "M0014" : {
394
- "arguments" : [
395
- "plan",
396
- "securityCode",
397
- "status"
398
- ]
403
+ "required" : {
404
+ "plan" : "integer_as_string",
405
+ "securityCode" : "string",
406
+ "status" : "string"
407
+ }
399
408
  },
400
409
  "M0015" : {
401
- "arguments" : [
402
- "plan",
403
- "securityCode",
404
- "status"
405
- ]
410
+ "required" : {
411
+ "plan" : "integer_as_string",
412
+ "securityCode" : "string",
413
+ "status" : "integer_as_string"
414
+ }
406
415
  },
407
416
  "M0016" : {
408
- "arguments" : [
409
- "securityCode",
410
- "status"
411
- ]
417
+ "required" : {
418
+ "securityCode" : "string",
419
+ "status" : "string"
420
+ }
412
421
  },
413
422
  "M0017" : {
414
- "arguments" : [
415
- "securityCode",
416
- "status"
417
- ]
423
+ "required" : {
424
+ "securityCode" : "string",
425
+ "status" : "string"
426
+ }
418
427
  },
419
428
  "M0018" : {
420
- "arguments" : [
421
- "plan",
422
- "securityCode",
423
- "status"
424
- ]
429
+ "required" : {
430
+ "plan" : "integer_as_string",
431
+ "securityCode" : "string",
432
+ "status" : "integer_as_string"
433
+ }
425
434
  },
426
435
  "M0019" : {
427
- "arguments" : [
428
- "input",
429
- "inputValue",
430
- "securityCode",
431
- "status"
432
- ]
436
+ "required" : {
437
+ "input" : "integer_as_string",
438
+ "inputValue" : "boolean_as_string",
439
+ "securityCode" : "string",
440
+ "status" : "boolean_as_string"
441
+ }
433
442
  },
434
443
  "M0020" : {
435
- "arguments" : [
436
- "output",
437
- "outputValue",
438
- "securityCode",
439
- "status"
440
- ]
444
+ "required" : {
445
+ "output" : "integer_as_string",
446
+ "outputValue" : "boolean_as_string",
447
+ "securityCode" : "string",
448
+ "status" : "boolean_as_string"
449
+ }
441
450
  },
442
451
  "M0021" : {
443
- "arguments" : [
444
- "securityCode",
445
- "status"
446
- ]
452
+ "required" : {
453
+ "securityCode" : "string",
454
+ "status" : "string"
455
+ }
447
456
  },
448
457
  "M0022" : {
449
- "arguments" : [
450
- "approachId",
451
- "connectionId",
452
- "eta",
453
- "inputId",
454
- "laneInId",
455
- "laneOutId",
456
- "level",
457
- "priorityId",
458
- "requestId",
459
- "signalGroupId",
460
- "type",
461
- "vehicleType"
462
- ]
458
+ "required" : {
459
+ "requestId" : "string",
460
+ "type" : "string"
461
+ },
462
+ "optional" : {
463
+ "approachId" : "integer",
464
+ "connectionId" : "integer",
465
+ "eta" : "integer",
466
+ "inputId" : "integer",
467
+ "laneInId" : "integer",
468
+ "laneOutId" : "integer",
469
+ "level" : "integer",
470
+ "priorityId" : "integer",
471
+ "signalGroupId" : "string",
472
+ "vehicleType" : "string"
473
+ }
463
474
  },
464
475
  "M0023" : {
465
- "arguments" : [
466
- "securityCode",
467
- "status"
468
- ]
476
+ "required" : {
477
+ "securityCode" : "string",
478
+ "status" : "integer_as_string"
479
+ }
469
480
  },
470
481
  "M0103" : {
471
- "arguments" : [
472
- "newSecurityCode",
473
- "oldSecurityCode",
474
- "status"
475
- ]
482
+ "required" : {
483
+ "newSecurityCode" : "string",
484
+ "oldSecurityCode" : "string",
485
+ "status" : "string"
486
+ }
476
487
  },
477
488
  "M0104" : {
478
- "arguments" : [
479
- "day",
480
- "hour",
481
- "minute",
482
- "month",
483
- "second",
484
- "securityCode",
485
- "year"
486
- ]
489
+ "required" : {
490
+ "day" : "integer_as_string",
491
+ "hour" : "integer_as_string",
492
+ "minute" : "integer_as_string",
493
+ "month" : "integer_as_string",
494
+ "second" : "integer_as_string",
495
+ "securityCode" : "string",
496
+ "year" : "integer_as_string"
497
+ }
487
498
  }
488
499
  },
489
500
  "alarms" : {
490
- "A0001" : {
491
- "arguments" : []
492
- },
493
- "A0002" : {
494
- "arguments" : []
495
- },
496
- "A0003" : {
497
- "arguments" : []
498
- },
499
- "A0004" : {
500
- "arguments" : []
501
- },
502
- "A0005" : {
503
- "arguments" : []
504
- },
505
- "A0006" : {
506
- "arguments" : []
507
- },
501
+ "A0001" : {},
502
+ "A0002" : {},
503
+ "A0003" : {},
504
+ "A0004" : {},
505
+ "A0005" : {},
506
+ "A0006" : {},
508
507
  "A0007" : {
509
- "arguments" : [
510
- "protocol"
511
- ]
508
+ "required" : {
509
+ "protocol" : "string"
510
+ }
512
511
  },
513
512
  "A0008" : {
514
- "arguments" : [
515
- "timeplan"
516
- ]
517
- },
518
- "A0009" : {
519
- "arguments" : []
520
- },
521
- "A0010" : {
522
- "arguments" : []
523
- },
524
- "A0101" : {
525
- "arguments" : []
513
+ "required" : {
514
+ "timeplan" : "integer_as_string"
515
+ }
526
516
  },
517
+ "A0009" : {},
518
+ "A0010" : {},
519
+ "A0101" : {},
527
520
  "A0201" : {
528
- "arguments" : [
529
- "color"
530
- ]
521
+ "required" : {
522
+ "color" : "string"
523
+ }
531
524
  },
532
525
  "A0202" : {
533
- "arguments" : [
534
- "color"
535
- ]
526
+ "required" : {
527
+ "color" : "string"
528
+ }
536
529
  },
537
530
  "A0301" : {
538
- "arguments" : [
539
- "detector",
540
- "errormode",
541
- "manual",
542
- "type"
543
- ]
531
+ "required" : {
532
+ "detector" : "string",
533
+ "errormode" : "string",
534
+ "manual" : "boolean_as_string",
535
+ "type" : "string"
536
+ }
544
537
  },
545
538
  "A0302" : {
546
- "arguments" : [
547
- "detector",
548
- "errormode",
549
- "logicerror",
550
- "manual",
551
- "type"
552
- ]
539
+ "required" : {
540
+ "detector" : "string",
541
+ "errormode" : "string",
542
+ "logicerror" : "string",
543
+ "manual" : "boolean_as_string",
544
+ "type" : "string"
545
+ }
553
546
  },
554
547
  "A0303" : {
555
- "arguments" : [
556
- "detector",
557
- "errormode",
558
- "manual",
559
- "type"
560
- ]
548
+ "required" : {
549
+ "detector" : "string",
550
+ "errormode" : "string",
551
+ "manual" : "boolean_as_string",
552
+ "type" : "string"
553
+ }
561
554
  },
562
555
  "A0304" : {
563
- "arguments" : [
564
- "detector",
565
- "errormode",
566
- "logicerror",
567
- "manual",
568
- "type"
569
- ]
556
+ "required" : {
557
+ "detector" : "string",
558
+ "errormode" : "string",
559
+ "logicerror" : "string",
560
+ "manual" : "boolean_as_string",
561
+ "type" : "string"
562
+ }
570
563
  }
571
564
  }
572
565
  }