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
@@ -19,6 +19,25 @@
19
19
  }
20
20
  }
21
21
  ]
22
+ },
23
+ "age_unknown_or_undefined" : {
24
+ "allOf" : [
25
+ {
26
+ "required" : [
27
+ "age"
28
+ ]
29
+ },
30
+ {
31
+ "properties" : {
32
+ "age" : {
33
+ "enum" : [
34
+ "undefined",
35
+ "unknown"
36
+ ]
37
+ }
38
+ }
39
+ }
40
+ ]
22
41
  }
23
42
  }
24
43
  }
@@ -100,15 +100,15 @@ objects:
100
100
  description: Signal group status as text field
101
101
  pattern: "^[a-hA-G0-9N-P]*$"
102
102
  cyclecounter:
103
- type: integer
103
+ type: integer_as_string
104
104
  description: Cycle counter
105
105
  range: "[0-999]"
106
106
  basecyclecounter:
107
- type: integer
107
+ type: integer_as_string
108
108
  description: Base cycle counter
109
109
  range: "[0-999]"
110
110
  stage:
111
- type: integer
111
+ type: integer_as_string
112
112
  description: Current stage (isolated)
113
113
  range: "[0-999]"
114
114
  S0002:
@@ -151,7 +151,7 @@ objects:
151
151
  During startup mode the traffic controller shows dark, red, yellow flash or using the predetermined start cycle (minimum times).
152
152
  arguments:
153
153
  status:
154
- type: boolean
154
+ type: boolean_as_string
155
155
  description: |-
156
156
  False: Controller is not in start up mode
157
157
  True: Controller is currently in start up mode
@@ -162,12 +162,12 @@ objects:
162
162
  Used in situations where full priority is given in the emergency vehicle program.
163
163
  arguments:
164
164
  status:
165
- type: boolean
165
+ type: boolean_as_string
166
166
  description: |-
167
167
  False: Emergency stage inactive
168
168
  True: Emergency stage active
169
169
  emergencystage:
170
- type: integer
170
+ type: integer_as_string
171
171
  description: Number of emergency stage
172
172
  range: "[1-255]"
173
173
  S0007:
@@ -298,7 +298,7 @@ objects:
298
298
  The time plan (signal program) may change signal timings, cycle time, control strategy and much more. Typical usage is is scenario based control where change of program is used to change priority etc.
299
299
  arguments:
300
300
  status:
301
- type: integer
301
+ type: integer_as_string
302
302
  description: Current time plan
303
303
  range: "[1-255]"
304
304
  S0015:
@@ -309,7 +309,7 @@ objects:
309
309
  Traffic situation is a concept used to divide multiple TLC's into areas and sub-areas. The traffic situation gives the possibility to change the TLC sub-area dynamically depending on the time of day and the traffic flow. Depending on the traffic situation each TLC selects the time plan dynamically.
310
310
  arguments:
311
311
  status:
312
- type: integer
312
+ type: integer_as_string
313
313
  description: Current traffic situation
314
314
  range: "[1-255]"
315
315
  S0016:
@@ -318,7 +318,7 @@ objects:
318
318
  Can be used by the management system to check the number of detector logics configured in the controller.
319
319
  arguments:
320
320
  number:
321
- type: long
321
+ type: long_as_string
322
322
  description: Number of detector logics
323
323
  range: "[1-65025]"
324
324
  S0017:
@@ -327,7 +327,7 @@ objects:
327
327
  Can be used for the management system to check the number of signal groups configured in the controller.
328
328
  arguments:
329
329
  number:
330
- type: long
330
+ type: long_as_string
331
331
  description: Number of signal groups
332
332
  range: "[1-65025]"
333
333
  S0018:
@@ -336,7 +336,7 @@ objects:
336
336
  Can be used for the management system to check the number of time plans configured in the controller.
337
337
  arguments:
338
338
  number:
339
- type: long
339
+ type: long_as_string
340
340
  description: Number of time plans (depreciated)
341
341
  range: "[1-65025]"
342
342
  S0019:
@@ -345,7 +345,7 @@ objects:
345
345
  Can be used for the management system to check the number of traffic situations configured in the controller.
346
346
  arguments:
347
347
  number:
348
- type: long
348
+ type: long_as_string
349
349
  description: Number of traffic situations
350
350
  range: "[1-65025]"
351
351
  S0020:
@@ -550,29 +550,29 @@ objects:
550
550
  Provides diagnostic information about the current date and time set in the controller.
551
551
  arguments:
552
552
  year:
