rsmp_schema 0.3.2 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (394) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rspec.yaml +20 -0
  3. data/Gemfile.lock +12 -6
  4. data/lib/rsmp_schema/convert/export/json_schema.rb +6 -6
  5. data/lib/rsmp_schema/version.rb +1 -1
  6. data/schemas/core/{3.1.1 → 3.1.2}/core.json +1 -1
  7. data/schemas/core/3.1.2/rsmp.json +122 -1
  8. data/schemas/core/{3.1.1 → 3.1.2}/status_response.json +2 -2
  9. data/schemas/core/{3.1.1 → 3.1.2}/status_update.json +2 -2
  10. data/schemas/core/3.1.3/rsmp.json +12 -12
  11. data/schemas/core/3.1.3/status_response.json +6 -6
  12. data/schemas/core/3.1.3/status_update.json +6 -6
  13. data/schemas/core/3.1.5/aggregated_status_request.json +2 -2
  14. data/schemas/core/3.1.5/alarm.json +6 -6
  15. data/schemas/core/3.1.5/rsmp.json +9 -9
  16. data/schemas/core/3.1.5/status.json +3 -3
  17. data/schemas/core/3.1.5/status_subscribe.json +5 -5
  18. data/schemas/core/3.2/alarm.json +6 -6
  19. data/schemas/core/3.2/rsmp.json +9 -9
  20. data/schemas/core/3.2/status_response.json +4 -4
  21. data/schemas/core/3.2/status_update.json +4 -4
  22. data/schemas/tlc/1.0.10/alarms/A0008.json +1 -1
  23. data/schemas/tlc/1.0.10/alarms/A0301.json +1 -1
  24. data/schemas/tlc/1.0.10/alarms/A0302.json +1 -1
  25. data/schemas/tlc/1.0.10/commands/M0001.json +9 -11
  26. data/schemas/tlc/1.0.10/commands/M0002.json +2 -2
  27. data/schemas/tlc/1.0.10/commands/M0003.json +2 -2
  28. data/schemas/tlc/1.0.10/commands/M0004.json +1 -1
  29. data/schemas/tlc/1.0.10/commands/M0005.json +2 -2
  30. data/schemas/tlc/1.0.10/commands/M0006.json +2 -2
  31. data/schemas/tlc/1.0.10/commands/M0007.json +1 -1
  32. data/schemas/tlc/1.0.10/commands/M0008.json +2 -2
  33. data/schemas/tlc/1.0.10/commands/M0010.json +1 -1
  34. data/schemas/tlc/1.0.10/commands/M0011.json +1 -1
  35. data/schemas/tlc/1.0.10/commands/M0019.json +3 -3
  36. data/schemas/tlc/1.0.10/commands/M0104.json +6 -6
  37. data/schemas/tlc/1.0.10/statuses/S0001.json +3 -3
  38. data/schemas/tlc/1.0.10/statuses/S0005.json +1 -1
  39. data/schemas/tlc/1.0.10/statuses/S0006.json +2 -2
  40. data/schemas/tlc/1.0.10/statuses/S0007.json +2 -2
  41. data/schemas/tlc/1.0.10/statuses/S0008.json +2 -2
  42. data/schemas/tlc/1.0.10/statuses/S0009.json +2 -2
  43. data/schemas/tlc/1.0.10/statuses/S0010.json +2 -2
  44. data/schemas/tlc/1.0.10/statuses/S0011.json +2 -2
  45. data/schemas/tlc/1.0.10/statuses/S0012.json +2 -2
  46. data/schemas/tlc/1.0.10/statuses/S0013.json +2 -2
  47. data/schemas/tlc/1.0.10/statuses/S0014.json +1 -1
  48. data/schemas/tlc/1.0.10/statuses/S0015.json +1 -1
  49. data/schemas/tlc/1.0.10/statuses/S0016.json +1 -1
  50. data/schemas/tlc/1.0.10/statuses/S0017.json +1 -1
  51. data/schemas/tlc/1.0.10/statuses/S0018.json +1 -1
  52. data/schemas/tlc/1.0.10/statuses/S0019.json +1 -1
  53. data/schemas/tlc/1.0.10/statuses/S0020.json +2 -2
  54. data/schemas/tlc/1.0.10/statuses/S0096.json +6 -6
  55. data/schemas/tlc/1.0.10/statuses/S0201.json +2 -2
  56. data/schemas/tlc/1.0.10/statuses/S0202.json +2 -2
  57. data/schemas/tlc/1.0.10/statuses/S0203.json +2 -2
  58. data/schemas/tlc/1.0.10/statuses/S0204.json +10 -10
  59. data/schemas/tlc/1.0.10/sxl.yaml +1 -1
  60. data/schemas/tlc/1.0.13/alarms/A0008.json +1 -1
  61. data/schemas/tlc/1.0.13/alarms/A0301.json +1 -1
  62. data/schemas/tlc/1.0.13/alarms/A0302.json +1 -1
  63. data/schemas/tlc/1.0.13/commands/M0001.json +9 -11
  64. data/schemas/tlc/1.0.13/commands/M0002.json +2 -2
  65. data/schemas/tlc/1.0.13/commands/M0003.json +2 -2
  66. data/schemas/tlc/1.0.13/commands/M0004.json +1 -1
  67. data/schemas/tlc/1.0.13/commands/M0005.json +2 -2
  68. data/schemas/tlc/1.0.13/commands/M0006.json +2 -2
  69. data/schemas/tlc/1.0.13/commands/M0007.json +1 -1
  70. data/schemas/tlc/1.0.13/commands/M0008.json +2 -2
  71. data/schemas/tlc/1.0.13/commands/M0010.json +1 -1
  72. data/schemas/tlc/1.0.13/commands/M0011.json +1 -1
  73. data/schemas/tlc/1.0.13/commands/M0014.json +1 -1
  74. data/schemas/tlc/1.0.13/commands/M0015.json +2 -2
  75. data/schemas/tlc/1.0.13/commands/M0018.json +2 -2
  76. data/schemas/tlc/1.0.13/commands/M0019.json +3 -3
  77. data/schemas/tlc/1.0.13/commands/M0104.json +6 -6
  78. data/schemas/tlc/1.0.13/statuses/S0001.json +3 -3
  79. data/schemas/tlc/1.0.13/statuses/S0005.json +1 -1
  80. data/schemas/tlc/1.0.13/statuses/S0006.json +2 -2
  81. data/schemas/tlc/1.0.13/statuses/S0007.json +2 -2
  82. data/schemas/tlc/1.0.13/statuses/S0008.json +2 -2
  83. data/schemas/tlc/1.0.13/statuses/S0009.json +2 -2
  84. data/schemas/tlc/1.0.13/statuses/S0010.json +2 -2
  85. data/schemas/tlc/1.0.13/statuses/S0011.json +2 -2
  86. data/schemas/tlc/1.0.13/statuses/S0012.json +2 -2
  87. data/schemas/tlc/1.0.13/statuses/S0013.json +2 -2
  88. data/schemas/tlc/1.0.13/statuses/S0014.json +1 -1
  89. data/schemas/tlc/1.0.13/statuses/S0015.json +1 -1
  90. data/schemas/tlc/1.0.13/statuses/S0016.json +1 -1
  91. data/schemas/tlc/1.0.13/statuses/S0017.json +1 -1
  92. data/schemas/tlc/1.0.13/statuses/S0018.json +1 -1
  93. data/schemas/tlc/1.0.13/statuses/S0019.json +1 -1
  94. data/schemas/tlc/1.0.13/statuses/S0020.json +2 -2
  95. data/schemas/tlc/1.0.13/statuses/S0025.json +8 -8
  96. data/schemas/tlc/1.0.13/statuses/S0096.json +6 -6
  97. data/schemas/tlc/1.0.13/statuses/S0201.json +2 -2
  98. data/schemas/tlc/1.0.13/statuses/S0202.json +2 -2
  99. data/schemas/tlc/1.0.13/statuses/S0203.json +2 -2
  100. data/schemas/tlc/1.0.13/statuses/S0204.json +10 -10
  101. data/schemas/tlc/1.0.13/sxl.yaml +1 -1
  102. data/schemas/tlc/1.0.14/alarms/A0008.json +1 -1
  103. data/schemas/tlc/1.0.14/alarms/A0301.json +1 -1
  104. data/schemas/tlc/1.0.14/alarms/A0302.json +1 -1
  105. data/schemas/tlc/1.0.14/commands/M0001.json +9 -11
  106. data/schemas/tlc/1.0.14/commands/M0002.json +2 -2
  107. data/schemas/tlc/1.0.14/commands/M0003.json +2 -2
  108. data/schemas/tlc/1.0.14/commands/M0004.json +1 -1
  109. data/schemas/tlc/1.0.14/commands/M0005.json +2 -2
  110. data/schemas/tlc/1.0.14/commands/M0006.json +2 -2
  111. data/schemas/tlc/1.0.14/commands/M0007.json +1 -1
  112. data/schemas/tlc/1.0.14/commands/M0008.json +2 -2
  113. data/schemas/tlc/1.0.14/commands/M0010.json +1 -1
  114. data/schemas/tlc/1.0.14/commands/M0011.json +1 -1
  115. data/schemas/tlc/1.0.14/commands/M0014.json +1 -1
  116. data/schemas/tlc/1.0.14/commands/M0015.json +2 -2
  117. data/schemas/tlc/1.0.14/commands/M0018.json +2 -2
  118. data/schemas/tlc/1.0.14/commands/M0019.json +3 -3
  119. data/schemas/tlc/1.0.14/commands/M0104.json +6 -6
  120. data/schemas/tlc/1.0.14/statuses/S0001.json +3 -3
  121. data/schemas/tlc/1.0.14/statuses/S0005.json +1 -1
  122. data/schemas/tlc/1.0.14/statuses/S0006.json +2 -2
  123. data/schemas/tlc/1.0.14/statuses/S0007.json +2 -2
  124. data/schemas/tlc/1.0.14/statuses/S0008.json +2 -2
  125. data/schemas/tlc/1.0.14/statuses/S0009.json +2 -2
  126. data/schemas/tlc/1.0.14/statuses/S0010.json +2 -2
  127. data/schemas/tlc/1.0.14/statuses/S0011.json +2 -2
  128. data/schemas/tlc/1.0.14/statuses/S0012.json +2 -2
  129. data/schemas/tlc/1.0.14/statuses/S0013.json +2 -2
  130. data/schemas/tlc/1.0.14/statuses/S0014.json +1 -1
  131. data/schemas/tlc/1.0.14/statuses/S0015.json +1 -1
  132. data/schemas/tlc/1.0.14/statuses/S0016.json +1 -1
  133. data/schemas/tlc/1.0.14/statuses/S0017.json +1 -1
  134. data/schemas/tlc/1.0.14/statuses/S0018.json +1 -1
  135. data/schemas/tlc/1.0.14/statuses/S0019.json +1 -1
  136. data/schemas/tlc/1.0.14/statuses/S0020.json +2 -2
  137. data/schemas/tlc/1.0.14/statuses/S0025.json +8 -8
  138. data/schemas/tlc/1.0.14/statuses/S0096.json +6 -6
  139. data/schemas/tlc/1.0.14/statuses/S0201.json +2 -2
  140. data/schemas/tlc/1.0.14/statuses/S0202.json +2 -2
  141. data/schemas/tlc/1.0.14/statuses/S0203.json +2 -2
  142. data/schemas/tlc/1.0.14/statuses/S0204.json +10 -10
  143. data/schemas/tlc/1.0.14/statuses/S0205.json +1 -1
  144. data/schemas/tlc/1.0.14/statuses/S0206.json +1 -1
  145. data/schemas/tlc/1.0.14/statuses/S0207.json +1 -1
  146. data/schemas/tlc/1.0.14/statuses/S0208.json +1 -1
  147. data/schemas/tlc/1.0.14/sxl.yaml +1 -1
  148. data/schemas/tlc/1.0.15/alarms/A0008.json +1 -1
  149. data/schemas/tlc/1.0.15/alarms/A0301.json +1 -1
  150. data/schemas/tlc/1.0.15/alarms/A0302.json +1 -1
  151. data/schemas/tlc/1.0.15/commands/M0001.json +9 -11
  152. data/schemas/tlc/1.0.15/commands/M0002.json +2 -2
  153. data/schemas/tlc/1.0.15/commands/M0003.json +2 -2
  154. data/schemas/tlc/1.0.15/commands/M0004.json +1 -1
  155. data/schemas/tlc/1.0.15/commands/M0005.json +2 -2
  156. data/schemas/tlc/1.0.15/commands/M0006.json +2 -2
  157. data/schemas/tlc/1.0.15/commands/M0007.json +1 -1
  158. data/schemas/tlc/1.0.15/commands/M0008.json +2 -2
  159. data/schemas/tlc/1.0.15/commands/M0010.json +1 -1
  160. data/schemas/tlc/1.0.15/commands/M0011.json +1 -1
  161. data/schemas/tlc/1.0.15/commands/M0014.json +1 -1
  162. data/schemas/tlc/1.0.15/commands/M0015.json +2 -2
  163. data/schemas/tlc/1.0.15/commands/M0018.json +2 -2
  164. data/schemas/tlc/1.0.15/commands/M0019.json +3 -3
  165. data/schemas/tlc/1.0.15/commands/M0020.json +3 -3
  166. data/schemas/tlc/1.0.15/commands/M0104.json +6 -6
  167. data/schemas/tlc/1.0.15/statuses/S0001.json +3 -3
  168. data/schemas/tlc/1.0.15/statuses/S0005.json +1 -1
  169. data/schemas/tlc/1.0.15/statuses/S0006.json +2 -2
  170. data/schemas/tlc/1.0.15/statuses/S0007.json +2 -2
  171. data/schemas/tlc/1.0.15/statuses/S0008.json +2 -2
  172. data/schemas/tlc/1.0.15/statuses/S0009.json +2 -2
  173. data/schemas/tlc/1.0.15/statuses/S0010.json +2 -2
  174. data/schemas/tlc/1.0.15/statuses/S0011.json +2 -2
  175. data/schemas/tlc/1.0.15/statuses/S0012.json +2 -2
  176. data/schemas/tlc/1.0.15/statuses/S0013.json +2 -2
  177. data/schemas/tlc/1.0.15/statuses/S0014.json +1 -1
  178. data/schemas/tlc/1.0.15/statuses/S0015.json +1 -1
  179. data/schemas/tlc/1.0.15/statuses/S0016.json +1 -1
  180. data/schemas/tlc/1.0.15/statuses/S0017.json +1 -1
  181. data/schemas/tlc/1.0.15/statuses/S0018.json +1 -1
  182. data/schemas/tlc/1.0.15/statuses/S0019.json +1 -1
  183. data/schemas/tlc/1.0.15/statuses/S0020.json +2 -2
  184. data/schemas/tlc/1.0.15/statuses/S0025.json +8 -8
  185. data/schemas/tlc/1.0.15/statuses/S0096.json +6 -6
  186. data/schemas/tlc/1.0.15/statuses/S0097.json +1 -1
  187. data/schemas/tlc/1.0.15/statuses/S0098.json +1 -1
  188. data/schemas/tlc/1.0.15/statuses/S0201.json +2 -2
  189. data/schemas/tlc/1.0.15/statuses/S0202.json +2 -2
  190. data/schemas/tlc/1.0.15/statuses/S0203.json +2 -2
  191. data/schemas/tlc/1.0.15/statuses/S0204.json +10 -10
  192. data/schemas/tlc/1.0.15/statuses/S0205.json +1 -1
  193. data/schemas/tlc/1.0.15/statuses/S0206.json +1 -1
  194. data/schemas/tlc/1.0.15/statuses/S0207.json +1 -1
  195. data/schemas/tlc/1.0.15/statuses/S0208.json +1 -1
  196. data/schemas/tlc/1.0.15/sxl.yaml +1 -1
  197. data/schemas/tlc/1.0.7/alarms/A0008.json +1 -1
  198. data/schemas/tlc/1.0.7/alarms/A0301.json +1 -1
  199. data/schemas/tlc/1.0.7/alarms/A0302.json +1 -1
  200. data/schemas/tlc/1.0.7/commands/M0001.json +9 -11
  201. data/schemas/tlc/1.0.7/commands/M0002.json +2 -2
  202. data/schemas/tlc/1.0.7/commands/M0003.json +2 -2
  203. data/schemas/tlc/1.0.7/commands/M0004.json +1 -1
  204. data/schemas/tlc/1.0.7/commands/M0005.json +2 -2
  205. data/schemas/tlc/1.0.7/commands/M0006.json +2 -2
  206. data/schemas/tlc/1.0.7/commands/M0007.json +1 -1
  207. data/schemas/tlc/1.0.7/commands/M0008.json +2 -2
  208. data/schemas/tlc/1.0.7/commands/M0010.json +1 -1
  209. data/schemas/tlc/1.0.7/commands/M0011.json +1 -1
  210. data/schemas/tlc/1.0.7/commands/M0019.json +3 -3
  211. data/schemas/tlc/1.0.7/commands/M0104.json +6 -6
  212. data/schemas/tlc/1.0.7/statuses/S0001.json +3 -3
  213. data/schemas/tlc/1.0.7/statuses/S0005.json +1 -1
  214. data/schemas/tlc/1.0.7/statuses/S0006.json +2 -2
  215. data/schemas/tlc/1.0.7/statuses/S0007.json +2 -2
  216. data/schemas/tlc/1.0.7/statuses/S0008.json +2 -2
  217. data/schemas/tlc/1.0.7/statuses/S0009.json +2 -2
  218. data/schemas/tlc/1.0.7/statuses/S0010.json +2 -2
  219. data/schemas/tlc/1.0.7/statuses/S0011.json +2 -2
  220. data/schemas/tlc/1.0.7/statuses/S0012.json +2 -2
  221. data/schemas/tlc/1.0.7/statuses/S0013.json +2 -2
  222. data/schemas/tlc/1.0.7/statuses/S0014.json +1 -1
  223. data/schemas/tlc/1.0.7/statuses/S0015.json +1 -1
  224. data/schemas/tlc/1.0.7/statuses/S0016.json +1 -1
  225. data/schemas/tlc/1.0.7/statuses/S0017.json +1 -1
  226. data/schemas/tlc/1.0.7/statuses/S0018.json +1 -1
  227. data/schemas/tlc/1.0.7/statuses/S0019.json +1 -1
  228. data/schemas/tlc/1.0.7/statuses/S0020.json +2 -2
  229. data/schemas/tlc/1.0.7/statuses/S0025.json +8 -8
  230. data/schemas/tlc/1.0.7/statuses/S0096.json +6 -6
  231. data/schemas/tlc/1.0.7/statuses/S0201.json +2 -2
  232. data/schemas/tlc/1.0.7/statuses/S0202.json +2 -2
  233. data/schemas/tlc/1.0.7/statuses/S0203.json +2 -2
  234. data/schemas/tlc/1.0.7/statuses/S0204.json +10 -10
  235. data/schemas/tlc/1.0.7/sxl.yaml +1 -1
  236. data/schemas/tlc/1.0.8/alarms/A0008.json +1 -1
  237. data/schemas/tlc/1.0.8/alarms/A0301.json +1 -1
  238. data/schemas/tlc/1.0.8/alarms/A0302.json +1 -1
  239. data/schemas/tlc/1.0.8/commands/M0001.json +9 -11
  240. data/schemas/tlc/1.0.8/commands/M0002.json +2 -2
  241. data/schemas/tlc/1.0.8/commands/M0003.json +2 -2
  242. data/schemas/tlc/1.0.8/commands/M0004.json +1 -1
  243. data/schemas/tlc/1.0.8/commands/M0005.json +2 -2
  244. data/schemas/tlc/1.0.8/commands/M0006.json +2 -2
  245. data/schemas/tlc/1.0.8/commands/M0007.json +1 -1
  246. data/schemas/tlc/1.0.8/commands/M0008.json +2 -2
  247. data/schemas/tlc/1.0.8/commands/M0010.json +1 -1
  248. data/schemas/tlc/1.0.8/commands/M0011.json +1 -1
  249. data/schemas/tlc/1.0.8/commands/M0019.json +3 -3
  250. data/schemas/tlc/1.0.8/commands/M0104.json +6 -6
  251. data/schemas/tlc/1.0.8/statuses/S0001.json +3 -3
  252. data/schemas/tlc/1.0.8/statuses/S0005.json +1 -1
  253. data/schemas/tlc/1.0.8/statuses/S0006.json +2 -2
  254. data/schemas/tlc/1.0.8/statuses/S0007.json +2 -2
  255. data/schemas/tlc/1.0.8/statuses/S0008.json +2 -2
  256. data/schemas/tlc/1.0.8/statuses/S0009.json +2 -2
  257. data/schemas/tlc/1.0.8/statuses/S0010.json +2 -2
  258. data/schemas/tlc/1.0.8/statuses/S0011.json +2 -2
  259. data/schemas/tlc/1.0.8/statuses/S0012.json +2 -2
  260. data/schemas/tlc/1.0.8/statuses/S0013.json +2 -2
  261. data/schemas/tlc/1.0.8/statuses/S0014.json +1 -1
  262. data/schemas/tlc/1.0.8/statuses/S0015.json +1 -1
  263. data/schemas/tlc/1.0.8/statuses/S0016.json +1 -1
  264. data/schemas/tlc/1.0.8/statuses/S0017.json +1 -1
  265. data/schemas/tlc/1.0.8/statuses/S0018.json +1 -1
  266. data/schemas/tlc/1.0.8/statuses/S0019.json +1 -1
  267. data/schemas/tlc/1.0.8/statuses/S0020.json +2 -2
  268. data/schemas/tlc/1.0.8/statuses/S0025.json +8 -8
  269. data/schemas/tlc/1.0.8/statuses/S0096.json +6 -6
  270. data/schemas/tlc/1.0.8/statuses/S0201.json +2 -2
  271. data/schemas/tlc/1.0.8/statuses/S0202.json +2 -2
  272. data/schemas/tlc/1.0.8/statuses/S0203.json +2 -2
  273. data/schemas/tlc/1.0.8/statuses/S0204.json +10 -10
  274. data/schemas/tlc/1.0.8/sxl.yaml +1 -1
  275. data/schemas/tlc/1.0.9/alarms/A0008.json +1 -1
  276. data/schemas/tlc/1.0.9/alarms/A0301.json +1 -1
  277. data/schemas/tlc/1.0.9/alarms/A0302.json +1 -1
  278. data/schemas/tlc/1.0.9/commands/M0001.json +9 -11
  279. data/schemas/tlc/1.0.9/commands/M0002.json +2 -2
  280. data/schemas/tlc/1.0.9/commands/M0003.json +2 -2
  281. data/schemas/tlc/1.0.9/commands/M0004.json +1 -1
  282. data/schemas/tlc/1.0.9/commands/M0005.json +2 -2
  283. data/schemas/tlc/1.0.9/commands/M0006.json +2 -2
  284. data/schemas/tlc/1.0.9/commands/M0007.json +1 -1
  285. data/schemas/tlc/1.0.9/commands/M0008.json +2 -2
  286. data/schemas/tlc/1.0.9/commands/M0010.json +1 -1
  287. data/schemas/tlc/1.0.9/commands/M0011.json +1 -1
  288. data/schemas/tlc/1.0.9/commands/M0019.json +3 -3
  289. data/schemas/tlc/1.0.9/commands/M0104.json +6 -6
  290. data/schemas/tlc/1.0.9/statuses/S0001.json +3 -3
  291. data/schemas/tlc/1.0.9/statuses/S0005.json +1 -1
  292. data/schemas/tlc/1.0.9/statuses/S0006.json +2 -2
  293. data/schemas/tlc/1.0.9/statuses/S0007.json +2 -2
  294. data/schemas/tlc/1.0.9/statuses/S0008.json +2 -2
  295. data/schemas/tlc/1.0.9/statuses/S0009.json +2 -2
  296. data/schemas/tlc/1.0.9/statuses/S0010.json +2 -2
  297. data/schemas/tlc/1.0.9/statuses/S0011.json +2 -2
  298. data/schemas/tlc/1.0.9/statuses/S0012.json +2 -2
  299. data/schemas/tlc/1.0.9/statuses/S0013.json +2 -2
  300. data/schemas/tlc/1.0.9/statuses/S0014.json +1 -1
  301. data/schemas/tlc/1.0.9/statuses/S0015.json +1 -1
  302. data/schemas/tlc/1.0.9/statuses/S0016.json +1 -1
  303. data/schemas/tlc/1.0.9/statuses/S0017.json +1 -1
  304. data/schemas/tlc/1.0.9/statuses/S0018.json +1 -1
  305. data/schemas/tlc/1.0.9/statuses/S0019.json +1 -1
  306. data/schemas/tlc/1.0.9/statuses/S0020.json +2 -2
  307. data/schemas/tlc/1.0.9/statuses/S0025.json +8 -8
  308. data/schemas/tlc/1.0.9/statuses/S0096.json +6 -6
  309. data/schemas/tlc/1.0.9/statuses/S0201.json +2 -2
  310. data/schemas/tlc/1.0.9/statuses/S0202.json +2 -2
  311. data/schemas/tlc/1.0.9/statuses/S0203.json +2 -2
  312. data/schemas/tlc/1.0.9/statuses/S0204.json +10 -10
  313. data/schemas/tlc/1.0.9/sxl.yaml +1 -1
  314. data/schemas/tlc/1.1/alarms/A0008.json +1 -1
  315. data/schemas/tlc/1.1/alarms/A0009.json +1 -1
  316. data/schemas/tlc/1.1/alarms/A0301.json +1 -1
  317. data/schemas/tlc/1.1/alarms/A0302.json +1 -1
  318. data/schemas/tlc/1.1/alarms/A0303.json +1 -1
  319. data/schemas/tlc/1.1/alarms/A0304.json +1 -1
  320. data/schemas/tlc/1.1/commands/M0001.json +11 -19
  321. data/schemas/tlc/1.1/commands/M0002.json +2 -2
  322. data/schemas/tlc/1.1/commands/M0003.json +2 -2
  323. data/schemas/tlc/1.1/commands/M0004.json +1 -1
  324. data/schemas/tlc/1.1/commands/M0005.json +2 -2
  325. data/schemas/tlc/1.1/commands/M0006.json +2 -2
  326. data/schemas/tlc/1.1/commands/M0007.json +1 -1
  327. data/schemas/tlc/1.1/commands/M0008.json +2 -2
  328. data/schemas/tlc/1.1/commands/M0010.json +1 -1
  329. data/schemas/tlc/1.1/commands/M0011.json +1 -1
  330. data/schemas/tlc/1.1/commands/M0013.json +2 -2
  331. data/schemas/tlc/1.1/commands/M0014.json +1 -1
  332. data/schemas/tlc/1.1/commands/M0015.json +2 -2
  333. data/schemas/tlc/1.1/commands/M0018.json +2 -2
  334. data/schemas/tlc/1.1/commands/M0019.json +3 -3
  335. data/schemas/tlc/1.1/commands/M0020.json +3 -3
  336. data/schemas/tlc/1.1/commands/M0022.json +18 -19
  337. data/schemas/tlc/1.1/commands/M0023.json +2 -2
  338. data/schemas/tlc/1.1/commands/M0104.json +13 -13
  339. data/schemas/tlc/1.1/statuses/S0001.json +4 -4
  340. data/schemas/tlc/1.1/statuses/S0003.json +2 -2
  341. data/schemas/tlc/1.1/statuses/S0004.json +2 -2
  342. data/schemas/tlc/1.1/statuses/S0005.json +1 -1
  343. data/schemas/tlc/1.1/statuses/S0006.json +4 -4
  344. data/schemas/tlc/1.1/statuses/S0007.json +4 -4
  345. data/schemas/tlc/1.1/statuses/S0008.json +4 -4
  346. data/schemas/tlc/1.1/statuses/S0009.json +4 -4
  347. data/schemas/tlc/1.1/statuses/S0010.json +4 -4
  348. data/schemas/tlc/1.1/statuses/S0011.json +4 -4
  349. data/schemas/tlc/1.1/statuses/S0012.json +4 -4
  350. data/schemas/tlc/1.1/statuses/S0013.json +3 -3
  351. data/schemas/tlc/1.1/statuses/S0014.json +10 -9
  352. data/schemas/tlc/1.1/statuses/S0015.json +10 -9
  353. data/schemas/tlc/1.1/statuses/S0016.json +1 -1
  354. data/schemas/tlc/1.1/statuses/S0017.json +1 -1
  355. data/schemas/tlc/1.1/statuses/S0018.json +1 -1
  356. data/schemas/tlc/1.1/statuses/S0019.json +1 -1
  357. data/schemas/tlc/1.1/statuses/S0020.json +3 -3
  358. data/schemas/tlc/1.1/statuses/S0024.json +2 -2
  359. data/schemas/tlc/1.1/statuses/S0025.json +8 -8
  360. data/schemas/tlc/1.1/statuses/S0032.json +3 -4
  361. data/schemas/tlc/1.1/statuses/S0033.json +6 -6
  362. data/schemas/tlc/1.1/statuses/S0034.json +1 -1
  363. data/schemas/tlc/1.1/statuses/S0091.json +1 -1
  364. data/schemas/tlc/1.1/statuses/S0092.json +1 -1
  365. data/schemas/tlc/1.1/statuses/S0096.json +13 -13
  366. data/schemas/tlc/1.1/statuses/S0097.json +2 -2
  367. data/schemas/tlc/1.1/statuses/S0098.json +1 -1
  368. data/schemas/tlc/1.1/statuses/S0201.json +2 -2
  369. data/schemas/tlc/1.1/statuses/S0202.json +2 -2
  370. data/schemas/tlc/1.1/statuses/S0203.json +2 -2
  371. data/schemas/tlc/1.1/statuses/S0204.json +11 -11
  372. data/schemas/tlc/1.1/statuses/S0205.json +2 -2
  373. data/schemas/tlc/1.1/statuses/S0206.json +2 -2
  374. data/schemas/tlc/1.1/statuses/S0207.json +2 -2
  375. data/schemas/tlc/1.1/statuses/S0208.json +11 -11
  376. data/schemas/tlc/1.1/sxl.yaml +188 -180
  377. metadata +23 -23
  378. data/schemas/core/3.1.1/rsmp.json +0 -124
  379. /data/schemas/core/{3.1.1 → 3.1.2}/aggregated_status.json +0 -0
  380. /data/schemas/core/{3.1.1 → 3.1.2}/alarm.json +0 -0
  381. /data/schemas/core/{3.1.1 → 3.1.2}/alarm_issue.json +0 -0
  382. /data/schemas/core/{3.1.1 → 3.1.2}/alarm_suspend_resume.json +0 -0
  383. /data/schemas/core/{3.1.1 → 3.1.2}/alarm_suspended_resumed.json +0 -0
  384. /data/schemas/core/{3.1.1 → 3.1.2}/command_request.json +0 -0
  385. /data/schemas/core/{3.1.1 → 3.1.2}/command_response.json +0 -0
  386. /data/schemas/core/{3.1.1 → 3.1.2}/definitions.json +0 -0
  387. /data/schemas/core/{3.1.1 → 3.1.2}/message_ack.json +0 -0
  388. /data/schemas/core/{3.1.1 → 3.1.2}/message_not_ack.json +0 -0
  389. /data/schemas/core/{3.1.1 → 3.1.2}/status.json +0 -0
  390. /data/schemas/core/{3.1.1 → 3.1.2}/status_request.json +0 -0
  391. /data/schemas/core/{3.1.1 → 3.1.2}/status_subscribe.json +0 -0
  392. /data/schemas/core/{3.1.1 → 3.1.2}/status_unsubscribe.json +0 -0
  393. /data/schemas/core/{3.1.1 → 3.1.2}/version.json +0 -0
  394. /data/schemas/core/{3.1.1 → 3.1.2}/watchdog.json +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9f2c2258a47b6f5f29a7f9de6f62662bc46fe864f26667fc462a04c574de418
