rsmp_schema 0.4.4 → 0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (658) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rspec.yaml +1 -1
  3. data/.tool-versions +1 -0
  4. data/Gemfile.lock +2 -2
  5. data/lib/rsmp_schema/convert/export/json_schema.rb +32 -12
  6. data/lib/rsmp_schema/schema.rb +6 -3
  7. data/lib/rsmp_schema/version.rb +1 -1
  8. data/schemas/core/3.1.2/status_response.json +1 -1
  9. data/schemas/core/3.1.3/status_response.json +21 -23
  10. data/schemas/core/3.2/status_response.json +20 -22
  11. data/schemas/core/3.2.1/core.json +39 -0
  12. data/schemas/core/3.2.1/rsmp.json +133 -0
  13. data/schemas/tlc/1.0.10/alarms/A0001.json +1 -5
  14. data/schemas/tlc/1.0.10/alarms/A0002.json +1 -5
  15. data/schemas/tlc/1.0.10/alarms/A0003.json +1 -5
  16. data/schemas/tlc/1.0.10/alarms/A0004.json +1 -5
  17. data/schemas/tlc/1.0.10/alarms/A0005.json +1 -5
  18. data/schemas/tlc/1.0.10/alarms/A0006.json +1 -5
  19. data/schemas/tlc/1.0.10/alarms/A0007.json +1 -5
  20. data/schemas/tlc/1.0.10/alarms/A0008.json +30 -24
  21. data/schemas/tlc/1.0.10/alarms/A0009.json +1 -5
  22. data/schemas/tlc/1.0.10/alarms/A0101.json +1 -5
  23. data/schemas/tlc/1.0.10/alarms/A0201.json +30 -24
  24. data/schemas/tlc/1.0.10/alarms/A0202.json +30 -24
  25. data/schemas/tlc/1.0.10/alarms/A0301.json +98 -92
  26. data/schemas/tlc/1.0.10/alarms/A0302.json +123 -117
  27. data/schemas/tlc/1.0.10/commands/M0001.json +105 -99
  28. data/schemas/tlc/1.0.10/commands/M0002.json +75 -69
  29. data/schemas/tlc/1.0.10/commands/M0003.json +75 -69
  30. data/schemas/tlc/1.0.10/commands/M0004.json +50 -44
  31. data/schemas/tlc/1.0.10/commands/M0005.json +75 -69
  32. data/schemas/tlc/1.0.10/commands/M0006.json +75 -69
  33. data/schemas/tlc/1.0.10/commands/M0007.json +50 -44
  34. data/schemas/tlc/1.0.10/commands/M0008.json +75 -69
  35. data/schemas/tlc/1.0.10/commands/M0010.json +50 -44
  36. data/schemas/tlc/1.0.10/commands/M0011.json +50 -44
  37. data/schemas/tlc/1.0.10/commands/M0012.json +45 -39
  38. data/schemas/tlc/1.0.10/commands/M0013.json +45 -39
  39. data/schemas/tlc/1.0.10/commands/M0019.json +100 -94
  40. data/schemas/tlc/1.0.10/commands/M0103.json +68 -62
  41. data/schemas/tlc/1.0.10/commands/M0104.json +175 -169
  42. data/schemas/tlc/1.0.10/statuses/S0001.json +101 -95
  43. data/schemas/tlc/1.0.10/statuses/S0002.json +25 -19
  44. data/schemas/tlc/1.0.10/statuses/S0003.json +45 -39
  45. data/schemas/tlc/1.0.10/statuses/S0004.json +45 -39
  46. data/schemas/tlc/1.0.10/statuses/S0005.json +30 -24
  47. data/schemas/tlc/1.0.10/statuses/S0006.json +55 -49
  48. data/schemas/tlc/1.0.10/statuses/S0007.json +55 -49
  49. data/schemas/tlc/1.0.10/statuses/S0008.json +55 -49
  50. data/schemas/tlc/1.0.10/statuses/S0009.json +55 -49
  51. data/schemas/tlc/1.0.10/statuses/S0010.json +55 -49
  52. data/schemas/tlc/1.0.10/statuses/S0011.json +55 -49
  53. data/schemas/tlc/1.0.10/statuses/S0012.json +55 -49
  54. data/schemas/tlc/1.0.10/statuses/S0013.json +55 -49
  55. data/schemas/tlc/1.0.10/statuses/S0014.json +30 -24
  56. data/schemas/tlc/1.0.10/statuses/S0015.json +30 -24
  57. data/schemas/tlc/1.0.10/statuses/S0016.json +30 -24
  58. data/schemas/tlc/1.0.10/statuses/S0017.json +30 -24
  59. data/schemas/tlc/1.0.10/statuses/S0018.json +30 -24
  60. data/schemas/tlc/1.0.10/statuses/S0019.json +30 -24
  61. data/schemas/tlc/1.0.10/statuses/S0020.json +55 -49
  62. data/schemas/tlc/1.0.10/statuses/S0021.json +26 -20
  63. data/schemas/tlc/1.0.10/statuses/S0091.json +48 -42
  64. data/schemas/tlc/1.0.10/statuses/S0092.json +48 -42
  65. data/schemas/tlc/1.0.10/statuses/S0095.json +25 -19
  66. data/schemas/tlc/1.0.10/statuses/S0096.json +155 -149
  67. data/schemas/tlc/1.0.10/statuses/S0201.json +55 -49
  68. data/schemas/tlc/1.0.10/statuses/S0202.json +55 -49
  69. data/schemas/tlc/1.0.10/statuses/S0203.json +55 -49
  70. data/schemas/tlc/1.0.10/statuses/S0204.json +255 -249
  71. data/schemas/tlc/1.0.13/alarms/A0001.json +1 -5
  72. data/schemas/tlc/1.0.13/alarms/A0002.json +1 -5
  73. data/schemas/tlc/1.0.13/alarms/A0003.json +1 -5
  74. data/schemas/tlc/1.0.13/alarms/A0004.json +1 -5
  75. data/schemas/tlc/1.0.13/alarms/A0005.json +1 -5
  76. data/schemas/tlc/1.0.13/alarms/A0006.json +1 -5
  77. data/schemas/tlc/1.0.13/alarms/A0007.json +1 -5
  78. data/schemas/tlc/1.0.13/alarms/A0008.json +30 -24
  79. data/schemas/tlc/1.0.13/alarms/A0009.json +1 -5
  80. data/schemas/tlc/1.0.13/alarms/A0101.json +1 -5
  81. data/schemas/tlc/1.0.13/alarms/A0201.json +30 -24
  82. data/schemas/tlc/1.0.13/alarms/A0202.json +30 -24
  83. data/schemas/tlc/1.0.13/alarms/A0301.json +98 -92
  84. data/schemas/tlc/1.0.13/alarms/A0302.json +123 -117
  85. data/schemas/tlc/1.0.13/commands/M0001.json +105 -99
  86. data/schemas/tlc/1.0.13/commands/M0002.json +75 -69
  87. data/schemas/tlc/1.0.13/commands/M0003.json +75 -69
  88. data/schemas/tlc/1.0.13/commands/M0004.json +50 -44
  89. data/schemas/tlc/1.0.13/commands/M0005.json +75 -69
  90. data/schemas/tlc/1.0.13/commands/M0006.json +75 -69
  91. data/schemas/tlc/1.0.13/commands/M0007.json +50 -44
  92. data/schemas/tlc/1.0.13/commands/M0008.json +75 -69
  93. data/schemas/tlc/1.0.13/commands/M0010.json +50 -44
  94. data/schemas/tlc/1.0.13/commands/M0011.json +50 -44
  95. data/schemas/tlc/1.0.13/commands/M0012.json +45 -39
  96. data/schemas/tlc/1.0.13/commands/M0013.json +45 -39
  97. data/schemas/tlc/1.0.13/commands/M0014.json +70 -64
  98. data/schemas/tlc/1.0.13/commands/M0015.json +75 -69
  99. data/schemas/tlc/1.0.13/commands/M0016.json +45 -39
  100. data/schemas/tlc/1.0.13/commands/M0017.json +45 -39
  101. data/schemas/tlc/1.0.13/commands/M0018.json +75 -69
  102. data/schemas/tlc/1.0.13/commands/M0019.json +100 -94
  103. data/schemas/tlc/1.0.13/commands/M0103.json +68 -62
  104. data/schemas/tlc/1.0.13/commands/M0104.json +175 -169
  105. data/schemas/tlc/1.0.13/statuses/S0001.json +101 -95
  106. data/schemas/tlc/1.0.13/statuses/S0002.json +25 -19
  107. data/schemas/tlc/1.0.13/statuses/S0003.json +45 -39
  108. data/schemas/tlc/1.0.13/statuses/S0004.json +45 -39
  109. data/schemas/tlc/1.0.13/statuses/S0005.json +30 -24
  110. data/schemas/tlc/1.0.13/statuses/S0006.json +55 -49
  111. data/schemas/tlc/1.0.13/statuses/S0007.json +55 -49
  112. data/schemas/tlc/1.0.13/statuses/S0008.json +55 -49
  113. data/schemas/tlc/1.0.13/statuses/S0009.json +55 -49
  114. data/schemas/tlc/1.0.13/statuses/S0010.json +55 -49
  115. data/schemas/tlc/1.0.13/statuses/S0011.json +55 -49
  116. data/schemas/tlc/1.0.13/statuses/S0012.json +55 -49
  117. data/schemas/tlc/1.0.13/statuses/S0013.json +55 -49
  118. data/schemas/tlc/1.0.13/statuses/S0014.json +30 -24
  119. data/schemas/tlc/1.0.13/statuses/S0015.json +30 -24
  120. data/schemas/tlc/1.0.13/statuses/S0016.json +30 -24
  121. data/schemas/tlc/1.0.13/statuses/S0017.json +30 -24
  122. data/schemas/tlc/1.0.13/statuses/S0018.json +30 -24
  123. data/schemas/tlc/1.0.13/statuses/S0019.json +30 -24
  124. data/schemas/tlc/1.0.13/statuses/S0020.json +55 -49
  125. data/schemas/tlc/1.0.13/statuses/S0021.json +26 -20
  126. data/schemas/tlc/1.0.13/statuses/S0022.json +25 -19
  127. data/schemas/tlc/1.0.13/statuses/S0023.json +26 -20
  128. data/schemas/tlc/1.0.13/statuses/S0024.json +26 -20
  129. data/schemas/tlc/1.0.13/statuses/S0025.json +213 -207
  130. data/schemas/tlc/1.0.13/statuses/S0026.json +25 -19
  131. data/schemas/tlc/1.0.13/statuses/S0027.json +25 -19
  132. data/schemas/tlc/1.0.13/statuses/S0028.json +25 -19
  133. data/schemas/tlc/1.0.13/statuses/S0029.json +25 -19
  134. data/schemas/tlc/1.0.13/statuses/S0091.json +48 -42
  135. data/schemas/tlc/1.0.13/statuses/S0092.json +48 -42
  136. data/schemas/tlc/1.0.13/statuses/S0095.json +25 -19
  137. data/schemas/tlc/1.0.13/statuses/S0096.json +155 -149
  138. data/schemas/tlc/1.0.13/statuses/S0201.json +55 -49
  139. data/schemas/tlc/1.0.13/statuses/S0202.json +55 -49
  140. data/schemas/tlc/1.0.13/statuses/S0203.json +55 -49
  141. data/schemas/tlc/1.0.13/statuses/S0204.json +255 -249
  142. data/schemas/tlc/1.0.14/alarms/A0001.json +1 -5
  143. data/schemas/tlc/1.0.14/alarms/A0002.json +1 -5
  144. data/schemas/tlc/1.0.14/alarms/A0003.json +1 -5
  145. data/schemas/tlc/1.0.14/alarms/A0004.json +1 -5
  146. data/schemas/tlc/1.0.14/alarms/A0005.json +1 -5
  147. data/schemas/tlc/1.0.14/alarms/A0006.json +1 -5
  148. data/schemas/tlc/1.0.14/alarms/A0007.json +1 -5
  149. data/schemas/tlc/1.0.14/alarms/A0008.json +30 -24
  150. data/schemas/tlc/1.0.14/alarms/A0009.json +1 -5
  151. data/schemas/tlc/1.0.14/alarms/A0101.json +1 -5
  152. data/schemas/tlc/1.0.14/alarms/A0201.json +30 -24
  153. data/schemas/tlc/1.0.14/alarms/A0202.json +30 -24
  154. data/schemas/tlc/1.0.14/alarms/A0301.json +98 -92
  155. data/schemas/tlc/1.0.14/alarms/A0302.json +123 -117
  156. data/schemas/tlc/1.0.14/commands/M0001.json +105 -99
  157. data/schemas/tlc/1.0.14/commands/M0002.json +75 -69
  158. data/schemas/tlc/1.0.14/commands/M0003.json +75 -69
  159. data/schemas/tlc/1.0.14/commands/M0004.json +50 -44
  160. data/schemas/tlc/1.0.14/commands/M0005.json +75 -69
  161. data/schemas/tlc/1.0.14/commands/M0006.json +75 -69
  162. data/schemas/tlc/1.0.14/commands/M0007.json +50 -44
  163. data/schemas/tlc/1.0.14/commands/M0008.json +75 -69
  164. data/schemas/tlc/1.0.14/commands/M0010.json +50 -44
  165. data/schemas/tlc/1.0.14/commands/M0011.json +50 -44
  166. data/schemas/tlc/1.0.14/commands/M0012.json +45 -39
  167. data/schemas/tlc/1.0.14/commands/M0013.json +45 -39
  168. data/schemas/tlc/1.0.14/commands/M0014.json +70 -64
  169. data/schemas/tlc/1.0.14/commands/M0015.json +75 -69
  170. data/schemas/tlc/1.0.14/commands/M0016.json +45 -39
  171. data/schemas/tlc/1.0.14/commands/M0017.json +45 -39
  172. data/schemas/tlc/1.0.14/commands/M0018.json +75 -69
  173. data/schemas/tlc/1.0.14/commands/M0019.json +100 -94
  174. data/schemas/tlc/1.0.14/commands/M0103.json +68 -62
  175. data/schemas/tlc/1.0.14/commands/M0104.json +175 -169
  176. data/schemas/tlc/1.0.14/statuses/S0001.json +101 -95
  177. data/schemas/tlc/1.0.14/statuses/S0002.json +25 -19
  178. data/schemas/tlc/1.0.14/statuses/S0003.json +45 -39
  179. data/schemas/tlc/1.0.14/statuses/S0004.json +45 -39
  180. data/schemas/tlc/1.0.14/statuses/S0005.json +30 -24
  181. data/schemas/tlc/1.0.14/statuses/S0006.json +55 -49
  182. data/schemas/tlc/1.0.14/statuses/S0007.json +55 -49
  183. data/schemas/tlc/1.0.14/statuses/S0008.json +55 -49
  184. data/schemas/tlc/1.0.14/statuses/S0009.json +55 -49
  185. data/schemas/tlc/1.0.14/statuses/S0010.json +55 -49
  186. data/schemas/tlc/1.0.14/statuses/S0011.json +55 -49
  187. data/schemas/tlc/1.0.14/statuses/S0012.json +55 -49
  188. data/schemas/tlc/1.0.14/statuses/S0013.json +55 -49
  189. data/schemas/tlc/1.0.14/statuses/S0014.json +30 -24
  190. data/schemas/tlc/1.0.14/statuses/S0015.json +30 -24
  191. data/schemas/tlc/1.0.14/statuses/S0016.json +30 -24
  192. data/schemas/tlc/1.0.14/statuses/S0017.json +30 -24
  193. data/schemas/tlc/1.0.14/statuses/S0018.json +30 -24
  194. data/schemas/tlc/1.0.14/statuses/S0019.json +30 -24
  195. data/schemas/tlc/1.0.14/statuses/S0020.json +55 -49
  196. data/schemas/tlc/1.0.14/statuses/S0021.json +26 -20
  197. data/schemas/tlc/1.0.14/statuses/S0022.json +25 -19
  198. data/schemas/tlc/1.0.14/statuses/S0023.json +26 -20
  199. data/schemas/tlc/1.0.14/statuses/S0024.json +26 -20
  200. data/schemas/tlc/1.0.14/statuses/S0025.json +213 -207
  201. data/schemas/tlc/1.0.14/statuses/S0026.json +25 -19
  202. data/schemas/tlc/1.0.14/statuses/S0027.json +25 -19
  203. data/schemas/tlc/1.0.14/statuses/S0028.json +25 -19
  204. data/schemas/tlc/1.0.14/statuses/S0029.json +25 -19
  205. data/schemas/tlc/1.0.14/statuses/S0091.json +48 -42
  206. data/schemas/tlc/1.0.14/statuses/S0092.json +48 -42
  207. data/schemas/tlc/1.0.14/statuses/S0095.json +25 -19
  208. data/schemas/tlc/1.0.14/statuses/S0096.json +155 -149
  209. data/schemas/tlc/1.0.14/statuses/S0201.json +55 -49
  210. data/schemas/tlc/1.0.14/statuses/S0202.json +55 -49
  211. data/schemas/tlc/1.0.14/statuses/S0203.json +55 -49
  212. data/schemas/tlc/1.0.14/statuses/S0204.json +255 -249
  213. data/schemas/tlc/1.0.14/statuses/S0205.json +50 -44
  214. data/schemas/tlc/1.0.14/statuses/S0206.json +50 -44
  215. data/schemas/tlc/1.0.14/statuses/S0207.json +50 -44
  216. data/schemas/tlc/1.0.14/statuses/S0208.json +211 -205
  217. data/schemas/tlc/1.0.15/alarms/A0001.json +1 -5
  218. data/schemas/tlc/1.0.15/alarms/A0002.json +1 -5
  219. data/schemas/tlc/1.0.15/alarms/A0003.json +1 -5
  220. data/schemas/tlc/1.0.15/alarms/A0004.json +1 -5
  221. data/schemas/tlc/1.0.15/alarms/A0005.json +1 -5
  222. data/schemas/tlc/1.0.15/alarms/A0006.json +1 -5
  223. data/schemas/tlc/1.0.15/alarms/A0007.json +1 -5
  224. data/schemas/tlc/1.0.15/alarms/A0008.json +30 -24
  225. data/schemas/tlc/1.0.15/alarms/A0009.json +1 -5
  226. data/schemas/tlc/1.0.15/alarms/A0010.json +1 -5
  227. data/schemas/tlc/1.0.15/alarms/A0101.json +1 -5
  228. data/schemas/tlc/1.0.15/alarms/A0201.json +30 -24
  229. data/schemas/tlc/1.0.15/alarms/A0202.json +30 -24
  230. data/schemas/tlc/1.0.15/alarms/A0301.json +98 -92
  231. data/schemas/tlc/1.0.15/alarms/A0302.json +123 -117
  232. data/schemas/tlc/1.0.15/commands/M0001.json +105 -99
  233. data/schemas/tlc/1.0.15/commands/M0002.json +75 -69
  234. data/schemas/tlc/1.0.15/commands/M0003.json +75 -69
  235. data/schemas/tlc/1.0.15/commands/M0004.json +50 -44
  236. data/schemas/tlc/1.0.15/commands/M0005.json +75 -69
  237. data/schemas/tlc/1.0.15/commands/M0006.json +75 -69
  238. data/schemas/tlc/1.0.15/commands/M0007.json +50 -44
  239. data/schemas/tlc/1.0.15/commands/M0008.json +75 -69
  240. data/schemas/tlc/1.0.15/commands/M0010.json +50 -44
  241. data/schemas/tlc/1.0.15/commands/M0011.json +50 -44
  242. data/schemas/tlc/1.0.15/commands/M0012.json +45 -39
  243. data/schemas/tlc/1.0.15/commands/M0013.json +45 -39
  244. data/schemas/tlc/1.0.15/commands/M0014.json +70 -64
  245. data/schemas/tlc/1.0.15/commands/M0015.json +75 -69
  246. data/schemas/tlc/1.0.15/commands/M0016.json +45 -39
  247. data/schemas/tlc/1.0.15/commands/M0017.json +45 -39
  248. data/schemas/tlc/1.0.15/commands/M0018.json +75 -69
  249. data/schemas/tlc/1.0.15/commands/M0019.json +100 -94
  250. data/schemas/tlc/1.0.15/commands/M0020.json +100 -94
  251. data/schemas/tlc/1.0.15/commands/M0021.json +45 -39
  252. data/schemas/tlc/1.0.15/commands/M0103.json +68 -62
  253. data/schemas/tlc/1.0.15/commands/M0104.json +175 -169
  254. data/schemas/tlc/1.0.15/statuses/S0001.json +101 -95
  255. data/schemas/tlc/1.0.15/statuses/S0002.json +25 -19
  256. data/schemas/tlc/1.0.15/statuses/S0003.json +45 -39
  257. data/schemas/tlc/1.0.15/statuses/S0004.json +45 -39
  258. data/schemas/tlc/1.0.15/statuses/S0005.json +30 -24
  259. data/schemas/tlc/1.0.15/statuses/S0006.json +55 -49
  260. data/schemas/tlc/1.0.15/statuses/S0007.json +55 -49
  261. data/schemas/tlc/1.0.15/statuses/S0008.json +55 -49
  262. data/schemas/tlc/1.0.15/statuses/S0009.json +55 -49
  263. data/schemas/tlc/1.0.15/statuses/S0010.json +55 -49
  264. data/schemas/tlc/1.0.15/statuses/S0011.json +55 -49
  265. data/schemas/tlc/1.0.15/statuses/S0012.json +55 -49
  266. data/schemas/tlc/1.0.15/statuses/S0013.json +55 -49
  267. data/schemas/tlc/1.0.15/statuses/S0014.json +30 -24
  268. data/schemas/tlc/1.0.15/statuses/S0015.json +30 -24
  269. data/schemas/tlc/1.0.15/statuses/S0016.json +30 -24
  270. data/schemas/tlc/1.0.15/statuses/S0017.json +30 -24
  271. data/schemas/tlc/1.0.15/statuses/S0018.json +30 -24
  272. data/schemas/tlc/1.0.15/statuses/S0019.json +30 -24
  273. data/schemas/tlc/1.0.15/statuses/S0020.json +55 -49
  274. data/schemas/tlc/1.0.15/statuses/S0021.json +26 -20
  275. data/schemas/tlc/1.0.15/statuses/S0022.json +25 -19
  276. data/schemas/tlc/1.0.15/statuses/S0023.json +26 -20
  277. data/schemas/tlc/1.0.15/statuses/S0024.json +26 -20
  278. data/schemas/tlc/1.0.15/statuses/S0025.json +213 -207
  279. data/schemas/tlc/1.0.15/statuses/S0026.json +25 -19
  280. data/schemas/tlc/1.0.15/statuses/S0027.json +25 -19
  281. data/schemas/tlc/1.0.15/statuses/S0028.json +25 -19
  282. data/schemas/tlc/1.0.15/statuses/S0029.json +25 -19
  283. data/schemas/tlc/1.0.15/statuses/S0030.json +25 -19
  284. data/schemas/tlc/1.0.15/statuses/S0031.json +25 -19
  285. data/schemas/tlc/1.0.15/statuses/S0091.json +48 -42
  286. data/schemas/tlc/1.0.15/statuses/S0092.json +48 -42
  287. data/schemas/tlc/1.0.15/statuses/S0095.json +25 -19
  288. data/schemas/tlc/1.0.15/statuses/S0096.json +155 -149
  289. data/schemas/tlc/1.0.15/statuses/S0097.json +50 -44
  290. data/schemas/tlc/1.0.15/statuses/S0098.json +70 -64
  291. data/schemas/tlc/1.0.15/statuses/S0201.json +55 -49
  292. data/schemas/tlc/1.0.15/statuses/S0202.json +55 -49
  293. data/schemas/tlc/1.0.15/statuses/S0203.json +55 -49
  294. data/schemas/tlc/1.0.15/statuses/S0204.json +255 -249
  295. data/schemas/tlc/1.0.15/statuses/S0205.json +50 -44
  296. data/schemas/tlc/1.0.15/statuses/S0206.json +50 -44
  297. data/schemas/tlc/1.0.15/statuses/S0207.json +50 -44
  298. data/schemas/tlc/1.0.15/statuses/S0208.json +211 -205
  299. data/schemas/tlc/1.0.7/alarms/A0001.json +1 -5
  300. data/schemas/tlc/1.0.7/alarms/A0002.json +1 -5
  301. data/schemas/tlc/1.0.7/alarms/A0003.json +1 -5
  302. data/schemas/tlc/1.0.7/alarms/A0004.json +1 -5
  303. data/schemas/tlc/1.0.7/alarms/A0005.json +1 -5
  304. data/schemas/tlc/1.0.7/alarms/A0006.json +1 -5
  305. data/schemas/tlc/1.0.7/alarms/A0007.json +1 -5
  306. data/schemas/tlc/1.0.7/alarms/A0008.json +30 -24
  307. data/schemas/tlc/1.0.7/alarms/A0009.json +1 -5
  308. data/schemas/tlc/1.0.7/alarms/A0101.json +1 -5
  309. data/schemas/tlc/1.0.7/alarms/A0201.json +30 -24
  310. data/schemas/tlc/1.0.7/alarms/A0202.json +30 -24
  311. data/schemas/tlc/1.0.7/alarms/A0301.json +98 -92
  312. data/schemas/tlc/1.0.7/alarms/A0302.json +123 -117
  313. data/schemas/tlc/1.0.7/commands/M0001.json +105 -99
  314. data/schemas/tlc/1.0.7/commands/M0002.json +75 -69
  315. data/schemas/tlc/1.0.7/commands/M0003.json +75 -69
  316. data/schemas/tlc/1.0.7/commands/M0004.json +50 -44
  317. data/schemas/tlc/1.0.7/commands/M0005.json +75 -69
  318. data/schemas/tlc/1.0.7/commands/M0006.json +75 -69
  319. data/schemas/tlc/1.0.7/commands/M0007.json +50 -44
  320. data/schemas/tlc/1.0.7/commands/M0008.json +75 -69
  321. data/schemas/tlc/1.0.7/commands/M0010.json +50 -44
  322. data/schemas/tlc/1.0.7/commands/M0011.json +50 -44
  323. data/schemas/tlc/1.0.7/commands/M0019.json +100 -94
  324. data/schemas/tlc/1.0.7/commands/M0103.json +68 -62
  325. data/schemas/tlc/1.0.7/commands/M0104.json +175 -169
  326. data/schemas/tlc/1.0.7/statuses/S0001.json +101 -95
  327. data/schemas/tlc/1.0.7/statuses/S0002.json +25 -19
  328. data/schemas/tlc/1.0.7/statuses/S0003.json +45 -39
  329. data/schemas/tlc/1.0.7/statuses/S0004.json +45 -39
  330. data/schemas/tlc/1.0.7/statuses/S0005.json +30 -24
  331. data/schemas/tlc/1.0.7/statuses/S0006.json +55 -49
  332. data/schemas/tlc/1.0.7/statuses/S0007.json +55 -49
  333. data/schemas/tlc/1.0.7/statuses/S0008.json +55 -49
  334. data/schemas/tlc/1.0.7/statuses/S0009.json +55 -49
  335. data/schemas/tlc/1.0.7/statuses/S0010.json +55 -49
  336. data/schemas/tlc/1.0.7/statuses/S0011.json +55 -49
  337. data/schemas/tlc/1.0.7/statuses/S0012.json +55 -49
  338. data/schemas/tlc/1.0.7/statuses/S0013.json +55 -49
  339. data/schemas/tlc/1.0.7/statuses/S0014.json +30 -24
  340. data/schemas/tlc/1.0.7/statuses/S0015.json +30 -24
  341. data/schemas/tlc/1.0.7/statuses/S0016.json +30 -24
  342. data/schemas/tlc/1.0.7/statuses/S0017.json +30 -24
  343. data/schemas/tlc/1.0.7/statuses/S0018.json +30 -24
  344. data/schemas/tlc/1.0.7/statuses/S0019.json +30 -24
  345. data/schemas/tlc/1.0.7/statuses/S0020.json +55 -49
  346. data/schemas/tlc/1.0.7/statuses/S0021.json +26 -20
  347. data/schemas/tlc/1.0.7/statuses/S0025.json +213 -207
  348. data/schemas/tlc/1.0.7/statuses/S0091.json +48 -42
  349. data/schemas/tlc/1.0.7/statuses/S0092.json +48 -42
  350. data/schemas/tlc/1.0.7/statuses/S0095.json +25 -19
  351. data/schemas/tlc/1.0.7/statuses/S0096.json +155 -149
  352. data/schemas/tlc/1.0.7/statuses/S0201.json +55 -49
  353. data/schemas/tlc/1.0.7/statuses/S0202.json +55 -49
  354. data/schemas/tlc/1.0.7/statuses/S0203.json +55 -49
  355. data/schemas/tlc/1.0.7/statuses/S0204.json +255 -249
  356. data/schemas/tlc/1.0.8/alarms/A0001.json +1 -5
  357. data/schemas/tlc/1.0.8/alarms/A0002.json +1 -5
  358. data/schemas/tlc/1.0.8/alarms/A0003.json +1 -5
  359. data/schemas/tlc/1.0.8/alarms/A0004.json +1 -5
  360. data/schemas/tlc/1.0.8/alarms/A0005.json +1 -5
  361. data/schemas/tlc/1.0.8/alarms/A0006.json +1 -5
  362. data/schemas/tlc/1.0.8/alarms/A0007.json +1 -5
  363. data/schemas/tlc/1.0.8/alarms/A0008.json +30 -24
  364. data/schemas/tlc/1.0.8/alarms/A0009.json +1 -5
  365. data/schemas/tlc/1.0.8/alarms/A0101.json +1 -5
  366. data/schemas/tlc/1.0.8/alarms/A0201.json +30 -24
  367. data/schemas/tlc/1.0.8/alarms/A0202.json +30 -24
  368. data/schemas/tlc/1.0.8/alarms/A0301.json +98 -92
  369. data/schemas/tlc/1.0.8/alarms/A0302.json +123 -117
  370. data/schemas/tlc/1.0.8/commands/M0001.json +105 -99
  371. data/schemas/tlc/1.0.8/commands/M0002.json +75 -69
  372. data/schemas/tlc/1.0.8/commands/M0003.json +75 -69
  373. data/schemas/tlc/1.0.8/commands/M0004.json +50 -44
  374. data/schemas/tlc/1.0.8/commands/M0005.json +75 -69
  375. data/schemas/tlc/1.0.8/commands/M0006.json +75 -69
  376. data/schemas/tlc/1.0.8/commands/M0007.json +50 -44
  377. data/schemas/tlc/1.0.8/commands/M0008.json +75 -69
  378. data/schemas/tlc/1.0.8/commands/M0010.json +50 -44
  379. data/schemas/tlc/1.0.8/commands/M0011.json +50 -44
  380. data/schemas/tlc/1.0.8/commands/M0012.json +45 -39
  381. data/schemas/tlc/1.0.8/commands/M0013.json +45 -39
  382. data/schemas/tlc/1.0.8/commands/M0019.json +100 -94
  383. data/schemas/tlc/1.0.8/commands/M0103.json +68 -62
  384. data/schemas/tlc/1.0.8/commands/M0104.json +175 -169
  385. data/schemas/tlc/1.0.8/statuses/S0001.json +101 -95
  386. data/schemas/tlc/1.0.8/statuses/S0002.json +25 -19
  387. data/schemas/tlc/1.0.8/statuses/S0003.json +45 -39
  388. data/schemas/tlc/1.0.8/statuses/S0004.json +45 -39
  389. data/schemas/tlc/1.0.8/statuses/S0005.json +30 -24
  390. data/schemas/tlc/1.0.8/statuses/S0006.json +55 -49
  391. data/schemas/tlc/1.0.8/statuses/S0007.json +55 -49
  392. data/schemas/tlc/1.0.8/statuses/S0008.json +55 -49
  393. data/schemas/tlc/1.0.8/statuses/S0009.json +55 -49
  394. data/schemas/tlc/1.0.8/statuses/S0010.json +55 -49
  395. data/schemas/tlc/1.0.8/statuses/S0011.json +55 -49
  396. data/schemas/tlc/1.0.8/statuses/S0012.json +55 -49
  397. data/schemas/tlc/1.0.8/statuses/S0013.json +55 -49
  398. data/schemas/tlc/1.0.8/statuses/S0014.json +30 -24
  399. data/schemas/tlc/1.0.8/statuses/S0015.json +30 -24
  400. data/schemas/tlc/1.0.8/statuses/S0016.json +30 -24
  401. data/schemas/tlc/1.0.8/statuses/S0017.json +30 -24
  402. data/schemas/tlc/1.0.8/statuses/S0018.json +30 -24
  403. data/schemas/tlc/1.0.8/statuses/S0019.json +30 -24
  404. data/schemas/tlc/1.0.8/statuses/S0020.json +55 -49
  405. data/schemas/tlc/1.0.8/statuses/S0021.json +26 -20
  406. data/schemas/tlc/1.0.8/statuses/S0091.json +48 -42
  407. data/schemas/tlc/1.0.8/statuses/S0092.json +48 -42
  408. data/schemas/tlc/1.0.8/statuses/S0095.json +25 -19
  409. data/schemas/tlc/1.0.8/statuses/S0096.json +155 -149
  410. data/schemas/tlc/1.0.8/statuses/S0201.json +55 -49
  411. data/schemas/tlc/1.0.8/statuses/S0202.json +55 -49
  412. data/schemas/tlc/1.0.8/statuses/S0203.json +55 -49
  413. data/schemas/tlc/1.0.8/statuses/S0204.json +255 -249
  414. data/schemas/tlc/1.0.9/alarms/A0001.json +1 -5
  415. data/schemas/tlc/1.0.9/alarms/A0002.json +1 -5
  416. data/schemas/tlc/1.0.9/alarms/A0003.json +1 -5
  417. data/schemas/tlc/1.0.9/alarms/A0004.json +1 -5
  418. data/schemas/tlc/1.0.9/alarms/A0005.json +1 -5
  419. data/schemas/tlc/1.0.9/alarms/A0006.json +1 -5
  420. data/schemas/tlc/1.0.9/alarms/A0007.json +1 -5
  421. data/schemas/tlc/1.0.9/alarms/A0008.json +30 -24
  422. data/schemas/tlc/1.0.9/alarms/A0009.json +1 -5
  423. data/schemas/tlc/1.0.9/alarms/A0101.json +1 -5
  424. data/schemas/tlc/1.0.9/alarms/A0201.json +30 -24
  425. data/schemas/tlc/1.0.9/alarms/A0202.json +30 -24
  426. data/schemas/tlc/1.0.9/alarms/A0301.json +98 -92
  427. data/schemas/tlc/1.0.9/alarms/A0302.json +123 -117
  428. data/schemas/tlc/1.0.9/commands/M0001.json +105 -99
  429. data/schemas/tlc/1.0.9/commands/M0002.json +75 -69
  430. data/schemas/tlc/1.0.9/commands/M0003.json +75 -69
  431. data/schemas/tlc/1.0.9/commands/M0004.json +50 -44
  432. data/schemas/tlc/1.0.9/commands/M0005.json +75 -69
  433. data/schemas/tlc/1.0.9/commands/M0006.json +75 -69
  434. data/schemas/tlc/1.0.9/commands/M0007.json +50 -44
  435. data/schemas/tlc/1.0.9/commands/M0008.json +75 -69
  436. data/schemas/tlc/1.0.9/commands/M0010.json +50 -44
  437. data/schemas/tlc/1.0.9/commands/M0011.json +50 -44
  438. data/schemas/tlc/1.0.9/commands/M0012.json +45 -39
  439. data/schemas/tlc/1.0.9/commands/M0013.json +45 -39
  440. data/schemas/tlc/1.0.9/commands/M0019.json +100 -94
  441. data/schemas/tlc/1.0.9/commands/M0103.json +68 -62
  442. data/schemas/tlc/1.0.9/commands/M0104.json +175 -169
  443. data/schemas/tlc/1.0.9/statuses/S0001.json +101 -95
  444. data/schemas/tlc/1.0.9/statuses/S0002.json +25 -19
  445. data/schemas/tlc/1.0.9/statuses/S0003.json +45 -39
  446. data/schemas/tlc/1.0.9/statuses/S0004.json +45 -39
  447. data/schemas/tlc/1.0.9/statuses/S0005.json +30 -24
  448. data/schemas/tlc/1.0.9/statuses/S0006.json +55 -49
  449. data/schemas/tlc/1.0.9/statuses/S0007.json +55 -49
  450. data/schemas/tlc/1.0.9/statuses/S0008.json +55 -49
  451. data/schemas/tlc/1.0.9/statuses/S0009.json +55 -49
  452. data/schemas/tlc/1.0.9/statuses/S0010.json +55 -49
  453. data/schemas/tlc/1.0.9/statuses/S0011.json +55 -49
  454. data/schemas/tlc/1.0.9/statuses/S0012.json +55 -49
  455. data/schemas/tlc/1.0.9/statuses/S0013.json +55 -49
  456. data/schemas/tlc/1.0.9/statuses/S0014.json +30 -24
  457. data/schemas/tlc/1.0.9/statuses/S0015.json +30 -24
  458. data/schemas/tlc/1.0.9/statuses/S0016.json +30 -24
  459. data/schemas/tlc/1.0.9/statuses/S0017.json +30 -24
  460. data/schemas/tlc/1.0.9/statuses/S0018.json +30 -24
  461. data/schemas/tlc/1.0.9/statuses/S0019.json +30 -24
  462. data/schemas/tlc/1.0.9/statuses/S0020.json +55 -49
  463. data/schemas/tlc/1.0.9/statuses/S0021.json +26 -20
  464. data/schemas/tlc/1.0.9/statuses/S0091.json +48 -42
  465. data/schemas/tlc/1.0.9/statuses/S0092.json +48 -42
  466. data/schemas/tlc/1.0.9/statuses/S0095.json +25 -19
  467. data/schemas/tlc/1.0.9/statuses/S0096.json +155 -149
  468. data/schemas/tlc/1.0.9/statuses/S0201.json +55 -49
  469. data/schemas/tlc/1.0.9/statuses/S0202.json +55 -49
  470. data/schemas/tlc/1.0.9/statuses/S0203.json +55 -49
  471. data/schemas/tlc/1.0.9/statuses/S0204.json +255 -249
  472. data/schemas/tlc/1.1/alarms/A0001.json +1 -5
  473. data/schemas/tlc/1.1/alarms/A0002.json +1 -5
  474. data/schemas/tlc/1.1/alarms/A0003.json +1 -5
  475. data/schemas/tlc/1.1/alarms/A0004.json +1 -5
  476. data/schemas/tlc/1.1/alarms/A0005.json +1 -5
  477. data/schemas/tlc/1.1/alarms/A0006.json +1 -5
  478. data/schemas/tlc/1.1/alarms/A0007.json +29 -23
  479. data/schemas/tlc/1.1/alarms/A0008.json +30 -24
  480. data/schemas/tlc/1.1/alarms/A0009.json +1 -5
  481. data/schemas/tlc/1.1/alarms/A0010.json +1 -5
  482. data/schemas/tlc/1.1/alarms/A0101.json +1 -5
  483. data/schemas/tlc/1.1/alarms/A0201.json +30 -24
  484. data/schemas/tlc/1.1/alarms/A0202.json +30 -24
  485. data/schemas/tlc/1.1/alarms/A0301.json +98 -92
  486. data/schemas/tlc/1.1/alarms/A0302.json +123 -117
  487. data/schemas/tlc/1.1/alarms/A0303.json +98 -92
  488. data/schemas/tlc/1.1/alarms/A0304.json +123 -117
  489. data/schemas/tlc/1.1/commands/M0001.json +100 -94
  490. data/schemas/tlc/1.1/commands/M0002.json +75 -69
  491. data/schemas/tlc/1.1/commands/M0003.json +75 -69
  492. data/schemas/tlc/1.1/commands/M0004.json +50 -44
  493. data/schemas/tlc/1.1/commands/M0005.json +75 -69
  494. data/schemas/tlc/1.1/commands/M0006.json +75 -69
  495. data/schemas/tlc/1.1/commands/M0007.json +50 -44
  496. data/schemas/tlc/1.1/commands/M0008.json +75 -69
  497. data/schemas/tlc/1.1/commands/M0010.json +50 -44
  498. data/schemas/tlc/1.1/commands/M0011.json +50 -44
  499. data/schemas/tlc/1.1/commands/M0012.json +45 -39
  500. data/schemas/tlc/1.1/commands/M0013.json +45 -39
  501. data/schemas/tlc/1.1/commands/M0014.json +70 -64
  502. data/schemas/tlc/1.1/commands/M0015.json +75 -69
  503. data/schemas/tlc/1.1/commands/M0016.json +45 -39
  504. data/schemas/tlc/1.1/commands/M0017.json +45 -39
  505. data/schemas/tlc/1.1/commands/M0018.json +75 -69
  506. data/schemas/tlc/1.1/commands/M0019.json +100 -94
  507. data/schemas/tlc/1.1/commands/M0020.json +100 -94
  508. data/schemas/tlc/1.1/commands/M0021.json +45 -39
  509. data/schemas/tlc/1.1/commands/M0022.json +303 -297
  510. data/schemas/tlc/1.1/commands/M0023.json +50 -44
  511. data/schemas/tlc/1.1/commands/M0103.json +68 -62
  512. data/schemas/tlc/1.1/commands/M0104.json +175 -169
  513. data/schemas/tlc/1.1/statuses/S0001.json +101 -95
  514. data/schemas/tlc/1.1/statuses/S0002.json +25 -19
  515. data/schemas/tlc/1.1/statuses/S0003.json +45 -39
  516. data/schemas/tlc/1.1/statuses/S0004.json +45 -39
  517. data/schemas/tlc/1.1/statuses/S0005.json +30 -24
  518. data/schemas/tlc/1.1/statuses/S0006.json +55 -49
  519. data/schemas/tlc/1.1/statuses/S0007.json +81 -75
  520. data/schemas/tlc/1.1/statuses/S0008.json +81 -75
  521. data/schemas/tlc/1.1/statuses/S0009.json +81 -75
  522. data/schemas/tlc/1.1/statuses/S0010.json +81 -75
  523. data/schemas/tlc/1.1/statuses/S0011.json +81 -75
  524. data/schemas/tlc/1.1/statuses/S0012.json +81 -75
  525. data/schemas/tlc/1.1/statuses/S0013.json +55 -49
  526. data/schemas/tlc/1.1/statuses/S0014.json +58 -52
  527. data/schemas/tlc/1.1/statuses/S0015.json +58 -52
  528. data/schemas/tlc/1.1/statuses/S0016.json +30 -24
  529. data/schemas/tlc/1.1/statuses/S0017.json +30 -24
  530. data/schemas/tlc/1.1/statuses/S0018.json +30 -24
  531. data/schemas/tlc/1.1/statuses/S0019.json +30 -24
  532. data/schemas/tlc/1.1/statuses/S0020.json +55 -49
  533. data/schemas/tlc/1.1/statuses/S0021.json +26 -20
  534. data/schemas/tlc/1.1/statuses/S0022.json +25 -19
  535. data/schemas/tlc/1.1/statuses/S0023.json +26 -20
  536. data/schemas/tlc/1.1/statuses/S0024.json +26 -20
  537. data/schemas/tlc/1.1/statuses/S0025.json +213 -207
  538. data/schemas/tlc/1.1/statuses/S0026.json +25 -19
  539. data/schemas/tlc/1.1/statuses/S0027.json +25 -19
  540. data/schemas/tlc/1.1/statuses/S0028.json +25 -19
  541. data/schemas/tlc/1.1/statuses/S0029.json +25 -19
  542. data/schemas/tlc/1.1/statuses/S0030.json +25 -19
  543. data/schemas/tlc/1.1/statuses/S0031.json +25 -19
  544. data/schemas/tlc/1.1/statuses/S0032.json +81 -75
  545. data/schemas/tlc/1.1/statuses/S0033.json +76 -70
  546. data/schemas/tlc/1.1/statuses/S0034.json +30 -24
  547. data/schemas/tlc/1.1/statuses/S0091.json +34 -28
  548. data/schemas/tlc/1.1/statuses/S0092.json +34 -28
  549. data/schemas/tlc/1.1/statuses/S0095.json +25 -19
  550. data/schemas/tlc/1.1/statuses/S0096.json +155 -149
  551. data/schemas/tlc/1.1/statuses/S0097.json +50 -44
  552. data/schemas/tlc/1.1/statuses/S0098.json +70 -64
  553. data/schemas/tlc/1.1/statuses/S0201.json +55 -49
  554. data/schemas/tlc/1.1/statuses/S0202.json +55 -49
  555. data/schemas/tlc/1.1/statuses/S0203.json +55 -49
  556. data/schemas/tlc/1.1/statuses/S0204.json +255 -249
  557. data/schemas/tlc/1.1/statuses/S0205.json +55 -49
  558. data/schemas/tlc/1.1/statuses/S0206.json +55 -49
  559. data/schemas/tlc/1.1/statuses/S0207.json +55 -49
  560. data/schemas/tlc/1.1/statuses/S0208.json +255 -249
  561. data/schemas/tlc/1.2/alarms/A0001.json +3 -0
  562. data/schemas/tlc/1.2/alarms/A0002.json +3 -0
  563. data/schemas/tlc/1.2/alarms/A0003.json +3 -0
  564. data/schemas/tlc/1.2/alarms/A0004.json +3 -0
  565. data/schemas/tlc/1.2/alarms/A0005.json +3 -0
  566. data/schemas/tlc/1.2/alarms/A0006.json +3 -0
  567. data/schemas/tlc/1.2/alarms/A0007.json +59 -0
  568. data/schemas/tlc/1.2/alarms/A0008.json +61 -0
  569. data/schemas/tlc/1.2/alarms/A0009.json +3 -0
  570. data/schemas/tlc/1.2/alarms/A0010.json +3 -0
  571. data/schemas/tlc/1.2/alarms/A0101.json +3 -0
  572. data/schemas/tlc/1.2/alarms/A0201.json +60 -0
  573. data/schemas/tlc/1.2/alarms/A0202.json +60 -0
  574. data/schemas/tlc/1.2/alarms/A0301.json +132 -0
  575. data/schemas/tlc/1.2/alarms/A0302.json +158 -0
  576. data/schemas/tlc/1.2/alarms/A0303.json +132 -0
  577. data/schemas/tlc/1.2/alarms/A0304.json +158 -0
  578. data/schemas/tlc/1.2/alarms/alarms.json +286 -0
  579. data/schemas/tlc/1.2/commands/M0001.json +138 -0
  580. data/schemas/tlc/1.2/commands/M0002.json +112 -0
  581. data/schemas/tlc/1.2/commands/M0003.json +112 -0
  582. data/schemas/tlc/1.2/commands/M0004.json +85 -0
  583. data/schemas/tlc/1.2/commands/M0005.json +112 -0
  584. data/schemas/tlc/1.2/commands/M0006.json +112 -0
  585. data/schemas/tlc/1.2/commands/M0007.json +85 -0
  586. data/schemas/tlc/1.2/commands/M0008.json +112 -0
  587. data/schemas/tlc/1.2/commands/M0010.json +85 -0
  588. data/schemas/tlc/1.2/commands/M0011.json +85 -0
  589. data/schemas/tlc/1.2/commands/M0012.json +79 -0
  590. data/schemas/tlc/1.2/commands/M0013.json +79 -0
  591. data/schemas/tlc/1.2/commands/M0014.json +106 -0
  592. data/schemas/tlc/1.2/commands/M0015.json +112 -0
  593. data/schemas/tlc/1.2/commands/M0016.json +79 -0
  594. data/schemas/tlc/1.2/commands/M0017.json +79 -0
  595. data/schemas/tlc/1.2/commands/M0018.json +112 -0
  596. data/schemas/tlc/1.2/commands/M0019.json +139 -0
  597. data/schemas/tlc/1.2/commands/M0020.json +139 -0
  598. data/schemas/tlc/1.2/commands/M0021.json +79 -0
  599. data/schemas/tlc/1.2/commands/M0022.json +355 -0
  600. data/schemas/tlc/1.2/commands/M0023.json +85 -0
  601. data/schemas/tlc/1.2/commands/M0103.json +103 -0
  602. data/schemas/tlc/1.2/commands/M0104.json +220 -0
  603. data/schemas/tlc/1.2/commands/command_requests.json +7 -0
  604. data/schemas/tlc/1.2/commands/command_responses.json +7 -0
  605. data/schemas/tlc/1.2/commands/commands.json +398 -0
  606. data/schemas/tlc/1.2/rsmp.json +73 -0
  607. data/schemas/tlc/1.2/statuses/S0001.json +137 -0
  608. data/schemas/tlc/1.2/statuses/S0002.json +55 -0
  609. data/schemas/tlc/1.2/statuses/S0003.json +55 -0
  610. data/schemas/tlc/1.2/statuses/S0004.json +55 -0
  611. data/schemas/tlc/1.2/statuses/S0005.json +112 -0
  612. data/schemas/tlc/1.2/statuses/S0006.json +88 -0
  613. data/schemas/tlc/1.2/statuses/S0007.json +116 -0
  614. data/schemas/tlc/1.2/statuses/S0008.json +116 -0
  615. data/schemas/tlc/1.2/statuses/S0009.json +116 -0
  616. data/schemas/tlc/1.2/statuses/S0010.json +116 -0
  617. data/schemas/tlc/1.2/statuses/S0011.json +116 -0
  618. data/schemas/tlc/1.2/statuses/S0012.json +116 -0
  619. data/schemas/tlc/1.2/statuses/S0013.json +88 -0
  620. data/schemas/tlc/1.2/statuses/S0014.json +90 -0
  621. data/schemas/tlc/1.2/statuses/S0015.json +90 -0
  622. data/schemas/tlc/1.2/statuses/S0016.json +61 -0
  623. data/schemas/tlc/1.2/statuses/S0017.json +61 -0
  624. data/schemas/tlc/1.2/statuses/S0018.json +61 -0
  625. data/schemas/tlc/1.2/statuses/S0019.json +61 -0
  626. data/schemas/tlc/1.2/statuses/S0020.json +88 -0
  627. data/schemas/tlc/1.2/statuses/S0021.json +56 -0
  628. data/schemas/tlc/1.2/statuses/S0022.json +55 -0
  629. data/schemas/tlc/1.2/statuses/S0023.json +56 -0
  630. data/schemas/tlc/1.2/statuses/S0024.json +56 -0
  631. data/schemas/tlc/1.2/statuses/S0025.json +250 -0
  632. data/schemas/tlc/1.2/statuses/S0026.json +55 -0
  633. data/schemas/tlc/1.2/statuses/S0027.json +55 -0
  634. data/schemas/tlc/1.2/statuses/S0028.json +55 -0
  635. data/schemas/tlc/1.2/statuses/S0029.json +55 -0
  636. data/schemas/tlc/1.2/statuses/S0030.json +55 -0
  637. data/schemas/tlc/1.2/statuses/S0031.json +55 -0
  638. data/schemas/tlc/1.2/statuses/S0032.json +116 -0
  639. data/schemas/tlc/1.2/statuses/S0033.json +114 -0
  640. data/schemas/tlc/1.2/statuses/S0034.json +61 -0
  641. data/schemas/tlc/1.2/statuses/S0035.json +74 -0
  642. data/schemas/tlc/1.2/statuses/S0091.json +65 -0
  643. data/schemas/tlc/1.2/statuses/S0092.json +65 -0
  644. data/schemas/tlc/1.2/statuses/S0095.json +55 -0
  645. data/schemas/tlc/1.2/statuses/S0096.json +196 -0
  646. data/schemas/tlc/1.2/statuses/S0097.json +82 -0
  647. data/schemas/tlc/1.2/statuses/S0098.json +103 -0
  648. data/schemas/tlc/1.2/statuses/S0201.json +88 -0
  649. data/schemas/tlc/1.2/statuses/S0202.json +88 -0
  650. data/schemas/tlc/1.2/statuses/S0203.json +88 -0
  651. data/schemas/tlc/1.2/statuses/S0204.json +304 -0
  652. data/schemas/tlc/1.2/statuses/S0205.json +88 -0
  653. data/schemas/tlc/1.2/statuses/S0206.json +88 -0
  654. data/schemas/tlc/1.2/statuses/S0207.json +88 -0
  655. data/schemas/tlc/1.2/statuses/S0208.json +304 -0
  656. data/schemas/tlc/1.2/statuses/statuses.json +786 -0
  657. data/schemas/tlc/1.2/sxl.yaml +2082 -0
  658. metadata +102 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32d15bd696be18d414974b0c0a03f1e4a99af8c08e32e1a35cc3fe7f435de6a5
