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
@@ -2,7 +2,901 @@
2
2
  "$schema" : "https://json-schema.org/draft/2020-12/schema",
3
3
  "properties" : {
4
4
  "arg" : {
5
- "$ref" : "commands.json"
5
+ "allOf" : [
6
+ {
7
+ "$ref" : "commands.json"
8
+ },
9
+ {
10
+ "if" : {
11
+ "contains" : {
12
+ "required" : [
13
+ "cCI"
14
+ ],
15
+ "properties" : {
16
+ "cCI" : {
17
+ "const" : "M0001"
18
+ }
19
+ }
20
+ }
21
+ },
22
+ "then" : {
23
+ "allOf" : [
24
+ {
25
+ "contains" : {
26
+ "required" : [
27
+ "cCI",
28
+ "n"
29
+ ],
30
+ "properties" : {
31
+ "cCI" : {
32
+ "const" : "M0001"
33
+ },
34
+ "n" : {
35
+ "const" : "intersection"
36
+ }
37
+ }
38
+ }
39
+ },
40
+ {
41
+ "contains" : {
42
+ "required" : [
43
+ "cCI",
44
+ "n"
45
+ ],
46
+ "properties" : {
47
+ "cCI" : {
48
+ "const" : "M0001"
49
+ },
50
+ "n" : {
51
+ "const" : "securityCode"
52
+ }
53
+ }
54
+ }
55
+ },
56
+ {
57
+ "contains" : {
58
+ "required" : [
59
+ "cCI",
60
+ "n"
61
+ ],
62
+ "properties" : {
63
+ "cCI" : {
64
+ "const" : "M0001"
65
+ },
66
+ "n" : {
67
+ "const" : "status"
68
+ }
69
+ }
70
+ }
71
+ },
72
+ {
73
+ "contains" : {
74
+ "required" : [
75
+ "cCI",
76
+ "n"
77
+ ],
78
+ "properties" : {
79
+ "cCI" : {
80
+ "const" : "M0001"
81
+ },
82
+ "n" : {
83
+ "const" : "timeout"
84
+ }
85
+ }
86
+ }
87
+ }
88
+ ]
89
+ }
90
+ },
91
+ {
92
+ "if" : {
93
+ "contains" : {
94
+ "required" : [
95
+ "cCI"
96
+ ],
97
+ "properties" : {
98
+ "cCI" : {
99
+ "const" : "M0002"
100
+ }
101
+ }
102
+ }
103
+ },
104
+ "then" : {
105
+ "allOf" : [
106
+ {
107
+ "contains" : {
108
+ "required" : [
109
+ "cCI",
110
+ "n"
111
+ ],
112
+ "properties" : {
113
+ "cCI" : {
114
+ "const" : "M0002"
115
+ },
116
+ "n" : {
117
+ "const" : "securityCode"
118
+ }
119
+ }
120
+ }
121
+ },
122
+ {
123
+ "contains" : {
124
+ "required" : [
125
+ "cCI",
126
+ "n"
127
+ ],
128
+ "properties" : {
129
+ "cCI" : {
130
+ "const" : "M0002"
131
+ },
132
+ "n" : {
133
+ "const" : "status"
134
+ }
135
+ }
136
+ }
137
+ },
138
+ {
139
+ "contains" : {
140
+ "required" : [
141
+ "cCI",
142
+ "n"
143
+ ],
144
+ "properties" : {
145
+ "cCI" : {
146
+ "const" : "M0002"
147
+ },
148
+ "n" : {
149
+ "const" : "timeplan"
150
+ }
151
+ }
152
+ }
153
+ }
154
+ ]
155
+ }
156
+ },
157
+ {
158
+ "if" : {
159
+ "contains" : {
160
+ "required" : [
161
+ "cCI"
162
+ ],
163
+ "properties" : {
164
+ "cCI" : {
165
+ "const" : "M0003"
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "then" : {
171
+ "allOf" : [
172
+ {
173
+ "contains" : {
174
+ "required" : [
175
+ "cCI",
176
+ "n"
177
+ ],
178
+ "properties" : {
179
+ "cCI" : {
180
+ "const" : "M0003"
181
+ },
182
+ "n" : {
183
+ "const" : "securityCode"
184
+ }
185
+ }
186
+ }
187
+ },
188
+ {
189
+ "contains" : {
190
+ "required" : [
191
+ "cCI",
192
+ "n"
193
+ ],
194
+ "properties" : {
195
+ "cCI" : {
196
+ "const" : "M0003"
197
+ },
198
+ "n" : {
199
+ "const" : "status"
200
+ }
201
+ }
202
+ }
203
+ },
204
+ {
205
+ "contains" : {
206
+ "required" : [
207
+ "cCI",
208
+ "n"
209
+ ],
210
+ "properties" : {
211
+ "cCI" : {
212
+ "const" : "M0003"
213
+ },
214
+ "n" : {
215
+ "const" : "traficsituation"
216
+ }
217
+ }
218
+ }
219
+ }
220
+ ]
221
+ }
222
+ },
223
+ {
224
+ "if" : {
225
+ "contains" : {
226
+ "required" : [
227
+ "cCI"
228
+ ],
229
+ "properties" : {
230
+ "cCI" : {
231
+ "const" : "M0004"
232
+ }
233
+ }
234
+ }
235
+ },
236
+ "then" : {
237
+ "allOf" : [
238
+ {
239
+ "contains" : {
240
+ "required" : [
241
+ "cCI",
242
+ "n"
243
+ ],
244
+ "properties" : {
245
+ "cCI" : {
246
+ "const" : "M0004"
247
+ },
248
+ "n" : {
249
+ "const" : "securityCode"
250
+ }
251
+ }
252
+ }
253
+ },
254
+ {
255
+ "contains" : {
256
+ "required" : [
257
+ "cCI",
258
+ "n"
259
+ ],
260
+ "properties" : {
261
+ "cCI" : {
262
+ "const" : "M0004"
263
+ },
264
+ "n" : {
265
+ "const" : "status"
266
+ }
267
+ }
268
+ }
269
+ }
270
+ ]
271
+ }
272
+ },
273
+ {
274
+ "if" : {
275
+ "contains" : {
276
+ "required" : [
277
+ "cCI"
278
+ ],
279
+ "properties" : {
280
+ "cCI" : {
281
+ "const" : "M0005"
282
+ }
283
+ }
284
+ }
285
+ },
286
+ "then" : {
287
+ "allOf" : [
288
+ {
289
+ "contains" : {
290
+ "required" : [
291
+ "cCI",
292
+ "n"
293
+ ],
294
+ "properties" : {
295
+ "cCI" : {
296
+ "const" : "M0005"
297
+ },
298
+ "n" : {
299
+ "const" : "emergencyroute"
300
+ }
301
+ }
302
+ }
303
+ },
304
+ {
305
+ "contains" : {
306
+ "required" : [
307
+ "cCI",
308
+ "n"
309
+ ],
310
+ "properties" : {
311
+ "cCI" : {
312
+ "const" : "M0005"
313
+ },
314
+ "n" : {
315
+ "const" : "securityCode"
316
+ }
317
+ }
318
+ }
319
+ },
320
+ {
321
+ "contains" : {
322
+ "required" : [
323
+ "cCI",
324
+ "n"
325
+ ],
326
+ "properties" : {
327
+ "cCI" : {
328
+ "const" : "M0005"
329
+ },
330
+ "n" : {
331
+ "const" : "status"
332
+ }
333
+ }
334
+ }
335
+ }
336
+ ]
337
+ }
338
+ },
339
+ {
340
+ "if" : {
341
+ "contains" : {
342
+ "required" : [
343
+ "cCI"
344
+ ],
345
+ "properties" : {
346
+ "cCI" : {
347
+ "const" : "M0006"
348
+ }
349
+ }
350
+ }
351
+ },
352
+ "then" : {
353
+ "allOf" : [
354
+ {
355
+ "contains" : {
356
+ "required" : [
357
+ "cCI",
358
+ "n"
359
+ ],
360
+ "properties" : {
361
+ "cCI" : {
362
+ "const" : "M0006"
363
+ },
364
+ "n" : {
365
+ "const" : "input"
366
+ }
367
+ }
368
+ }
369
+ },
370
+ {
371
+ "contains" : {
372
+ "required" : [
373
+ "cCI",
374
+ "n"
375
+ ],
376
+ "properties" : {
377
+ "cCI" : {
378
+ "const" : "M0006"
379
+ },
380
+ "n" : {
381
+ "const" : "securityCode"
382
+ }
383
+ }
384
+ }
385
+ },
386
+ {
387
+ "contains" : {
388
+ "required" : [
389
+ "cCI",
390
+ "n"
391
+ ],
392
+ "properties" : {
393
+ "cCI" : {
394
+ "const" : "M0006"
395
+ },
396
+ "n" : {
397
+ "const" : "status"
398
+ }
399
+ }
400
+ }
401
+ }
402
+ ]
403
+ }
404
+ },
405
+ {
406
+ "if" : {
407
+ "contains" : {
408
+ "required" : [
409
+ "cCI"
410
+ ],
411
+ "properties" : {
412
+ "cCI" : {
413
+ "const" : "M0007"
414
+ }
415
+ }
416
+ }
417
+ },
418
+ "then" : {
419
+ "allOf" : [
420
+ {
421
+ "contains" : {
422
+ "required" : [
423
+ "cCI",
424
+ "n"
425
+ ],
426
+ "properties" : {
427
+ "cCI" : {
428
+ "const" : "M0007"
429
+ },
430
+ "n" : {
431
+ "const" : "securityCode"
432
+ }
433
+ }
434
+ }
435
+ },
436
+ {
437
+ "contains" : {
438
+ "required" : [
439
+ "cCI",
440
+ "n"
441
+ ],
442
+ "properties" : {
443
+ "cCI" : {
444
+ "const" : "M0007"
445
+ },
446
+ "n" : {
447
+ "const" : "status"
448
+ }
449
+ }
450
+ }
451
+ }
452
+ ]
453
+ }
454
+ },
455
+ {
456
+ "if" : {
457
+ "contains" : {
458
+ "required" : [
459
+ "cCI"
460
+ ],
461
+ "properties" : {
462
+ "cCI" : {
463
+ "const" : "M0008"
464
+ }
465
+ }
466
+ }
467
+ },
468
+ "then" : {
469
+ "allOf" : [
470
+ {
471
+ "contains" : {
472
+ "required" : [
473
+ "cCI",
474
+ "n"
475
+ ],
476
+ "properties" : {
477
+ "cCI" : {
478
+ "const" : "M0008"
479
+ },
480
+ "n" : {
481
+ "const" : "mode"
482
+ }
483
+ }
484
+ }
485
+ },
486
+ {
487
+ "contains" : {
488
+ "required" : [
489
+ "cCI",
490
+ "n"
491
+ ],
492
+ "properties" : {
493
+ "cCI" : {
494
+ "const" : "M0008"
495
+ },
496
+ "n" : {
497
+ "const" : "securityCode"
498
+ }
499
+ }
500
+ }
501
+ },
502
+ {
503
+ "contains" : {
504
+ "required" : [
505
+ "cCI",
506
+ "n"
507
+ ],
508
+ "properties" : {
509
+ "cCI" : {
510
+ "const" : "M0008"
511
+ },
512
+ "n" : {
513
+ "const" : "status"
514
+ }
515
+ }
516
+ }
517
+ }
518
+ ]
519
+ }
520
+ },
521
+ {
522
+ "if" : {
523
+ "contains" : {
524
+ "required" : [
525
+ "cCI"
526
+ ],
527
+ "properties" : {
528
+ "cCI" : {
529
+ "const" : "M0010"
530
+ }
531
+ }
532
+ }
533
+ },
534
+ "then" : {
535
+ "allOf" : [
536
+ {
537
+ "contains" : {
538
+ "required" : [
539
+ "cCI",
540
+ "n"
541
+ ],
542
+ "properties" : {
543
+ "cCI" : {
544
+ "const" : "M0010"
545
+ },
546
+ "n" : {
547
+ "const" : "securityCode"
548
+ }
549
+ }
550
+ }
551
+ },
552
+ {
553
+ "contains" : {
554
+ "required" : [
555
+ "cCI",
556
+ "n"
557
+ ],
558
+ "properties" : {
559
+ "cCI" : {
560
+ "const" : "M0010"
561
+ },
562
+ "n" : {
563
+ "const" : "status"
564
+ }
565
+ }
566
+ }
567
+ }
568
+ ]
569
+ }
570
+ },
571
+ {
572
+ "if" : {
573
+ "contains" : {
574
+ "required" : [
575
+ "cCI"
576
+ ],
577
+ "properties" : {
578
+ "cCI" : {
579
+ "const" : "M0011"
580
+ }
581
+ }
582
+ }
583
+ },
584
+ "then" : {
585
+ "allOf" : [
586
+ {
587
+ "contains" : {
588
+ "required" : [
589
+ "cCI",
590
+ "n"
591
+ ],
592
+ "properties" : {
593
+ "cCI" : {
594
+ "const" : "M0011"
595
+ },
596
+ "n" : {
597
+ "const" : "securityCode"
598
+ }
599
+ }
600
+ }
601
+ },
602
+ {
603
+ "contains" : {
604
+ "required" : [
605
+ "cCI",
606
+ "n"
607
+ ],
608
+ "properties" : {
609
+ "cCI" : {
610
+ "const" : "M0011"
611
+ },
612
+ "n" : {
613
+ "const" : "status"
614
+ }
615
+ }
616
+ }
617
+ }
618
+ ]
619
+ }
620
+ },
621
+ {
622
+ "if" : {
623
+ "contains" : {
624
+ "required" : [
625
+ "cCI"
626
+ ],
627
+ "properties" : {
628
+ "cCI" : {
629
+ "const" : "M0019"
630
+ }
631
+ }
632
+ }
633
+ },
634
+ "then" : {
635
+ "allOf" : [
636
+ {
637
+ "contains" : {
638
+ "required" : [
639
+ "cCI",
640
+ "n"
641
+ ],
642
+ "properties" : {
643
+ "cCI" : {
644
+ "const" : "M0019"
645
+ },
646
+ "n" : {
647
+ "const" : "input"
648
+ }
649
+ }
650
+ }
651
+ },
652
+ {
653
+ "contains" : {
654
+ "required" : [
655
+ "cCI",
656
+ "n"
657
+ ],
658
+ "properties" : {
659
+ "cCI" : {
660
+ "const" : "M0019"
661
+ },
662
+ "n" : {
663
+ "const" : "inputValue"
664
+ }
665
+ }
666
+ }
667
+ },
668
+ {
669
+ "contains" : {
670
+ "required" : [
671
+ "cCI",
672
+ "n"
673
+ ],
674
+ "properties" : {
675
+ "cCI" : {
676
+ "const" : "M0019"
677
+ },
678
+ "n" : {
679
+ "const" : "securityCode"
680
+ }
681
+ }
682
+ }
683
+ },
684
+ {
685
+ "contains" : {
686
+ "required" : [
687
+ "cCI",
688
+ "n"
689
+ ],
690
+ "properties" : {
691
+ "cCI" : {
692
+ "const" : "M0019"
693
+ },
694
+ "n" : {
695
+ "const" : "status"
696
+ }
697
+ }
698
+ }
699
+ }
700
+ ]
701
+ }
702
+ },
703
+ {
704
+ "if" : {
705
+ "contains" : {
706
+ "required" : [
707
+ "cCI"
708
+ ],
709
+ "properties" : {
710
+ "cCI" : {
711
+ "const" : "M0103"
712
+ }
713
+ }
714
+ }
715
+ },
716
+ "then" : {
717
+ "allOf" : [
718
+ {
719
+ "contains" : {
720
+ "required" : [
721
+ "cCI",
722
+ "n"
723
+ ],
724
+ "properties" : {
725
+ "cCI" : {
726
+ "const" : "M0103"
727
+ },
728
+ "n" : {
729
+ "const" : "newSecurityCode"
730
+ }
731
+ }
732
+ }
733
+ },
734
+ {
735
+ "contains" : {
736
+ "required" : [
737
+ "cCI",
738
+ "n"
739
+ ],
740
+ "properties" : {
741
+ "cCI" : {
742
+ "const" : "M0103"
743
+ },
744
+ "n" : {
745
+ "const" : "oldSecurityCode"
746
+ }
747
+ }
748
+ }
749
+ },
750
+ {
751
+ "contains" : {
752
+ "required" : [
753
+ "cCI",
754
+ "n"
755
+ ],
756
+ "properties" : {
757
+ "cCI" : {
758
+ "const" : "M0103"
759
+ },
760
+ "n" : {
761
+ "const" : "status"
762
+ }
763
+ }
764
+ }
765
+ }
766
+ ]
767
+ }
768
+ },
769
+ {
770
+ "if" : {
771
+ "contains" : {
772
+ "required" : [
773
+ "cCI"
774
+ ],
775
+ "properties" : {
776
+ "cCI" : {
777
+ "const" : "M0104"
778
+ }
779
+ }
780
+ }
781
+ },
782
+ "then" : {
783
+ "allOf" : [
784
+ {
785
+ "contains" : {
786
+ "required" : [
787
+ "cCI",
788
+ "n"
789
+ ],
790
+ "properties" : {
791
+ "cCI" : {
792
+ "const" : "M0104"
793
+ },
794
+ "n" : {
795
+ "const" : "day"
796
+ }
797
+ }
798
+ }
799
+ },
800
+ {
801
+ "contains" : {
802
+ "required" : [
803
+ "cCI",
804
+ "n"
805
+ ],
806
+ "properties" : {
807
+ "cCI" : {
808
+ "const" : "M0104"
809
+ },
810
+ "n" : {
811
+ "const" : "hour"
812
+ }
813
+ }
814
+ }
815
+ },
816
+ {
817
+ "contains" : {
818
+ "required" : [
819
+ "cCI",
820
+ "n"
821
+ ],
822
+ "properties" : {
823
+ "cCI" : {
824
+ "const" : "M0104"
825
+ },
826
+ "n" : {
827
+ "const" : "minute"
828
+ }
829
+ }
830
+ }
831
+ },
832
+ {
833
+ "contains" : {
834
+ "required" : [
835
+ "cCI",
836
+ "n"
837
+ ],
838
+ "properties" : {
839
+ "cCI" : {
840
+ "const" : "M0104"
841
+ },
842
+ "n" : {
843
+ "const" : "month"
844
+ }
845
+ }
846
+ }
847
+ },
848
+ {
849
+ "contains" : {
850
+ "required" : [
851
+ "cCI",
852
+ "n"
853
+ ],
854
+ "properties" : {
855
+ "cCI" : {
856
+ "const" : "M0104"
857
+ },
858
+ "n" : {
859
+ "const" : "second"
860
+ }
861
+ }
862
+ }
863
+ },
864
+ {
865
+ "contains" : {
866
+ "required" : [
867
+ "cCI",
868
+ "n"
869
+ ],
870
+ "properties" : {
871
+ "cCI" : {
872
+ "const" : "M0104"
873
+ },
874
+ "n" : {
875
+ "const" : "securityCode"
876
+ }
877
+ }
878
+ }
879
+ },
880
+ {
881
+ "contains" : {
882
+ "required" : [
883
+ "cCI",
884
+ "n"
885
+ ],
886
+ "properties" : {
887
+ "cCI" : {
888
+ "const" : "M0104"
889
+ },
890
+ "n" : {
891
+ "const" : "year"
892
+ }
893
+ }
894
+ }
895
+ }
896
+ ]
897
+ }
898
+ }
899
+ ]
6
900
  }
7
901
  }
8
902
  }