4
- data.tar.gz: 4977f3e203c7ee2e1c53f38574470995492d48390c5d5368d7ad5c5583cc8197
3
+ metadata.gz: 6b9ab01a29dc881ed7479e69c444a4d2088f51035b406f0b8a2e291030059cf6
4
+ data.tar.gz: 55f0ff8f40d5cd1bfd46da69fe8f2ecaa72840763595e3728eae6971a41545a6
5
5
  SHA512:
6
- metadata.gz: 6310c9afa384a30a88419d30194a53bc76bf921d89b3194c4cdf87ac9406f4d6569d7ee965381e4cd14790fe3321de3f046159d0a6928327b03ce8171e15c93e
7
- data.tar.gz: c94d8ef1fd954f121519e398f84c138b67cb336beb7165f69781811e1cf8a13d7a5c9520affa3d4b2c0b3fcf61a91206802cf34b8630e6e11e5455469c148a0b
6
+ metadata.gz: cd7562d99c4875fcaf71e16b969c5aedf9a3c51b711f125253a8e34bf3c2e4f647d0cd42078f1658cbc986271e764d73ea7e85bd37be10810df4111af4ecd309
7
+ data.tar.gz: ea487a4c39756d34c2282cde57d759776777a61bfa30bd56cf2f3cd8f2072a8b9e0f1dd46b42d0bc0ccfb2513cd38fdbfcd862e64c8ece3ee19ffdbf2e332087
@@ -0,0 +1,20 @@
1
+ # Workflow to run RSpec tests
2
+
3
+ name: RSpec
4
+ on: push
5
+ jobs:
6
+ test:
7
+ timeout-minutes: 5
8
+ strategy:
9
+ fail-fast: false
10
+ matrix:
11
+ os: [ubuntu-latest, macos-latest, windows-latest]
12
+ ruby: ['3.0', '3.1']
13
+ runs-on: ${{ matrix.os }}
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: ${{ matrix.ruby }}
19
+ bundler-cache: true
20
+ - run: bundle exec rspec -f d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsmp_schema (0.3.2)
4
+ rsmp_schema (0.4.1)
5
5
  json_schemer (~> 0.2.21)
