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
@@ -0,0 +1,149 @@
1
+ RSpec.describe "Traffic Light Controller RSMP SXL Schema validation" do
2
+ let(:message) {{
3
+ "mType" => "rSMsg",
4
+ "mId" => "a28e94b9-05c7-41bb-8f8b-54693adc9698",
5
+ "siteId" => [
6
+ { "sId" => "RN+SI0001" }
7
+ ],
8
+ "type" => "Version",
9
+ "RSMP" => [
10
+ { "vers" => "3.1.1" },
11
+ { "vers" => "3.1.2" },
12
+ { "vers" => "3.1.3" },
13
+ { "vers" => "3.1.4" }
14
+ ],
15
+ "SXL" => "1.1"
16
+ }}
17
+
18
+ it 'accepts valid message' do
19
+ expect( validate(message) ).to be_nil
20
+ end
21
+
22
+ it 'catches missing mId' do
23
+ invalid = message.dup
24
+ invalid.delete 'mId'
25
+ expect( validate(invalid) ).to eq([
26
+ ["", "required", {"missing_keys"=>["mId"]}]
27
+ ])
28
+ end
29
+
30
+ it 'catches missing siteId' do
31
+ invalid = message.dup
32
+ invalid.delete 'siteId'
33
+ expect( validate(invalid) ).to eq([
34
+ ["", "required", {"missing_keys"=>["siteId"]}]
35
+ ])
36
+ end
37
+
38
+ it 'catches bad siteId format, must be array' do
39
+ invalid = message.dup
40
+ invalid['siteId'] = '1.0'
41
+ expect( validate(invalid) ).to eq([
42
+ ["/siteId", "array"]
43
+ ])
44
+ end
45
+
46
+ it 'catches bad siteId format, array cannot be empty' do
47
+ invalid = message.dup
48
+ invalid['siteId'] = []
49
+ expect( validate(invalid) ).to eq([
50
+ ["/siteId", "minItems"]
51
+ ])
52
+ end
53
+
54
+ it 'catches bad siteId format, item must be hash' do
55
+ invalid = message.dup
56
+ invalid['siteId'] = ['1.0']
57
+ expect( validate(invalid) ).to eq([
58
+ ["/siteId/0", "object"]
59
+ ])
60
+ end
61
+
62
+ it 'catches bad siteId format, item must have version' do
63
+ invalid = message.dup
64
+ invalid['siteId'] = [{}]
65
+ expect( validate(invalid) ).to eq([
66
+ ["/siteId/0", "required", {"missing_keys"=>["sId"]}]
67
+ ])
68
+ end
69
+
70
+ it 'catches bad siteId format, item cannot have extra attributes' do
71
+ invalid = message.dup
72
+ invalid['siteId'] = [{'sId'=>'RN+SI0001','extra'=>'123'}]
73
+ expect( validate(invalid) ).to eq([
74
+ ["/siteId/0/extra", "schema"]
75
+ ])
76
+ end
77
+
78
+ it 'catches missing RSMP version' do
79
+ invalid = message.dup
80
+ invalid.delete 'RSMP'
81
+ expect( validate(invalid) ).to eq([
82
+ ["", "required", {"missing_keys"=>["RSMP"]}]
83
+ ])
84
+ end
85
+
86
+ it 'catches bad RSMP format, must be array' do
87
+ invalid = message.dup
88
+ invalid['RSMP'] = '1.0'
89
+ expect( validate(invalid) ).to eq([
90
+ ["/RSMP", "array"]
91
+ ])
92
+ end
93
+
94
+ it 'catches bad RSMP format, array cannot be empty' do
95
+ invalid = message.dup
96
+ invalid['RSMP'] = []
97
+ expect( validate(invalid) ).to eq([
98
+ ["/RSMP", "minItems"]
99
+ ])
100
+ end
101
+
102
+ it 'catches bad RSMP format, item must be hash' do
103
+ invalid = message.dup
104
+ invalid['RSMP'] = ['1.0']
105
+ expect( validate(invalid) ).to eq([
106
+ ["/RSMP/0", "object"]
107
+ ])
108
+ end
109
+
110
+ it 'catches bad RSMP format, item must have version' do
111
+ invalid = message.dup
112
+ invalid['RSMP'] = [{}]
113
+ expect( validate(invalid) ).to eq([
114
+ ["/RSMP/0", "required", {"missing_keys"=>["vers"]}]
115
+ ])
116
+ end
117
+
118
+ it 'catches bad RSMP format, item cannot have extra attributes' do
119
+ invalid = message.dup
120
+ invalid['RSMP'] = [{'vers'=>'1.0.0','extra'=>'123'}]
121
+ expect( validate(invalid) ).to eq([
122
+ ["/RSMP/0/extra", "schema"]
123
+ ])
124
+ end
125
+
126
+ it 'catches bad RSMP format, version must be 1.0.0 format' do
127
+ invalid = message.dup
128
+ invalid['RSMP'].first['vers'] = 'latest'
129
+ expect( validate(invalid) ).to eq([
130
+ ["/RSMP/0/vers", "pattern"]
131
+ ])
132
+ end
133
+
134
+ it 'catches missing SXL version' do
135
+ invalid = message.dup
136
+ invalid.delete 'SXL'
137
+ expect( validate(invalid) ).to eq([
138
+ ["", "required", {"missing_keys"=>["SXL"]}]
139
+ ])
140
+ end
141
+
142
+ it 'catches bad SXL version' do
143
+ invalid = message.dup
144
+ invalid['SXL'] = 'Release 1.0.1'
145
+ expect( validate(invalid) ).to eq([
146
+ ["/SXL", "pattern"]
147
+ ])
148
+ end
149
+ end
@@ -0,0 +1,37 @@
1
+ RSpec.describe "Traffic Light Controller RSMP SXL Schema validation" do
2
+ let(:message) {{
3
+ "mType" => "rSMsg",
4
+ "mId" => "4173c2c8-a933-43cb-9425-66d4613731ed",
5
+ "type" => "Watchdog",
6
+ "wTs" => "2015-06-08T12:01:39.654Z"
7
+ }}
8
+
9
+ it 'accepts valid message' do
10
+ expect( validate(message) ).to be_nil
11
+ end
12
+
13
+ it 'catches missing mId' do
14
+ invalid = message.dup
15
+ invalid.delete 'mId'
16
+ expect( validate(invalid) ).to eq([
17
+ ["", "required", {"missing_keys"=>["mId"]}]
18
+ ])
19
+ end
20
+
21
+ it 'catches missing timestamp' do
22
+ invalid = message.dup
23
+ invalid.delete 'wTs'
24
+ expect( validate(invalid) ).to eq([
25
+ ["", "required", {"missing_keys"=>["wTs"]}]
26
+ ])
27
+ end
28
+
29
+ it 'catches bad timestamp format' do
30
+ invalid = message.dup
31
+ invalid['wTs'] = '2015-06-08T12:01:39.654' # missing Z at end
32
+ expect( validate(invalid) ).to eq([
33
+ ["/wTs", "pattern"]
34
+ ])
35
+ end
36
+
37
+ end
@@ -0,0 +1,23 @@
1
+ require 'json_schemer'
2
+ require 'pp'
3
+
4
+ $schema_core = Pathname.new('schema/core/rsmp.json')
5
+ $schemer_core = JSONSchemer.schema($schema_core)
6
+
7
+ #schema_tlc = Pathname.new('schema/tlc/sxl.json')
8
+ #schemer_tlc = JSONSchemer.schema(schema_tlc)
9
+
10
+ def validate json, schemer=$schemer_core
11
+ if schemer.valid? json
12
+ nil
13
+ else
14
+ errors = []
15
+ begin
16
+ schemer.validate(json).each do |item|
17
+ errors ||= []
18
+ errors << [item['data_pointer'],item['type'],item['details']].compact
19
+ end
20
+ end
21
+ errors
22
+ end
23
+ end
@@ -0,0 +1,102 @@
1
+ require_relative 'schemer_helper'
2
+
3
+ # This file was generated by the `rspec --init` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
6
+ # this file to always be loaded, without a need to explicitly require it in any
7
+ # files.
8
+ #
9
+ # Given that it is always loaded, you are encouraged to keep this file as
10
+ # light-weight as possible. Requiring heavyweight dependencies from this file
11
+ # will add to the boot time of your test suite on EVERY test run, even for an
12
+ # individual file that may not need all of that loaded. Instead, consider making
13
+ # a separate helper file that requires the additional dependencies and performs
14
+ # the additional setup, and require it from the spec files that actually need
15
+ # it.
16
+ #
17
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
18
+ RSpec.configure do |config|
19
+ # rspec-expectations config goes here. You can use an alternate
20
+ # assertion/expectation library such as wrong or the stdlib/minitest
21
+ # assertions if you prefer.
22
+ config.expect_with :rspec do |expectations|
23
+ # This option will default to `true` in RSpec 4. It makes the `description`
24
+ # and `failure_message` of custom matchers include text for helper methods
25
+ # defined using `chain`, e.g.:
26
+ # be_bigger_than(2).and_smaller_than(4).description
27
+ # # => "be bigger than 2 and smaller than 4"
28
+ # ...rather than:
29
+ # # => "be bigger than 2"
30
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
31
+ end
32
+
33
+ # rspec-mocks config goes here. You can use an alternate test double
34
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
35
+ config.mock_with :rspec do |mocks|
36
+ # Prevents you from mocking or stubbing a method that does not exist on
37
+ # a real object. This is generally recommended, and will default to
38
+ # `true` in RSpec 4.
39
+ mocks.verify_partial_doubles = true
40
+ end
41
+
42
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
43
+ # have no way to turn it off -- the option exists only for backwards
44
+ # compatibility in RSpec 3). It causes shared context metadata to be
45
+ # inherited by the metadata hash of host groups and examples, rather than
46
+ # triggering implicit auto-inclusion in groups with matching metadata.
47
+ config.shared_context_metadata_behavior = :apply_to_host_groups
48
+
49
+ # The settings below are suggested to provide a good initial experience
50
+ # with RSpec, but feel free to customize to your heart's content.
51
+ =begin
52
+ # This allows you to limit a spec run to individual examples or groups
53
+ # you care about by tagging them with `:focus` metadata. When nothing
54
+ # is tagged with `:focus`, all examples get run. RSpec also provides
55
+ # aliases for `it`, `describe`, and `context` that include `:focus`
56
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
57
+ config.filter_run_when_matching :focus
58
+
59
+ # Allows RSpec to persist some state between runs in order to support
60
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
61
+ # you configure your source control system to ignore this file.
62
+ config.example_status_persistence_file_path = "spec/examples.txt"
63
+
64
+ # Limits the available syntax to the non-monkey patched syntax that is
65
+ # recommended. For more details, see:
66
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
67
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
68
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
69
+ config.disable_monkey_patching!
70
+
71
+ # This setting enables warnings. It's recommended, but in some cases may
72
+ # be too noisy due to issues in dependencies.
73
+ config.warnings = true
74
+
75
+ # Many RSpec users commonly either run the entire suite or an individual
76
+ # file, and it's useful to allow more verbose output when running an
77
+ # individual spec file.
78
+ if config.files_to_run.one?
79
+ # Use the documentation formatter for detailed output,
80
+ # unless a formatter has already been configured
81
+ # (e.g. via a command-line flag).
82
+ config.default_formatter = "doc"
83
+ end
84
+
85
+ # Print the 10 slowest examples and example groups at the
86
+ # end of the spec run, to help surface which specs are running
87
+ # particularly slow.
88
+ config.profile_examples = 10
89
+
90
+ # Run specs in random order to surface order dependencies. If you find an
91
+ # order dependency and want to debug it, you can fix the order by providing
92
+ # the seed, which is printed after each run.
93
+ # --seed 1234
94
+ config.order = :random
95
+
96
+ # Seed global randomization in this process using the `--seed` CLI option.
97
+ # Setting this allows you to use `--seed` to deterministically reproduce
98
+ # test failures related to randomization by passing the same `--seed` value
99
+ # as the one that triggered the failure.
100
+ Kernel.srand config.seed
101
+ =end
102
+ 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
@@ -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.
@@ -0,0 +1,70 @@
1
+ # About
2
+ JSON Schema for RSMP messages. The schema can be used to automatically validate RSMP messages.
3
+
4
+ The schema so far covers the core specifiation and the SXL for Trafic Light Controllers:
5
+ https://github.com/rsmp-nordic/rsmp_core
6
+ https://github.com/rsmp-nordic/rsmp_sxl_traffic_lights
7
+
8
+ More about JSON Schema:
9
+ https://json-schema.org/
10
+
11
+ ## Schema organisation
12
+ The schema is split into multiple files to enable reuse.
13
+
14
+ An SXL defines massages specific to a particular type of equipment, but they all rely on the core part of the RSMP specification.
15
+
16
+ To validate a message against a particular SXL, use the sxl.json file in the relevant folder.
17
+ For example, to validate against the SXL for Trafic Light Controllers (TLCs), include 'tcl/sxl.json'
18
+
19
+ This main sxl.json file includes the core.json part, which contains validations for the RSMP core elements.
20
+ Depending on the message type, commands.json, alarms.json, etc. will be included. That file in turn looks at the command/status/alarm code and includes the file describing the detailed parameters, arguments, etc.
21
+
22
+ For example, validating a CommandRequest M0001 message will include these parts:
23
+
24
+ ```
25
+ sxl.json
26
+ core.json
27
+ commands.json
28
+ M0001.json
29
+ ```
30
+
31
+ ## Example usage
32
+ To validate a JSON message with Ruby using the json_schemer gem:
33
+
34
+ ```ruby
35
+ require 'json_schemer'
36
+
37
+ message = {
38
+ "mType" => "rSMsg",
39
+ "mId" => "4173c2c8-a933-43cb-9425-66d4613731ed",
40
+ "type" => "CommandRequest",
41
+ "siteId" => [
42
+ { "sId" => "RN+SI0001" }
43
+ ],
44
+ "cId" => "O+14439=481WA001",
45
+ "arg" => [
46
+ {
47
+ "cCI" => "M0001",
48
+ "n" => "status",
49
+ "cO" => "setValue",
50
+ "v" => "YellowFlash"
51
+ }
52
+ ]
53
+ }
54
+
55
+ # try validating a message against our schema
56
+ schema = Pathname.new('tlc/sxl.json')
57
+ schemer = JSONSchemer.schema(schema)
58
+ puts schemer.valid? message # => true
59
+ ```
60
+
61
+ ## RSpec tests
62
+ The reposity includes RSpec test that checks the schema, by testing the result of validating a set of valid and invalid RSMP messages using the json_schemer gem.
63
+
64
+ This is useful when developing the schema, to ensure it validates correctly.
65
+
66
+
67
+ ```
68
+ $ bundle # install gems
69
+ $ bundle exec rspec # run rspec tests
70
+ ```
@@ -0,0 +1,35 @@
1
+ require 'json_schemer'
2
+
3
+ message = {
4
+ "mType" => "rSMsg",
5
+ "mId" => "4173c2c8-a933-43cb-9425-66d4613731ed",
6
+ "type" => "CommandRequest",
7
+ "siteId" => [
8
+ { "sId" => "RN+SI0001" }
9
+ ],
10
+ "cId" => "O+14439=481WA001",
11
+ "arg" => [
12
+ {
13
+ "n" => "timeplan",
14
+ "cO" => "setPlan",
15
+ "v" => "1"
16
+ }
17
+ ]
18
+ }
19
+
20
+ # try validating a message against our schema
21
+ schema_core = Pathname.new('schema/core/rsmp.json')
22
+ schemer_core = JSONSchemer.schema(schema_core)
23
+
24
+ def validate message, schemer
25
+ if schemer.valid? message
26
+ 'ok'
27
+ else
28
+ schemer.validate(message).map do |item|
29
+ [item['data_pointer'],item['type'],item['details']].compact.join(' ')
30
+ end
31
+ end
32
+ end
33
+
34
+ puts "core: #{validate message, schemer_core}"
35
+