rsmp_schema 0.4.4 → 0.4.5

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 (556) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/rsmp_schema/convert/export/json_schema.rb +32 -12
  4. data/lib/rsmp_schema/version.rb +1 -1
  5. data/schemas/core/3.1.2/status_response.json +1 -1
  6. data/schemas/core/3.1.3/status_response.json +21 -23
  7. data/schemas/core/3.2/status_response.json +21 -23
  8. data/schemas/tlc/1.0.10/alarms/A0001.json +1 -5
  9. data/schemas/tlc/1.0.10/alarms/A0002.json +1 -5
  10. data/schemas/tlc/1.0.10/alarms/A0003.json +1 -5
  11. data/schemas/tlc/1.0.10/alarms/A0004.json +1 -5
  12. data/schemas/tlc/1.0.10/alarms/A0005.json +1 -5
  13. data/schemas/tlc/1.0.10/alarms/A0006.json +1 -5
  14. data/schemas/tlc/1.0.10/alarms/A0007.json +1 -5
  15. data/schemas/tlc/1.0.10/alarms/A0008.json +30 -24
  16. data/schemas/tlc/1.0.10/alarms/A0009.json +1 -5
  17. data/schemas/tlc/1.0.10/alarms/A0101.json +1 -5
  18. data/schemas/tlc/1.0.10/alarms/A0201.json +30 -24
  19. data/schemas/tlc/1.0.10/alarms/A0202.json +30 -24
  20. data/schemas/tlc/1.0.10/alarms/A0301.json +98 -92
  21. data/schemas/tlc/1.0.10/alarms/A0302.json +123 -117
  22. data/schemas/tlc/1.0.10/commands/M0001.json +105 -99
  23. data/schemas/tlc/1.0.10/commands/M0002.json +75 -69
  24. data/schemas/tlc/1.0.10/commands/M0003.json +75 -69
  25. data/schemas/tlc/1.0.10/commands/M0004.json +50 -44
  26. data/schemas/tlc/1.0.10/commands/M0005.json +75 -69
  27. data/schemas/tlc/1.0.10/commands/M0006.json +75 -69
  28. data/schemas/tlc/1.0.10/commands/M0007.json +50 -44
  29. data/schemas/tlc/1.0.10/commands/M0008.json +75 -69
  30. data/schemas/tlc/1.0.10/commands/M0010.json +50 -44
  31. data/schemas/tlc/1.0.10/commands/M0011.json +50 -44
  32. data/schemas/tlc/1.0.10/commands/M0012.json +45 -39
  33. data/schemas/tlc/1.0.10/commands/M0013.json +45 -39
  34. data/schemas/tlc/1.0.10/commands/M0019.json +100 -94
  35. data/schemas/tlc/1.0.10/commands/M0103.json +68 -62
  36. data/schemas/tlc/1.0.10/commands/M0104.json +175 -169
  37. data/schemas/tlc/1.0.10/statuses/S0001.json +101 -95
  38. data/schemas/tlc/1.0.10/statuses/S0002.json +25 -19
  39. data/schemas/tlc/1.0.10/statuses/S0003.json +45 -39
  40. data/schemas/tlc/1.0.10/statuses/S0004.json +45 -39
  41. data/schemas/tlc/1.0.10/statuses/S0005.json +30 -24
  42. data/schemas/tlc/1.0.10/statuses/S0006.json +55 -49
  43. data/schemas/tlc/1.0.10/statuses/S0007.json +55 -49
  44. data/schemas/tlc/1.0.10/statuses/S0008.json +55 -49
  45. data/schemas/tlc/1.0.10/statuses/S0009.json +55 -49
  46. data/schemas/tlc/1.0.10/statuses/S0010.json +55 -49
  47. data/schemas/tlc/1.0.10/statuses/S0011.json +55 -49
  48. data/schemas/tlc/1.0.10/statuses/S0012.json +55 -49
  49. data/schemas/tlc/1.0.10/statuses/S0013.json +55 -49
  50. data/schemas/tlc/1.0.10/statuses/S0014.json +30 -24
  51. data/schemas/tlc/1.0.10/statuses/S0015.json +30 -24
  52. data/schemas/tlc/1.0.10/statuses/S0016.json +30 -24
  53. data/schemas/tlc/1.0.10/statuses/S0017.json +30 -24
  54. data/schemas/tlc/1.0.10/statuses/S0018.json +30 -24
  55. data/schemas/tlc/1.0.10/statuses/S0019.json +30 -24
  56. data/schemas/tlc/1.0.10/statuses/S0020.json +55 -49
  57. data/schemas/tlc/1.0.10/statuses/S0021.json +26 -20
  58. data/schemas/tlc/1.0.10/statuses/S0091.json +48 -42
  59. data/schemas/tlc/1.0.10/statuses/S0092.json +48 -42
  60. data/schemas/tlc/1.0.10/statuses/S0095.json +25 -19
  61. data/schemas/tlc/1.0.10/statuses/S0096.json +155 -149
  62. data/schemas/tlc/1.0.10/statuses/S0201.json +55 -49
  63. data/schemas/tlc/1.0.10/statuses/S0202.json +55 -49
  64. data/schemas/tlc/1.0.10/statuses/S0203.json +55 -49
  65. data/schemas/tlc/1.0.10/statuses/S0204.json +255 -249
  66. data/schemas/tlc/1.0.13/alarms/A0001.json +1 -5
  67. data/schemas/tlc/1.0.13/alarms/A0002.json +1 -5
  68. data/schemas/tlc/1.0.13/alarms/A0003.json +1 -5
  69. data/schemas/tlc/1.0.13/alarms/A0004.json +1 -5
  70. data/schemas/tlc/1.0.13/alarms/A0005.json +1 -5
  71. data/schemas/tlc/1.0.13/alarms/A0006.json +1 -5
  72. data/schemas/tlc/1.0.13/alarms/A0007.json +1 -5
  73. data/schemas/tlc/1.0.13/alarms/A0008.json +30 -24
  74. data/schemas/tlc/1.0.13/alarms/A0009.json +1 -5
  75. data/schemas/tlc/1.0.13/alarms/A0101.json +1 -5
  76. data/schemas/tlc/1.0.13/alarms/A0201.json +30 -24
  77. data/schemas/tlc/1.0.13/alarms/A0202.json +30 -24
  78. data/schemas/tlc/1.0.13/alarms/A0301.json +98 -92
  79. data/schemas/tlc/1.0.13/alarms/A0302.json +123 -117
  80. data/schemas/tlc/1.0.13/commands/M0001.json +105 -99
  81. data/schemas/tlc/1.0.13/commands/M0002.json +75 -69
  82. data/schemas/tlc/1.0.13/commands/M0003.json +75 -69
  83. data/schemas/tlc/1.0.13/commands/M0004.json +50 -44
  84. data/schemas/tlc/1.0.13/commands/M0005.json +75 -69
  85. data/schemas/tlc/1.0.13/commands/M0006.json +75 -69
  86. data/schemas/tlc/1.0.13/commands/M0007.json +50 -44
  87. data/schemas/tlc/1.0.13/commands/M0008.json +75 -69
  88. data/schemas/tlc/1.0.13/commands/M0010.json +50 -44
  89. data/schemas/tlc/1.0.13/commands/M0011.json +50 -44
  90. data/schemas/tlc/1.0.13/commands/M0012.json +45 -39
  91. data/schemas/tlc/1.0.13/commands/M0013.json +45 -39
  92. data/schemas/tlc/1.0.13/commands/M0014.json +70 -64
  93. data/schemas/tlc/1.0.13/commands/M0015.json +75 -69
  94. data/schemas/tlc/1.0.13/commands/M0016.json +45 -39
  95. data/schemas/tlc/1.0.13/commands/M0017.json +45 -39
  96. data/schemas/tlc/1.0.13/commands/M0018.json +75 -69
  97. data/schemas/tlc/1.0.13/commands/M0019.json +100 -94
  98. data/schemas/tlc/1.0.13/commands/M0103.json +68 -62
  99. data/schemas/tlc/1.0.13/commands/M0104.json +175 -169
  100. data/schemas/tlc/1.0.13/statuses/S0001.json +101 -95
  101. data/schemas/tlc/1.0.13/statuses/S0002.json +25 -19
  102. data/schemas/tlc/1.0.13/statuses/S0003.json +45 -39
  103. data/schemas/tlc/1.0.13/statuses/S0004.json +45 -39
  104. data/schemas/tlc/1.0.13/statuses/S0005.json +30 -24
  105. data/schemas/tlc/1.0.13/statuses/S0006.json +55 -49
  106. data/schemas/tlc/1.0.13/statuses/S0007.json +55 -49
  107. data/schemas/tlc/1.0.13/statuses/S0008.json +55 -49
  108. data/schemas/tlc/1.0.13/statuses/S0009.json +55 -49
  109. data/schemas/tlc/1.0.13/statuses/S0010.json +55 -49
  110. data/schemas/tlc/1.0.13/statuses/S0011.json +55 -49
  111. data/schemas/tlc/1.0.13/statuses/S0012.json +55 -49
  112. data/schemas/tlc/1.0.13/statuses/S0013.json +55 -49
  113. data/schemas/tlc/1.0.13/statuses/S0014.json +30 -24
  114. data/schemas/tlc/1.0.13/statuses/S0015.json +30 -24
  115. data/schemas/tlc/1.0.13/statuses/S0016.json +30 -24
  116. data/schemas/tlc/1.0.13/statuses/S0017.json +30 -24
  117. data/schemas/tlc/1.0.13/statuses/S0018.json +30 -24
  118. data/schemas/tlc/1.0.13/statuses/S0019.json +30 -24
  119. data/schemas/tlc/1.0.13/statuses/S0020.json +55 -49
  120. data/schemas/tlc/1.0.13/statuses/S0021.json +26 -20
  121. data/schemas/tlc/1.0.13/statuses/S0022.json +25 -19
  122. data/schemas/tlc/1.0.13/statuses/S0023.json +26 -20
  123. data/schemas/tlc/1.0.13/statuses/S0024.json +26 -20
  124. data/schemas/tlc/1.0.13/statuses/S0025.json +213 -207
  125. data/schemas/tlc/1.0.13/statuses/S0026.json +25 -19
  126. data/schemas/tlc/1.0.13/statuses/S0027.json +25 -19
  127. data/schemas/tlc/1.0.13/statuses/S0028.json +25 -19
  128. data/schemas/tlc/1.0.13/statuses/S0029.json +25 -19
  129. data/schemas/tlc/1.0.13/statuses/S0091.json +48 -42
  130. data/schemas/tlc/1.0.13/statuses/S0092.json +48 -42
  131. data/schemas/tlc/1.0.13/statuses/S0095.json +25 -19
  132. data/schemas/tlc/1.0.13/statuses/S0096.json +155 -149
  133. data/schemas/tlc/1.0.13/statuses/S0201.json +55 -49
  134. data/schemas/tlc/1.0.13/statuses/S0202.json +55 -49
  135. data/schemas/tlc/1.0.13/statuses/S0203.json +55 -49
  136. data/schemas/tlc/1.0.13/statuses/S0204.json +255 -249
  137. data/schemas/tlc/1.0.14/alarms/A0001.json +1 -5
  138. data/schemas/tlc/1.0.14/alarms/A0002.json +1 -5
  139. data/schemas/tlc/1.0.14/alarms/A0003.json +1 -5
  140. data/schemas/tlc/1.0.14/alarms/A0004.json +1 -5
  141. data/schemas/tlc/1.0.14/alarms/A0005.json +1 -5
  142. data/schemas/tlc/1.0.14/alarms/A0006.json +1 -5
  143. data/schemas/tlc/1.0.14/alarms/A0007.json +1 -5
  144. data/schemas/tlc/1.0.14/alarms/A0008.json +30 -24
  145. data/schemas/tlc/1.0.14/alarms/A0009.json +1 -5
  146. data/schemas/tlc/1.0.14/alarms/A0101.json +1 -5
  147. data/schemas/tlc/1.0.14/alarms/A0201.json +30 -24
  148. data/schemas/tlc/1.0.14/alarms/A0202.json +30 -24
  149. data/schemas/tlc/1.0.14/alarms/A0301.json +98 -92
  150. data/schemas/tlc/1.0.14/alarms/A0302.json +123 -117
  151. data/schemas/tlc/1.0.14/commands/M0001.json +105 -99
  152. data/schemas/tlc/1.0.14/commands/M0002.json +75 -69
  153. data/schemas/tlc/1.0.14/commands/M0003.json +75 -69
  154. data/schemas/tlc/1.0.14/commands/M0004.json +50 -44
  155. data/schemas/tlc/1.0.14/commands/M0005.json +75 -69
  156. data/schemas/tlc/1.0.14/commands/M0006.json +75 -69
  157. data/schemas/tlc/1.0.14/commands/M0007.json +50 -44
  158. data/schemas/tlc/1.0.14/commands/M0008.json +75 -69
  159. data/schemas/tlc/1.0.14/commands/M0010.json +50 -44
  160. data/schemas/tlc/1.0.14/commands/M0011.json +50 -44
  161. data/schemas/tlc/1.0.14/commands/M0012.json +45 -39
  162. data/schemas/tlc/1.0.14/commands/M0013.json +45 -39
  163. data/schemas/tlc/1.0.14/commands/M0014.json +70 -64
  164. data/schemas/tlc/1.0.14/commands/M0015.json +75 -69
  165. data/schemas/tlc/1.0.14/commands/M0016.json +45 -39
  166. data/schemas/tlc/1.0.14/commands/M0017.json +45 -39
  167. data/schemas/tlc/1.0.14/commands/M0018.json +75 -69
  168. data/schemas/tlc/1.0.14/commands/M0019.json +100 -94
  169. data/schemas/tlc/1.0.14/commands/M0103.json +68 -62
  170. data/schemas/tlc/1.0.14/commands/M0104.json +175 -169
  171. data/schemas/tlc/1.0.14/statuses/S0001.json +101 -95
  172. data/schemas/tlc/1.0.14/statuses/S0002.json +25 -19
  173. data/schemas/tlc/1.0.14/statuses/S0003.json +45 -39
  174. data/schemas/tlc/1.0.14/statuses/S0004.json +45 -39
  175. data/schemas/tlc/1.0.14/statuses/S0005.json +30 -24
  176. data/schemas/tlc/1.0.14/statuses/S0006.json +55 -49
  177. data/schemas/tlc/1.0.14/statuses/S0007.json +55 -49
  178. data/schemas/tlc/1.0.14/statuses/S0008.json +55 -49
  179. data/schemas/tlc/1.0.14/statuses/S0009.json +55 -49
  180. data/schemas/tlc/1.0.14/statuses/S0010.json +55 -49
  181. data/schemas/tlc/1.0.14/statuses/S0011.json +55 -49
  182. data/schemas/tlc/1.0.14/statuses/S0012.json +55 -49
  183. data/schemas/tlc/1.0.14/statuses/S0013.json +55 -49
  184. data/schemas/tlc/1.0.14/statuses/S0014.json +30 -24
  185. data/schemas/tlc/1.0.14/statuses/S0015.json +30 -24
  186. data/schemas/tlc/1.0.14/statuses/S0016.json +30 -24
  187. data/schemas/tlc/1.0.14/statuses/S0017.json +30 -24
  188. data/schemas/tlc/1.0.14/statuses/S0018.json +30 -24
  189. data/schemas/tlc/1.0.14/statuses/S0019.json +30 -24
  190. data/schemas/tlc/1.0.14/statuses/S0020.json +55 -49
  191. data/schemas/tlc/1.0.14/statuses/S0021.json +26 -20
  192. data/schemas/tlc/1.0.14/statuses/S0022.json +25 -19
  193. data/schemas/tlc/1.0.14/statuses/S0023.json +26 -20
  194. data/schemas/tlc/1.0.14/statuses/S0024.json +26 -20
  195. data/schemas/tlc/1.0.14/statuses/S0025.json +213 -207
  196. data/schemas/tlc/1.0.14/statuses/S0026.json +25 -19
  197. data/schemas/tlc/1.0.14/statuses/S0027.json +25 -19
  198. data/schemas/tlc/1.0.14/statuses/S0028.json +25 -19
  199. data/schemas/tlc/1.0.14/statuses/S0029.json +25 -19
  200. data/schemas/tlc/1.0.14/statuses/S0091.json +48 -42
  201. data/schemas/tlc/1.0.14/statuses/S0092.json +48 -42
  202. data/schemas/tlc/1.0.14/statuses/S0095.json +25 -19
  203. data/schemas/tlc/1.0.14/statuses/S0096.json +155 -149
  204. data/schemas/tlc/1.0.14/statuses/S0201.json +55 -49
  205. data/schemas/tlc/1.0.14/statuses/S0202.json +55 -49
  206. data/schemas/tlc/1.0.14/statuses/S0203.json +55 -49
  207. data/schemas/tlc/1.0.14/statuses/S0204.json +255 -249
  208. data/schemas/tlc/1.0.14/statuses/S0205.json +50 -44
  209. data/schemas/tlc/1.0.14/statuses/S0206.json +50 -44
  210. data/schemas/tlc/1.0.14/statuses/S0207.json +50 -44
  211. data/schemas/tlc/1.0.14/statuses/S0208.json +211 -205
  212. data/schemas/tlc/1.0.15/alarms/A0001.json +1 -5
  213. data/schemas/tlc/1.0.15/alarms/A0002.json +1 -5
  214. data/schemas/tlc/1.0.15/alarms/A0003.json +1 -5
  215. data/schemas/tlc/1.0.15/alarms/A0004.json +1 -5
  216. data/schemas/tlc/1.0.15/alarms/A0005.json +1 -5
  217. data/schemas/tlc/1.0.15/alarms/A0006.json +1 -5
  218. data/schemas/tlc/1.0.15/alarms/A0007.json +1 -5
  219. data/schemas/tlc/1.0.15/alarms/A0008.json +30 -24
  220. data/schemas/tlc/1.0.15/alarms/A0009.json +1 -5
  221. data/schemas/tlc/1.0.15/alarms/A0010.json +1 -5
  222. data/schemas/tlc/1.0.15/alarms/A0101.json +1 -5
  223. data/schemas/tlc/1.0.15/alarms/A0201.json +30 -24
  224. data/schemas/tlc/1.0.15/alarms/A0202.json +30 -24
  225. data/schemas/tlc/1.0.15/alarms/A0301.json +98 -92
  226. data/schemas/tlc/1.0.15/alarms/A0302.json +123 -117
  227. data/schemas/tlc/1.0.15/commands/M0001.json +105 -99
  228. data/schemas/tlc/1.0.15/commands/M0002.json +75 -69
  229. data/schemas/tlc/1.0.15/commands/M0003.json +75 -69
  230. data/schemas/tlc/1.0.15/commands/M0004.json +50 -44
  231. data/schemas/tlc/1.0.15/commands/M0005.json +75 -69
  232. data/schemas/tlc/1.0.15/commands/M0006.json +75 -69
  233. data/schemas/tlc/1.0.15/commands/M0007.json +50 -44
  234. data/schemas/tlc/1.0.15/commands/M0008.json +75 -69
  235. data/schemas/tlc/1.0.15/commands/M0010.json +50 -44
  236. data/schemas/tlc/1.0.15/commands/M0011.json +50 -44
  237. data/schemas/tlc/1.0.15/commands/M0012.json +45 -39
  238. data/schemas/tlc/1.0.15/commands/M0013.json +45 -39
  239. data/schemas/tlc/1.0.15/commands/M0014.json +70 -64
  240. data/schemas/tlc/1.0.15/commands/M0015.json +75 -69
  241. data/schemas/tlc/1.0.15/commands/M0016.json +45 -39
  242. data/schemas/tlc/1.0.15/commands/M0017.json +45 -39
  243. data/schemas/tlc/1.0.15/commands/M0018.json +75 -69
  244. data/schemas/tlc/1.0.15/commands/M0019.json +100 -94
  245. data/schemas/tlc/1.0.15/commands/M0020.json +100 -94
  246. data/schemas/tlc/1.0.15/commands/M0021.json +45 -39
  247. data/schemas/tlc/1.0.15/commands/M0103.json +68 -62
  248. data/schemas/tlc/1.0.15/commands/M0104.json +175 -169
  249. data/schemas/tlc/1.0.15/statuses/S0001.json +101 -95
  250. data/schemas/tlc/1.0.15/statuses/S0002.json +25 -19
  251. data/schemas/tlc/1.0.15/statuses/S0003.json +45 -39
  252. data/schemas/tlc/1.0.15/statuses/S0004.json +45 -39
  253. data/schemas/tlc/1.0.15/statuses/S0005.json +30 -24
  254. data/schemas/tlc/1.0.15/statuses/S0006.json +55 -49
  255. data/schemas/tlc/1.0.15/statuses/S0007.json +55 -49
  256. data/schemas/tlc/1.0.15/statuses/S0008.json +55 -49
  257. data/schemas/tlc/1.0.15/statuses/S0009.json +55 -49
  258. data/schemas/tlc/1.0.15/statuses/S0010.json +55 -49
  259. data/schemas/tlc/1.0.15/statuses/S0011.json +55 -49
  260. data/schemas/tlc/1.0.15/statuses/S0012.json +55 -49
  261. data/schemas/tlc/1.0.15/statuses/S0013.json +55 -49
  262. data/schemas/tlc/1.0.15/statuses/S0014.json +30 -24
  263. data/schemas/tlc/1.0.15/statuses/S0015.json +30 -24
  264. data/schemas/tlc/1.0.15/statuses/S0016.json +30 -24
  265. data/schemas/tlc/1.0.15/statuses/S0017.json +30 -24
  266. data/schemas/tlc/1.0.15/statuses/S0018.json +30 -24
  267. data/schemas/tlc/1.0.15/statuses/S0019.json +30 -24
  268. data/schemas/tlc/1.0.15/statuses/S0020.json +55 -49
  269. data/schemas/tlc/1.0.15/statuses/S0021.json +26 -20
  270. data/schemas/tlc/1.0.15/statuses/S0022.json +25 -19
  271. data/schemas/tlc/1.0.15/statuses/S0023.json +26 -20
  272. data/schemas/tlc/1.0.15/statuses/S0024.json +26 -20
  273. data/schemas/tlc/1.0.15/statuses/S0025.json +213 -207
  274. data/schemas/tlc/1.0.15/statuses/S0026.json +25 -19
  275. data/schemas/tlc/1.0.15/statuses/S0027.json +25 -19
  276. data/schemas/tlc/1.0.15/statuses/S0028.json +25 -19
  277. data/schemas/tlc/1.0.15/statuses/S0029.json +25 -19
  278. data/schemas/tlc/1.0.15/statuses/S0030.json +25 -19
  279. data/schemas/tlc/1.0.15/statuses/S0031.json +25 -19
  280. data/schemas/tlc/1.0.15/statuses/S0091.json +48 -42
  281. data/schemas/tlc/1.0.15/statuses/S0092.json +48 -42
  282. data/schemas/tlc/1.0.15/statuses/S0095.json +25 -19
  283. data/schemas/tlc/1.0.15/statuses/S0096.json +155 -149
  284. data/schemas/tlc/1.0.15/statuses/S0097.json +50 -44
  285. data/schemas/tlc/1.0.15/statuses/S0098.json +70 -64
  286. data/schemas/tlc/1.0.15/statuses/S0201.json +55 -49
  287. data/schemas/tlc/1.0.15/statuses/S0202.json +55 -49
  288. data/schemas/tlc/1.0.15/statuses/S0203.json +55 -49
  289. data/schemas/tlc/1.0.15/statuses/S0204.json +255 -249
  290. data/schemas/tlc/1.0.15/statuses/S0205.json +50 -44
  291. data/schemas/tlc/1.0.15/statuses/S0206.json +50 -44
  292. data/schemas/tlc/1.0.15/statuses/S0207.json +50 -44
  293. data/schemas/tlc/1.0.15/statuses/S0208.json +211 -205
  294. data/schemas/tlc/1.0.7/alarms/A0001.json +1 -5
  295. data/schemas/tlc/1.0.7/alarms/A0002.json +1 -5
  296. data/schemas/tlc/1.0.7/alarms/A0003.json +1 -5
  297. data/schemas/tlc/1.0.7/alarms/A0004.json +1 -5
  298. data/schemas/tlc/1.0.7/alarms/A0005.json +1 -5
  299. data/schemas/tlc/1.0.7/alarms/A0006.json +1 -5
  300. data/schemas/tlc/1.0.7/alarms/A0007.json +1 -5
  301. data/schemas/tlc/1.0.7/alarms/A0008.json +30 -24
  302. data/schemas/tlc/1.0.7/alarms/A0009.json +1 -5
  303. data/schemas/tlc/1.0.7/alarms/A0101.json +1 -5
  304. data/schemas/tlc/1.0.7/alarms/A0201.json +30 -24
  305. data/schemas/tlc/1.0.7/alarms/A0202.json +30 -24
  306. data/schemas/tlc/1.0.7/alarms/A0301.json +98 -92
  307. data/schemas/tlc/1.0.7/alarms/A0302.json +123 -117
  308. data/schemas/tlc/1.0.7/commands/M0001.json +105 -99
  309. data/schemas/tlc/1.0.7/commands/M0002.json +75 -69
  310. data/schemas/tlc/1.0.7/commands/M0003.json +75 -69
  311. data/schemas/tlc/1.0.7/commands/M0004.json +50 -44
  312. data/schemas/tlc/1.0.7/commands/M0005.json +75 -69
  313. data/schemas/tlc/1.0.7/commands/M0006.json +75 -69
  314. data/schemas/tlc/1.0.7/commands/M0007.json +50 -44
  315. data/schemas/tlc/1.0.7/commands/M0008.json +75 -69
  316. data/schemas/tlc/1.0.7/commands/M0010.json +50 -44
  317. data/schemas/tlc/1.0.7/commands/M0011.json +50 -44
  318. data/schemas/tlc/1.0.7/commands/M0019.json +100 -94
  319. data/schemas/tlc/1.0.7/commands/M0103.json +68 -62
  320. data/schemas/tlc/1.0.7/commands/M0104.json +175 -169
  321. data/schemas/tlc/1.0.7/statuses/S0001.json +101 -95
  322. data/schemas/tlc/1.0.7/statuses/S0002.json +25 -19
  323. data/schemas/tlc/1.0.7/statuses/S0003.json +45 -39
  324. data/schemas/tlc/1.0.7/statuses/S0004.json +45 -39
  325. data/schemas/tlc/1.0.7/statuses/S0005.json +30 -24
  326. data/schemas/tlc/1.0.7/statuses/S0006.json +55 -49
  327. data/schemas/tlc/1.0.7/statuses/S0007.json +55 -49
  328. data/schemas/tlc/1.0.7/statuses/S0008.json +55 -49
  329. data/schemas/tlc/1.0.7/statuses/S0009.json +55 -49
  330. data/schemas/tlc/1.0.7/statuses/S0010.json +55 -49
  331. data/schemas/tlc/1.0.7/statuses/S0011.json +55 -49
  332. data/schemas/tlc/1.0.7/statuses/S0012.json +55 -49
  333. data/schemas/tlc/1.0.7/statuses/S0013.json +55 -49
  334. data/schemas/tlc/1.0.7/statuses/S0014.json +30 -24
  335. data/schemas/tlc/1.0.7/statuses/S0015.json +30 -24
  336. data/schemas/tlc/1.0.7/statuses/S0016.json +30 -24
  337. data/schemas/tlc/1.0.7/statuses/S0017.json +30 -24
  338. data/schemas/tlc/1.0.7/statuses/S0018.json +30 -24
  339. data/schemas/tlc/1.0.7/statuses/S0019.json +30 -24
  340. data/schemas/tlc/1.0.7/statuses/S0020.json +55 -49
  341. data/schemas/tlc/1.0.7/statuses/S0021.json +26 -20
  342. data/schemas/tlc/1.0.7/statuses/S0025.json +213 -207
  343. data/schemas/tlc/1.0.7/statuses/S0091.json +48 -42
  344. data/schemas/tlc/1.0.7/statuses/S0092.json +48 -42
  345. data/schemas/tlc/1.0.7/statuses/S0095.json +25 -19
  346. data/schemas/tlc/1.0.7/statuses/S0096.json +155 -149
  347. data/schemas/tlc/1.0.7/statuses/S0201.json +55 -49
  348. data/schemas/tlc/1.0.7/statuses/S0202.json +55 -49
  349. data/schemas/tlc/1.0.7/statuses/S0203.json +55 -49
  350. data/schemas/tlc/1.0.7/statuses/S0204.json +255 -249
  351. data/schemas/tlc/1.0.8/alarms/A0001.json +1 -5
  352. data/schemas/tlc/1.0.8/alarms/A0002.json +1 -5
  353. data/schemas/tlc/1.0.8/alarms/A0003.json +1 -5
  354. data/schemas/tlc/1.0.8/alarms/A0004.json +1 -5
  355. data/schemas/tlc/1.0.8/alarms/A0005.json +1 -5
  356. data/schemas/tlc/1.0.8/alarms/A0006.json +1 -5
  357. data/schemas/tlc/1.0.8/alarms/A0007.json +1 -5
  358. data/schemas/tlc/1.0.8/alarms/A0008.json +30 -24
  359. data/schemas/tlc/1.0.8/alarms/A0009.json +1 -5
  360. data/schemas/tlc/1.0.8/alarms/A0101.json +1 -5
  361. data/schemas/tlc/1.0.8/alarms/A0201.json +30 -24
  362. data/schemas/tlc/1.0.8/alarms/A0202.json +30 -24
  363. data/schemas/tlc/1.0.8/alarms/A0301.json +98 -92
  364. data/schemas/tlc/1.0.8/alarms/A0302.json +123 -117
  365. data/schemas/tlc/1.0.8/commands/M0001.json +105 -99
  366. data/schemas/tlc/1.0.8/commands/M0002.json +75 -69
  367. data/schemas/tlc/1.0.8/commands/M0003.json +75 -69
  368. data/schemas/tlc/1.0.8/commands/M0004.json +50 -44
  369. data/schemas/tlc/1.0.8/commands/M0005.json +75 -69
  370. data/schemas/tlc/1.0.8/commands/M0006.json +75 -69
  371. data/schemas/tlc/1.0.8/commands/M0007.json +50 -44
  372. data/schemas/tlc/1.0.8/commands/M0008.json +75 -69
  373. data/schemas/tlc/1.0.8/commands/M0010.json +50 -44
  374. data/schemas/tlc/1.0.8/commands/M0011.json +50 -44
  375. data/schemas/tlc/1.0.8/commands/M0012.json +45 -39
  376. data/schemas/tlc/1.0.8/commands/M0013.json +45 -39
  377. data/schemas/tlc/1.0.8/commands/M0019.json +100 -94
  378. data/schemas/tlc/1.0.8/commands/M0103.json +68 -62
  379. data/schemas/tlc/1.0.8/commands/M0104.json +175 -169
  380. data/schemas/tlc/1.0.8/statuses/S0001.json +101 -95
  381. data/schemas/tlc/1.0.8/statuses/S0002.json +25 -19
  382. data/schemas/tlc/1.0.8/statuses/S0003.json +45 -39
  383. data/schemas/tlc/1.0.8/statuses/S0004.json +45 -39
  384. data/schemas/tlc/1.0.8/statuses/S0005.json +30 -24
  385. data/schemas/tlc/1.0.8/statuses/S0006.json +55 -49
  386. data/schemas/tlc/1.0.8/statuses/S0007.json +55 -49
  387. data/schemas/tlc/1.0.8/statuses/S0008.json +55 -49
  388. data/schemas/tlc/1.0.8/statuses/S0009.json +55 -49
  389. data/schemas/tlc/1.0.8/statuses/S0010.json +55 -49
  390. data/schemas/tlc/1.0.8/statuses/S0011.json +55 -49
  391. data/schemas/tlc/1.0.8/statuses/S0012.json +55 -49
  392. data/schemas/tlc/1.0.8/statuses/S0013.json +55 -49
  393. data/schemas/tlc/1.0.8/statuses/S0014.json +30 -24
  394. data/schemas/tlc/1.0.8/statuses/S0015.json +30 -24
  395. data/schemas/tlc/1.0.8/statuses/S0016.json +30 -24
  396. data/schemas/tlc/1.0.8/statuses/S0017.json +30 -24
  397. data/schemas/tlc/1.0.8/statuses/S0018.json +30 -24
  398. data/schemas/tlc/1.0.8/statuses/S0019.json +30 -24
  399. data/schemas/tlc/1.0.8/statuses/S0020.json +55 -49
  400. data/schemas/tlc/1.0.8/statuses/S0021.json +26 -20
  401. data/schemas/tlc/1.0.8/statuses/S0091.json +48 -42
  402. data/schemas/tlc/1.0.8/statuses/S0092.json +48 -42
  403. data/schemas/tlc/1.0.8/statuses/S0095.json +25 -19
  404. data/schemas/tlc/1.0.8/statuses/S0096.json +155 -149
  405. data/schemas/tlc/1.0.8/statuses/S0201.json +55 -49
  406. data/schemas/tlc/1.0.8/statuses/S0202.json +55 -49
  407. data/schemas/tlc/1.0.8/statuses/S0203.json +55 -49
  408. data/schemas/tlc/1.0.8/statuses/S0204.json +255 -249
  409. data/schemas/tlc/1.0.9/alarms/A0001.json +1 -5
  410. data/schemas/tlc/1.0.9/alarms/A0002.json +1 -5
  411. data/schemas/tlc/1.0.9/alarms/A0003.json +1 -5
  412. data/schemas/tlc/1.0.9/alarms/A0004.json +1 -5
  413. data/schemas/tlc/1.0.9/alarms/A0005.json +1 -5
  414. data/schemas/tlc/1.0.9/alarms/A0006.json +1 -5
  415. data/schemas/tlc/1.0.9/alarms/A0007.json +1 -5
  416. data/schemas/tlc/1.0.9/alarms/A0008.json +30 -24
  417. data/schemas/tlc/1.0.9/alarms/A0009.json +1 -5
  418. data/schemas/tlc/1.0.9/alarms/A0101.json +1 -5
  419. data/schemas/tlc/1.0.9/alarms/A0201.json +30 -24
  420. data/schemas/tlc/1.0.9/alarms/A0202.json +30 -24
  421. data/schemas/tlc/1.0.9/alarms/A0301.json +98 -92
  422. data/schemas/tlc/1.0.9/alarms/A0302.json +123 -117
  423. data/schemas/tlc/1.0.9/commands/M0001.json +105 -99
  424. data/schemas/tlc/1.0.9/commands/M0002.json +75 -69
  425. data/schemas/tlc/1.0.9/commands/M0003.json +75 -69
  426. data/schemas/tlc/1.0.9/commands/M0004.json +50 -44
  427. data/schemas/tlc/1.0.9/commands/M0005.json +75 -69
  428. data/schemas/tlc/1.0.9/commands/M0006.json +75 -69
  429. data/schemas/tlc/1.0.9/commands/M0007.json +50 -44
  430. data/schemas/tlc/1.0.9/commands/M0008.json +75 -69
  431. data/schemas/tlc/1.0.9/commands/M0010.json +50 -44
  432. data/schemas/tlc/1.0.9/commands/M0011.json +50 -44
  433. data/schemas/tlc/1.0.9/commands/M0012.json +45 -39
  434. data/schemas/tlc/1.0.9/commands/M0013.json +45 -39
  435. data/schemas/tlc/1.0.9/commands/M0019.json +100 -94
  436. data/schemas/tlc/1.0.9/commands/M0103.json +68 -62
  437. data/schemas/tlc/1.0.9/commands/M0104.json +175 -169
  438. data/schemas/tlc/1.0.9/statuses/S0001.json +101 -95
  439. data/schemas/tlc/1.0.9/statuses/S0002.json +25 -19
  440. data/schemas/tlc/1.0.9/statuses/S0003.json +45 -39
  441. data/schemas/tlc/1.0.9/statuses/S0004.json +45 -39
  442. data/schemas/tlc/1.0.9/statuses/S0005.json +30 -24
  443. data/schemas/tlc/1.0.9/statuses/S0006.json +55 -49
  444. data/schemas/tlc/1.0.9/statuses/S0007.json +55 -49
  445. data/schemas/tlc/1.0.9/statuses/S0008.json +55 -49
  446. data/schemas/tlc/1.0.9/statuses/S0009.json +55 -49
  447. data/schemas/tlc/1.0.9/statuses/S0010.json +55 -49
  448. data/schemas/tlc/1.0.9/statuses/S0011.json +55 -49
  449. data/schemas/tlc/1.0.9/statuses/S0012.json +55 -49
  450. data/schemas/tlc/1.0.9/statuses/S0013.json +55 -49
  451. data/schemas/tlc/1.0.9/statuses/S0014.json +30 -24
  452. data/schemas/tlc/1.0.9/statuses/S0015.json +30 -24
  453. data/schemas/tlc/1.0.9/statuses/S0016.json +30 -24
  454. data/schemas/tlc/1.0.9/statuses/S0017.json +30 -24
  455. data/schemas/tlc/1.0.9/statuses/S0018.json +30 -24
  456. data/schemas/tlc/1.0.9/statuses/S0019.json +30 -24
  457. data/schemas/tlc/1.0.9/statuses/S0020.json +55 -49
  458. data/schemas/tlc/1.0.9/statuses/S0021.json +26 -20
  459. data/schemas/tlc/1.0.9/statuses/S0091.json +48 -42
  460. data/schemas/tlc/1.0.9/statuses/S0092.json +48 -42
  461. data/schemas/tlc/1.0.9/statuses/S0095.json +25 -19
  462. data/schemas/tlc/1.0.9/statuses/S0096.json +155 -149
  463. data/schemas/tlc/1.0.9/statuses/S0201.json +55 -49
  464. data/schemas/tlc/1.0.9/statuses/S0202.json +55 -49
  465. data/schemas/tlc/1.0.9/statuses/S0203.json +55 -49
  466. data/schemas/tlc/1.0.9/statuses/S0204.json +255 -249
  467. data/schemas/tlc/1.1/alarms/A0001.json +1 -5
  468. data/schemas/tlc/1.1/alarms/A0002.json +1 -5
  469. data/schemas/tlc/1.1/alarms/A0003.json +1 -5
  470. data/schemas/tlc/1.1/alarms/A0004.json +1 -5
  471. data/schemas/tlc/1.1/alarms/A0005.json +1 -5
  472. data/schemas/tlc/1.1/alarms/A0006.json +1 -5
  473. data/schemas/tlc/1.1/alarms/A0007.json +29 -23
  474. data/schemas/tlc/1.1/alarms/A0008.json +30 -24
  475. data/schemas/tlc/1.1/alarms/A0009.json +1 -5
  476. data/schemas/tlc/1.1/alarms/A0010.json +1 -5
  477. data/schemas/tlc/1.1/alarms/A0101.json +1 -5
  478. data/schemas/tlc/1.1/alarms/A0201.json +30 -24
  479. data/schemas/tlc/1.1/alarms/A0202.json +30 -24
  480. data/schemas/tlc/1.1/alarms/A0301.json +98 -92
  481. data/schemas/tlc/1.1/alarms/A0302.json +123 -117
  482. data/schemas/tlc/1.1/alarms/A0303.json +98 -92
  483. data/schemas/tlc/1.1/alarms/A0304.json +123 -117
  484. data/schemas/tlc/1.1/commands/M0001.json +100 -94
  485. data/schemas/tlc/1.1/commands/M0002.json +75 -69
  486. data/schemas/tlc/1.1/commands/M0003.json +75 -69
  487. data/schemas/tlc/1.1/commands/M0004.json +50 -44
  488. data/schemas/tlc/1.1/commands/M0005.json +75 -69
  489. data/schemas/tlc/1.1/commands/M0006.json +75 -69
  490. data/schemas/tlc/1.1/commands/M0007.json +50 -44
  491. data/schemas/tlc/1.1/commands/M0008.json +75 -69
  492. data/schemas/tlc/1.1/commands/M0010.json +50 -44
  493. data/schemas/tlc/1.1/commands/M0011.json +50 -44
  494. data/schemas/tlc/1.1/commands/M0012.json +45 -39
  495. data/schemas/tlc/1.1/commands/M0013.json +45 -39
  496. data/schemas/tlc/1.1/commands/M0014.json +70 -64
  497. data/schemas/tlc/1.1/commands/M0015.json +75 -69
  498. data/schemas/tlc/1.1/commands/M0016.json +45 -39
  499. data/schemas/tlc/1.1/commands/M0017.json +45 -39
  500. data/schemas/tlc/1.1/commands/M0018.json +75 -69
  501. data/schemas/tlc/1.1/commands/M0019.json +100 -94
  502. data/schemas/tlc/1.1/commands/M0020.json +100 -94
  503. data/schemas/tlc/1.1/commands/M0021.json +45 -39
  504. data/schemas/tlc/1.1/commands/M0022.json +303 -297
  505. data/schemas/tlc/1.1/commands/M0023.json +50 -44
  506. data/schemas/tlc/1.1/commands/M0103.json +68 -62
  507. data/schemas/tlc/1.1/commands/M0104.json +175 -169
  508. data/schemas/tlc/1.1/statuses/S0001.json +101 -95
  509. data/schemas/tlc/1.1/statuses/S0002.json +25 -19
  510. data/schemas/tlc/1.1/statuses/S0003.json +45 -39
  511. data/schemas/tlc/1.1/statuses/S0004.json +45 -39
  512. data/schemas/tlc/1.1/statuses/S0005.json +30 -24
  513. data/schemas/tlc/1.1/statuses/S0006.json +55 -49
  514. data/schemas/tlc/1.1/statuses/S0007.json +81 -75
  515. data/schemas/tlc/1.1/statuses/S0008.json +81 -75
  516. data/schemas/tlc/1.1/statuses/S0009.json +81 -75
  517. data/schemas/tlc/1.1/statuses/S0010.json +81 -75
  518. data/schemas/tlc/1.1/statuses/S0011.json +81 -75
  519. data/schemas/tlc/1.1/statuses/S0012.json +81 -75
  520. data/schemas/tlc/1.1/statuses/S0013.json +55 -49
  521. data/schemas/tlc/1.1/statuses/S0014.json +58 -52
  522. data/schemas/tlc/1.1/statuses/S0015.json +58 -52
  523. data/schemas/tlc/1.1/statuses/S0016.json +30 -24
  524. data/schemas/tlc/1.1/statuses/S0017.json +30 -24
  525. data/schemas/tlc/1.1/statuses/S0018.json +30 -24
  526. data/schemas/tlc/1.1/statuses/S0019.json +30 -24
  527. data/schemas/tlc/1.1/statuses/S0020.json +55 -49
  528. data/schemas/tlc/1.1/statuses/S0021.json +26 -20
  529. data/schemas/tlc/1.1/statuses/S0022.json +25 -19
  530. data/schemas/tlc/1.1/statuses/S0023.json +26 -20
  531. data/schemas/tlc/1.1/statuses/S0024.json +26 -20
  532. data/schemas/tlc/1.1/statuses/S0025.json +213 -207
  533. data/schemas/tlc/1.1/statuses/S0026.json +25 -19
  534. data/schemas/tlc/1.1/statuses/S0027.json +25 -19
  535. data/schemas/tlc/1.1/statuses/S0028.json +25 -19
  536. data/schemas/tlc/1.1/statuses/S0029.json +25 -19
  537. data/schemas/tlc/1.1/statuses/S0030.json +25 -19
  538. data/schemas/tlc/1.1/statuses/S0031.json +25 -19
  539. data/schemas/tlc/1.1/statuses/S0032.json +81 -75
  540. data/schemas/tlc/1.1/statuses/S0033.json +76 -70
  541. data/schemas/tlc/1.1/statuses/S0034.json +30 -24
  542. data/schemas/tlc/1.1/statuses/S0091.json +34 -28
  543. data/schemas/tlc/1.1/statuses/S0092.json +34 -28
  544. data/schemas/tlc/1.1/statuses/S0095.json +25 -19
  545. data/schemas/tlc/1.1/statuses/S0096.json +155 -149
  546. data/schemas/tlc/1.1/statuses/S0097.json +50 -44
  547. data/schemas/tlc/1.1/statuses/S0098.json +70 -64
  548. data/schemas/tlc/1.1/statuses/S0201.json +55 -49
  549. data/schemas/tlc/1.1/statuses/S0202.json +55 -49
  550. data/schemas/tlc/1.1/statuses/S0203.json +55 -49
  551. data/schemas/tlc/1.1/statuses/S0204.json +255 -249
  552. data/schemas/tlc/1.1/statuses/S0205.json +55 -49
  553. data/schemas/tlc/1.1/statuses/S0206.json +55 -49
  554. data/schemas/tlc/1.1/statuses/S0207.json +55 -49
  555. data/schemas/tlc/1.1/statuses/S0208.json +255 -249
  556. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32d15bd696be18d414974b0c0a03f1e4a99af8c08e32e1a35cc3fe7f435de6a5
4
- data.tar.gz: 9ff9aa8acd817779eb03a4c6a4d041c49254e3e004afcbcd15c53866a82e4d20
3
+ metadata.gz: 8c357f707bd7797ccad36b5b4a86d1599d2b8b1351007037a87ea1e56b2601a7
4
+ data.tar.gz: 41c02d05f87b281b4bff551ca790458ab2a860c459a59ca34c1f5d1f9bfb3ec1
5
5
  SHA512:
6
- metadata.gz: 3db348308f9ba82724cdd44446747fc03b1bca8deb7179c15de9ae45cf132027aeb8157400b493b8b6e60f6da802cb0ad85bbc44788c685f7c5da4a5d7950fe8
7
- data.tar.gz: 50e280d38a9ce66fdcb0aaecfede0541868333e29c6de07c84ff2dc2abbeda270766089d54d9d547f326567e6676b30f5a3b1b26678d905271959c6cdab52dae
6
+ metadata.gz: 3e7254f157c26648285d3a7e44f921023fe3233792d5207e9b6081d4a849f0357e0a46971e93b642133d1f180d962f466fd08dea901768c4a83cc038dbe2229f
7
+ data.tar.gz: 6bc084b220bcf1b9d2dea02c7bba7c296c5b64c204d4e4641972fc4f6a99c86e52944fbc176d137f59ed1251d89b910d3bc1e9e8a8aa8780b98495d82ca80c62
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.4.5)
5
5
  json_schemer (~> 0.2.21)
6
6
  thor (~> 1.2.1)
7
7
 
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module RSMP
2
2
  module Schema
3
- VERSION = "0.4.4"
3
+ VERSION = "0.4.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
- "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
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"
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", "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
+ }
@@ -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
  ]
@@ -1,7 +1,7 @@
1
1
  {
2
+ "description" : "Less serious lamp error.\nUsed for lamp errors.\nIs a \"minor fault\" defined according to 3.11 in EN12675.",
2
3
  "allOf" : [
3
4
  {
4
- "description" : "Less serious lamp error.\nUsed for lamp errors.\nIs a \"minor fault\" defined according to 3.11 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
  ]