6
6
  thor (~> 1.2.1)
7
7
 
@@ -12,27 +12,33 @@ GEM
12
12
  ecma-re-validator (0.4.0)
13
13
  regexp_parser (~> 2.2)
14
14
  hana (1.3.7)
15
- json_schemer (0.2.21)
15
+ json_schemer (0.2.25)
16
16
  ecma-re-validator (~> 0.3)
17
17
  hana (~> 1.3)
18
18
  regexp_parser (~> 2.0)
19
+ simpleidn (~> 0.2)
19
20
  uri_template (~> 0.7)
20
21
  rake (13.0.6)
21
- regexp_parser (2.5.0)
22
+ regexp_parser (2.8.1)
22
23
  rspec (3.11.0)
23
24
  rspec-core (~> 3.11.0)
24
25
  rspec-expectations (~> 3.11.0)
25
26
  rspec-mocks (~> 3.11.0)
26
27
  rspec-core (3.11.0)
27
28
  rspec-support (~> 3.11.0)
28
- rspec-expectations (3.11.0)
29
+ rspec-expectations (3.11.1)
29
30
  diff-lcs (>= 1.2.0, < 2.0)
30
31
  rspec-support (~> 3.11.0)
31
32
  rspec-mocks (3.11.1)
32
33
  diff-lcs (>= 1.2.0, < 2.0)
33
34
  rspec-support (~> 3.11.0)
34
- rspec-support (3.11.0)
35
- thor (1.2.1)
35
+ rspec-support (3.11.1)
36
+ simpleidn (0.2.1)
37
+ unf (~> 0.1.4)
38
+ thor (1.2.2)
39
+ unf (0.1.4)
40
+ unf_ext
41
+ unf_ext (0.0.8.2)
36
42
  uri_template (0.7.0)
37
43
 
38
44
  PLATFORMS
@@ -42,11 +42,11 @@ module RSMP
42
42
  when "string", "base64"
43
43
  out["type"] = "string"
44
44
  when "boolean"
45
- out["$ref"] = "../../../core/3.1.1/definitions.json#/boolean"
45
+ out["$ref"] = "../../../core/3.1.2/definitions.json#/boolean"
46
46
  when "timestamp"
47
- out["$ref"] = "../../../core/3.1.1/definitions.json#/timestamp"
47
+ out["$ref"] = "../../../core/3.1.2/definitions.json#/timestamp"
48
48
  when "integer", "ordinal", "unit", "scale", "long"
49
- out["$ref"] = "../../../core/3.1.1/definitions.json#/integer"
49
+ out["$ref"] = "../../../core/3.1.2/definitions.json#/integer"
50
50
  when 'array' # a json array