553
- type: integer
553
+ type: integer_as_string
554
554
  description: 'Year according to format YYYY. NOTE: UTC is used'
555
555
  range: YYYY
556
556
  month:
557
- type: integer
557
+ type: integer_as_string
558
558
  description: 'Month (01-12) according to format MM. Note: UTC is used'
559
559
  range: MM
560
560
  day:
561
- type: integer
561
+ type: integer_as_string
562
562
  description: 'Day of month (01-31) according to format DD. Note: UTC
563
563
  is used'
564
564
  range: DD
565
565
  hour:
566
- type: integer
566
+ type: integer_as_string
567
567
  description: 'Hour of day (00-23) according to format DD. Note: UTC is
568
568
  used'
569
569
  range: HH
570
570
  minute:
571
- type: integer
571
+ type: integer_as_string
572
572
  description: 'Minute (00-59) according to format MM. Note: UTC is used'
573
573
  range: MM
574
574
  second:
575
- type: integer
575
+ type: integer_as_string
576
576
  description: 'Second (00-59) according to format SS. Note: UTC is used'
577
577
  range: SS
578
578
  commands:
@@ -614,7 +614,7 @@ objects:
614
614
  Requires security code 2
615
615
  arguments:
616
616
  status:
617
- type: boolean
617
+ type: boolean_as_string
618
618
  description: |-
619
619
  False: Controller uses time plan according to programming
620
620
  True: Controller uses time plan according to command
@@ -622,7 +622,7 @@ objects:
622
622
  type: string
623
623
  description: Security code 2
624
624
  timeplan:
625
- type: integer
625
+ type: integer_as_string
626
626
  description: designation of time plan
627
627
  range: "[1-255]"
628
628
  command: setPlan
@@ -634,7 +634,7 @@ objects:
634
634
  Requires security code 2
635
635
  arguments:
636
636
  status:
637
- type: boolean
637
+ type: boolean_as_string
638
638
  description: |-
639
639
  False: Controller uses traffic situation according to own programming
640
640
  True: Controller uses traffic situation according to command
@@ -642,7 +642,7 @@ objects:
642
642
  type: string
643
643
  description: Security code 2
644
644
  traficsituation:
645
- type: integer
645
+ type: integer_as_string
646
646
  description: designation of traficsituation
647
647
  range: "[1-255]"
648
648
  command: setTrafficSituation
@@ -653,7 +653,7 @@ objects:
653
653
  Requires security code 2
654
654
  arguments:
655
655
  status:
656
- type: boolean
656
+ type: boolean_as_string
657
657
  description: 'True: Restart controller'
658
658
  securityCode:
659
659
  type: string
@@ -667,7 +667,7 @@ objects:
667
667
  Requires security code 2.
668
668
  arguments:
669
669
  status:
670
- type: boolean
670
+ type: boolean_as_string
671
671
  description: |-
672
672
  False: Activate emergency route
673
673
  True: Deactivate emergency route
@@ -675,7 +675,7 @@ objects:
675
675
  type: string
676
676
  description: Security code 2
677
677
  emergencyroute:
678
- type: integer
678
+ type: integer_as_string
679
679
  description: Number of emergency route
680
680
  range: "[1-255]"
681
681
  command: setEmergency
@@ -689,7 +689,7 @@ objects:
689
689
  Requires security code 2.
690
690
  arguments:
691
691
  status:
692
- type: boolean
692
+ type: boolean_as_string
693
693
  description: |-
694
694
  False: Deactivate input
695
695
  True: Activate input
@@ -697,7 +697,7 @@ objects:
697
697
  type: string
698
698
  description: Security code 2
699
699
  input:
700
- type: integer
700
+ type: integer_as_string
701
701
  description: Number of Input
702
702
  range: "[1-255]"
703
703
  command: setInput
@@ -709,7 +709,7 @@ objects:
709
709
  Requires security code 2.
710
710
  arguments:
711
711
  status:
712
- type: boolean
712
+ type: boolean_as_string
713
713
  description: |-
714
714
  False: Deactivate fixed time control
715
715
  True: Activate fixed time control
@@ -797,7 +797,7 @@ objects:
797
797
  Requires security code 2
798
798
  arguments:
799
799
  plan:
800
- type: integer
800
+ type: integer_as_string
801
801
  description: Plan to be changed
802
802
  range: "[0-255]"
803
803
  status:
@@ -824,11 +824,11 @@ objects:
824
824
  Requires security code 2.
825
825
  arguments:
826
826
  status:
827
- type: integer
827
+ type: integer_as_string
828
828
  description: Set offset time in seconds
829
829
  range: "[0-255]"
