rsmp_schemer 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.gitmodules +44 -0
- data/.rspec +1 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +46 -0
- data/LICENSE +7 -0
- data/README.md +54 -0
- data/Rakefile +20 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/rsmp_schemer.rb +5 -0
- data/lib/rsmp_schemer/error.rb +16 -0
- data/lib/rsmp_schemer/schemer.rb +90 -0
- data/lib/rsmp_schemer/version.rb +7 -0
- data/rsmp_schemer.gemspec +47 -0
- data/schemas/core_3.1.2/.rspec +1 -0
- data/schemas/core_3.1.2/Gemfile +5 -0
- data/schemas/core_3.1.2/Gemfile.lock +37 -0
- data/schemas/core_3.1.2/LICENSE +7 -0
- data/schemas/core_3.1.2/README.md +70 -0
- data/schemas/core_3.1.2/examples/validate.rb +35 -0
- data/schemas/core_3.1.2/schema/core/aggregated_status.json +25 -0
- data/schemas/core_3.1.2/schema/core/alarm.json +55 -0
- data/schemas/core_3.1.2/schema/core/command_request.json +24 -0
- data/schemas/core_3.1.2/schema/core/command_response.json +34 -0
- data/schemas/core_3.1.2/schema/core/core.json +35 -0
- data/schemas/core_3.1.2/schema/core/definitions.json +63 -0
- data/schemas/core_3.1.2/schema/core/message_ack.json +11 -0
- data/schemas/core_3.1.2/schema/core/message_not_ack.json +15 -0
- data/schemas/core_3.1.2/schema/core/rsmp.json +124 -0
- data/schemas/core_3.1.2/schema/core/status.json +21 -0
- data/schemas/core_3.1.2/schema/core/status_request.json +5 -0
- data/schemas/core_3.1.2/schema/core/status_response.json +30 -0
- data/schemas/core_3.1.2/schema/core/status_subscribe.json +27 -0
- data/schemas/core_3.1.2/schema/core/status_unsubscribe.json +5 -0
- data/schemas/core_3.1.2/schema/core/status_update.json +30 -0
- data/schemas/core_3.1.2/schema/core/version.json +47 -0
- data/schemas/core_3.1.2/schema/core/watchdog.json +9 -0
- data/schemas/core_3.1.2/spec/core/aggregated_status_spec.rb +80 -0
- data/schemas/core_3.1.2/spec/core/alarm_spec.rb +298 -0
- data/schemas/core_3.1.2/spec/core/command_request_spec.rb +106 -0
- data/schemas/core_3.1.2/spec/core/command_response_spec.rb +102 -0
- data/schemas/core_3.1.2/spec/core/core_spec.rb +72 -0
- data/schemas/core_3.1.2/spec/core/message_ack.rb +28 -0
- data/schemas/core_3.1.2/spec/core/message_not_ack_spec.rb +55 -0
- data/schemas/core_3.1.2/spec/core/status_request_spec.rb +93 -0
- data/schemas/core_3.1.2/spec/core/status_response_spec.rb +126 -0
- data/schemas/core_3.1.2/spec/core/status_subscribe_spec.rb +122 -0
- data/schemas/core_3.1.2/spec/core/status_unsubscribe_spec.rb +101 -0
- data/schemas/core_3.1.2/spec/core/status_update_spec.rb +117 -0
- data/schemas/core_3.1.2/spec/core/version_spec.rb +149 -0
- data/schemas/core_3.1.2/spec/core/watchdog_spec.rb +37 -0
- data/schemas/core_3.1.2/spec/schemer_helper.rb +23 -0
- data/schemas/core_3.1.2/spec/spec_helper.rb +102 -0
- data/schemas/core_3.1.3/.rspec +1 -0
- data/schemas/core_3.1.3/Gemfile +5 -0
- data/schemas/core_3.1.3/Gemfile.lock +37 -0
- data/schemas/core_3.1.3/LICENSE +7 -0
- data/schemas/core_3.1.3/README.md +70 -0
- data/schemas/core_3.1.3/examples/validate.rb +32 -0
- data/schemas/core_3.1.3/schema/core/aggregated_status.json +25 -0
- data/schemas/core_3.1.3/schema/core/aggregated_status_request.json +9 -0
- data/schemas/core_3.1.3/schema/core/alarm.json +55 -0
- data/schemas/core_3.1.3/schema/core/command_request.json +24 -0
- data/schemas/core_3.1.3/schema/core/command_response.json +34 -0
- data/schemas/core_3.1.3/schema/core/core.json +36 -0
- data/schemas/core_3.1.3/schema/core/definitions.json +63 -0
- data/schemas/core_3.1.3/schema/core/message_ack.json +11 -0
- data/schemas/core_3.1.3/schema/core/message_not_ack.json +15 -0
- data/schemas/core_3.1.3/schema/core/rsmp.json +133 -0
- data/schemas/core_3.1.3/schema/core/status.json +21 -0
- data/schemas/core_3.1.3/schema/core/status_request.json +5 -0
- data/schemas/core_3.1.3/schema/core/status_response.json +30 -0
- data/schemas/core_3.1.3/schema/core/status_subscribe.json +27 -0
- data/schemas/core_3.1.3/schema/core/status_unsubscribe.json +5 -0
- data/schemas/core_3.1.3/schema/core/status_update.json +30 -0
- data/schemas/core_3.1.3/schema/core/version.json +47 -0
- data/schemas/core_3.1.3/schema/core/watchdog.json +9 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0001.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0002.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0003.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0004.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0005.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0006.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0007.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0008.json +19 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0009.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0101.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0201.json +20 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0202.json +20 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0301.json +49 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/A0302.json +59 -0
- data/schemas/core_3.1.3/schema/tlc/alarms/alarms.json +68 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0001.json +48 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0002.json +39 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0003.json +39 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0004.json +30 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0005.json +39 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0006.json +39 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0007.json +30 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0008.json +40 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0010.json +30 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0011.json +30 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0012.json +29 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0013.json +1 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0014.json +38 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0015.json +38 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0016.json +29 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0017.json +29 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0018.json +38 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0019.json +49 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0020.json +49 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0021.json +1 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0103.json +39 -0
- data/schemas/core_3.1.3/schema/tlc/commands/M0104.json +1 -0
- data/schemas/core_3.1.3/schema/tlc/commands/command_requests.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/commands/command_responses.json +7 -0
- data/schemas/core_3.1.3/schema/tlc/commands/commands.json +97 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0001.json +45 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0002.json +17 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0003.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0004.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0005.json +18 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0006.json +27 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0007.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0008.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0009.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0010.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0011.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0012.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0013.json +27 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0014.json +17 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0015.json +17 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0016.json +17 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0017.json +17 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0018.json +17 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0019.json +17 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0020.json +27 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0021.json +18 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0022.json +17 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0023.json +18 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0024.json +18 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0025.json +80 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0026.json +18 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0027.json +18 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0028.json +18 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0029.json +17 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0030.json +1 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0031.json +1 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0091.json +27 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0092.json +27 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0095.json +17 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0096.json +68 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0097.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0201.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0202.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0203.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0204.json +98 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0205.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0206.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0207.json +26 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/S0208.json +98 -0
- data/schemas/core_3.1.3/schema/tlc/statuses/statuses.json +181 -0
- data/schemas/core_3.1.3/schema/tlc/sxl.json +24 -0
- data/schemas/core_3.1.3/spec/core/aggregated_status_spec.rb +80 -0
- data/schemas/core_3.1.3/spec/core/alarm_spec.rb +300 -0
- data/schemas/core_3.1.3/spec/core/command_request_spec.rb +109 -0
- data/schemas/core_3.1.3/spec/core/command_response_spec.rb +144 -0
- data/schemas/core_3.1.3/spec/core/core_spec.rb +72 -0
- data/schemas/core_3.1.3/spec/core/message_ack.rb +28 -0
- data/schemas/core_3.1.3/spec/core/message_not_ack_spec.rb +55 -0
- data/schemas/core_3.1.3/spec/core/status_request_spec.rb +97 -0
- data/schemas/core_3.1.3/spec/core/status_response_spec.rb +121 -0
- data/schemas/core_3.1.3/spec/core/status_subscribe_spec.rb +126 -0
- data/schemas/core_3.1.3/spec/core/status_unsubscribe_spec.rb +105 -0
- data/schemas/core_3.1.3/spec/core/status_update_spec.rb +121 -0
- data/schemas/core_3.1.3/spec/core/version_spec.rb +149 -0
- data/schemas/core_3.1.3/spec/core/watchdog_spec.rb +37 -0
- data/schemas/core_3.1.3/spec/schemer_helper.rb +21 -0
- data/schemas/core_3.1.3/spec/spec_helper.rb +102 -0
- data/schemas/core_3.1.3/spec/tlc/M0001_spec.rb +67 -0
- data/schemas/core_3.1.3/spec/tlc/S0007_spec.rb +233 -0
- data/schemas/core_3.1.4/.rspec +1 -0
- data/schemas/core_3.1.4/Gemfile +5 -0
- data/schemas/core_3.1.4/Gemfile.lock +37 -0
- data/schemas/core_3.1.4/LICENSE +7 -0
- data/schemas/core_3.1.4/README.md +70 -0
- data/schemas/core_3.1.4/examples/validate.rb +35 -0
- data/schemas/core_3.1.4/schema/core/aggregated_status.json +25 -0
- data/schemas/core_3.1.4/schema/core/alarm.json +55 -0
- data/schemas/core_3.1.4/schema/core/command_request.json +24 -0
- data/schemas/core_3.1.4/schema/core/command_response.json +34 -0
- data/schemas/core_3.1.4/schema/core/core.json +35 -0
- data/schemas/core_3.1.4/schema/core/definitions.json +63 -0
- data/schemas/core_3.1.4/schema/core/message_ack.json +11 -0
- data/schemas/core_3.1.4/schema/core/message_not_ack.json +15 -0
- data/schemas/core_3.1.4/schema/core/rsmp.json +124 -0
- data/schemas/core_3.1.4/schema/core/status.json +21 -0
- data/schemas/core_3.1.4/schema/core/status_request.json +5 -0
- data/schemas/core_3.1.4/schema/core/status_response.json +30 -0
- data/schemas/core_3.1.4/schema/core/status_subscribe.json +27 -0
- data/schemas/core_3.1.4/schema/core/status_unsubscribe.json +5 -0
- data/schemas/core_3.1.4/schema/core/status_update.json +30 -0
- data/schemas/core_3.1.4/schema/core/version.json +47 -0
- data/schemas/core_3.1.4/schema/core/watchdog.json +9 -0
- data/schemas/core_3.1.4/spec/core/aggregated_status_spec.rb +80 -0
- data/schemas/core_3.1.4/spec/core/alarm_request_spec.rb +72 -0
- data/schemas/core_3.1.4/spec/core/alarm_spec.rb +298 -0
- data/schemas/core_3.1.4/spec/core/command_request_spec.rb +106 -0
- data/schemas/core_3.1.4/spec/core/command_response_spec.rb +102 -0
- data/schemas/core_3.1.4/spec/core/core_spec.rb +72 -0
- data/schemas/core_3.1.4/spec/core/message_ack.rb +28 -0
- data/schemas/core_3.1.4/spec/core/message_not_ack_spec.rb +55 -0
- data/schemas/core_3.1.4/spec/core/status_request_spec.rb +93 -0
- data/schemas/core_3.1.4/spec/core/status_response_spec.rb +126 -0
- data/schemas/core_3.1.4/spec/core/status_subscribe_spec.rb +122 -0
- data/schemas/core_3.1.4/spec/core/status_unsubscribe_spec.rb +101 -0
- data/schemas/core_3.1.4/spec/core/status_update_spec.rb +117 -0
- data/schemas/core_3.1.4/spec/core/version_spec.rb +149 -0
- data/schemas/core_3.1.4/spec/core/watchdog_spec.rb +37 -0
- data/schemas/core_3.1.4/spec/schemer_helper.rb +23 -0
- data/schemas/core_3.1.4/spec/spec_helper.rb +102 -0
- data/schemas/core_3.1.5/.rspec +1 -0
- data/schemas/core_3.1.5/Gemfile +5 -0
- data/schemas/core_3.1.5/Gemfile.lock +37 -0
- data/schemas/core_3.1.5/LICENSE +7 -0
- data/schemas/core_3.1.5/README.md +70 -0
- data/schemas/core_3.1.5/examples/validate.rb +35 -0
- data/schemas/core_3.1.5/schema/core/aggregated_status.json +25 -0
- data/schemas/core_3.1.5/schema/core/aggregated_status_request.json +9 -0
- data/schemas/core_3.1.5/schema/core/alarm.json +55 -0
- data/schemas/core_3.1.5/schema/core/command_request.json +24 -0
- data/schemas/core_3.1.5/schema/core/command_response.json +34 -0
- data/schemas/core_3.1.5/schema/core/core.json +36 -0
- data/schemas/core_3.1.5/schema/core/definitions.json +63 -0
- data/schemas/core_3.1.5/schema/core/message_ack.json +11 -0
- data/schemas/core_3.1.5/schema/core/message_not_ack.json +15 -0
- data/schemas/core_3.1.5/schema/core/rsmp.json +133 -0
- data/schemas/core_3.1.5/schema/core/status.json +21 -0
- data/schemas/core_3.1.5/schema/core/status_request.json +5 -0
- data/schemas/core_3.1.5/schema/core/status_response.json +30 -0
- data/schemas/core_3.1.5/schema/core/status_subscribe.json +27 -0
- data/schemas/core_3.1.5/schema/core/status_unsubscribe.json +5 -0
- data/schemas/core_3.1.5/schema/core/status_update.json +30 -0
- data/schemas/core_3.1.5/schema/core/version.json +47 -0
- data/schemas/core_3.1.5/schema/core/watchdog.json +9 -0
- data/schemas/core_3.1.5/spec/core/aggregated_status_spec.rb +80 -0
- data/schemas/core_3.1.5/spec/core/alarm_request_spec.rb +72 -0
- data/schemas/core_3.1.5/spec/core/alarm_spec.rb +298 -0
- data/schemas/core_3.1.5/spec/core/command_request_spec.rb +106 -0
- data/schemas/core_3.1.5/spec/core/command_response_spec.rb +102 -0
- data/schemas/core_3.1.5/spec/core/core_spec.rb +72 -0
- data/schemas/core_3.1.5/spec/core/message_ack.rb +28 -0
- data/schemas/core_3.1.5/spec/core/message_not_ack_spec.rb +55 -0
- data/schemas/core_3.1.5/spec/core/status_request_spec.rb +93 -0
- data/schemas/core_3.1.5/spec/core/status_response_spec.rb +126 -0
- data/schemas/core_3.1.5/spec/core/status_subscribe_spec.rb +122 -0
- data/schemas/core_3.1.5/spec/core/status_unsubscribe_spec.rb +101 -0
- data/schemas/core_3.1.5/spec/core/status_update_spec.rb +117 -0
- data/schemas/core_3.1.5/spec/core/version_spec.rb +149 -0
- data/schemas/core_3.1.5/spec/core/watchdog_spec.rb +37 -0
- data/schemas/core_3.1.5/spec/schemer_helper.rb +23 -0
- data/schemas/core_3.1.5/spec/spec_helper.rb +102 -0
- data/schemas/tlc_1.0.10/.gitignore +1 -0
- data/schemas/tlc_1.0.10/.rspec +1 -0
- data/schemas/tlc_1.0.10/Gemfile +5 -0
- data/schemas/tlc_1.0.10/Gemfile.lock +37 -0
- data/schemas/tlc_1.0.10/LICENSE +7 -0
- data/schemas/tlc_1.0.10/README.md +70 -0
- data/schemas/tlc_1.0.10/schema/core/definitions.json +63 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0001.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0002.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0003.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0004.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0005.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0006.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0007.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0008.json +34 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0009.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0101.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0201.json +39 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0202.json +39 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0301.json +105 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0302.json +131 -0
- data/schemas/tlc_1.0.10/schema/tlc/alarms/alarms.json +254 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0001.json +105 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0002.json +79 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0003.json +79 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0004.json +58 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0005.json +79 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0006.json +79 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0007.json +58 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0008.json +79 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0010.json +58 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0011.json +58 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0012.json +58 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0013.json +58 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0103.json +82 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0104.json +163 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/command_requests.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/command_responses.json +7 -0
- data/schemas/tlc_1.0.10/schema/tlc/commands/commands.json +366 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0001.json +98 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0002.json +34 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0003.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0004.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0005.json +34 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0006.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0007.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0008.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0009.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0010.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0011.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0012.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0013.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0014.json +34 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0015.json +34 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0016.json +34 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0017.json +34 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0018.json +34 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0019.json +34 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0020.json +61 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0021.json +35 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0091.json +61 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0092.json +61 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0095.json +34 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0096.json +139 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0201.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0202.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0203.json +55 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0204.json +223 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/statuses.json +738 -0
- data/schemas/tlc_1.0.10/schema/tlc/sxl.json +71 -0
- data/schemas/tlc_1.0.10/spec/schemer_helper.rb +21 -0
- data/schemas/tlc_1.0.10/spec/spec_helper.rb +102 -0
- data/schemas/tlc_1.0.10/spec/tlc/M0001_spec.rb +67 -0
- data/schemas/tlc_1.0.10/spec/tlc/S0007_spec.rb +159 -0
- data/schemas/tlc_1.0.13/.gitignore +1 -0
- data/schemas/tlc_1.0.13/.rspec +1 -0
- data/schemas/tlc_1.0.13/Gemfile +5 -0
- data/schemas/tlc_1.0.13/Gemfile.lock +37 -0
- data/schemas/tlc_1.0.13/LICENSE +7 -0
- data/schemas/tlc_1.0.13/README.md +70 -0
- data/schemas/tlc_1.0.13/schema/core/definitions.json +63 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0001.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0002.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0003.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0004.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0005.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0006.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0007.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0008.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0009.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0101.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0201.json +39 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0202.json +39 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0301.json +105 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0302.json +131 -0
- data/schemas/tlc_1.0.13/schema/tlc/alarms/alarms.json +254 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0001.json +105 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0002.json +79 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0003.json +79 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0004.json +58 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0005.json +79 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0006.json +79 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0007.json +58 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0008.json +79 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0010.json +58 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0011.json +58 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0012.json +58 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0013.json +58 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0014.json +79 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0015.json +79 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0016.json +58 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0017.json +58 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0018.json +79 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0019.json +100 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0103.json +82 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0104.json +163 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/command_requests.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/command_responses.json +7 -0
- data/schemas/tlc_1.0.13/schema/tlc/commands/commands.json +366 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0001.json +98 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0002.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0003.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0004.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0005.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0006.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0007.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0008.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0009.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0010.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0011.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0012.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0013.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0014.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0015.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0016.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0017.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0018.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0019.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0020.json +61 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0021.json +35 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0022.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0023.json +35 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0024.json +35 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0025.json +181 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0026.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0027.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0028.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0029.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0091.json +61 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0092.json +61 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0095.json +34 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0096.json +139 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0201.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0202.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0203.json +55 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0204.json +223 -0
- data/schemas/tlc_1.0.13/schema/tlc/statuses/statuses.json +738 -0
- data/schemas/tlc_1.0.13/schema/tlc/sxl.json +71 -0
- data/schemas/tlc_1.0.13/spec/schemer_helper.rb +21 -0
- data/schemas/tlc_1.0.13/spec/spec_helper.rb +102 -0
- data/schemas/tlc_1.0.13/spec/tlc/M0001_spec.rb +67 -0
- data/schemas/tlc_1.0.13/spec/tlc/S0007_spec.rb +159 -0
- data/schemas/tlc_1.0.14/.gitignore +1 -0
- data/schemas/tlc_1.0.14/.rspec +1 -0
- data/schemas/tlc_1.0.14/Gemfile +5 -0
- data/schemas/tlc_1.0.14/Gemfile.lock +37 -0
- data/schemas/tlc_1.0.14/LICENSE +7 -0
- data/schemas/tlc_1.0.14/README.md +70 -0
- data/schemas/tlc_1.0.14/schema/core/definitions.json +63 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0001.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0002.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0003.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0004.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0005.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0006.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0007.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0008.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0009.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0101.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0201.json +39 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0202.json +39 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0301.json +105 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0302.json +131 -0
- data/schemas/tlc_1.0.14/schema/tlc/alarms/alarms.json +254 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0001.json +105 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0002.json +79 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0003.json +79 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0004.json +58 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0005.json +79 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0006.json +79 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0007.json +58 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0008.json +79 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0010.json +58 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0011.json +58 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0012.json +58 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0013.json +58 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0014.json +79 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0015.json +79 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0016.json +58 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0017.json +58 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0018.json +79 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0019.json +100 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0103.json +82 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0104.json +163 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/command_requests.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/command_responses.json +7 -0
- data/schemas/tlc_1.0.14/schema/tlc/commands/commands.json +366 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0001.json +98 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0002.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0003.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0004.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0005.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0006.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0007.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0008.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0009.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0010.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0011.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0012.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0013.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0014.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0015.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0016.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0017.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0018.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0019.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0020.json +61 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0021.json +35 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0022.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0023.json +35 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0024.json +35 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0025.json +181 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0026.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0027.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0028.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0029.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0091.json +61 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0092.json +61 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0095.json +34 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0096.json +139 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0201.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0202.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0203.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0204.json +223 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0205.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0206.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0207.json +55 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0208.json +223 -0
- data/schemas/tlc_1.0.14/schema/tlc/statuses/statuses.json +738 -0
- data/schemas/tlc_1.0.14/schema/tlc/sxl.json +71 -0
- data/schemas/tlc_1.0.14/spec/schemer_helper.rb +21 -0
- data/schemas/tlc_1.0.14/spec/spec_helper.rb +102 -0
- data/schemas/tlc_1.0.14/spec/tlc/M0001_spec.rb +67 -0
- data/schemas/tlc_1.0.14/spec/tlc/S0007_spec.rb +159 -0
- data/schemas/tlc_1.0.15/.gitignore +1 -0
- data/schemas/tlc_1.0.15/.rspec +1 -0
- data/schemas/tlc_1.0.15/Gemfile +5 -0
- data/schemas/tlc_1.0.15/Gemfile.lock +37 -0
- data/schemas/tlc_1.0.15/LICENSE +7 -0
- data/schemas/tlc_1.0.15/README.md +70 -0
- data/schemas/tlc_1.0.15/schema/core/definitions.json +63 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0001.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0002.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0003.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0004.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0005.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0006.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0007.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0008.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0009.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0010.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0101.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0201.json +39 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0202.json +39 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0301.json +105 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0302.json +131 -0
- data/schemas/tlc_1.0.15/schema/tlc/alarms/alarms.json +254 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0001.json +105 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0002.json +79 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0003.json +79 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0004.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0005.json +79 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0006.json +79 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0007.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0008.json +79 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0010.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0011.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0012.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0013.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0014.json +79 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0015.json +79 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0016.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0017.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0018.json +79 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0019.json +100 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0020.json +100 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0021.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0103.json +82 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0104.json +163 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/command_requests.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/command_responses.json +7 -0
- data/schemas/tlc_1.0.15/schema/tlc/commands/commands.json +366 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0001.json +98 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0002.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0003.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0004.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0005.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0006.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0007.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0008.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0009.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0010.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0011.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0012.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0013.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0014.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0015.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0016.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0017.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0018.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0019.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0020.json +61 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0021.json +35 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0022.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0023.json +35 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0024.json +35 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0025.json +181 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0026.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0027.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0028.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0029.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0030.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0031.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0091.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0092.json +58 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0095.json +34 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0096.json +139 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0097.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0098.json +76 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0201.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0202.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0203.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0204.json +223 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0205.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0206.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0207.json +55 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0208.json +223 -0
- data/schemas/tlc_1.0.15/schema/tlc/statuses/statuses.json +738 -0
- data/schemas/tlc_1.0.15/schema/tlc/sxl.json +71 -0
- data/schemas/tlc_1.0.15/spec/schemer_helper.rb +21 -0
- data/schemas/tlc_1.0.15/spec/spec_helper.rb +102 -0
- data/schemas/tlc_1.0.15/spec/tlc/M0001_spec.rb +67 -0
- data/schemas/tlc_1.0.15/spec/tlc/S0007_spec.rb +159 -0
- data/schemas/tlc_1.0.7/.gitignore +1 -0
- data/schemas/tlc_1.0.7/.rspec +1 -0
- data/schemas/tlc_1.0.7/Gemfile +5 -0
- data/schemas/tlc_1.0.7/Gemfile.lock +37 -0
- data/schemas/tlc_1.0.7/LICENSE +7 -0
- data/schemas/tlc_1.0.7/README.md +70 -0
- data/schemas/tlc_1.0.7/schema/core/definitions.json +63 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0001.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0002.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0003.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0004.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0005.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0006.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0007.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0008.json +34 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0009.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0101.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0201.json +39 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0202.json +39 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0301.json +105 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0302.json +131 -0
- data/schemas/tlc_1.0.7/schema/tlc/alarms/alarms.json +254 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0001.json +105 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0002.json +79 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0003.json +79 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0004.json +58 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0005.json +79 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0006.json +79 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0007.json +58 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0008.json +79 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0010.json +58 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0011.json +58 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0103.json +82 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0104.json +163 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/command_requests.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/command_responses.json +7 -0
- data/schemas/tlc_1.0.7/schema/tlc/commands/commands.json +366 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0001.json +98 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0002.json +34 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0003.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0004.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0005.json +34 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0006.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0007.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0008.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0009.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0010.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0011.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0012.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0013.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0014.json +34 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0015.json +34 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0016.json +34 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0017.json +34 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0018.json +34 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0019.json +34 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0020.json +61 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0021.json +35 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0091.json +61 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0092.json +61 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0095.json +34 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0096.json +139 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0201.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0202.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0203.json +55 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0204.json +223 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/statuses.json +738 -0
- data/schemas/tlc_1.0.7/schema/tlc/sxl.json +71 -0
- data/schemas/tlc_1.0.7/spec/schemer_helper.rb +21 -0
- data/schemas/tlc_1.0.7/spec/spec_helper.rb +102 -0
- data/schemas/tlc_1.0.7/spec/tlc/M0001_spec.rb +67 -0
- data/schemas/tlc_1.0.7/spec/tlc/S0007_spec.rb +159 -0
- data/schemas/tlc_1.0.8/.gitignore +1 -0
- data/schemas/tlc_1.0.8/.rspec +1 -0
- data/schemas/tlc_1.0.8/Gemfile +5 -0
- data/schemas/tlc_1.0.8/Gemfile.lock +37 -0
- data/schemas/tlc_1.0.8/LICENSE +7 -0
- data/schemas/tlc_1.0.8/README.md +70 -0
- data/schemas/tlc_1.0.8/schema/core/definitions.json +63 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0001.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0002.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0003.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0004.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0005.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0006.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0007.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0008.json +34 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0009.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0101.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0201.json +39 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0202.json +39 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0301.json +105 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0302.json +131 -0
- data/schemas/tlc_1.0.8/schema/tlc/alarms/alarms.json +254 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0001.json +105 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0002.json +79 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0003.json +79 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0004.json +58 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0005.json +79 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0006.json +79 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0007.json +58 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0008.json +79 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0010.json +58 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0011.json +58 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0012.json +58 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0013.json +58 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0103.json +82 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0104.json +163 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/command_requests.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/command_responses.json +7 -0
- data/schemas/tlc_1.0.8/schema/tlc/commands/commands.json +366 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0001.json +98 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0002.json +34 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0003.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0004.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0005.json +34 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0006.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0007.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0008.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0009.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0010.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0011.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0012.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0013.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0014.json +34 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0015.json +34 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0016.json +34 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0017.json +34 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0018.json +34 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0019.json +34 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0020.json +61 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0021.json +35 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0091.json +61 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0092.json +61 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0095.json +34 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0096.json +139 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0201.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0202.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0203.json +55 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0204.json +223 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/statuses.json +738 -0
- data/schemas/tlc_1.0.8/schema/tlc/sxl.json +71 -0
- data/schemas/tlc_1.0.8/spec/schemer_helper.rb +21 -0
- data/schemas/tlc_1.0.8/spec/spec_helper.rb +102 -0
- data/schemas/tlc_1.0.8/spec/tlc/M0001_spec.rb +67 -0
- data/schemas/tlc_1.0.8/spec/tlc/S0007_spec.rb +159 -0
- data/schemas/tlc_1.0.9/.gitignore +1 -0
- data/schemas/tlc_1.0.9/.rspec +1 -0
- data/schemas/tlc_1.0.9/Gemfile +5 -0
- data/schemas/tlc_1.0.9/Gemfile.lock +37 -0
- data/schemas/tlc_1.0.9/LICENSE +7 -0
- data/schemas/tlc_1.0.9/README.md +70 -0
- data/schemas/tlc_1.0.9/schema/core/definitions.json +63 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0001.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0002.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0003.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0004.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0005.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0006.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0007.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0008.json +34 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0009.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0101.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0201.json +39 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0202.json +39 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0301.json +105 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0302.json +131 -0
- data/schemas/tlc_1.0.9/schema/tlc/alarms/alarms.json +254 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0001.json +105 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0002.json +79 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0003.json +79 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0004.json +58 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0005.json +79 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0006.json +79 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0007.json +58 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0008.json +79 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0010.json +58 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0011.json +58 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0012.json +58 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0013.json +58 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0103.json +82 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0104.json +163 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/command_requests.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/command_responses.json +7 -0
- data/schemas/tlc_1.0.9/schema/tlc/commands/commands.json +366 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0001.json +98 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0002.json +34 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0003.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0004.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0005.json +34 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0006.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0007.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0008.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0009.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0010.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0011.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0012.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0013.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0014.json +34 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0015.json +34 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0016.json +34 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0017.json +34 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0018.json +34 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0019.json +34 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0020.json +61 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0021.json +35 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0091.json +61 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0092.json +61 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0095.json +34 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0096.json +139 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0201.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0202.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0203.json +55 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0204.json +223 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/statuses.json +738 -0
- data/schemas/tlc_1.0.9/schema/tlc/sxl.json +71 -0
- data/schemas/tlc_1.0.9/spec/schemer_helper.rb +21 -0
- data/schemas/tlc_1.0.9/spec/spec_helper.rb +102 -0
- data/schemas/tlc_1.0.9/spec/tlc/M0001_spec.rb +67 -0
- data/schemas/tlc_1.0.9/spec/tlc/S0007_spec.rb +159 -0
- 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,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
|