51
51
  build_json_array item['items'], out
52
52
  else
@@ -88,11 +88,11 @@ module RSMP
88
88
  def self.handle_string_list item, out
89
89
  case item['type']
90
90
  when "boolean_list"
91
- out["$ref"] = "../../../core/3.1.1/definitions.json#/boolean_list"
91
+ out["$ref"] = "../../../core/3.1.2/definitions.json#/boolean_list"
92
92
  when "integer_list"
93
- out["$ref"] = "../../../core/3.1.1/definitions.json#/integer_list"
93
+ out["$ref"] = "../../../core/3.1.2/definitions.json#/integer_list"
94
94
  when "string_list"
95
- out["$ref"] = "../../../core/3.1.1/definitions.json#/string_list"
95
+ out["$ref"] = "../../../core/3.1.2/definitions.json#/string_list"
96
96
  else
97
97
  raise "Error: List of #{item['type']} is not supported: #{item.inspect}"
98
98
  end
@@ -1,5 +1,5 @@
1
1
  module RSMP
2
2
  module Schema
3
- VERSION = "0.3.2"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@
2
2
  "$schema" : "http://json-schema.org/draft-07/schema#",
3
3
  "name" : "core",
4
4
  "description" : "Core",
5
- "version" : "3.1.1",
5
+ "version" : "3.1.2",
6
6
  "type" : "object",
7
7
  "allOf" : [
8
8
  {
@@ -1,3 +1,124 @@
1
1
  {
2
- "$ref": "../3.1.1/rsmp.json" // no changes from 3.1.1
2
+ "allOf": [
3
+ {
4
+ "$ref": "core.json"
5
+ },
6
+ {
7
+ "if": {
8
+ "required" : ["type"],
9
+ "properties": { "type": { "const": "MessageAck" } }
10
+ },
11
+ "then": {
12
+ "$ref": "message_ack.json"
13
+ }
14
+ },
15
+ {
16
+ "if": {
17
+ "required" : ["type"],
18
+ "properties": { "type": { "const": "MessageNotAck" } }
19
+ },
20
+ "then": {
21
+ "$ref": "message_not_ack.json"
22
+ }
23
+ },
24
+ {
25
+ "if": {
26
+ "required" : ["type"],
27
+ "properties": { "type": { "const": "Version" } }
28
+ },
29
+ "then": {
30
+ "$ref": "version.json"
31
+ }
32
+ },
33
+ {
34
+ "if": {
35
+ "required" : ["type"],
36
+ "properties": { "type": { "const": "AggregatedStatus" } }
37
+ },
38
+ "then": {
39
+ "$ref": "aggregated_status.json"
40
+ }
41
+ },
42
+ {
43
+ "if": {
44
+ "required" : ["type"],
45
+ "properties": { "type": { "const": "Watchdog" } }
46
+ },
47
+ "then": {
48
+ "$ref": "watchdog.json"
49
+ }
50
+ },
51
+ {
52
+ "if": {
53
+ "required" : ["type"],
54
+ "properties": { "type": { "const": "Alarm" } }
55
+ },
56
+ "then": {
57
+ "$ref": "alarm.json"
58
+ }
59
+ },
60
+ {
61
+ "if": {
62
+ "required" : ["type"],
63
+ "properties": { "type": { "const": "CommandRequest" } }
64
+ },
65
+ "then": {
66
+ "$ref": "command_request.json"
67
+ }
68
+ },
69
+ {
70
+ "if": {
71
+ "required" : ["type"],
72
+ "properties": { "type": { "const": "CommandResponse" } }
73
+ },
74
+ "then": {
75
+ "$ref": "command_response.json"
76
+ }
77
+ },
78
+ {
79
+ "if": {
80
+ "required" : ["type"],
81
+ "properties": { "type": { "const": "StatusRequest" } }
82
+ },
83
+ "then": {
84
+ "$ref": "status_request.json"
85
+ }
86
+ },
87
+ {
88
+ "if": {
89
+ "required" : ["type"],
90
+ "properties": { "type": { "const": "StatusResponse" } }
91
+ },
92
+ "then": {
93
+ "$ref": "status_response.json"
94
+ }
95
+ },
96
+ {
97
+ "if": {
98
+ "required" : ["type"],
99
+ "properties": { "type": { "const": "StatusSubscribe" } }
100
+ },
101
+ "then": {
102
+ "$ref": "status_subscribe.json"
103
+ }
104
+ },
105
+ {
106
+ "if": {
107
+ "required" : ["type"],
108
+ "properties": { "type": { "const": "StatusUnsubscribe" } }
109
+ },
110
+ "then": {
111
+ "$ref": "status_unsubscribe.json"
112
+ }
113
+ },
114
+ {
115
+ "if": {
116
+ "required" : ["type"],
117
+ "properties": { "type": { "const": "StatusUpdate" } }
118
+ },
119
+ "then": {
120
+ "$ref": "status_update.json"
121
+ }
122
+ }
123
+ ]
3
124
  }
@@ -15,13 +15,13 @@
15
15
  "sCI" : { "$ref": "definitions.json#/status_code" },
16
16
  "n" : { "description" : "Unique reference of the value", "type" : "string" },
17
17
  "s" : { "description" : "Value", "type" : "string" },
18
- "ageState" : {
18
+ "q" : {
19
19
  "description" : "Value",
20
20
  "type" : "string",
21
21
  "enum" : [ "recent", "old", "undefined", "unknown" ]
22
22
  }
23
23
  },
24
- "required" : [ "sCI", "n", "s", "ageState" ],
24
+ "required" : [ "sCI", "n", "s", "q" ],
25
25
  "additionalProperties": false
26
26
  }
27
27
  }
@@ -15,13 +15,13 @@
15
15
  "sCI" : { "$ref": "definitions.json#/status_code" },
16
16
  "n" : { "description" : "Unique reference of the value", "type" : "string" },
17
17
  "s" : { "description" : "Value", "type" : "string" },
18
- "ageState" : {
18
+ "q" : {
19
19
  "description" : "Value",
20
20
  "type" : "string",
21
21
  "enum" : [ "recent", "old", "undefined", "unknown" ]
22
22
  }
23
23
  },
24
- "required" : [ "sCI", "n", "s", "ageState" ],
24
+ "required" : [ "sCI", "n", "s", "q" ],
25
25
  "additionalProperties": false
26
26
  }