830
830
  plan:
831
- type: integer
831
+ type: integer_as_string
832
832
  description: Time plan nr
833
833
  range: "[0-255]"
834
834
  securityCode:
@@ -908,11 +908,11 @@ objects:
908
908
  Requires security code 2.
909
909
  arguments:
910
910
  status:
911
- type: integer
911
+ type: integer_as_string
912
912
  description: Set cycle time in seconds
913
913
  range: "[1-255]"
914
914
  plan:
915
- type: integer
915
+ type: integer_as_string
916
916
  description: Time plan nr
917
917
  range: "[0-255]"
918
918
  securityCode:
@@ -927,7 +927,7 @@ objects:
927
927
  Requires security code 2.
928
928
  arguments:
929
929
  status:
930
- type: boolean
930
+ type: boolean_as_string
931
931
  description: |-
932
932
  False: Force input
933
933
  True: Release input
@@ -935,11 +935,11 @@ objects:
935
935
  type: string
936
936
  description: Security code 2
937
937
  input:
938
- type: integer
938
+ type: integer_as_string
939
939
  description: Number of Input
940
940
  range: "[1-255]"
941
941
  inputValue:
942
- type: boolean
942
+ type: boolean_as_string
943
943
  description: |-
944
944
  False: input forced to False
945
945
  True: input forced to True
@@ -972,37 +972,37 @@ objects:
972
972
  type: string
973
973
  description: Security code 1
974
974
  year:
975
- type: integer
975
+ type: integer_as_string
976
976
  description: |-
977
977
  Changes internal clock. Note: UTC is used
978
978
  Year according to YYYY
979
979
  range: "[YYYY]"
980
980
  month:
981
- type: integer
981
+ type: integer_as_string
982
982
  description: |-
983
983
  Changes internal clock. Note: UTC is used
984
984
  Month according to MM (01-12)
985
985
  range: "[MM]"
986
986
  day:
987
- type: integer
987
+ type: integer_as_string
988
988
  description: |-
989
989
  Changes internal clock. Note: UTC is used
990
990
  Day in month according to DD (01-31)
991
991
  range: "[DD]"
992
992
  hour:
993
- type: integer
993
+ type: integer_as_string
994
994
  description: |-
995
995
  Changes internal clock. Note: UTC is used
996
996
  Hour according to HH (00-23)
997
997
  range: "[HH]"
998
998
  minute:
999
- type: integer
999
+ type: integer_as_string
1000
1000
  description: |-
1001
1001
  Changes internal clock. Note: UTC is used
1002
1002
  Minute according to MM (00-59)
1003
1003
  range: "[MM]"
1004
1004
  second:
1005
- type: integer
1005
+ type: integer_as_string
1006
1006
  description: |-
1007
1007
  Changes internal clock. Note: UTC is used
1008
1008
  Second according to SS (00-59)
@@ -1021,7 +1021,7 @@ objects:
1021
1021
  category: D
1022
1022
  arguments:
1023
1023
  timeplan:
1024
- type: integer
1024
+ type: integer_as_string
1025
1025
  description: Current time plan
1026
1026
  range: "[designation]"
1027
1027
  A0101:
@@ -1082,7 +1082,7 @@ objects:
1082
1082
  Time stamp for the most likely time for the signal group to go to green. If the signal group is green, it is the most likely time for the next green.
1083
1083
  Format according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z
1084
1084
  ToGConfidence:
1085
- type: integer
1085
+ type: integer_as_string
1086
1086
  description: Confidence of the likelyToGEstimate. 0-100%
1087
1087
  range: "[0-100]"
1088
1088
  minToREstimate :
@@ -1101,7 +1101,7 @@ objects:
1101
1101
  Time stamp for the most likely time for the signal group to go to red. If the signal group is red, it is the most likely time for the next red.
1102
1102
  Format according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z
1103
1103
  ToRConfidence:
1104
- type: integer
1104
+ type: integer_as_string
1105
1105
  description: Confidence of the likelyToREstimate. 0-100%
1106
1106
  range: "[0-100]"
1107
1107
  commands:
@@ -1113,7 +1113,7 @@ objects:
1113
1113
  Requires security code 2
1114
1114
  arguments:
1115
1115
  status:
1116
- type: boolean
1116
+ type: boolean_as_string
1117
1117
  description: |-
1118
1118
  False: No command (default)
1119
1119
  True: Order a signal group to green
@@ -1129,7 +1129,7 @@ objects:
1129
1129
  Requires security code 2
1130
1130
  arguments:
1131
1131
  status:
1132
- type: boolean
1132
+ type: boolean_as_string
1133
1133
  description: |-
1134
1134
  False: No command (default)
1135
1135
  True: Order a signal group to red
@@ -1162,7 +1162,7 @@ objects:
1162
1162
  description: Detector forced on/off while detector error
1163
1163
  values: ['on','off']
1164
1164
  manual:
1165
- type: boolean
1165
+ type: boolean_as_string
1166
1166
  description: Manually controlled detector logic (True/False)
1167
1167
  A0302:
1168
1168
  description: |-
@@ -1187,7 +1187,7 @@ objects:
1187
1187
  description: Detector forced on/off while detector error
1188
1188
  values: ['on','off']
1189
1189
  manual:
1190
- type: boolean
1190
+ type: boolean_as_string
1191
1191
  description: Manually controlled detector logic (True/False)
1192
1192
  logicerror:
1193
1193
  type: string
@@ -1208,7 +1208,7 @@ objects:
1208
1208
  XML dateTime with a resolution of 3 decimal places. All time stamps
1209
1209
  in UTC. E.g. 2009-10-02T14:34:34.341Z
1210
1210
  vehicles:
1211
- type: long
1211
+ type: long_as_string
1212
1212
  description: Number of vehicles on a given detector logic (since last
1213
1213
  update)
1214
1214
  range: "[number]"
@@ -1224,7 +1224,7 @@ objects:
1224
1224
  XML dateTime with a resolution of 3 decimal places. All time stamps
1225
1225
  in UTC. E.g. 2009-10-02T14:34:34.341Z
1226
1226
  speed:
1227
- type: integer
1227
+ type: integer_as_string
1228
1228
  description: Average speed in km/h
1229
1229
  range: "[speed]"
1230
1230
  S0203:
@@ -1239,7 +1239,7 @@ objects:
1239
1239
  XML dateTime with a resolution of 3 decimal places. All time stamps
1240
1240
  in UTC. E.g. 2009-10-02T14:34:34.341Z
1241
1241
  occupancy:
1242
- type: integer
1242
+ type: integer_as_string
1243
1243
  description: Occupancy in percent (0-100%)
1244
1244
  range: "[0-100]"
1245
1245
  S0204:
@@ -1254,39 +1254,39 @@ objects:
1254
1254
  XML dateTime with a resolution of 3 decimal places. All time stamps
1255
1255
  in UTC. E.g. 2009-10-02T14:34:34.341Z
1256
1256
  P:
1257
- type: long
1257
+ type: long_as_string
1258
1258
  description: Number of cars
1259
1259
  range: "[number]"
1260
1260
  PS:
1261
- type: long
1261
+ type: long_as_string
1262
1262
  description: Number of cars with trailers
1263
1263
  range: "[number]"
1264
1264
  L:
1265
- type: long
1265
+ type: long_as_string
1266
1266
  description: Number of trucks
1267
1267
  range: "[number]"
1268
1268
  LS:
1269
- type: long
1269
+ type: long_as_string
1270
1270
  description: Number of trucks with trailers
1271
1271
  range: "[number]"
1272
1272
  B:
1273
- type: long
1273
+ type: long_as_string
1274
1274
  description: Number of busses
1275
1275
  range: "[number]"
1276
1276
  SP:
1277
- type: long
1277
+ type: long_as_string
1278
1278
  description: Number of trams
1279
1279
  range: "[number]"
1280
1280
  MC:
1281
- type: long
1281
+ type: long_as_string
1282
1282
  description: Number of motor cycles
1283
1283
  range: "[number]"
1284
1284
  C:
1285
- type: long
1285
+ type: long_as_string
1286
1286
  description: Number of bicycles
1287
1287
  range: "[number]"
1288
1288
  F:
1289
- type: long
1289
+ type: long_as_string
1290
1290
  description: Number of pedestrians
1291
1291
  range: "[number]"
1292
1292
  commands:
@@ -1298,7 +1298,7 @@ objects:
1298
1298
  Requires security code 2
1299
1299
  arguments:
1300
1300
  status:
1301
- type: boolean
1301
+ type: boolean_as_string
1302
1302
  description: |-
1303
1303
  False: Deactivate manual control of detector logic
1304
1304
  True: Activate manual control of detector logic
@@ -1306,7 +1306,7 @@ objects:
1306
1306
  type: string
1307
1307
  description: Security code 2
1308
1308
  mode:
1309
- type: boolean
1309
+ type: boolean_as_string
1310
1310
  description: |-
1311
1311
  False: Deactivate detector logic
1312
1312
  True: Activate detector logic