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,71 @@
1
+ {
2
+ "description" : "A schema validatating message against the RSMP SXL for Traffic Light Controllers",
3
+ "allOf" : [
4
+ {
5
+ "if" : {
6
+ "required" : [
7
+ "type"
8
+ ],
9
+ "properties" : {
10
+ "type" : {
11
+ "const" : "CommandRequest"
12
+ }
13
+ }
14
+ },
15
+ "then" : {
16
+ "$ref" : "commands/command_requests.json"
17
+ }
18
+ },
19
+ {
20
+ "if" : {
21
+ "required" : [
22
+ "type"
23
+ ],
24
+ "properties" : {
25
+ "type" : {
26
+ "const" : "CommandResponse"
27
+ }
28
+ }
29
+ },
30
+ "then" : {
31
+ "$ref" : "commands/command_responses.json"
32
+ }
33
+ },
34
+ {
35
+ "if" : {
36
+ "required" : [
37
+ "type"
38
+ ],
39
+ "properties" : {
40
+ "type" : {
41
+ "enum" : [
42
+ "StatusRequest",
43
+ "StatusResponse",
44
+ "StatusSubscribe",
45
+ "StatusUnsubscribe",
46
+ "StatusUpdate"
47
+ ]
48
+ }
49
+ }
50
+ },
51
+ "then" : {
52
+ "$ref" : "statuses/statuses.json"
53
+ }
54
+ },
55
+ {
56
+ "if" : {
57
+ "required" : [
58
+ "type"
59
+ ],
60
+ "properties" : {
61
+ "type" : {
62
+ "const" : "Alarm"
63
+ }
64
+ }
65
+ },
66
+ "then" : {
67
+ "$ref" : "alarms/alarms.json"
68
+ }
69
+ }
70
+ ]
71
+ }
@@ -0,0 +1,21 @@
1
+ require 'json_schemer'
2
+ require 'pp'
3
+
4
+ schema = Pathname.new('schema/tlc/sxl.json')
5
+ $schemer = JSONSchemer.schema(schema)
6
+
7
+ def validate json
8
+ if $schemer.valid? json
9
+ nil
10
+ else
11
+ errors = []
12
+ begin
13
+ $schemer.validate(json).each do |item|
14
+ errors ||= []
15
+ errors << [item['data_pointer'],item['type'],item['details']].compact
16
+ end
17
+ rescue
18
+ end
19
+ errors
20
+ end
21
+ 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,67 @@
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" => "CommandRequest",
6
+ "siteId" => [
7
+ { "sId" => "RN+SI0001" }
8
+ ],
9
+ "cId" => "O+14439=481WA001",
10
+ "arg" => [
11
+ {
12
+ "cCI" => "M0001",
13
+ "n" => "status",
14
+ "cO" => "setValue",
15
+ "v" => "YellowFlash"
16
+ }
17
+ ]
18
+ }}
19
+
20
+ it 'accepts valid command' do
21
+ expect( validate(message) ).to be_nil
22
+ end
23
+
24
+ it 'catches bad value' do
25
+ invalid = message.dup
26
+ invalid["arg"].first['v'] = 'bad'
27
+ expect( validate(invalid) ).to eq([
28
+ ["/arg/0/v", "enum"]
29
+ ])
30
+ end
31
+
32
+ it 'catches bad name' do
33
+ invalid = message.dup
34
+ invalid["arg"].first['n'] = 'bad'
35
+ expect( validate(invalid) ).to eq([
36
+ ["/arg/0/n", "enum"]
37
+ ])
38
+ end
39
+
40
+ it 'catches bad status values' do
41
+ invalid = message.dup
42
+ invalid["arg"].first['n'] = 'status'
43
+ invalid["arg"].first['v'] = 'bad'
44
+ expect( validate(invalid) ).to eq([
45
+ ["/arg/0/v", "enum"]
46
+ ])
47
+ end
48
+
49
+ it 'catches bad timeout values' do
50
+ invalid = message.dup
51
+ invalid["arg"].first['n'] = 'timeout'
52
+ invalid["arg"].first['v'] = 'bad'
53
+ expect( validate(invalid) ).to eq([
54
+ ["/arg/0/v", "pattern"]
55
+ ])
56
+ end
57
+
58
+ it 'catches bad intersection values' do
59
+ invalid = message.dup
60
+ invalid["arg"].first['n'] = 'intersection'
61
+ invalid["arg"].first['v'] = 'bad'
62
+ expect( validate(invalid) ).to eq([
63
+ ["/arg/0/v", "pattern"]
64
+ ])
65
+ end
66
+
67
+ end
@@ -0,0 +1,159 @@
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" => "StatusResponse",
6
+ "cId" => "O+14439=481WA001",
7
+ "sTs" => "2015-06-08T09:15:18.266Z",
8
+ "sS" => [
9
+ { "sCI" => "S0007", "n" => "intersection", "s" => "1,2,3", "q" => "recent" },
10
+ { "sCI" => "S0007", "n" => "status", "s" => "True,False,True", "q" => "recent" }
11
+ ]
12
+ }}
13
+
14
+ it 'accepts valid status request with a single intersection' do
15
+ message["sS"] = [
16
+ { "sCI" => "S0007", "n" => "intersection", "s" => "0", "q" => "recent" },
17
+ { "sCI" => "S0007", "n" => "status", "s" => "True", "q" => "recent" }
18
+ ]
19
+ expect( validate(message) ).to be_nil
20
+
21
+ message["sS"] = [
22
+ { "sCI" => "S0007", "n" => "intersection", "s" => "0", "q" => "recent" },
23
+ { "sCI" => "S0007", "n" => "status", "s" => "False", "q" => "recent" }
24
+ ]
25
+ expect( validate(message) ).to be_nil
26
+ end
27
+
28
+ it 'accepts valid status request with two intersections' do
29
+ message["sS"] = [
30
+ { "sCI" => "S0007", "n" => "intersection", "s" => "1,2", "q" => "recent" },
31
+ { "sCI" => "S0007", "n" => "status", "s" => "True,True", "q" => "recent" }
32
+ ]
33
+ expect( validate(message) ).to be_nil
34
+
35
+ message["sS"] = [
36
+ { "sCI" => "S0007", "n" => "intersection", "s" => "1,2", "q" => "recent" },
37
+ { "sCI" => "S0007", "n" => "status", "s" => "True,False", "q" => "recent" }
38
+ ]
39
+ expect( validate(message) ).to be_nil
40
+
41
+ message["sS"] = [
42
+ { "sCI" => "S0007", "n" => "intersection", "s" => "1,2", "q" => "recent" },
43
+ { "sCI" => "S0007", "n" => "status", "s" => "False,True", "q" => "recent" }
44
+ ]
45
+ expect( validate(message) ).to be_nil
46
+
47
+ message["sS"] = [
48
+ { "sCI" => "S0007", "n" => "intersection", "s" => "1,2", "q" => "recent" },
49
+ { "sCI" => "S0007", "n" => "status", "s" => "False,True", "q" => "recent" }
50
+ ]
51
+ expect( validate(message) ).to be_nil
52
+ end
53
+
54
+ it 'catches bad intersections list' do
55
+ invalid = message.dup
56
+ invalid["sS"] = [
57
+ { "sCI" => "S0007", "n" => "intersection", "s" => "1,2,", "q" => "recent" },
58
+ ]
59
+ expect( validate(invalid) ).to eq([
60
+ ["/sS/0/s", "pattern"]
61
+ ])
62
+
63
+ invalid["sS"] = [
64
+ { "sCI" => "S0007", "n" => "intersection", "s" => ",1,2", "q" => "recent" },
65
+ ]
66
+ expect( validate(invalid) ).to eq([
67
+ ["/sS/0/s", "pattern"]
68
+ ])
69
+
70
+ invalid["sS"] = [
71
+ { "sCI" => "S0007", "n" => "intersection", "s" => ",", "q" => "recent" },
72
+ ]
73
+ expect( validate(invalid) ).to eq([
74
+ ["/sS/0/s", "pattern"]
75
+ ])
76
+
77
+ invalid["sS"] = [
78
+ { "sCI" => "S0007", "n" => "intersection", "s" => "1,,2", "q" => "recent" },
79
+ ]
80
+ expect( validate(invalid) ).to eq([
81
+ ["/sS/0/s", "pattern"]
82
+ ])
83
+
84
+ invalid["sS"] = [
85
+ { "sCI" => "S0007", "n" => "intersection", "s" => "1,a", "q" => "recent" },
86
+ ]
87
+ expect( validate(invalid) ).to eq([
88
+ ["/sS/0/s", "pattern"]
89
+ ])
90
+ end
91
+
92
+ it 'catches bad intersections list' do
93
+ invalid = message.dup
94
+ invalid["sS"] = [
95
+ { "sCI" => "S0007", "n" => "status", "s" => "True,False,", "q" => "recent" },
96
+ ]
97
+ expect( validate(invalid) ).to eq([
98
+ ["/sS/0/s", "pattern"]
99
+ ])
100
+
101
+ invalid["sS"] = [
102
+ { "sCI" => "S0007", "n" => "status", "s" => ",True,False", "q" => "recent" },
103
+ ]
104
+ expect( validate(invalid) ).to eq([
105
+ ["/sS/0/s", "pattern"]
106
+ ])
107
+
108
+ invalid["sS"] = [
109
+ { "sCI" => "S0007", "n" => "status", "s" => ",", "q" => "recent" },
110
+ ]
111
+ expect( validate(invalid) ).to eq([
112
+ ["/sS/0/s", "pattern"]
113
+ ])
114
+
115
+ invalid["sS"] = [
116
+ { "sCI" => "S0007", "n" => "status", "s" => "True,,False", "q" => "recent" },
117
+ ]
118
+ expect( validate(invalid) ).to eq([
119
+ ["/sS/0/s", "pattern"]
120
+ ])
121
+
122
+ invalid["sS"] = [
123
+ { "sCI" => "S0007", "n" => "status", "s" => "True,1", "q" => "recent" },
124
+ ]
125
+ expect( validate(invalid) ).to eq([
126
+ ["/sS/0/s", "pattern"]
127
+ ])
128
+ end
129
+
130
+ it 'catches bad status code' do
131
+ invalid = message.dup
132
+ invalid['sS'].first['sCI'] = '99'
133
+ expect( validate(invalid) ).to eq([
134
+ ["/sS/0/sCI", "enum"]
135
+ ])
136
+ end
137
+
138
+ it 'catches bad status code' do
139
+ invalid = message.dup
140
+ invalid['sS'].first['sCI'] = 3
141
+ expect( validate(invalid) ).to eq([
142
+ ["/sS/0/sCI", "enum"]
143
+ ])
144
+
145
+ invalid['sS'].first['sCI'] = '3'
146
+ expect( validate(invalid) ).to eq([
147
+ ["/sS/0/sCI", "enum"]
148
+ ])
149
+ end
150
+
151
+ it 'catches bad name' do
152
+ invalid = message.dup
153
+ invalid['sS'].first['n'] = 3
154
+ expect( validate(invalid) ).to eq([
155
+ ["/sS/0/n", "enum"]
156
+ ])
157
+ end
158
+
159
+ end
@@ -0,0 +1 @@
1
+ .DS_Store
@@ -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