4
- data.tar.gz: 9ff9aa8acd817779eb03a4c6a4d041c49254e3e004afcbcd15c53866a82e4d20
3
+ metadata.gz: b0fe667b2e56247b88fa296646f5722440c9e8e6fa39b1df0a100ac9e41428b0
4
+ data.tar.gz: e15a00378c0e0d111f5fb2e7a9c4a36b6ade8b5ff81ac228dd6d47ef29dca223
5
5
  SHA512:
6
- metadata.gz: 3db348308f9ba82724cdd44446747fc03b1bca8deb7179c15de9ae45cf132027aeb8157400b493b8b6e60f6da802cb0ad85bbc44788c685f7c5da4a5d7950fe8
7
- data.tar.gz: 50e280d38a9ce66fdcb0aaecfede0541868333e29c6de07c84ff2dc2abbeda270766089d54d9d547f326567e6676b30f5a3b1b26678d905271959c6cdab52dae
6
+ metadata.gz: ebae7d8552ff121ed8c6e7f33b7c71d16aba8a344daf9d74d9cceddb701400f6117f8a49e97b996a190bce7adc115132e1d940114f95bd8f71446c6ca9300eee
7
+ data.tar.gz: f3a2b02f947c1da1bb3081898e16d0c5669bfbb3f4a97c220f0eeb1db435186cd61c911504af584b5c2bdb62ec89ed8645d00c42cf59458f6dfdef34d1b4f82f
@@ -9,7 +9,7 @@ jobs:
9
9
  fail-fast: false
