rsmp_schema 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +2 -2
  4. data/lib/rsmp_schema/schema.rb +6 -1
  5. data/lib/rsmp_schema/version.rb +1 -1
  6. data/schemas/core/{3.2 → 3.2.0}/alarm.json +3 -3
  7. data/schemas/core/{3.2 → 3.2.0}/core.json +1 -1
  8. data/schemas/core/{3.2 → 3.2.0}/rsmp.json +2 -2
  9. data/schemas/core/{3.2 → 3.2.0}/status_update.json +1 -1
  10. data/schemas/core/3.2.1/rsmp.json +4 -4
  11. data/schemas/core/3.2.2/rsmp.json +4 -4
  12. data/schemas/tlc/{1.1 → 1.1.0}/rsmp.json +1 -1
  13. data/schemas/tlc/{1.1 → 1.1.0}/sxl.yaml +1 -1
  14. data/schemas/tlc/{1.2 → 1.2.0}/rsmp.json +1 -1
  15. data/schemas/tlc/{1.2 → 1.2.0}/sxl.yaml +1 -1
  16. metadata +204 -204
  17. /data/schemas/core/{3.2 → 3.2.0}/alarm_acknowledge.json +0 -0
  18. /data/schemas/core/{3.2 → 3.2.0}/alarm_issue.json +0 -0
  19. /data/schemas/core/{3.2 → 3.2.0}/alarm_suspended_resumed.json +0 -0
  20. /data/schemas/core/{3.2 → 3.2.0}/status_response.json +0 -0
  21. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0001.json +0 -0
  22. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0002.json +0 -0
  23. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0003.json +0 -0
  24. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0004.json +0 -0
  25. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0005.json +0 -0
  26. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0006.json +0 -0
  27. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0007.json +0 -0
  28. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0008.json +0 -0
  29. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0009.json +0 -0
  30. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0010.json +0 -0
  31. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0101.json +0 -0
  32. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0201.json +0 -0
  33. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0202.json +0 -0
  34. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0301.json +0 -0
  35. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0302.json +0 -0
  36. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0303.json +0 -0
  37. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/A0304.json +0 -0
  38. /data/schemas/tlc/{1.1 → 1.1.0}/alarms/alarms.json +0 -0
  39. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0001.json +0 -0
  40. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0002.json +0 -0
  41. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0003.json +0 -0
  42. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0004.json +0 -0
  43. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0005.json +0 -0
  44. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0006.json +0 -0
  45. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0007.json +0 -0
  46. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0008.json +0 -0
  47. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0010.json +0 -0
  48. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0011.json +0 -0
  49. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0012.json +0 -0
  50. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0013.json +0 -0
  51. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0014.json +0 -0
  52. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0015.json +0 -0
  53. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0016.json +0 -0
  54. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0017.json +0 -0
  55. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0018.json +0 -0
  56. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0019.json +0 -0
  57. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0020.json +0 -0
  58. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0021.json +0 -0
  59. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0022.json +0 -0
  60. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0023.json +0 -0
  61. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0103.json +0 -0
  62. /data/schemas/tlc/{1.1 → 1.1.0}/commands/M0104.json +0 -0
  63. /data/schemas/tlc/{1.1 → 1.1.0}/commands/command_requests.json +0 -0
  64. /data/schemas/tlc/{1.1 → 1.1.0}/commands/command_responses.json +0 -0
  65. /data/schemas/tlc/{1.1 → 1.1.0}/commands/commands.json +0 -0
  66. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0001.json +0 -0
  67. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0002.json +0 -0
  68. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0003.json +0 -0
  69. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0004.json +0 -0
  70. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0005.json +0 -0
  71. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0006.json +0 -0
  72. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0007.json +0 -0
  73. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0008.json +0 -0
  74. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0009.json +0 -0
  75. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0010.json +0 -0
  76. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0011.json +0 -0
  77. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0012.json +0 -0
  78. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0013.json +0 -0
  79. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0014.json +0 -0
  80. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0015.json +0 -0
  81. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0016.json +0 -0
  82. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0017.json +0 -0
  83. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0018.json +0 -0
  84. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0019.json +0 -0
  85. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0020.json +0 -0
  86. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0021.json +0 -0
  87. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0022.json +0 -0
  88. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0023.json +0 -0
  89. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0024.json +0 -0
  90. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0025.json +0 -0
  91. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0026.json +0 -0
  92. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0027.json +0 -0
  93. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0028.json +0 -0
  94. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0029.json +0 -0
  95. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0030.json +0 -0
  96. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0031.json +0 -0
  97. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0032.json +0 -0
  98. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0033.json +0 -0
  99. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0034.json +0 -0
  100. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0091.json +0 -0
  101. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0092.json +0 -0
  102. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0095.json +0 -0
  103. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0096.json +0 -0
  104. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0097.json +0 -0
  105. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0098.json +0 -0
  106. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0201.json +0 -0
  107. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0202.json +0 -0
  108. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0203.json +0 -0
  109. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0204.json +0 -0
  110. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0205.json +0 -0
  111. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0206.json +0 -0
  112. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0207.json +0 -0
  113. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/S0208.json +0 -0
  114. /data/schemas/tlc/{1.1 → 1.1.0}/statuses/statuses.json +0 -0
  115. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0001.json +0 -0
  116. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0002.json +0 -0
  117. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0003.json +0 -0
  118. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0004.json +0 -0
  119. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0005.json +0 -0
  120. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0006.json +0 -0
  121. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0007.json +0 -0
  122. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0008.json +0 -0
  123. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0009.json +0 -0
  124. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0010.json +0 -0
  125. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0101.json +0 -0
  126. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0201.json +0 -0
  127. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0202.json +0 -0
  128. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0301.json +0 -0
  129. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0302.json +0 -0
  130. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0303.json +0 -0
  131. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/A0304.json +0 -0
  132. /data/schemas/tlc/{1.2 → 1.2.0}/alarms/alarms.json +0 -0
  133. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0001.json +0 -0
  134. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0002.json +0 -0
  135. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0003.json +0 -0
  136. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0004.json +0 -0
  137. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0005.json +0 -0
  138. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0006.json +0 -0
  139. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0007.json +0 -0
  140. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0008.json +0 -0
  141. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0010.json +0 -0
  142. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0011.json +0 -0
  143. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0012.json +0 -0
  144. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0013.json +0 -0
  145. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0014.json +0 -0
  146. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0015.json +0 -0
  147. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0016.json +0 -0
  148. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0017.json +0 -0
  149. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0018.json +0 -0
  150. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0019.json +0 -0
  151. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0020.json +0 -0
  152. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0021.json +0 -0
  153. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0022.json +0 -0
  154. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0023.json +0 -0
  155. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0103.json +0 -0
  156. /data/schemas/tlc/{1.2 → 1.2.0}/commands/M0104.json +0 -0
  157. /data/schemas/tlc/{1.2 → 1.2.0}/commands/command_requests.json +0 -0
  158. /data/schemas/tlc/{1.2 → 1.2.0}/commands/command_responses.json +0 -0
  159. /data/schemas/tlc/{1.2 → 1.2.0}/commands/commands.json +0 -0
  160. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0001.json +0 -0
  161. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0002.json +0 -0
  162. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0003.json +0 -0
  163. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0004.json +0 -0
  164. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0005.json +0 -0
  165. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0006.json +0 -0
  166. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0007.json +0 -0
  167. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0008.json +0 -0
  168. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0009.json +0 -0
  169. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0010.json +0 -0
  170. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0011.json +0 -0
  171. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0012.json +0 -0
  172. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0013.json +0 -0
  173. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0014.json +0 -0
  174. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0015.json +0 -0
  175. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0016.json +0 -0
  176. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0017.json +0 -0
  177. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0018.json +0 -0
  178. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0019.json +0 -0
  179. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0020.json +0 -0
  180. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0021.json +0 -0
  181. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0022.json +0 -0
  182. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0023.json +0 -0
  183. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0024.json +0 -0
  184. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0025.json +0 -0
  185. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0026.json +0 -0
  186. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0027.json +0 -0
  187. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0028.json +0 -0
  188. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0029.json +0 -0
  189. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0030.json +0 -0
  190. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0031.json +0 -0
  191. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0032.json +0 -0
  192. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0033.json +0 -0
  193. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0034.json +0 -0
  194. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0035.json +0 -0
  195. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0091.json +0 -0
  196. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0092.json +0 -0
  197. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0095.json +0 -0
  198. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0096.json +0 -0
  199. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0097.json +0 -0
  200. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0098.json +0 -0
  201. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0201.json +0 -0
  202. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0202.json +0 -0
  203. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0203.json +0 -0
  204. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0204.json +0 -0
  205. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0205.json +0 -0
  206. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0206.json +0 -0
  207. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0207.json +0 -0
  208. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/S0208.json +0 -0
  209. /data/schemas/tlc/{1.2 → 1.2.0}/statuses/statuses.json +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80ee43a9c5a077e3cbd2bc73ec372dfda6afedc990734a4098d8c113e46c93c0
