rsmp_schemer 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (839) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.gitmodules +44 -0
  4. data/.rspec +1 -0
  5. data/CHANGELOG.md +7 -0
  6. data/Gemfile +6 -0
  7. data/Gemfile.lock +46 -0
  8. data/LICENSE +7 -0
  9. data/README.md +54 -0
  10. data/Rakefile +20 -0
  11. data/bin/console +15 -0
  12. data/bin/setup +8 -0
  13. data/lib/rsmp_schemer.rb +5 -0
  14. data/lib/rsmp_schemer/error.rb +16 -0
  15. data/lib/rsmp_schemer/schemer.rb +90 -0
  16. data/lib/rsmp_schemer/version.rb +7 -0
  17. data/rsmp_schemer.gemspec +47 -0
  18. data/schemas/core_3.1.2/.rspec +1 -0
  19. data/schemas/core_3.1.2/Gemfile +5 -0
  20. data/schemas/core_3.1.2/Gemfile.lock +37 -0
  21. data/schemas/core_3.1.2/LICENSE +7 -0
  22. data/schemas/core_3.1.2/README.md +70 -0
  23. data/schemas/core_3.1.2/examples/validate.rb +35 -0
  24. data/schemas/core_3.1.2/schema/core/aggregated_status.json +25 -0
  25. data/schemas/core_3.1.2/schema/core/alarm.json +55 -0
  26. data/schemas/core_3.1.2/schema/core/command_request.json +24 -0
  27. data/schemas/core_3.1.2/schema/core/command_response.json +34 -0
  28. data/schemas/core_3.1.2/schema/core/core.json +35 -0
  29. data/schemas/core_3.1.2/schema/core/definitions.json +63 -0
  30. data/schemas/core_3.1.2/schema/core/message_ack.json +11 -0
  31. data/schemas/core_3.1.2/schema/core/message_not_ack.json +15 -0
  32. data/schemas/core_3.1.2/schema/core/rsmp.json +124 -0
  33. data/schemas/core_3.1.2/schema/core/status.json +21 -0
  34. data/schemas/core_3.1.2/schema/core/status_request.json +5 -0
  35. data/schemas/core_3.1.2/schema/core/status_response.json +30 -0
  36. data/schemas/core_3.1.2/schema/core/status_subscribe.json +27 -0
  37. data/schemas/core_3.1.2/schema/core/status_unsubscribe.json +5 -0
  38. data/schemas/core_3.1.2/schema/core/status_update.json +30 -0
  39. data/schemas/core_3.1.2/schema/core/version.json +47 -0
  40. data/schemas/core_3.1.2/schema/core/watchdog.json +9 -0
  41. data/schemas/core_3.1.2/spec/core/aggregated_status_spec.rb +80 -0
  42. data/schemas/core_3.1.2/spec/core/alarm_spec.rb +298 -0
  43. data/schemas/core_3.1.2/spec/core/command_request_spec.rb +106 -0
  44. data/schemas/core_3.1.2/spec/core/command_response_spec.rb +102 -0
  45. data/schemas/core_3.1.2/spec/core/core_spec.rb +72 -0
  46. data/schemas/core_3.1.2/spec/core/message_ack.rb +28 -0
  47. data/schemas/core_3.1.2/spec/core/message_not_ack_spec.rb +55 -0
  48. data/schemas/core_3.1.2/spec/core/status_request_spec.rb +93 -0
  49. data/schemas/core_3.1.2/spec/core/status_response_spec.rb +126 -0
  50. data/schemas/core_3.1.2/spec/core/status_subscribe_spec.rb +122 -0
  51. data/schemas/core_3.1.2/spec/core/status_unsubscribe_spec.rb +101 -0
  52. data/schemas/core_3.1.2/spec/core/status_update_spec.rb +117 -0
  53. data/schemas/core_3.1.2/spec/core/version_spec.rb +149 -0
  54. data/schemas/core_3.1.2/spec/core/watchdog_spec.rb +37 -0
  55. data/schemas/core_3.1.2/spec/schemer_helper.rb +23 -0
  56. data/schemas/core_3.1.2/spec/spec_helper.rb +102 -0
  57. data/schemas/core_3.1.3/.rspec +1 -0
  58. data/schemas/core_3.1.3/Gemfile +5 -0
  59. data/schemas/core_3.1.3/Gemfile.lock +37 -0
  60. data/schemas/core_3.1.3/LICENSE +7 -0
  61. data/schemas/core_3.1.3/README.md +70 -0
  62. data/schemas/core_3.1.3/examples/validate.rb +32 -0
  63. data/schemas/core_3.1.3/schema/core/aggregated_status.json +25 -0
  64. data/schemas/core_3.1.3/schema/core/aggregated_status_request.json +9 -0
  65. data/schemas/core_3.1.3/schema/core/alarm.json +55 -0
  66. data/schemas/core_3.1.3/schema/core/command_request.json +24 -0
  67. data/schemas/core_3.1.3/schema/core/command_response.json +34 -0
  68. data/schemas/core_3.1.3/schema/core/core.json +36 -0
  69. data/schemas/core_3.1.3/schema/core/definitions.json +63 -0
  70. data/schemas/core_3.1.3/schema/core/message_ack.json +11 -0
  71. data/schemas/core_3.1.3/schema/core/message_not_ack.json +15 -0
  72. data/schemas/core_3.1.3/schema/core/rsmp.json +133 -0
  73. data/schemas/core_3.1.3/schema/core/status.json +21 -0
  74. data/schemas/core_3.1.3/schema/core/status_request.json +5 -0
  75. data/schemas/core_3.1.3/schema/core/status_response.json +30 -0
  76. data/schemas/core_3.1.3/schema/core/status_subscribe.json +27 -0
  77. data/schemas/core_3.1.3/schema/core/status_unsubscribe.json +5 -0
  78. data/schemas/core_3.1.3/schema/core/status_update.json +30 -0
  79. data/schemas/core_3.1.3/schema/core/version.json +47 -0
  80. data/schemas/core_3.1.3/schema/core/watchdog.json +9 -0
  81. data/schemas/core_3.1.3/schema/tlc/alarms/A0001.json +7 -0
  82. data/schemas/core_3.1.3/schema/tlc/alarms/A0002.json +7 -0
  83. data/schemas/core_3.1.3/schema/tlc/alarms/A0003.json +7 -0
  84. data/schemas/core_3.1.3/schema/tlc/alarms/A0004.json +7 -0
  85. data/schemas/core_3.1.3/schema/tlc/alarms/A0005.json +7 -0
  86. data/schemas/core_3.1.3/schema/tlc/alarms/A0006.json +7 -0
  87. data/schemas/core_3.1.3/schema/tlc/alarms/A0007.json +7 -0
  88. data/schemas/core_3.1.3/schema/tlc/alarms/A0008.json +19 -0
  89. data/schemas/core_3.1.3/schema/tlc/alarms/A0009.json +7 -0
  90. data/schemas/core_3.1.3/schema/tlc/alarms/A0101.json +7 -0
  91. data/schemas/core_3.1.3/schema/tlc/alarms/A0201.json +20 -0
  92. data/schemas/core_3.1.3/schema/tlc/alarms/A0202.json +20 -0
  93. data/schemas/core_3.1.3/schema/tlc/alarms/A0301.json +49 -0
  94. data/schemas/core_3.1.3/schema/tlc/alarms/A0302.json +59 -0
  95. data/schemas/core_3.1.3/schema/tlc/alarms/alarms.json +68 -0
  96. data/schemas/core_3.1.3/schema/tlc/commands/M0001.json +48 -0
  97. data/schemas/core_3.1.3/schema/tlc/commands/M0002.json +39 -0
  98. data/schemas/core_3.1.3/schema/tlc/commands/M0003.json +39 -0
  99. data/schemas/core_3.1.3/schema/tlc/commands/M0004.json +30 -0
  100. data/schemas/core_3.1.3/schema/tlc/commands/M0005.json +39 -0
  101. data/schemas/core_3.1.3/schema/tlc/commands/M0006.json +39 -0
  102. data/schemas/core_3.1.3/schema/tlc/commands/M0007.json +30 -0
  103. data/schemas/core_3.1.3/schema/tlc/commands/M0008.json +40 -0
  104. data/schemas/core_3.1.3/schema/tlc/commands/M0010.json +30 -0
  105. data/schemas/core_3.1.3/schema/tlc/commands/M0011.json +30 -0
  106. data/schemas/core_3.1.3/schema/tlc/commands/M0012.json +29 -0
  107. data/schemas/core_3.1.3/schema/tlc/commands/M0013.json +1 -0
  108. data/schemas/core_3.1.3/schema/tlc/commands/M0014.json +38 -0
  109. data/schemas/core_3.1.3/schema/tlc/commands/M0015.json +38 -0
  110. data/schemas/core_3.1.3/schema/tlc/commands/M0016.json +29 -0
  111. data/schemas/core_3.1.3/schema/tlc/commands/M0017.json +29 -0
  112. data/schemas/core_3.1.3/schema/tlc/commands/M0018.json +38 -0
  113. data/schemas/core_3.1.3/schema/tlc/commands/M0019.json +49 -0
  114. data/schemas/core_3.1.3/schema/tlc/commands/M0020.json +49 -0
  115. data/schemas/core_3.1.3/schema/tlc/commands/M0021.json +1 -0
  116. data/schemas/core_3.1.3/schema/tlc/commands/M0103.json +39 -0
  117. data/schemas/core_3.1.3/schema/tlc/commands/M0104.json +1 -0
  118. data/schemas/core_3.1.3/schema/tlc/commands/command_requests.json +7 -0
  119. data/schemas/core_3.1.3/schema/tlc/commands/command_responses.json +7 -0
  120. data/schemas/core_3.1.3/schema/tlc/commands/commands.json +97 -0
  121. data/schemas/core_3.1.3/schema/tlc/statuses/S0001.json +45 -0
  122. data/schemas/core_3.1.3/schema/tlc/statuses/S0002.json +17 -0
  123. data/schemas/core_3.1.3/schema/tlc/statuses/S0003.json +26 -0
  124. data/schemas/core_3.1.3/schema/tlc/statuses/S0004.json +26 -0
  125. data/schemas/core_3.1.3/schema/tlc/statuses/S0005.json +18 -0
  126. data/schemas/core_3.1.3/schema/tlc/statuses/S0006.json +27 -0
  127. data/schemas/core_3.1.3/schema/tlc/statuses/S0007.json +26 -0
  128. data/schemas/core_3.1.3/schema/tlc/statuses/S0008.json +26 -0
  129. data/schemas/core_3.1.3/schema/tlc/statuses/S0009.json +26 -0
  130. data/schemas/core_3.1.3/schema/tlc/statuses/S0010.json +26 -0
  131. data/schemas/core_3.1.3/schema/tlc/statuses/S0011.json +26 -0
  132. data/schemas/core_3.1.3/schema/tlc/statuses/S0012.json +26 -0
  133. data/schemas/core_3.1.3/schema/tlc/statuses/S0013.json +27 -0
  134. data/schemas/core_3.1.3/schema/tlc/statuses/S0014.json +17 -0
  135. data/schemas/core_3.1.3/schema/tlc/statuses/S0015.json +17 -0
  136. data/schemas/core_3.1.3/schema/tlc/statuses/S0016.json +17 -0
  137. data/schemas/core_3.1.3/schema/tlc/statuses/S0017.json +17 -0
  138. data/schemas/core_3.1.3/schema/tlc/statuses/S0018.json +17 -0
  139. data/schemas/core_3.1.3/schema/tlc/statuses/S0019.json +17 -0
  140. data/schemas/core_3.1.3/schema/tlc/statuses/S0020.json +27 -0
  141. data/schemas/core_3.1.3/schema/tlc/statuses/S0021.json +18 -0
  142. data/schemas/core_3.1.3/schema/tlc/statuses/S0022.json +17 -0
  143. data/schemas/core_3.1.3/schema/tlc/statuses/S0023.json +18 -0
  144. data/schemas/core_3.1.3/schema/tlc/statuses/S0024.json +18 -0
  145. data/schemas/core_3.1.3/schema/tlc/statuses/S0025.json +80 -0
  146. data/schemas/core_3.1.3/schema/tlc/statuses/S0026.json +18 -0
  147. data/schemas/core_3.1.3/schema/tlc/statuses/S0027.json +18 -0
  148. data/schemas/core_3.1.3/schema/tlc/statuses/S0028.json +18 -0
  149. data/schemas/core_3.1.3/schema/tlc/statuses/S0029.json +17 -0
  150. data/schemas/core_3.1.3/schema/tlc/statuses/S0030.json +1 -0
  151. data/schemas/core_3.1.3/schema/tlc/statuses/S0031.json +1 -0
  152. data/schemas/core_3.1.3/schema/tlc/statuses/S0091.json +27 -0
  153. data/schemas/core_3.1.3/schema/tlc/statuses/S0092.json +27 -0
  154. data/schemas/core_3.1.3/schema/tlc/statuses/S0095.json +17 -0
  155. data/schemas/core_3.1.3/schema/tlc/statuses/S0096.json +68 -0
  156. data/schemas/core_3.1.3/schema/tlc/statuses/S0097.json +26 -0
  157. data/schemas/core_3.1.3/schema/tlc/statuses/S0201.json +26 -0
  158. data/schemas/core_3.1.3/schema/tlc/statuses/S0202.json +26 -0
  159. data/schemas/core_3.1.3/schema/tlc/statuses/S0203.json +26 -0
  160. data/schemas/core_3.1.3/schema/tlc/statuses/S0204.json +98 -0
  161. data/schemas/core_3.1.3/schema/tlc/statuses/S0205.json +26 -0
  162. data/schemas/core_3.1.3/schema/tlc/statuses/S0206.json +26 -0
  163. data/schemas/core_3.1.3/schema/tlc/statuses/S0207.json +26 -0
  164. data/schemas/core_3.1.3/schema/tlc/statuses/S0208.json +98 -0
  165. data/schemas/core_3.1.3/schema/tlc/statuses/statuses.json +181 -0
  166. data/schemas/core_3.1.3/schema/tlc/sxl.json +24 -0
  167. data/schemas/core_3.1.3/spec/core/aggregated_status_spec.rb +80 -0
  168. data/schemas/core_3.1.3/spec/core/alarm_spec.rb +300 -0
  169. data/schemas/core_3.1.3/spec/core/command_request_spec.rb +109 -0
  170. data/schemas/core_3.1.3/spec/core/command_response_spec.rb +144 -0
  171. data/schemas/core_3.1.3/spec/core/core_spec.rb +72 -0
  172. data/schemas/core_3.1.3/spec/core/message_ack.rb +28 -0
  173. data/schemas/core_3.1.3/spec/core/message_not_ack_spec.rb +55 -0
  174. data/schemas/core_3.1.3/spec/core/status_request_spec.rb +97 -0
  175. data/schemas/core_3.1.3/spec/core/status_response_spec.rb +121 -0
  176. data/schemas/core_3.1.3/spec/core/status_subscribe_spec.rb +126 -0
  177. data/schemas/core_3.1.3/spec/core/status_unsubscribe_spec.rb +105 -0
  178. data/schemas/core_3.1.3/spec/core/status_update_spec.rb +121 -0
  179. data/schemas/core_3.1.3/spec/core/version_spec.rb +149 -0
  180. data/schemas/core_3.1.3/spec/core/watchdog_spec.rb +37 -0
  181. data/schemas/core_3.1.3/spec/schemer_helper.rb +21 -0
  182. data/schemas/core_3.1.3/spec/spec_helper.rb +102 -0
  183. data/schemas/core_3.1.3/spec/tlc/M0001_spec.rb +67 -0
  184. data/schemas/core_3.1.3/spec/tlc/S0007_spec.rb +233 -0
  185. data/schemas/core_3.1.4/.rspec +1 -0
  186. data/schemas/core_3.1.4/Gemfile +5 -0
  187. data/schemas/core_3.1.4/Gemfile.lock +37 -0
  188. data/schemas/core_3.1.4/LICENSE +7 -0
  189. data/schemas/core_3.1.4/README.md +70 -0
  190. data/schemas/core_3.1.4/examples/validate.rb +35 -0
  191. data/schemas/core_3.1.4/schema/core/aggregated_status.json +25 -0
  192. data/schemas/core_3.1.4/schema/core/alarm.json +55 -0
  193. data/schemas/core_3.1.4/schema/core/command_request.json +24 -0
  194. data/schemas/core_3.1.4/schema/core/command_response.json +34 -0
  195. data/schemas/core_3.1.4/schema/core/core.json +35 -0
  196. data/schemas/core_3.1.4/schema/core/definitions.json +63 -0
  197. data/schemas/core_3.1.4/schema/core/message_ack.json +11 -0
  198. data/schemas/core_3.1.4/schema/core/message_not_ack.json +15 -0
  199. data/schemas/core_3.1.4/schema/core/rsmp.json +124 -0
  200. data/schemas/core_3.1.4/schema/core/status.json +21 -0
  201. data/schemas/core_3.1.4/schema/core/status_request.json +5 -0
  202. data/schemas/core_3.1.4/schema/core/status_response.json +30 -0
  203. data/schemas/core_3.1.4/schema/core/status_subscribe.json +27 -0
  204. data/schemas/core_3.1.4/schema/core/status_unsubscribe.json +5 -0
  205. data/schemas/core_3.1.4/schema/core/status_update.json +30 -0
  206. data/schemas/core_3.1.4/schema/core/version.json +47 -0
  207. data/schemas/core_3.1.4/schema/core/watchdog.json +9 -0
  208. data/schemas/core_3.1.4/spec/core/aggregated_status_spec.rb +80 -0
  209. data/schemas/core_3.1.4/spec/core/alarm_request_spec.rb +72 -0
  210. data/schemas/core_3.1.4/spec/core/alarm_spec.rb +298 -0
  211. data/schemas/core_3.1.4/spec/core/command_request_spec.rb +106 -0
  212. data/schemas/core_3.1.4/spec/core/command_response_spec.rb +102 -0
  213. data/schemas/core_3.1.4/spec/core/core_spec.rb +72 -0
  214. data/schemas/core_3.1.4/spec/core/message_ack.rb +28 -0
  215. data/schemas/core_3.1.4/spec/core/message_not_ack_spec.rb +55 -0
  216. data/schemas/core_3.1.4/spec/core/status_request_spec.rb +93 -0
  217. data/schemas/core_3.1.4/spec/core/status_response_spec.rb +126 -0
  218. data/schemas/core_3.1.4/spec/core/status_subscribe_spec.rb +122 -0
  219. data/schemas/core_3.1.4/spec/core/status_unsubscribe_spec.rb +101 -0
  220. data/schemas/core_3.1.4/spec/core/status_update_spec.rb +117 -0
  221. data/schemas/core_3.1.4/spec/core/version_spec.rb +149 -0
  222. data/schemas/core_3.1.4/spec/core/watchdog_spec.rb +37 -0
  223. data/schemas/core_3.1.4/spec/schemer_helper.rb +23 -0
  224. data/schemas/core_3.1.4/spec/spec_helper.rb +102 -0
  225. data/schemas/core_3.1.5/.rspec +1 -0
  226. data/schemas/core_3.1.5/Gemfile +5 -0
  227. data/schemas/core_3.1.5/Gemfile.lock +37 -0
  228. data/schemas/core_3.1.5/LICENSE +7 -0
  229. data/schemas/core_3.1.5/README.md +70 -0
  230. data/schemas/core_3.1.5/examples/validate.rb +35 -0
  231. data/schemas/core_3.1.5/schema/core/aggregated_status.json +25 -0
  232. data/schemas/core_3.1.5/schema/core/aggregated_status_request.json +9 -0
  233. data/schemas/core_3.1.5/schema/core/alarm.json +55 -0
  234. data/schemas/core_3.1.5/schema/core/command_request.json +24 -0
  235. data/schemas/core_3.1.5/schema/core/command_response.json +34 -0
  236. data/schemas/core_3.1.5/schema/core/core.json +36 -0
  237. data/schemas/core_3.1.5/schema/core/definitions.json +63 -0
  238. data/schemas/core_3.1.5/schema/core/message_ack.json +11 -0
  239. data/schemas/core_3.1.5/schema/core/message_not_ack.json +15 -0
  240. data/schemas/core_3.1.5/schema/core/rsmp.json +133 -0
  241. data/schemas/core_3.1.5/schema/core/status.json +21 -0
  242. data/schemas/core_3.1.5/schema/core/status_request.json +5 -0
  243. data/schemas/core_3.1.5/schema/core/status_response.json +30 -0
  244. data/schemas/core_3.1.5/schema/core/status_subscribe.json +27 -0
  245. data/schemas/core_3.1.5/schema/core/status_unsubscribe.json +5 -0
  246. data/schemas/core_3.1.5/schema/core/status_update.json +30 -0
  247. data/schemas/core_3.1.5/schema/core/version.json +47 -0
  248. data/schemas/core_3.1.5/schema/core/watchdog.json +9 -0
  249. data/schemas/core_3.1.5/spec/core/aggregated_status_spec.rb +80 -0
  250. data/schemas/core_3.1.5/spec/core/alarm_request_spec.rb +72 -0
  251. data/schemas/core_3.1.5/spec/core/alarm_spec.rb +298 -0
  252. data/schemas/core_3.1.5/spec/core/command_request_spec.rb +106 -0
  253. data/schemas/core_3.1.5/spec/core/command_response_spec.rb +102 -0
  254. data/schemas/core_3.1.5/spec/core/core_spec.rb +72 -0
  255. data/schemas/core_3.1.5/spec/core/message_ack.rb +28 -0
  256. data/schemas/core_3.1.5/spec/core/message_not_ack_spec.rb +55 -0
  257. data/schemas/core_3.1.5/spec/core/status_request_spec.rb +93 -0
  258. data/schemas/core_3.1.5/spec/core/status_response_spec.rb +126 -0
  259. data/schemas/core_3.1.5/spec/core/status_subscribe_spec.rb +122 -0
  260. data/schemas/core_3.1.5/spec/core/status_unsubscribe_spec.rb +101 -0
  261. data/schemas/core_3.1.5/spec/core/status_update_spec.rb +117 -0
  262. data/schemas/core_3.1.5/spec/core/version_spec.rb +149 -0
  263. data/schemas/core_3.1.5/spec/core/watchdog_spec.rb +37 -0
  264. data/schemas/core_3.1.5/spec/schemer_helper.rb +23 -0
  265. data/schemas/core_3.1.5/spec/spec_helper.rb +102 -0
  266. data/schemas/tlc_1.0.10/.gitignore +1 -0
  267. data/schemas/tlc_1.0.10/.rspec +1 -0
  268. data/schemas/tlc_1.0.10/Gemfile +5 -0
  269. data/schemas/tlc_1.0.10/Gemfile.lock +37 -0
  270. data/schemas/tlc_1.0.10/LICENSE +7 -0
  271. data/schemas/tlc_1.0.10/README.md +70 -0
  272. data/schemas/tlc_1.0.10/schema/core/definitions.json +63 -0
  273. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0001.json +7 -0
  274. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0002.json +7 -0
  275. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0003.json +7 -0
  276. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0004.json +7 -0
  277. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0005.json +7 -0
  278. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0006.json +7 -0
  279. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0007.json +7 -0
  280. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0008.json +34 -0
  281. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0009.json +7 -0
  282. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0101.json +7 -0
  283. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0201.json +39 -0
  284. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0202.json +39 -0
  285. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0301.json +105 -0
  286. data/schemas/tlc_1.0.10/schema/tlc/alarms/A0302.json +131 -0
  287. data/schemas/tlc_1.0.10/schema/tlc/alarms/alarms.json +254 -0
  288. data/schemas/tlc_1.0.10/schema/tlc/commands/M0001.json +105 -0
  289. data/schemas/tlc_1.0.10/schema/tlc/commands/M0002.json +79 -0
  290. data/schemas/tlc_1.0.10/schema/tlc/commands/M0003.json +79 -0
  291. data/schemas/tlc_1.0.10/schema/tlc/commands/M0004.json +58 -0
  292. data/schemas/tlc_1.0.10/schema/tlc/commands/M0005.json +79 -0
  293. data/schemas/tlc_1.0.10/schema/tlc/commands/M0006.json +79 -0
  294. data/schemas/tlc_1.0.10/schema/tlc/commands/M0007.json +58 -0
  295. data/schemas/tlc_1.0.10/schema/tlc/commands/M0008.json +79 -0
  296. data/schemas/tlc_1.0.10/schema/tlc/commands/M0010.json +58 -0
  297. data/schemas/tlc_1.0.10/schema/tlc/commands/M0011.json +58 -0
  298. data/schemas/tlc_1.0.10/schema/tlc/commands/M0012.json +58 -0
  299. data/schemas/tlc_1.0.10/schema/tlc/commands/M0013.json +58 -0
  300. data/schemas/tlc_1.0.10/schema/tlc/commands/M0103.json +82 -0
  301. data/schemas/tlc_1.0.10/schema/tlc/commands/M0104.json +163 -0
  302. data/schemas/tlc_1.0.10/schema/tlc/commands/command_requests.json +7 -0
  303. data/schemas/tlc_1.0.10/schema/tlc/commands/command_responses.json +7 -0
  304. data/schemas/tlc_1.0.10/schema/tlc/commands/commands.json +366 -0
  305. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0001.json +98 -0
  306. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0002.json +34 -0
  307. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0003.json +55 -0
  308. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0004.json +55 -0
  309. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0005.json +34 -0
  310. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0006.json +55 -0
  311. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0007.json +55 -0
  312. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0008.json +55 -0
  313. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0009.json +55 -0
  314. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0010.json +55 -0
  315. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0011.json +55 -0
  316. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0012.json +55 -0
  317. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0013.json +55 -0
  318. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0014.json +34 -0
  319. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0015.json +34 -0
  320. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0016.json +34 -0
  321. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0017.json +34 -0
  322. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0018.json +34 -0
  323. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0019.json +34 -0
  324. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0020.json +61 -0
  325. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0021.json +35 -0
  326. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0091.json +61 -0
  327. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0092.json +61 -0
  328. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0095.json +34 -0
  329. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0096.json +139 -0
  330. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0201.json +55 -0
  331. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0202.json +55 -0
  332. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0203.json +55 -0
  333. data/schemas/tlc_1.0.10/schema/tlc/statuses/S0204.json +223 -0
  334. data/schemas/tlc_1.0.10/schema/tlc/statuses/statuses.json +738 -0
  335. data/schemas/tlc_1.0.10/schema/tlc/sxl.json +71 -0
  336. data/schemas/tlc_1.0.10/spec/schemer_helper.rb +21 -0
  337. data/schemas/tlc_1.0.10/spec/spec_helper.rb +102 -0
  338. data/schemas/tlc_1.0.10/spec/tlc/M0001_spec.rb +67 -0
  339. data/schemas/tlc_1.0.10/spec/tlc/S0007_spec.rb +159 -0
  340. data/schemas/tlc_1.0.13/.gitignore +1 -0
  341. data/schemas/tlc_1.0.13/.rspec +1 -0
  342. data/schemas/tlc_1.0.13/Gemfile +5 -0
  343. data/schemas/tlc_1.0.13/Gemfile.lock +37 -0
  344. data/schemas/tlc_1.0.13/LICENSE +7 -0
  345. data/schemas/tlc_1.0.13/README.md +70 -0
  346. data/schemas/tlc_1.0.13/schema/core/definitions.json +63 -0
  347. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0001.json +7 -0
  348. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0002.json +7 -0
  349. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0003.json +7 -0
  350. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0004.json +7 -0
  351. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0005.json +7 -0
  352. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0006.json +7 -0
  353. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0007.json +7 -0
  354. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0008.json +34 -0
  355. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0009.json +7 -0
  356. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0101.json +7 -0
  357. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0201.json +39 -0
  358. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0202.json +39 -0
  359. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0301.json +105 -0
  360. data/schemas/tlc_1.0.13/schema/tlc/alarms/A0302.json +131 -0
  361. data/schemas/tlc_1.0.13/schema/tlc/alarms/alarms.json +254 -0
  362. data/schemas/tlc_1.0.13/schema/tlc/commands/M0001.json +105 -0
  363. data/schemas/tlc_1.0.13/schema/tlc/commands/M0002.json +79 -0
  364. data/schemas/tlc_1.0.13/schema/tlc/commands/M0003.json +79 -0
  365. data/schemas/tlc_1.0.13/schema/tlc/commands/M0004.json +58 -0
  366. data/schemas/tlc_1.0.13/schema/tlc/commands/M0005.json +79 -0
  367. data/schemas/tlc_1.0.13/schema/tlc/commands/M0006.json +79 -0
  368. data/schemas/tlc_1.0.13/schema/tlc/commands/M0007.json +58 -0
  369. data/schemas/tlc_1.0.13/schema/tlc/commands/M0008.json +79 -0
  370. data/schemas/tlc_1.0.13/schema/tlc/commands/M0010.json +58 -0
  371. data/schemas/tlc_1.0.13/schema/tlc/commands/M0011.json +58 -0
  372. data/schemas/tlc_1.0.13/schema/tlc/commands/M0012.json +58 -0
  373. data/schemas/tlc_1.0.13/schema/tlc/commands/M0013.json +58 -0
  374. data/schemas/tlc_1.0.13/schema/tlc/commands/M0014.json +79 -0
  375. data/schemas/tlc_1.0.13/schema/tlc/commands/M0015.json +79 -0
  376. data/schemas/tlc_1.0.13/schema/tlc/commands/M0016.json +58 -0
  377. data/schemas/tlc_1.0.13/schema/tlc/commands/M0017.json +58 -0
  378. data/schemas/tlc_1.0.13/schema/tlc/commands/M0018.json +79 -0
  379. data/schemas/tlc_1.0.13/schema/tlc/commands/M0019.json +100 -0
  380. data/schemas/tlc_1.0.13/schema/tlc/commands/M0103.json +82 -0
  381. data/schemas/tlc_1.0.13/schema/tlc/commands/M0104.json +163 -0
  382. data/schemas/tlc_1.0.13/schema/tlc/commands/command_requests.json +7 -0
  383. data/schemas/tlc_1.0.13/schema/tlc/commands/command_responses.json +7 -0
  384. data/schemas/tlc_1.0.13/schema/tlc/commands/commands.json +366 -0
  385. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0001.json +98 -0
  386. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0002.json +34 -0
  387. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0003.json +55 -0
  388. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0004.json +55 -0
  389. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0005.json +34 -0
  390. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0006.json +55 -0
  391. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0007.json +55 -0
  392. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0008.json +55 -0
  393. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0009.json +55 -0
  394. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0010.json +55 -0
  395. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0011.json +55 -0
  396. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0012.json +55 -0
  397. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0013.json +55 -0
  398. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0014.json +34 -0
  399. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0015.json +34 -0
  400. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0016.json +34 -0
  401. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0017.json +34 -0
  402. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0018.json +34 -0
  403. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0019.json +34 -0
  404. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0020.json +61 -0
  405. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0021.json +35 -0
  406. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0022.json +34 -0
  407. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0023.json +35 -0
  408. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0024.json +35 -0
  409. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0025.json +181 -0
  410. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0026.json +34 -0
  411. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0027.json +34 -0
  412. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0028.json +34 -0
  413. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0029.json +34 -0
  414. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0091.json +61 -0
  415. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0092.json +61 -0
  416. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0095.json +34 -0
  417. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0096.json +139 -0
  418. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0201.json +55 -0
  419. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0202.json +55 -0
  420. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0203.json +55 -0
  421. data/schemas/tlc_1.0.13/schema/tlc/statuses/S0204.json +223 -0
  422. data/schemas/tlc_1.0.13/schema/tlc/statuses/statuses.json +738 -0
  423. data/schemas/tlc_1.0.13/schema/tlc/sxl.json +71 -0
  424. data/schemas/tlc_1.0.13/spec/schemer_helper.rb +21 -0
  425. data/schemas/tlc_1.0.13/spec/spec_helper.rb +102 -0
  426. data/schemas/tlc_1.0.13/spec/tlc/M0001_spec.rb +67 -0
  427. data/schemas/tlc_1.0.13/spec/tlc/S0007_spec.rb +159 -0
  428. data/schemas/tlc_1.0.14/.gitignore +1 -0
  429. data/schemas/tlc_1.0.14/.rspec +1 -0
  430. data/schemas/tlc_1.0.14/Gemfile +5 -0
  431. data/schemas/tlc_1.0.14/Gemfile.lock +37 -0
  432. data/schemas/tlc_1.0.14/LICENSE +7 -0
  433. data/schemas/tlc_1.0.14/README.md +70 -0
  434. data/schemas/tlc_1.0.14/schema/core/definitions.json +63 -0
  435. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0001.json +7 -0
  436. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0002.json +7 -0
  437. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0003.json +7 -0
  438. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0004.json +7 -0
  439. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0005.json +7 -0
  440. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0006.json +7 -0
  441. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0007.json +7 -0
  442. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0008.json +34 -0
  443. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0009.json +7 -0
  444. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0101.json +7 -0
  445. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0201.json +39 -0
  446. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0202.json +39 -0
  447. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0301.json +105 -0
  448. data/schemas/tlc_1.0.14/schema/tlc/alarms/A0302.json +131 -0
  449. data/schemas/tlc_1.0.14/schema/tlc/alarms/alarms.json +254 -0
  450. data/schemas/tlc_1.0.14/schema/tlc/commands/M0001.json +105 -0
  451. data/schemas/tlc_1.0.14/schema/tlc/commands/M0002.json +79 -0
  452. data/schemas/tlc_1.0.14/schema/tlc/commands/M0003.json +79 -0
  453. data/schemas/tlc_1.0.14/schema/tlc/commands/M0004.json +58 -0
  454. data/schemas/tlc_1.0.14/schema/tlc/commands/M0005.json +79 -0
  455. data/schemas/tlc_1.0.14/schema/tlc/commands/M0006.json +79 -0
  456. data/schemas/tlc_1.0.14/schema/tlc/commands/M0007.json +58 -0
  457. data/schemas/tlc_1.0.14/schema/tlc/commands/M0008.json +79 -0
  458. data/schemas/tlc_1.0.14/schema/tlc/commands/M0010.json +58 -0
  459. data/schemas/tlc_1.0.14/schema/tlc/commands/M0011.json +58 -0
  460. data/schemas/tlc_1.0.14/schema/tlc/commands/M0012.json +58 -0
  461. data/schemas/tlc_1.0.14/schema/tlc/commands/M0013.json +58 -0
  462. data/schemas/tlc_1.0.14/schema/tlc/commands/M0014.json +79 -0
  463. data/schemas/tlc_1.0.14/schema/tlc/commands/M0015.json +79 -0
  464. data/schemas/tlc_1.0.14/schema/tlc/commands/M0016.json +58 -0
  465. data/schemas/tlc_1.0.14/schema/tlc/commands/M0017.json +58 -0
  466. data/schemas/tlc_1.0.14/schema/tlc/commands/M0018.json +79 -0
  467. data/schemas/tlc_1.0.14/schema/tlc/commands/M0019.json +100 -0
  468. data/schemas/tlc_1.0.14/schema/tlc/commands/M0103.json +82 -0
  469. data/schemas/tlc_1.0.14/schema/tlc/commands/M0104.json +163 -0
  470. data/schemas/tlc_1.0.14/schema/tlc/commands/command_requests.json +7 -0
  471. data/schemas/tlc_1.0.14/schema/tlc/commands/command_responses.json +7 -0
  472. data/schemas/tlc_1.0.14/schema/tlc/commands/commands.json +366 -0
  473. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0001.json +98 -0
  474. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0002.json +34 -0
  475. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0003.json +55 -0
  476. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0004.json +55 -0
  477. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0005.json +34 -0
  478. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0006.json +55 -0
  479. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0007.json +55 -0
  480. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0008.json +55 -0
  481. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0009.json +55 -0
  482. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0010.json +55 -0
  483. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0011.json +55 -0
  484. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0012.json +55 -0
  485. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0013.json +55 -0
  486. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0014.json +34 -0
  487. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0015.json +34 -0
  488. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0016.json +34 -0
  489. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0017.json +34 -0
  490. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0018.json +34 -0
  491. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0019.json +34 -0
  492. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0020.json +61 -0
  493. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0021.json +35 -0
  494. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0022.json +34 -0
  495. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0023.json +35 -0
  496. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0024.json +35 -0
  497. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0025.json +181 -0
  498. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0026.json +34 -0
  499. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0027.json +34 -0
  500. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0028.json +34 -0
  501. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0029.json +34 -0
  502. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0091.json +61 -0
  503. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0092.json +61 -0
  504. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0095.json +34 -0
  505. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0096.json +139 -0
  506. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0201.json +55 -0
  507. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0202.json +55 -0
  508. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0203.json +55 -0
  509. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0204.json +223 -0
  510. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0205.json +55 -0
  511. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0206.json +55 -0
  512. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0207.json +55 -0
  513. data/schemas/tlc_1.0.14/schema/tlc/statuses/S0208.json +223 -0
  514. data/schemas/tlc_1.0.14/schema/tlc/statuses/statuses.json +738 -0
  515. data/schemas/tlc_1.0.14/schema/tlc/sxl.json +71 -0
  516. data/schemas/tlc_1.0.14/spec/schemer_helper.rb +21 -0
  517. data/schemas/tlc_1.0.14/spec/spec_helper.rb +102 -0
  518. data/schemas/tlc_1.0.14/spec/tlc/M0001_spec.rb +67 -0
  519. data/schemas/tlc_1.0.14/spec/tlc/S0007_spec.rb +159 -0
  520. data/schemas/tlc_1.0.15/.gitignore +1 -0
  521. data/schemas/tlc_1.0.15/.rspec +1 -0
  522. data/schemas/tlc_1.0.15/Gemfile +5 -0
  523. data/schemas/tlc_1.0.15/Gemfile.lock +37 -0
  524. data/schemas/tlc_1.0.15/LICENSE +7 -0
  525. data/schemas/tlc_1.0.15/README.md +70 -0
  526. data/schemas/tlc_1.0.15/schema/core/definitions.json +63 -0
  527. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0001.json +7 -0
  528. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0002.json +7 -0
  529. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0003.json +7 -0
  530. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0004.json +7 -0
  531. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0005.json +7 -0
  532. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0006.json +7 -0
  533. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0007.json +7 -0
  534. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0008.json +34 -0
  535. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0009.json +7 -0
  536. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0010.json +7 -0
  537. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0101.json +7 -0
  538. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0201.json +39 -0
  539. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0202.json +39 -0
  540. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0301.json +105 -0
  541. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0302.json +131 -0
  542. data/schemas/tlc_1.0.15/schema/tlc/alarms/alarms.json +254 -0
  543. data/schemas/tlc_1.0.15/schema/tlc/commands/M0001.json +105 -0
  544. data/schemas/tlc_1.0.15/schema/tlc/commands/M0002.json +79 -0
  545. data/schemas/tlc_1.0.15/schema/tlc/commands/M0003.json +79 -0
  546. data/schemas/tlc_1.0.15/schema/tlc/commands/M0004.json +58 -0
  547. data/schemas/tlc_1.0.15/schema/tlc/commands/M0005.json +79 -0
  548. data/schemas/tlc_1.0.15/schema/tlc/commands/M0006.json +79 -0
  549. data/schemas/tlc_1.0.15/schema/tlc/commands/M0007.json +58 -0
  550. data/schemas/tlc_1.0.15/schema/tlc/commands/M0008.json +79 -0
  551. data/schemas/tlc_1.0.15/schema/tlc/commands/M0010.json +58 -0
  552. data/schemas/tlc_1.0.15/schema/tlc/commands/M0011.json +58 -0
  553. data/schemas/tlc_1.0.15/schema/tlc/commands/M0012.json +58 -0
  554. data/schemas/tlc_1.0.15/schema/tlc/commands/M0013.json +58 -0
  555. data/schemas/tlc_1.0.15/schema/tlc/commands/M0014.json +79 -0
  556. data/schemas/tlc_1.0.15/schema/tlc/commands/M0015.json +79 -0
  557. data/schemas/tlc_1.0.15/schema/tlc/commands/M0016.json +58 -0
  558. data/schemas/tlc_1.0.15/schema/tlc/commands/M0017.json +58 -0
  559. data/schemas/tlc_1.0.15/schema/tlc/commands/M0018.json +79 -0
  560. data/schemas/tlc_1.0.15/schema/tlc/commands/M0019.json +100 -0
  561. data/schemas/tlc_1.0.15/schema/tlc/commands/M0020.json +100 -0
  562. data/schemas/tlc_1.0.15/schema/tlc/commands/M0021.json +58 -0
  563. data/schemas/tlc_1.0.15/schema/tlc/commands/M0103.json +82 -0
  564. data/schemas/tlc_1.0.15/schema/tlc/commands/M0104.json +163 -0
  565. data/schemas/tlc_1.0.15/schema/tlc/commands/command_requests.json +7 -0
  566. data/schemas/tlc_1.0.15/schema/tlc/commands/command_responses.json +7 -0
  567. data/schemas/tlc_1.0.15/schema/tlc/commands/commands.json +366 -0
  568. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0001.json +98 -0
  569. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0002.json +34 -0
  570. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0003.json +55 -0
  571. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0004.json +55 -0
  572. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0005.json +34 -0
  573. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0006.json +55 -0
  574. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0007.json +55 -0
  575. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0008.json +55 -0
  576. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0009.json +55 -0
  577. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0010.json +55 -0
  578. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0011.json +55 -0
  579. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0012.json +55 -0
  580. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0013.json +55 -0
  581. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0014.json +34 -0
  582. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0015.json +34 -0
  583. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0016.json +34 -0
  584. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0017.json +34 -0
  585. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0018.json +34 -0
  586. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0019.json +34 -0
  587. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0020.json +61 -0
  588. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0021.json +35 -0
  589. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0022.json +34 -0
  590. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0023.json +35 -0
  591. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0024.json +35 -0
  592. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0025.json +181 -0
  593. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0026.json +34 -0
  594. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0027.json +34 -0
  595. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0028.json +34 -0
  596. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0029.json +34 -0
  597. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0030.json +34 -0
  598. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0031.json +34 -0
  599. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0091.json +58 -0
  600. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0092.json +58 -0
  601. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0095.json +34 -0
  602. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0096.json +139 -0
  603. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0097.json +55 -0
  604. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0098.json +76 -0
  605. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0201.json +55 -0
  606. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0202.json +55 -0
  607. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0203.json +55 -0
  608. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0204.json +223 -0
  609. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0205.json +55 -0
  610. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0206.json +55 -0
  611. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0207.json +55 -0
  612. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0208.json +223 -0
  613. data/schemas/tlc_1.0.15/schema/tlc/statuses/statuses.json +738 -0
  614. data/schemas/tlc_1.0.15/schema/tlc/sxl.json +71 -0
  615. data/schemas/tlc_1.0.15/spec/schemer_helper.rb +21 -0
  616. data/schemas/tlc_1.0.15/spec/spec_helper.rb +102 -0
  617. data/schemas/tlc_1.0.15/spec/tlc/M0001_spec.rb +67 -0
  618. data/schemas/tlc_1.0.15/spec/tlc/S0007_spec.rb +159 -0
  619. data/schemas/tlc_1.0.7/.gitignore +1 -0
  620. data/schemas/tlc_1.0.7/.rspec +1 -0
  621. data/schemas/tlc_1.0.7/Gemfile +5 -0
  622. data/schemas/tlc_1.0.7/Gemfile.lock +37 -0
  623. data/schemas/tlc_1.0.7/LICENSE +7 -0
  624. data/schemas/tlc_1.0.7/README.md +70 -0
  625. data/schemas/tlc_1.0.7/schema/core/definitions.json +63 -0
  626. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0001.json +7 -0
  627. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0002.json +7 -0
  628. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0003.json +7 -0
  629. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0004.json +7 -0
  630. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0005.json +7 -0
  631. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0006.json +7 -0
  632. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0007.json +7 -0
  633. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0008.json +34 -0
  634. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0009.json +7 -0
  635. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0101.json +7 -0
  636. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0201.json +39 -0
  637. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0202.json +39 -0
  638. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0301.json +105 -0
  639. data/schemas/tlc_1.0.7/schema/tlc/alarms/A0302.json +131 -0
  640. data/schemas/tlc_1.0.7/schema/tlc/alarms/alarms.json +254 -0
  641. data/schemas/tlc_1.0.7/schema/tlc/commands/M0001.json +105 -0
  642. data/schemas/tlc_1.0.7/schema/tlc/commands/M0002.json +79 -0
  643. data/schemas/tlc_1.0.7/schema/tlc/commands/M0003.json +79 -0
  644. data/schemas/tlc_1.0.7/schema/tlc/commands/M0004.json +58 -0
  645. data/schemas/tlc_1.0.7/schema/tlc/commands/M0005.json +79 -0
  646. data/schemas/tlc_1.0.7/schema/tlc/commands/M0006.json +79 -0
  647. data/schemas/tlc_1.0.7/schema/tlc/commands/M0007.json +58 -0
  648. data/schemas/tlc_1.0.7/schema/tlc/commands/M0008.json +79 -0
  649. data/schemas/tlc_1.0.7/schema/tlc/commands/M0010.json +58 -0
  650. data/schemas/tlc_1.0.7/schema/tlc/commands/M0011.json +58 -0
  651. data/schemas/tlc_1.0.7/schema/tlc/commands/M0103.json +82 -0
  652. data/schemas/tlc_1.0.7/schema/tlc/commands/M0104.json +163 -0
  653. data/schemas/tlc_1.0.7/schema/tlc/commands/command_requests.json +7 -0
  654. data/schemas/tlc_1.0.7/schema/tlc/commands/command_responses.json +7 -0
  655. data/schemas/tlc_1.0.7/schema/tlc/commands/commands.json +366 -0
  656. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0001.json +98 -0
  657. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0002.json +34 -0
  658. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0003.json +55 -0
  659. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0004.json +55 -0
  660. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0005.json +34 -0
  661. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0006.json +55 -0
  662. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0007.json +55 -0
  663. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0008.json +55 -0
  664. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0009.json +55 -0
  665. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0010.json +55 -0
  666. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0011.json +55 -0
  667. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0012.json +55 -0
  668. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0013.json +55 -0
  669. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0014.json +34 -0
  670. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0015.json +34 -0
  671. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0016.json +34 -0
  672. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0017.json +34 -0
  673. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0018.json +34 -0
  674. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0019.json +34 -0
  675. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0020.json +61 -0
  676. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0021.json +35 -0
  677. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0091.json +61 -0
  678. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0092.json +61 -0
  679. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0095.json +34 -0
  680. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0096.json +139 -0
  681. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0201.json +55 -0
  682. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0202.json +55 -0
  683. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0203.json +55 -0
  684. data/schemas/tlc_1.0.7/schema/tlc/statuses/S0204.json +223 -0
  685. data/schemas/tlc_1.0.7/schema/tlc/statuses/statuses.json +738 -0
  686. data/schemas/tlc_1.0.7/schema/tlc/sxl.json +71 -0
  687. data/schemas/tlc_1.0.7/spec/schemer_helper.rb +21 -0
  688. data/schemas/tlc_1.0.7/spec/spec_helper.rb +102 -0
  689. data/schemas/tlc_1.0.7/spec/tlc/M0001_spec.rb +67 -0
  690. data/schemas/tlc_1.0.7/spec/tlc/S0007_spec.rb +159 -0
  691. data/schemas/tlc_1.0.8/.gitignore +1 -0
  692. data/schemas/tlc_1.0.8/.rspec +1 -0
  693. data/schemas/tlc_1.0.8/Gemfile +5 -0
  694. data/schemas/tlc_1.0.8/Gemfile.lock +37 -0
  695. data/schemas/tlc_1.0.8/LICENSE +7 -0
  696. data/schemas/tlc_1.0.8/README.md +70 -0
  697. data/schemas/tlc_1.0.8/schema/core/definitions.json +63 -0
  698. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0001.json +7 -0
  699. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0002.json +7 -0
  700. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0003.json +7 -0
  701. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0004.json +7 -0
  702. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0005.json +7 -0
  703. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0006.json +7 -0
  704. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0007.json +7 -0
  705. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0008.json +34 -0
  706. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0009.json +7 -0
  707. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0101.json +7 -0
  708. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0201.json +39 -0
  709. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0202.json +39 -0
  710. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0301.json +105 -0
  711. data/schemas/tlc_1.0.8/schema/tlc/alarms/A0302.json +131 -0
  712. data/schemas/tlc_1.0.8/schema/tlc/alarms/alarms.json +254 -0
  713. data/schemas/tlc_1.0.8/schema/tlc/commands/M0001.json +105 -0
  714. data/schemas/tlc_1.0.8/schema/tlc/commands/M0002.json +79 -0
  715. data/schemas/tlc_1.0.8/schema/tlc/commands/M0003.json +79 -0
  716. data/schemas/tlc_1.0.8/schema/tlc/commands/M0004.json +58 -0
  717. data/schemas/tlc_1.0.8/schema/tlc/commands/M0005.json +79 -0
  718. data/schemas/tlc_1.0.8/schema/tlc/commands/M0006.json +79 -0
  719. data/schemas/tlc_1.0.8/schema/tlc/commands/M0007.json +58 -0
  720. data/schemas/tlc_1.0.8/schema/tlc/commands/M0008.json +79 -0
  721. data/schemas/tlc_1.0.8/schema/tlc/commands/M0010.json +58 -0
  722. data/schemas/tlc_1.0.8/schema/tlc/commands/M0011.json +58 -0
  723. data/schemas/tlc_1.0.8/schema/tlc/commands/M0012.json +58 -0
  724. data/schemas/tlc_1.0.8/schema/tlc/commands/M0013.json +58 -0
  725. data/schemas/tlc_1.0.8/schema/tlc/commands/M0103.json +82 -0
  726. data/schemas/tlc_1.0.8/schema/tlc/commands/M0104.json +163 -0
  727. data/schemas/tlc_1.0.8/schema/tlc/commands/command_requests.json +7 -0
  728. data/schemas/tlc_1.0.8/schema/tlc/commands/command_responses.json +7 -0
  729. data/schemas/tlc_1.0.8/schema/tlc/commands/commands.json +366 -0
  730. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0001.json +98 -0
  731. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0002.json +34 -0
  732. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0003.json +55 -0
  733. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0004.json +55 -0
  734. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0005.json +34 -0
  735. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0006.json +55 -0
  736. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0007.json +55 -0
  737. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0008.json +55 -0
  738. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0009.json +55 -0
  739. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0010.json +55 -0
  740. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0011.json +55 -0
  741. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0012.json +55 -0
  742. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0013.json +55 -0
  743. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0014.json +34 -0
  744. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0015.json +34 -0
  745. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0016.json +34 -0
  746. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0017.json +34 -0
  747. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0018.json +34 -0
  748. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0019.json +34 -0
  749. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0020.json +61 -0
  750. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0021.json +35 -0
  751. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0091.json +61 -0
  752. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0092.json +61 -0
  753. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0095.json +34 -0
  754. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0096.json +139 -0
  755. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0201.json +55 -0
  756. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0202.json +55 -0
  757. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0203.json +55 -0
  758. data/schemas/tlc_1.0.8/schema/tlc/statuses/S0204.json +223 -0
  759. data/schemas/tlc_1.0.8/schema/tlc/statuses/statuses.json +738 -0
  760. data/schemas/tlc_1.0.8/schema/tlc/sxl.json +71 -0
  761. data/schemas/tlc_1.0.8/spec/schemer_helper.rb +21 -0
  762. data/schemas/tlc_1.0.8/spec/spec_helper.rb +102 -0
  763. data/schemas/tlc_1.0.8/spec/tlc/M0001_spec.rb +67 -0
  764. data/schemas/tlc_1.0.8/spec/tlc/S0007_spec.rb +159 -0
  765. data/schemas/tlc_1.0.9/.gitignore +1 -0
  766. data/schemas/tlc_1.0.9/.rspec +1 -0
  767. data/schemas/tlc_1.0.9/Gemfile +5 -0
  768. data/schemas/tlc_1.0.9/Gemfile.lock +37 -0
  769. data/schemas/tlc_1.0.9/LICENSE +7 -0
  770. data/schemas/tlc_1.0.9/README.md +70 -0
  771. data/schemas/tlc_1.0.9/schema/core/definitions.json +63 -0
  772. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0001.json +7 -0
  773. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0002.json +7 -0
  774. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0003.json +7 -0
  775. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0004.json +7 -0
  776. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0005.json +7 -0
  777. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0006.json +7 -0
  778. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0007.json +7 -0
  779. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0008.json +34 -0
  780. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0009.json +7 -0
  781. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0101.json +7 -0
  782. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0201.json +39 -0
  783. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0202.json +39 -0
  784. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0301.json +105 -0
  785. data/schemas/tlc_1.0.9/schema/tlc/alarms/A0302.json +131 -0
  786. data/schemas/tlc_1.0.9/schema/tlc/alarms/alarms.json +254 -0
  787. data/schemas/tlc_1.0.9/schema/tlc/commands/M0001.json +105 -0
  788. data/schemas/tlc_1.0.9/schema/tlc/commands/M0002.json +79 -0
  789. data/schemas/tlc_1.0.9/schema/tlc/commands/M0003.json +79 -0
  790. data/schemas/tlc_1.0.9/schema/tlc/commands/M0004.json +58 -0
  791. data/schemas/tlc_1.0.9/schema/tlc/commands/M0005.json +79 -0
  792. data/schemas/tlc_1.0.9/schema/tlc/commands/M0006.json +79 -0
  793. data/schemas/tlc_1.0.9/schema/tlc/commands/M0007.json +58 -0
  794. data/schemas/tlc_1.0.9/schema/tlc/commands/M0008.json +79 -0
  795. data/schemas/tlc_1.0.9/schema/tlc/commands/M0010.json +58 -0
  796. data/schemas/tlc_1.0.9/schema/tlc/commands/M0011.json +58 -0
  797. data/schemas/tlc_1.0.9/schema/tlc/commands/M0012.json +58 -0
  798. data/schemas/tlc_1.0.9/schema/tlc/commands/M0013.json +58 -0
  799. data/schemas/tlc_1.0.9/schema/tlc/commands/M0103.json +82 -0
  800. data/schemas/tlc_1.0.9/schema/tlc/commands/M0104.json +163 -0
  801. data/schemas/tlc_1.0.9/schema/tlc/commands/command_requests.json +7 -0
  802. data/schemas/tlc_1.0.9/schema/tlc/commands/command_responses.json +7 -0
  803. data/schemas/tlc_1.0.9/schema/tlc/commands/commands.json +366 -0
  804. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0001.json +98 -0
  805. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0002.json +34 -0
  806. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0003.json +55 -0
  807. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0004.json +55 -0
  808. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0005.json +34 -0
  809. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0006.json +55 -0
  810. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0007.json +55 -0
  811. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0008.json +55 -0
  812. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0009.json +55 -0
  813. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0010.json +55 -0
  814. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0011.json +55 -0
  815. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0012.json +55 -0
  816. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0013.json +55 -0
  817. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0014.json +34 -0
  818. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0015.json +34 -0
  819. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0016.json +34 -0
  820. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0017.json +34 -0
  821. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0018.json +34 -0
  822. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0019.json +34 -0
  823. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0020.json +61 -0
  824. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0021.json +35 -0
  825. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0091.json +61 -0
  826. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0092.json +61 -0
  827. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0095.json +34 -0
  828. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0096.json +139 -0
  829. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0201.json +55 -0
  830. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0202.json +55 -0
  831. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0203.json +55 -0
  832. data/schemas/tlc_1.0.9/schema/tlc/statuses/S0204.json +223 -0
  833. data/schemas/tlc_1.0.9/schema/tlc/statuses/statuses.json +738 -0
  834. data/schemas/tlc_1.0.9/schema/tlc/sxl.json +71 -0
  835. data/schemas/tlc_1.0.9/spec/schemer_helper.rb +21 -0
  836. data/schemas/tlc_1.0.9/spec/spec_helper.rb +102 -0
  837. data/schemas/tlc_1.0.9/spec/tlc/M0001_spec.rb +67 -0
  838. data/schemas/tlc_1.0.9/spec/tlc/S0007_spec.rb +159 -0
  839. metadata +939 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fed88025943afac975e48c5ce3345ea888651d74c3b71eca02d20e46448690ec
4
+ data.tar.gz: 9cb403404dad2d438eb2b5c51eb14eca7c4d937fb3d610cbd2186725e4de6b33
5
+ SHA512:
6
+ metadata.gz: 374ff54aa6b69e4c3b865e2bae151f0706a908187940fac4ad41971bc3b7d32cee7c3966eb8d5746a2aa8c5289c269367784bd64429a58e5c81d8f92b146afb9
7
+ data.tar.gz: e97c1b45d3f90baf44deeee5359263fb8bbc653b1121a7a1f4dbda74f73cf87d0da92d68752bd80a092bb55c1d46b7630e2b15bf4a274e40241d5af70fb81faa
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /.DS_Store
10
+ /.rspec_status
data/.gitmodules ADDED
@@ -0,0 +1,44 @@
1
+ [submodule "schemas/core_3.1.2"]
2
+ path = schemas/core_3.1.2
3
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
4
+ branch = core_3.1.2
5
+ [submodule "schemas/core_3.1.3"]
6
+ path = schemas/core_3.1.3
7
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
8
+ branch = core_3.1.3
9
+ [submodule "schemas/core_3.1.4"]
10
+ path = schemas/core_3.1.4
11
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
12
+ branch = core_3.1.4
13
+ [submodule "schemas/core_3.1.5"]
14
+ path = schemas/core_3.1.5
15
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
16
+ branch = core_3.1.5
17
+ [submodule "schemas/tlc_1.0.15"]
18
+ path = schemas/tlc_1.0.15
19
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
20
+ branch = tlc_1.0.15
21
+ [submodule "schemas/tlc_1.0.7"]
22
+ path = schemas/tlc_1.0.7
23
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
24
+ branch = tlc_1.0.7
25
+ [submodule "schemas/tlc_1.0.8"]
26
+ path = schemas/tlc_1.0.8
27
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
28
+ branch = tlc_1.0.8
29
+ [submodule "schemas/tlc_1.0.9"]
30
+ path = schemas/tlc_1.0.9
31
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
32
+ branch = tlc_1.0.9
33
+ [submodule "schemas/tlc_1.0.10"]
34
+ path = schemas/tlc_1.0.10
35
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
36
+ branch = tlc_1.0.10
37
+ [submodule "schemas/tlc_1.0.13"]
38
+ path = schemas/tlc_1.0.13
39
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
40
+ branch = tlc_1.0.13
41
+ [submodule "schemas/tlc_1.0.14"]
42
+ path = schemas/tlc_1.0.14
43
+ url = https://github.com/rsmp-nordic/rsmp_schema.git
44
+ branch = tlc_1.0.14
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2021-03-25
4
+ - Initial release
5
+
6
+ ## [0.2.0] - 2021-05-19
7
+ - Updated interface
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in rsmp_schemer.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,46 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rsmp_schemer (0.2.0)
5
+ json_schemer (~> 0.2.18)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ diff-lcs (1.4.4)
11
+ ecma-re-validator (0.3.0)
12
+ regexp_parser (~> 2.0)
13
+ hana (1.3.7)
14
+ json_schemer (0.2.18)
15
+ ecma-re-validator (~> 0.3)
16
+ hana (~> 1.3)
17
+ regexp_parser (~> 2.0)
18
+ uri_template (~> 0.7)
19
+ rake (13.0.3)
20
+ regexp_parser (2.1.1)
21
+ rspec (3.9.0)
22
+ rspec-core (~> 3.9.0)
23
+ rspec-expectations (~> 3.9.0)
24
+ rspec-mocks (~> 3.9.0)
25
+ rspec-core (3.9.1)
26
+ rspec-support (~> 3.9.1)
27
+ rspec-expectations (3.9.1)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.9.0)
30
+ rspec-mocks (3.9.1)
31
+ diff-lcs (>= 1.2.0, < 2.0)
32
+ rspec-support (~> 3.9.0)
33
+ rspec-support (3.9.2)
34
+ uri_template (0.7.0)
35
+
36
+ PLATFORMS
37
+ x86_64-darwin-20
38
+
39
+ DEPENDENCIES
40
+ rake (~> 13.0)
41
+ rsmp_schemer!
42
+ rspec (~> 3.9.0)
43
+ rspec-expectations (~> 3.9.1)
44
+
45
+ BUNDLED WITH
46
+ 2.2.15
data/LICENSE ADDED
@@ -0,0 +1,7 @@
1
+ Copyright 2019 The City Copenhagen
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # RSMP Schemer
2
+ Gem for validating RSMP messages against RSMP JSON schemas.
3
+
4
+ ## Background
5
+ When communicating via RSMP, the version of core and SXL used is negotiated during connection, and can therefore vary depending on who you communicate with.
6
+
7
+ To validate against the correct version of the JSON schema, all relevant versions need to be avaiable, so you can
8
+
9
+ The actual JSON scheme files are maintained in the repo https://github.com/rsmp-nordic/rsmp_schema. Different version of core and SXLs are mainted in different branches.
10
+
11
+ Each of these branches are included here as submodules, so you can choose which core and SXL version you want to validate against.
12
+
13
+ The actual validation is performed with the json_schemer gem.
14
+
15
+ ## Usage
16
+ Use ```Schemer#validate``` to validate against a particular schema type and version.
17
+
18
+ Validating against core and sxl schemas is done separately.
19
+ The core schema validates everything that's common to all types of equipment/SXLs.
20
+ SXL schemas validate the mesage types specific to a type of equipment.
21
+
22
+ For example, the core schema will validate that a CommandRequest has all the correct attributes, e.g. that there is a command code. The SXL schema will validate the content of the attributes. e.g. that the command code represents a valid command.
23
+
24
+ If there are validation errors and error will be returned, pointing to the offendig items. The errors come from the json_schemer gem.
25
+
26
+ Nil means there are no errors, ie. the message is valid.
27
+
28
+ Example, validating an an AggregatedStatusRequest:
29
+
30
+ ```ruby
31
+ message = {
32
+ "mType" => "rSMsg",
33
+ "type" => "AggregatedStatusRequest",
34
+ "mId" => "E68A0010-C336-41ac-BD58-5C80A72C7092",
35
+ "cId" => "AB+84001=860SG001"
36
+ }
37
+
38
+ # validing using core 3.1.4 will return an error, because the message
39
+ # type AggregatedStatusRequest was not introduced until 3.1.5:
40
+ errors = RSMP::Schemer.validate(message, core: '3.1.4')
41
+ # => [["/type", "enum", nil]]
42
+
43
+ # The first item '/type' indicate the field with error
44
+ # The second item 'enum' indicate an invalid enum valiue
45
+
46
+ # validating using core 3.1.5 will succeeed, ie. return no errors:
47
+ errors = RSMP::Schemer.validate(message, core: '3.1.5')
48
+ # => nil
49
+
50
+ # validate against several schemas:
51
+ errors = RSMP::Schemer.validate(message, core: '3.1.5', tlc: '1.0.15')
52
+ # => nil
53
+ ```
54
+
data/Rakefile ADDED
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
5
+
6
+ namespace :schema do
7
+ # task for adding scheme. run this like:
8
+ # type=core version=3.1.3 rake schema:add
9
+
10
+ task :add do
11
+ type = ENV['type']
12
+ version = ENV['version']
13
+ raise ArgumentError.new("type argument is missing") unless /\w+/ =~ type
14
+ raise ArgumentError.new("version argument must be in the format <x.y.z>") unless /\d+\.\d+\.\d+/ =~ version
15
+ puts "Adding schema for #{type} #{version}"
16
+ cmd = "git submodule add -b #{type}_#{version} https://github.com/rsmp-nordic/rsmp_schema.git schemas/#{type}_#{version}"
17
+ puts "Running: #{cmd}"
18
+ system cmd
19
+ end
20
+ end
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "rsmp_schemer"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "rsmp_schemer/version"
4
+ require_relative "rsmp_schemer/error"
5
+ require_relative "rsmp_schemer/schemer"
@@ -0,0 +1,16 @@
1
+ module RSMP
2
+ module Schemer
3
+
4
+ class Error < StandardError
5
+ end
6
+
7
+ class UnknownSchemaError < Error
8
+ end
9
+
10
+ class UnknownSchemaTypeError < UnknownSchemaError
11
+ end
12
+
13
+ class UnknownSchemaVersionError < UnknownSchemaError
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,90 @@
1
+ require 'json_schemer'
2
+
3
+ module RSMP
4
+ end
5
+
6
+ module RSMP::Schemer
7
+ @@schemas = nil
8
+
9
+ def self.schemas
10
+ return @@schemas if @@schemas
11
+ schemas_path = File.expand_path( File.join(__dir__,'..','..','schemas') )
12
+ @@schemas = {
13
+ core: {
14
+ '3.1.2' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'core_3.1.2/schema/core/rsmp.json')) ),
15
+ '3.1.3' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'core_3.1.3/schema/core/rsmp.json')) ),
16
+ '3.1.4' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'core_3.1.4/schema/core/rsmp.json')) ),
17
+ '3.1.5' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'core_3.1.5/schema/core/rsmp.json')) )
18
+ },
19
+ # note that tlc 1.0.11 and 1.0.12 does not exist (unreleased drafts)
20
+ tlc: {
21
+ '1.0.7' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'tlc_1.0.7/schema/tlc/sxl.json')) ),
22
+ '1.0.8' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'tlc_1.0.8/schema/tlc/sxl.json')) ),
23
+ '1.0.9' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'tlc_1.0.9/schema/tlc/sxl.json')) ),
24
+ '1.0.10' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'tlc_1.0.10/schema/tlc/sxl.json')) ),
25
+ '1.0.13' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'tlc_1.0.13/schema/tlc/sxl.json')) ),
26
+ '1.0.14' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'tlc_1.0.14/schema/tlc/sxl.json')) ),
27
+ '1.0.15' => JSONSchemer.schema( Pathname.new(File.join(schemas_path, 'tlc_1.0.15/schema/tlc/sxl.json')) )
28
+ }
29
+ }
30
+ end
31
+
32
+ def self.validate_using_schema message, schema
33
+ raise ArgumentError.new("message missing") unless message
34
+ raise ArgumentError.new("schema missing") unless schema
35
+ unless schema.valid? message
36
+ schema.validate(message).map do |item|
37
+ [item['data_pointer'],item['type'],item['details']]
38
+ end
39
+ else
40
+ []
41
+ end
42
+ end
43
+
44
+ def self.find_schemas type
45
+ raise ArgumentError.new("type missing") unless type
46
+ schemas[type.to_sym]
47
+ end
48
+
49
+ def self.find_schemas! type
50
+ schemas = find_schemas type
51
+ raise UnknownSchemaTypeError.new("Unknown schema type #{type}") unless schemas
52
+ schemas
53
+ end
54
+
55
+ def self.find_schema type, version
56
+ raise ArgumentError.new("version missing") unless version
57
+ schemas = find_schemas type
58
+ if schemas
59
+ schemas[version]
60
+ else
61
+ nil
62
+ end
63
+ end
64
+
65
+ def self.find_schema! type, version
66
+ raise ArgumentError.new("version missing") unless version
67
+ schemas = find_schemas! type
68
+ schema = schemas[version]
69
+ raise UnknownSchemaVersionError.new("Unknown schema version #{type} #{version}") unless schema
70
+ schema
71
+ end
72
+
73
+ def self.has_schema? type, version
74
+ find_schema(type,version) != nil
75
+ end
76
+
77
+ def self.validate message, schemas
78
+ raise ArgumentError.new("message missing") unless message
79
+ raise ArgumentError.new("schemas missing") unless schemas
80
+ raise ArgumentError.new("schemas must be a Hash") unless schemas.is_a?(Hash)
81
+ raise ArgumentError.new("schemas cannot be empty") unless schemas.any?
82
+ errors = schemas.flat_map do |type, version|
83
+ schema = find_schema! type, version
84
+ validate_using_schema(message, schema)
85
+ end
86
+ return nil if errors.empty?
87
+ errors
88
+ end
89
+
90
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RSMP
4
+ module Schemer
5
+ VERSION = "0.2.0"
6
+ end
7
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'pathname'
4
+ require_relative "lib/rsmp_schemer/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rsmp_schemer"
8
+ spec.version = RSMP::Schemer::VERSION
9
+ spec.authors = ["Emil Tin"]
10
+ spec.email = ["zf0f@kk.dk"]
11
+
12
+ spec.summary = "Validate RSMP message against RSMP JSON Schema."
13
+ spec.description = "Validate RSMP message against RSMP JSON Schema. Support validating against core and different SXL's, in different versions."
14
+ spec.homepage = "https://github.com/rsmp-nordic/rsmp_schemer"
15
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
16
+
17
+
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = spec.homepage
20
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/CHANGELOG.md"
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
25
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
26
+ end
27
+
28
+ # Add schema files in submodules inside schema/
29
+ `git submodule --quiet foreach pwd`.split($\).each do |submodule_path|
30
+ Dir.chdir(submodule_path) do
31
+ relative_path = Pathname.new(submodule_path).relative_path_from __dir__
32
+ `git ls-files`.split($\).each do |filename|
33
+ spec.files << relative_path.join(filename).to_s
34
+ end
35
+ end
36
+ end
37
+
38
+ spec.bindir = "exe"
39
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
40
+ spec.require_paths = ["lib"]
41
+
42
+ spec.add_dependency "json_schemer", "~> 0.2.18"
43
+
44
+ spec.add_development_dependency "rspec", "~> 3.9.0"
45
+ spec.add_development_dependency "rspec-expectations", "~> 3.9.1"
46
+ spec.add_development_dependency "rake", "~> 13.0"
47
+ end
@@ -0,0 +1 @@
1
+ --require spec_helper
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in rsmp.gemspec
4
+ gem 'json_schemer'
5
+ gem 'rspec'
@@ -0,0 +1,37 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.4.4)
5
+ ecma-re-validator (0.3.0)
6
+ regexp_parser (~> 2.0)
7
+ hana (1.3.7)
8
+ json_schemer (0.2.18)
9
+ ecma-re-validator (~> 0.3)
10
+ hana (~> 1.3)
11
+ regexp_parser (~> 2.0)
12
+ uri_template (~> 0.7)
13
+ regexp_parser (2.1.1)
14
+ rspec (3.10.0)
15
+ rspec-core (~> 3.10.0)
16
+ rspec-expectations (~> 3.10.0)
17
+ rspec-mocks (~> 3.10.0)
18
+ rspec-core (3.10.1)
19
+ rspec-support (~> 3.10.0)
20
+ rspec-expectations (3.10.1)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.10.0)
23
+ rspec-mocks (3.10.2)
24
+ diff-lcs (>= 1.2.0, < 2.0)
25
+ rspec-support (~> 3.10.0)
26
+ rspec-support (3.10.2)
27
+ uri_template (0.7.0)
28
+
29
+ PLATFORMS
30
+ ruby
31
+
32
+ DEPENDENCIES
33
+ json_schemer
34
+ rspec
35
+
36
+ BUNDLED WITH
37
+ 2.2.3