10
10
  matrix:
11
11
  os: [ubuntu-latest, macos-latest, windows-latest]
12
- ruby: ['3.0', '3.1']
12
+ ruby: ['3.0', '3.1', '3.2']
13
13
  runs-on: ${{ matrix.os }}
14
14
  steps:
15
15
  - uses: actions/checkout@v2
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.2.2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsmp_schema (0.4.4)
4
+ rsmp_schema (0.5)
5
5
  json_schemer (~> 0.2.21)
6
6
  thor (~> 1.2.1)
7
7
 
@@ -52,4 +52,4 @@ DEPENDENCIES
52
52
  rspec-expectations (~> 3.11.0)
53
53
 
54
54
  BUNDLED WITH
55
- 2.3.19
55
+ 2.4.20
@@ -136,20 +136,40 @@ module RSMP
136
136
 
137
137
  # convert yaml alarm/status/command item to corresponding jsons schema
138
138
  def self.build_item item, property_key: 'v'
139
- json = { "allOf" => [ { "description" => item['description'] } ] }
140
- if item['arguments']
141
- json["allOf"] << {
142
- "if"=> { "required" => ["q"], "properties" => { "q"=> { "const" => "undefined" }}},
143
- "then" => { "s" => nil }
139
+ unless item['arguments']
140
+ json = {
141
+ "description" => item['description'],
144
142
  }
145
- json["allOf"].first["properties"] = { "n" => { "enum" => item['arguments'].keys.sort } }
146
- item['arguments'].each_pair do |key,argument|
147
- json["allOf"] << {
148
- "if" => { "required" => ["n"], "properties" => { "n" => { "const" => key }}},
149
- "then" => { "properties" => { property_key => build_value(argument) } }
150
- }
151
- end
143
+ return json
152
144
  end
145
+
146
+ json = {
147
+ "description" => item['description'],
148
+ "allOf" => [
149
+ {
150
+ "properties" => { "n" => { "enum" => item['arguments'].keys.sort }},
151
+ },
152
+ {
153
+ "if" =>
154
+ {
155
+ "required" => ["q"],
156
+ "properties" => { "q"=> { "const" => "undefined" }},
157
+ },
158
+ "then" => {
159
+ "s" => { "type" => "null" }
160
+ },
161
+ "else" => {
162
+ "allOf" => item['arguments'].map do |key,argument|
163
+ {
164
+ "if" => { "required" => ["n"], "properties" => { "n" => { "const" => key }}},
165
+ "then" => { "properties" => { property_key => build_value(argument) }}
166
+ }
167
+ end
168
+ }
169
+ }
170
+ ]
171
+ }
172
+
153
173
  json
154
174
  end
155
175
 
@@ -30,9 +30,12 @@ module RSMP::Schema
30
30
  @@schemas[type] = {}
31
31
  Dir.glob("#{type_path}/*").select {|f| File.directory? f}.each do |schema_path|
32
32
  version = File.basename(schema_path)
33
- @@schemas[type][version] = JSONSchemer.schema(
34
- Pathname.new(File.join(schema_path,'rsmp.json'))
35
- )
33
+ file_path = File.join(schema_path,'rsmp.json')
34
+ if File.exist? file_path
35
+ @@schemas[type][version] = JSONSchemer.schema(
36
+ Pathname.new(File.join(schema_path,'rsmp.json'))
37
+ )
38
+ end
36
39
  end
37
40
  end
38
41
 
@@ -1,5 +1,5 @@
1
1
  module RSMP
2
2
  module Schema
3
- VERSION = "0.4.4"
3
+ VERSION = "0.5"
4
4
  end
5
5
  end
@@ -13,7 +13,7 @@
13
13
  "type" : "object",
14
14
  "properties": {
15
15
  "sCI" : { "$ref": "definitions.json#/status_code" },
16
- "n" : { "description" : "Unique reference of the value", "type" : "string" },
16
+ "n" : { "description" : "Value name", "type" : "string" },
17
17
  "s" : { "description" : "Value", "type" : "string" },
18
18
  "q" : {
19
19
  "description" : "Quality",
@@ -11,37 +11,35 @@
11
11
  "minItems": 1,
12
12
  "items" : {
13
13
  "type" : "object",
14
- "oneOf" : [
14
+ "allOf" : [
15
15
  {
16
+ "required" : [ "sCI", "n", "s", "q" ],
17
+ "additionalProperties" : false,
16
18
  "properties": {
17
19
  "sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
18
- "n" : { "description" : "Unique reference of the value", "type" : "string" },
19
- "s" : { "description" : "Value", "type" : "string" },
20
- "q" : {
21
- "description" : "Value",
22
- "type" : "string",
23
- "enum" : [ "recent", "old", "unknown" ]
24
- }
25
- },
26
- "additionalProperties" : false
20
+ "n" : { "description" : "Value name", "type" : "string" },
21
+ "q" : { "description" : "Quality", "type" : "string" },
22
+ "s" : { "description" : "Value" }
23
+ }
27
24
  },
28
25
  {
29
- "properties": {
30
- "sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
31
- "n" : { "description" : "Unique reference of the value", "type" : "string" },
32
- "s" : { "description" : "Null when q=undefined", "type" : "null" },
33
- "q" : {
34
- "description" : "Quality",
35
- "type" : "string",
36
- "const" : "undefined" // 'undefined' was added
37
- }
26
+ "if" : {
27
+ "required" : [ "q" ],
28
+ "properties": { "q" : { "const": "undefined" }}
29
+ },
30
+ "then" : {
31
+ "properties": { "s" : { "type": "null" }}
38
32
  },
39
- "additionalProperties" : false
33
+ "else" : {
34
+ "properties": {
35
+ "s" : { "type" : ["string"] },
36
+ "q" : { "enum" : [ "recent", "old", "unknown" ] }
37
+ }
38
+ }
40
39
  }
41
- ],
42
- "required" : [ "sCI", "n", "s", "q" ]
40
+ ]
43
41
  }
44
42
  }
45
43
  },
46
44
  "required" : [ "mId", "cId", "sTs", "sS" ]
47
- }
45
+ }
@@ -11,37 +11,35 @@
11
11
  "minItems": 1,
12
12
  "items" : {
13
13
  "type" : "object",
14
- "oneOf" : [
14
+ "allOf" : [
15
15
  {
16
+ "required" : [ "sCI", "n", "s", "q" ],
17
+ "additionalProperties" : false,
16
18
  "properties": {
17
19
  "sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
18
20
  "n" : { "description" : "Unique reference of the value", "type" : "string" },
19
- "s" : { "description" : "Value", "type" : ["string"," array"] }, // 3.2 allows array
20
- "q" : {
21
- "description" : "Value",
22
- "type" : "string",
23
- "enum" : [ "recent", "old", "unknown" ]
24
- }
25
- },
26
- "additionalProperties" : false
21
+ "q" : { "description" : "Quality", "type" : "string" },
22
+ "s" : { "description" : "Value" }
23
+ }
27
24
  },
28
25
  {
29
- "properties": {
30
- "sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
31
- "n" : { "description" : "Unique reference of the value", "type" : "string" },
32
- "s" : { "description" : "Null when q=undefined", "type" : "null" },
33
- "q" : {
34
- "description" : "Quality",
35
- "type" : "string",
36
- "const" : "undefined"
37
- }
26
+ "if" : {
27
+ "required" : [ "q" ],
28
+ "properties": { "q" : { "const": "undefined" }}
38
29
  },
39
- "additionalProperties" : false
30
+ "then" : {
31
+ "properties": { "s" : { "type": "null" }}
32
+ },
33
+ "else" : {
34
+ "properties": {
35
+ "s" : { "type" : [ "string", "array" ] },
36
+ "q" : { "enum" : [ "recent", "old", "unknown" ] }
37
+ }
38
+ }
40
39
  }
41
- ],
42
- "required" : [ "sCI", "n", "s", "q" ]
40
+ ]
43
41
  }
44
42
  }
45
43
  },
46
44
  "required" : [ "mId", "cId", "sTs", "sS" ]
47
- }
45
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "$schema" : "http://json-schema.org/draft-07/schema#",
3
+ "name" : "core",
4
+ "description" : "Core",
5
+ "version" : "3.2.1",
6
+ "type" : "object",
7
+ "allOf" : [
8
+ {
9
+ "properties" : {
10
+ "mType" : {
11
+ "description" : "Supported RSMP versions",
12
+ "type" : "string",
13
+ "const" : "rSMsg"
14
+ },
15
+ "type" : {
16
+ "description" : "Type of RMSP message",
17
+ "type" : "string",
18
+ "enum" : [
19
+ "MessageAck",
20
+ "MessageNotAck",
21
+ "Version",
22
+ "AggregatedStatus",
23
+ "AggregatedStatusRequest",
24
+ "Watchdog",
25
+ "Alarm",
26
+ "CommandRequest",
27
+ "CommandResponse",
28
+ "StatusRequest",
29
+ "StatusResponse",
30
+ "StatusSubscribe",
31
+ "StatusUnsubscribe",
32
+ "StatusUpdate"
33
+ ]
34
+ }
35
+ },
36
+ "required" : [ "mType", "type" ]
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,133 @@
1
+ {
2
+ "allOf": [
3
+ {
4
+ "$ref": "../3.2/core.json"
5
+ },
6
+ {
7
+ "if": {
8
+ "required" : ["type"],
9
+ "properties": { "type": { "const": "MessageAck" } }
10
+ },
11
+ "then": {
12
+ "$ref": "../3.1.2/message_ack.json"
13
+ }
14
+ },
15
+ {
16
+ "if": {
17
+ "required" : ["type"],
18
+ "properties": { "type": { "const": "MessageNotAck" } }
19
+ },
20
+ "then": {
21
+ "$ref": "../3.1.2/message_not_ack.json"
22
+ }
23
+ },
24
+ {
25
+ "if": {
26
+ "required" : ["type"],
27
+ "properties": { "type": { "const": "Version" } }
28
+ },
29
+ "then": {
30
+ "$ref": "../3.1.2/version.json"
31
+ }
32
+ },
33
+ {
34
+ "if": {
35
+ "required" : ["type"],
36
+ "properties": { "type": { "const": "AggregatedStatus" } }
37
+ },
38
+ "then": {
39
+ "$ref": "../3.1.2/aggregated_status.json"
40
+ }
41
+ },
42
+ {
43
+ "if": {
44
+ "required" : ["type"],
45
+ "properties": { "type": { "const": "AggregatedStatusRequest" } }
46
+ },
47
+ "then": {
48
+ "$ref": "../3.1.5/aggregated_status_request.json"
49
+ }
50
+ },
51
+ {
52
+ "if": {
53
+ "required" : ["type"],
54
+ "properties": { "type": { "const": "Watchdog" } }
55
+ },
56
+ "then": {
57
+ "$ref": "../3.1.2/watchdog.json"
58
+ }
59
+ },
60
+ {
61
+ "if": {
62
+ "required" : ["type"],
63
+ "properties": { "type": { "const": "Alarm" } }
64
+ },
65
+ "then": {
66
+ "$ref": "../3.2/alarm.json"
67
+ }
68
+ },
69
+ {
70
+ "if": {
71
+ "required" : ["type"],
72
+ "properties": { "type": { "const": "CommandRequest" } }
73
+ },
74
+ "then": {
75
+ "$ref": "../3.1.2/command_request.json"
76
+ }
77
+ },
78
+ {
79
+ "if": {
80
+ "required" : ["type"],
81
+ "properties": { "type": { "const": "CommandResponse" } }
82
+ },
83
+ "then": {
84
+ "$ref": "../3.1.2/command_response.json"
85
+ }
86
+ },
87
+ {
88
+ "if": {
89
+ "required" : ["type"],
90
+ "properties": { "type": { "const": "StatusRequest" } }
91
+ },
92
+ "then": {
93
+ "$ref": "../3.1.2/status_request.json"
94
+ }
95
+ },
96
+ {
97
+ "if": {
98
+ "required" : ["type"],
99
+ "properties": { "type": { "const": "StatusResponse" } }
100
+ },
101
+ "then": {
102
+ "$ref": "../3.2/status_response.json"
103
+ }
104
+ },
105
+ {
106
+ "if": {
107
+ "required" : ["type"],
108
+ "properties": { "type": { "const": "StatusSubscribe" } }
109
+ },
110
+ "then": {
111
+ "$ref": "../3.1.5/status_subscribe.json"
112
+ }
113
+ },
114
+ {
115
+ "if": {
116
+ "required" : ["type"],
117
+ "properties": { "type": { "const": "StatusUnsubscribe" } }
118
+ },
119
+ "then": {
120
+ "$ref": "../3.1.2/status_unsubscribe.json"
121
+ }
122
+ },
123
+ {
124
+ "if": {
125
+ "required" : ["type"],
126
+ "properties": { "type": { "const": "StatusUpdate" } }
127
+ },
128
+ "then": {
129
+ "$ref": "../3.2/status_update.json"
130
+ }
131
+ }
132
+ ]
133
+ }
@@ -1,7 +1,3 @@
1
1
  {
2
- "allOf" : [
3
- {
4
- "description" : "Serious hardware error.\nIs a \"major fault\" defined according to 3.8 i EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675."
5
- }
6
- ]
2
+ "description" : "Serious hardware error.\nIs a \"major fault\" defined according to 3.8 i EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675."
7
3
  }
@@ -1,7 +1,3 @@
1
1
  {
2
- "allOf" : [
3
- {
4
- "description" : "Less serious hardware error.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
5
- }
6
- ]
2
+ "description" : "Less serious hardware error.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
7
3
  }
@@ -1,7 +1,3 @@
1
1
  {
2
- "allOf" : [
3
- {
4
- "description" : "Serious configuration error.\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675."
5
- }
6
- ]
2
+ "description" : "Serious configuration error.\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675."
7
3
  }
@@ -1,7 +1,3 @@
1
1
  {
2
- "allOf" : [
3
- {
4
- "description" : "Less serious configuration error.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
5
- }
6
- ]
2
+ "description" : "Less serious configuration error.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
7
3
  }
@@ -1,7 +1,3 @@
1
1
  {
2
- "allOf" : [
3
- {
4
- "description" : "Communication error between traffic light controllers / synchronisation error.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
5
- }
6
- ]
2
+ "description" : "Communication error between traffic light controllers / synchronisation error.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
7
3
  }
@@ -1,7 +1,3 @@
1
1
  {
2
- "allOf" : [
3
- {
4
- "description" : "Safety error\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675."
5
- }
6
- ]
2
+ "description" : "Safety error\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675."
7
3
  }
@@ -1,7 +1,3 @@
1
1
  {
2
- "allOf" : [
3
- {
4
- "description" : "Communication error between one or multiple traffic light controllers and central control system.\nUsed for communication errors with the central system. Includes NTP connection loss if the TLC is configured to use NTP.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
5
- }
6
- ]
2
+ "description" : "Communication error between one or multiple traffic light controllers and central control system.\nUsed for communication errors with the central system. Includes NTP connection loss if the TLC is configured to use NTP.\nIs a \"minor fault\" defined according to 3.11 in EN12675."
7
3
  }
@@ -1,7 +1,7 @@
1
1
  {
2
+ "description" : "Dead lock error.\nUsed for dead lock errors.\nFor instance; a signal group has requested green but is unable to switch due to a conflicting signal group for an extended period of time. At some point the request times out and the controller goes failure mode. The cause for this error is due to configuration errors or external sources.\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675.",
2
3
  "allOf" : [
3
4
  {
4
- "description" : "Dead lock error.\nUsed for dead lock errors.\nFor instance; a signal group has requested green but is unable to switch due to a conflicting signal group for an extended period of time. At some point the request times out and the controller goes failure mode. The cause for this error is due to configuration errors or external sources.\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675.",
5
5
  "properties" : {
6
6
  "n" : {
7
7
  "enum" : [
@@ -22,33 +22,39 @@
22
22
  }
23
23
  },
24
24
  "then" : {
25
- "s" : null
26
- }
27
- },
28
- {
29
- "if" : {
30
- "required" : [
31
- "n"
32
- ],
33
- "properties" : {
34
- "n" : {
35
- "const" : "timeplan"
36
- }
25
+ "s" : {
26
+ "type" : "null"
37
27
  }
38
28
  },
39
- "then" : {
40
- "properties" : {
41
- "v" : {
42
- "allOf" : [
43
- {
44
- "description" : "Current time plan"
45
- },
46
- {
47
- "$ref" : "../../../core/3.1.2/definitions.json#/integer"
29
+ "else" : {
30
+ "allOf" : [
31
+ {
32
+ "if" : {
33
+ "required" : [
34
+ "n"
35
+ ],
36
+ "properties" : {
37
+ "n" : {
38
+ "const" : "timeplan"
39
+ }
40
+ }
41
+ },
42
+ "then" : {
43
+ "properties" : {
44
+ "v" : {
45
+ "allOf" : [
46
+ {
47
+ "description" : "Current time plan"
48
+ },
49
+ {
50
+ "$ref" : "../../../core/3.1.2/definitions.json#/integer"
51
+ }
52
+ ]
53
+ }
48
54
  }
49
- ]
55
+ }
50
56
  }
51
- }
57
+ ]
52
58
  }
53
59
  }
54
60
  ]
@@ -1,7 +1,3 @@
1
1
  {
2
- "allOf" : [
3
- {
4
- "description" : "Other error.\nUsed for other errors not covered by any other alarm type\nIs a \"minor fault\" defined according to 3.11 in EN12675."
5
- }
6
- ]
2
+ "description" : "Other error.\nUsed for other errors not covered by any other alarm type\nIs a \"minor fault\" defined according to 3.11 in EN12675."
7
3
  }
@@ -1,7 +1,3 @@
1
1
  {
2
- "allOf" : [
3
- {
4
- "description" : "Pushbutton error.\nUsed for push buttons."
5
- }
6
- ]
2
+ "description" : "Pushbutton error.\nUsed for push buttons."
7
3
  }
@@ -1,7 +1,7 @@
1
1
  {
2
+ "description" : "Serious lamp error.\nUsed for lamp errors.\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675.",
2
3
  "allOf" : [
3
4
  {
4
- "description" : "Serious lamp error.\nUsed for lamp errors.\nIs a \"major fault\" defined according to 3.8 in EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675.",
5
5
  "properties" : {
6
6
  "n" : {
7
7
  "enum" : [
@@ -22,32 +22,38 @@
22
22
  }
23
23
  },
24
24
  "then" : {
25
- "s" : null
26
- }
27
- },
28
- {
29
- "if" : {
30
- "required" : [
31
- "n"
32
- ],
33
- "properties" : {
34
- "n" : {
35
- "const" : "color"
36
- }
25
+ "s" : {
26
+ "type" : "null"
37
27
  }
38
28
  },
39
- "then" : {
40
- "properties" : {
41
- "v" : {
42
- "description" : "Color of lamp",
43
- "type" : "string",
44
- "enum" : [
45
- "green",
46
- "red",
47
- "yellow"
48
- ]
29
+ "else" : {
30
+ "allOf" : [
31
+ {
32
+ "if" : {
33
+ "required" : [
34
+ "n"
35
+ ],
36
+ "properties" : {
37
+ "n" : {
38
+ "const" : "color"
39
+ }
40
+ }
41
+ },
42
+ "then" : {
43
+ "properties" : {
44
+ "v" : {
45
+ "description" : "Color of lamp",
46
+ "type" : "string",
47
+ "enum" : [
48
+ "green",
49
+ "red",
50
+ "yellow"
51
+ ]
52
+ }
53
+ }
54
+ }
49
55
  }
50
- }
56
+ ]
51
57
  }
52
58
  }
53
59
  ]