4
- data.tar.gz: 15bdb8670621917247d5c7a4e9fdc76b5ad4af8926c5f5f84824d05f46c23d50
3
+ metadata.gz: 92349304b2fa548c7495ff1bd83bd9890d7aab5886e87a213f1c11bd767fa944
4
+ data.tar.gz: 9da5dcebad4286a2dd161ee06ef7eaa7351b0f4dbdddd0b7ca5d5c1d9fc49271
5
5
  SHA512:
6
- metadata.gz: a2410215ae0fcc8aca6022ff59c9f43a4223b38f4142251ec737b68d2b13baae63763cb85f93ce137e353db3dfcd564c227f19c4a7ab5285e90a2b0e533fb1ff
7
- data.tar.gz: 7ef596b859a54bd47e79b0ff8efca265ce37ca64221add1f0c72c2e37bbef01c66e55350fc96f8511f4f1d181e42840094d60d79949e43ebd52ad25138a6ad70
6
+ metadata.gz: 3effc2a2059a58a223e13b357d9995be1f28cbe162e742993ef06b3b0bd6559f64dda2eff1e34b670f907fbc55835fe7a5b4a49b2b6139a8e76b0c9ea0bdc0aa
7
+ data.tar.gz: 7093b400bd752a9defb3bece6ef8db540b3bec84d861cc5d88dee594f4ce8ad5387c1a730a179aa04ebf366d2e70ea5ca8b12644086a0105dbab750e134a45b7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsmp_schema (0.7.0)
4
+ rsmp_schema (0.8.0)
5
5
  json_schemer (~> 2.3.0)