27
27
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "allOf": [
3
3
  {
4
- "$ref": "../3.1.1/core.json"
4
+ "$ref": "../3.1.2/core.json"
5
5
  },
6
6
  {
7
7
  "if": {
@@ -9,7 +9,7 @@
9
9
  "properties": { "type": { "const": "MessageAck" } }
10
10
  },
11
11
  "then": {
12
- "$ref": "../3.1.1/message_ack.json"
12
+ "$ref": "../3.1.2/message_ack.json"
13
13
  }
14
14
  },
15
15
  {
@@ -18,7 +18,7 @@
18
18
  "properties": { "type": { "const": "MessageNotAck" } }
19
19
  },
20
20
  "then": {
21
- "$ref": "../3.1.1/message_not_ack.json"
21
+ "$ref": "../3.1.2/message_not_ack.json"
22
22
  }
23
23
  },
24
24
  {
@@ -27,7 +27,7 @@
27
27
  "properties": { "type": { "const": "Version" } }
28
28
  },
29
29
  "then": {
30
- "$ref": "../3.1.1/version.json"
30
+ "$ref": "../3.1.2/version.json"
31
31
  }
32
32
  },
33
33
  {
@@ -36,7 +36,7 @@
36
36
  "properties": { "type": { "const": "AggregatedStatus" } }
37
37
  },
38
38
  "then": {
39
- "$ref": "../3.1.1/aggregated_status.json"
39
+ "$ref": "../3.1.2/aggregated_status.json"
40
40
  }
41
41
  },
42
42
  {
@@ -45,7 +45,7 @@
45
45
  "properties": { "type": { "const": "Watchdog" } }
46
46
  },
47
47
  "then": {
48
- "$ref": "../3.1.1/watchdog.json"
48
+ "$ref": "../3.1.2/watchdog.json"
49
49
  }
50
50
  },
51
51
  {
@@ -54,7 +54,7 @@
54
54
  "properties": { "type": { "const": "Alarm" } }
55
55
  },
56
56
  "then": {
57
- "$ref": "../3.1.1/alarm.json"
57
+ "$ref": "../3.1.2/alarm.json"
58
58
  }
59
59
  },
60
60
  {
@@ -63,7 +63,7 @@
63
63
  "properties": { "type": { "const": "CommandRequest" } }
64
64
  },
65
65
  "then": {
66
- "$ref": "../3.1.1/command_request.json"
66
+ "$ref": "../3.1.2/command_request.json"
67
67
  }
68
68
  },
69
69
  {
@@ -72,7 +72,7 @@
72
72
  "properties": { "type": { "const": "CommandResponse" } }
73
73
  },
74
74
  "then": {
75
- "$ref": "../3.1.1/command_response.json"
75
+ "$ref": "../3.1.2/command_response.json"
76
76
  }
77
77
  },
78
78
  {
@@ -81,7 +81,7 @@
81
81
  "properties": { "type": { "const": "StatusRequest" } }
82
82
  },
83
83
  "then": {
84
- "$ref": "../3.1.1/status_request.json"
84
+ "$ref": "../3.1.2/status_request.json"
85
85
  }
86
86
  },
87
87
  {
@@ -99,7 +99,7 @@
99
99
  "properties": { "type": { "const": "StatusSubscribe" } }
100
100
  },
101
101
  "then": {
102
- "$ref": "../3.1.1/status_subscribe.json"
102
+ "$ref": "../3.1.2/status_subscribe.json"
103
103
  }
104
104
  },
105
105
  {
@@ -108,7 +108,7 @@
108
108
  "properties": { "type": { "const": "StatusUnsubscribe" } }
109
109
  },
110
110
  "then": {
111
- "$ref": "../3.1.1/status_unsubscribe.json"
111
+ "$ref": "../3.1.2/status_unsubscribe.json"
112
112
  }
113
113
  },
114
114
  {
@@ -2,9 +2,9 @@
2
2
  "title" : "StatusResponse",
3
3
  "description" : "Status response",
4
4
  "properties" : {
5
- "mId" : { "$ref": "../3.1.1/definitions.json#/message_id" },
6
- "cId" : { "$ref": "../3.1.1/definitions.json#/component_id" },
7
- "sTs" : { "$ref": "../3.1.1/definitions.json#/timestamp" },
5
+ "mId" : { "$ref": "../3.1.2/definitions.json#/message_id" },
6
+ "cId" : { "$ref": "../3.1.2/definitions.json#/component_id" },
7
+ "sTs" : { "$ref": "../3.1.2/definitions.json#/timestamp" },
8
8
  "sS" : {
9
9
  "description" : "Status response arguments",
10
10
  "type" : "array",
@@ -12,13 +12,13 @@
12
12
  "items" : {
13
13
  "type" : "object",
14
14
  "properties": {
15
- "sCI" : { "$ref": "../3.1.1/definitions.json#/status_code" },
15
+ "sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
16
16
  "n" : { "description" : "Unique reference of the value", "type" : "string" },
17
17
  "s" : { "description" : "Value", "type" : "string" },
18
- "q" : { // changed from "ageState" in 3.1.2
18
+ "q" : {
19
19
  "description" : "Value",
20
20
  "type" : "string",
21
- "enum" : [ "recent", "old", "undefined", "unknown" ]
21
+ "enum" : [ "recent", "old", "undefined", "unknown" ] // 'undefined' was added
22
22
  }
23
23
  },
24
24
  "required" : [ "sCI", "n", "s", "q" ],
@@ -2,9 +2,9 @@
2
2
  "title" : "StatusUpdate",
3
3
  "description" : "Status update",
4
4
  "properties" : {
5
- "mId" : { "$ref": "../3.1.1/definitions.json#/message_id" },
6
- "cId" : { "$ref": "../3.1.1/definitions.json#/component_id" },
7
- "sTs" : { "$ref": "../3.1.1/definitions.json#/timestamp" },
5
+ "mId" : { "$ref": "../3.1.2/definitions.json#/message_id" },
6
+ "cId" : { "$ref": "../3.1.2/definitions.json#/component_id" },
7
+ "sTs" : { "$ref": "../3.1.2/definitions.json#/timestamp" },
8
8
  "sS" : {
9
9
  "description" : "Status update arguments",
10
10
  "type" : "array",
@@ -12,13 +12,13 @@
12
12
  "items" : {
13
13
  "type" : "object",
14
14
  "properties": {
15
- "sCI" : { "$ref": "../3.1.1/definitions.json#/status_code" },
15
+ "sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
16
16
  "n" : { "description" : "Unique reference of the value", "type" : "string" },
17
17
  "s" : { "description" : "Value", "type" : "string" },
18
- "q" : { // changed from "ageState" in 3.1.2
18
+ "q" : {
19
19
  "description" : "Value",
20
20
  "type" : "string",
21
- "enum" : [ "recent", "old", "undefined", "unknown" ]
21
+ "enum" : [ "recent", "old", "undefined", "unknown" ] // 'undefined' was addded
22
22
  }
23
23
  },
24
24
  "required" : [ "sCI", "n", "s", "q" ],
@@ -2,8 +2,8 @@
2
2
  "title" : "Aggregated Status Request",
3
3
  "description" : "Aggregated status request message",
4
4
  "properties" : {
5
- "mId" : { "$ref": "../3.1.1/definitions.json#/message_id" },
6
- "cId" : { "$ref": "../3.1.1/definitions.json#/component_id" }
5
+ "mId" : { "$ref": "../3.1.2/definitions.json#/message_id" },
6
+ "cId" : { "$ref": "../3.1.2/definitions.json#/component_id" }
7
7
  },
8
8
  "required" : [ "mId", "cId" ]
9
9
  }
@@ -2,9 +2,9 @@
2
2
  "title" : "Alarm",
3
3
  "description" : "Alarm messsage",
4
4
  "properties" : {
5
- "mId" : { "$ref": "../3.1.1/definitions.json#/message_id" },
6
- "cId" : { "$ref": "../3.1.1/definitions.json#/component_id" },
7
- "aCId" : { "$ref": "../3.1.1/definitions.json#/alarm_code" },
5
+ "mId" : { "$ref": "../3.1.2/definitions.json#/message_id" },
6
+ "cId" : { "$ref": "../3.1.2/definitions.json#/component_id" },
7
+ "aCId" : { "$ref": "../3.1.2/definitions.json#/alarm_code" },
8
8
  "xACId" : { "description" : "External alarm code id", "type" : "string" },
9
9
  "aSp" : {
10
10
  "description" : "Alarm specialization",
@@ -23,7 +23,7 @@
23
23
  "issue"] }
24
24
  }
25
25
  },
26
- "then": { "$ref": "../3.1.1/alarm_issue.json" }
26
+ "then": { "$ref": "../3.1.2/alarm_issue.json" }
27
27
  },
28
28
  {
29
29
  "if": {
@@ -40,7 +40,7 @@
40
40
  }
41
41
  ]
42
42
  },
43
- "then": { "$ref": "../3.1.1/alarm_suspend_resume.json" }
43
+ "then": { "$ref": "../3.1.2/alarm_suspend_resume.json" }
44
44
  },
45
45
  {
46
46
  "if": {
@@ -52,7 +52,7 @@
52
52
  "Suspended", "NotSuspended" ] }
53
53
  }
54
54
  },
55
- "then": { "$ref": "../3.1.1/alarm_suspended_resumed.json" }
55
+ "then": { "$ref": "../3.1.2/alarm_suspended_resumed.json" }
56
56
  },
57
57
  {
58
58
  "if": {
@@ -9,7 +9,7 @@
9
9
  "properties": { "type": { "const": "MessageAck" } }
10
10
  },
11
11
  "then": {
12
- "$ref": "../3.1.1/message_ack.json"
12
+ "$ref": "../3.1.2/message_ack.json"
13
13
  }
14
14
  },
15
15
  {
@@ -18,7 +18,7 @@
18
18
  "properties": { "type": { "const": "MessageNotAck" } }
19
19
  },
20
20
  "then": {
21
- "$ref": "../3.1.1/message_not_ack.json"
21
+ "$ref": "../3.1.2/message_not_ack.json"
22
22
  }
23
23
  },
24
24
  {
@@ -27,7 +27,7 @@
27
27
  "properties": { "type": { "const": "Version" } }
28
28
  },
29
29
  "then": {
30
- "$ref": "../3.1.1/version.json"
30
+ "$ref": "../3.1.2/version.json"
31
31
  }
32
32
  },
33
33
  {
@@ -36,7 +36,7 @@
36
36
  "properties": { "type": { "const": "AggregatedStatus" } }
37
37
  },
38
38
  "then": {
39
- "$ref": "../3.1.1/aggregated_status.json"
39
+ "$ref": "../3.1.2/aggregated_status.json"
40
40
  }
41
41
  },
42
42
  {
@@ -54,7 +54,7 @@
54
54
  "properties": { "type": { "const": "Watchdog" } }
55
55
  },
56
56
  "then": {
57
- "$ref": "../3.1.1/watchdog.json"
57
+ "$ref": "../3.1.2/watchdog.json"
58
58
  }
59
59
  },
60
60
  {
@@ -72,7 +72,7 @@
72
72
  "properties": { "type": { "const": "CommandRequest" } }
73
73
  },
74
74
  "then": {
75
- "$ref": "../3.1.1/command_request.json"
75
+ "$ref": "../3.1.2/command_request.json"
76
76
  }
77
77
  },
78
78
  {
@@ -81,7 +81,7 @@
81
81
  "properties": { "type": { "const": "CommandResponse" } }
82
82
  },
83
83
  "then": {
84
- "$ref": "../3.1.1/command_response.json"
84
+ "$ref": "../3.1.2/command_response.json"
85
85
  }
86
86
  },
87
87
  {
@@ -90,7 +90,7 @@
90
90
  "properties": { "type": { "const": "StatusRequest" } }
91
91
  },
92
92
  "then": {
93
- "$ref": "../3.1.1/status_request.json"
93
+ "$ref": "../3.1.2/status_request.json"
94
94
  }
95
95
  },
96
96
  {
@@ -117,7 +117,7 @@
117
117
  "properties": { "type": { "const": "StatusUnsubscribe" } }
118
118
  },
119
119
  "then": {
120
- "$ref": "../3.1.1/status_unsubscribe.json"
120
+ "$ref": "../3.1.2/status_unsubscribe.json"
121
121
  }
122
122
  },
123
123
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "properties" : {
3
- "mId" : { "$ref": "../3.1.1/definitions.json#/message_id" },
4
- "cId" : { "$ref": "../3.1.1/definitions.json#/component_id" },
3
+ "mId" : { "$ref": "../3.1.2/definitions.json#/message_id" },
4
+ "cId" : { "$ref": "../3.1.2/definitions.json#/component_id" },
5
5
  "sS" : {
6
6
  "description" : "Status request arguments",
7
7
  "type" : "array",
@@ -9,7 +9,7 @@
9
9
  "items" : {
10
10
  "type" : "object",
11
11
  "properties": {
12
- "sCI" : { "$ref": "../3.1.1/definitions.json#/status_code" },
12
+ "sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
13
13
  "n" : { "description" : "Unique reference of the value", "type" : "string" }
14
14
  },
15
15
  "required" : [ "sCI", "n" ],
@@ -2,8 +2,8 @@
2
2
  "title" : "StatusSubscribe",
3
3
  "description" : "Status subscribe",
4
4
  "properties" : {
5
- "mId" : { "$ref": "../3.1.1/definitions.json#/message_id" },
6
- "cId" : { "$ref": "../3.1.1/definitions.json#/component_id" },
5
+ "mId" : { "$ref": "../3.1.2/definitions.json#/message_id" },
6
+ "cId" : { "$ref": "../3.1.2/definitions.json#/component_id" },
7
7
  "sS" : {
8
8
  "description" : "Status request arguments",
9
9
  "type" : "array",
@@ -11,14 +11,14 @@
11
11
  "items" : {
12
12
  "type" : "object",
13
13
  "properties": {
14
- "sCI" : { "$ref": "../3.1.1/definitions.json#/status_code" },
14
+ "sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
15
15
  "n" : { "description" : "Unique reference of the value", "type" : "string" },
16
16
  "uRt" : {
17
- "$ref": "../3.1.1/definitions.json#/integer",
17
+ "$ref": "../3.1.2/definitions.json#/integer",
18
18
  "description" : "Update interval in seconds, 0 means send when value changes"
19
19
  },
20
20
  "sOc" : {
21
- "$ref": "../3.1.1/definitions.json#/boolean",
21
+ "$ref": "../3.1.2/definitions.json#/boolean",
22
22
  "description" : "Whether to send an update as soon as the value changes"
23
23
  }
24
24
  },