6
6
  thor (~> 1.3.1)
7
7
 
data/README.md CHANGED
@@ -25,7 +25,7 @@ rsmp.json
25
25
  M0001.json
26
26
  ```
27
27
 
28
- ## Usage
28
+ ## Usage
29
29
  The JSON Schema can be used from any language that provides a suitable JSON Schema validation library.
30
30
 
31
31
  For example, to validate a JSON message with Ruby using the json_schemer gem:
@@ -52,7 +52,7 @@ message = {
52
52
  }
53
53
 
54
54
  # try validating a message against our schema
55
- schema = Pathname.new('schemas/tlc/1.1/rsmp.json')
55
+ schema = Pathname.new('schemas/tlc/1.1.0/rsmp.json')
56
56
  schemer = JSONSchemer.schema(schema)
57
57
  puts schemer.valid? message # => true
58
58
  ```
@@ -139,8 +139,13 @@ module RSMP::Schema
139
139
  # 3.1A3r3 >= 3.1
140
140
  # return nil if string doesn't match
141
141
  def self.sanitize_version version
142
- matched = /^\d+\.\d+(\.\d+)?/.match version
142
+ # match normal z.y.z format
143
+ matched = /^\d+\.\d+\.\d+/.match version
143
144
  matched.to_s if matched
145
+
146
+ # match x.y format, and add patch version zero to get z.y.0
147
+ matched = /^\d+\.\d+/.match version
148
+ "#{matched.to_s}.0" if matched
144
149
  end
145
150
 
146
151
  # find schema for a particular schema and version
@@ -1,5 +1,5 @@
1
1
  module RSMP
2
2
  module Schema
3
- VERSION = "0.7.0"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
@@ -21,7 +21,7 @@
21
21
  "aSp" : { "enum" : [ "Issue"] }
22
22
  }
23
23
  },
24
- "then": { "$ref": "../3.2/alarm_issue.json" }
24
+ "then": { "$ref": "../3.2.0/alarm_issue.json" }
25
25
  },
26
26
  {
27
27
  "if": {
@@ -47,7 +47,7 @@
47
47
  "sS" : { "enum" : [ "suspended", "notSuspended"] }
48
48
  }
49
49
  },
50
- "then": { "$ref": "../3.2/alarm_suspended_resumed.json" }
50
+ "then": { "$ref": "../3.2.0/alarm_suspended_resumed.json" }
51
51
  },
52
52
  {
53
53
  "if": {
@@ -65,7 +65,7 @@
65
65
  "aSp" : { "enum" : [ "Acknowledge"] }
66
66
  }
67
67
  },
68
- "then": { "$ref": "../3.2/alarm_acknowledge.json" }
68
+ "then": { "$ref": "../3.2.0/alarm_acknowledge.json" }
69
69
  }
70
70
  ]
71
71
  }
@@ -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.2",
5
+ "version" : "3.2.0",
6
6
  "type" : "object",
7
7
  "allOf" : [
8
8
  {
@@ -99,7 +99,7 @@
99
99
  "properties": { "type": { "const": "StatusResponse" } }
100
100
  },
101
101
  "then": {
102
- "$ref": "../3.2/status_response.json"
102
+ "$ref": "../3.2.0/status_response.json"
103
103
  }
104
104
  },
105
105
  {
@@ -126,7 +126,7 @@
126
126
  "properties": { "type": { "const": "StatusUpdate" } }
127
127
  },
128
128
  "then": {
129
- "$ref": "../3.2/status_update.json"
129
+ "$ref": "../3.2.0/status_update.json"
130
130
  }
131
131
  }
132
132
  ]
@@ -14,7 +14,7 @@
14
14
  "properties": {
15
15
  "sCI" : { "$ref": "../3.1.2/definitions.json#/status_code" },
16
16
  "n" : { "description" : "Unique reference of the value", "type" : "string" },
17
- "s" : { "description" : "Value", "type" : ["string","array"] }, // array is allowed from 3.2
17
+ "s" : { "description" : "Value", "type" : ["string","array"] }, // array is allowed from 3.2.0
18
18
  "q" : {
19
19
  "description" : "Value",
20
20
  "type" : "string",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "allOf": [
3
3
  {
4
- "$ref": "../3.2/core.json"
4
+ "$ref": "../3.2.0/core.json"
5
5
  },
6
6
  {
7
7
  "if": {
@@ -63,7 +63,7 @@
63
63
  "properties": { "type": { "const": "Alarm" } }
64
64
  },
65
65
  "then": {
66
- "$ref": "../3.2/alarm.json"
66
+ "$ref": "../3.2.0/alarm.json"
67
67
  }
68
68
  },
69
69
  {
@@ -99,7 +99,7 @@
99
99
  "properties": { "type": { "const": "StatusResponse" } }
100
100
  },
101
101
  "then": {
102
- "$ref": "../3.2/status_response.json"
102
+ "$ref": "../3.2.0/status_response.json"
103
103
  }
104
104
  },
105
105
  {
@@ -126,7 +126,7 @@
126
126
  "properties": { "type": { "const": "StatusUpdate" } }
127
127
  },
128
128
  "then": {
129
- "$ref": "../3.2/status_update.json"
129
+ "$ref": "../3.2.0/status_update.json"
130
130
  }
131
131
  }
132
132
  ]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "allOf": [
3
3
  {
4
- "$ref": "../3.2/core.json"
4
+ "$ref": "../3.2.0/core.json"
5
5
  },
6
6
  {
7
7
  "if": {
@@ -63,7 +63,7 @@
63
63
  "properties": { "type": { "const": "Alarm" } }
64
64
  },
65
65
  "then": {
66
- "$ref": "../3.2/alarm.json"
66
+ "$ref": "../3.2.0/alarm.json"
67
67
  }
68
68
  },
69
69
  {
@@ -99,7 +99,7 @@
99
99
  "properties": { "type": { "const": "StatusResponse" } }
100
100
  },
101
101
  "then": {
102
- "$ref": "../3.2/status_response.json"
102
+ "$ref": "../3.2.0/status_response.json"
103
103
  }
104
104
  },
105
105
  {
@@ -126,7 +126,7 @@
126
126
  "properties": { "type": { "const": "StatusUpdate" } }
127
127
  },
128
128
  "then": {
129
- "$ref": "../3.2/status_update.json"
129
+ "$ref": "../3.2.0/status_update.json"
130
130
  }
131
131
  }
132
132
  ]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name" : "tlc",
3
3
  "description" : "Traffic Light Controllers",
4
- "version" : 1.1,
4
+ "version" : "1.1.0",
5
5
  "allOf" : [
6
6
  {
7
7
  "if" : {
@@ -2,7 +2,7 @@
2
2
  meta:
3
3
  name: tlc
4
4
  description: Traffic Light Controllers
5
- version: 1.1
5
+ version: 1.1.0
6
6
  objects:
7
7
  Traffic Light Controller:
8
8
  description:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name" : "tlc",
3
3
  "description" : "Traffic Light Controllers",
4
- "version" : 1.2,
4
+ "version" : "1.2.0",
5
5
  "allOf" : [
6
6
  {
7
7
  "if" : {
@@ -2,7 +2,7 @@
2
2
  meta:
3
3
  name: tlc
4
4
  description: Traffic Light Controllers
5
- version: 1.2
5
+ version: 1.2.0
6
6
  objects:
7
7
  Traffic Light Controller:
8
8
  description: