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,21 @@
|
|
1
|
+
{
|
2
|
+
"properties" : {
|
3
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
4
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
5
|
+
"sS" : {
|
6
|
+
"description" : "Status request arguments",
|
7
|
+
"type" : "array",
|
8
|
+
"minItems": 1,
|
9
|
+
"items" : {
|
10
|
+
"type" : "object",
|
11
|
+
"properties": {
|
12
|
+
"sCI" : { "$ref": "definitions.json#/status_code" },
|
13
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" }
|
14
|
+
},
|
15
|
+
"required" : [ "sCI", "n" ],
|
16
|
+
"additionalProperties": false
|
17
|
+
}
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"required" : [ "mId", "cId", "sS"]
|
21
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"title" : "StatusResponse",
|
3
|
+
"description" : "Status response",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
7
|
+
"sTs" : { "$ref": "definitions.json#/timestamp" },
|
8
|
+
"sS" : {
|
9
|
+
"description" : "Status response arguments",
|
10
|
+
"type" : "array",
|
11
|
+
"minItems": 1,
|
12
|
+
"items" : {
|
13
|
+
"type" : "object",
|
14
|
+
"properties": {
|
15
|
+
"sCI" : { "$ref": "definitions.json#/status_code" },
|
16
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
17
|
+
"s" : { "description" : "Value", "type" : "string" },
|
18
|
+
"q" : {
|
19
|
+
"description" : "Value",
|
20
|
+
"type" : "string",
|
21
|
+
"enum" : [ "recent", "old", "undefined", "unknown" ]
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"required" : [ "sCI", "n", "s", "q" ],
|
25
|
+
"additionProperties": false
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"required" : [ "mId", "cId", "sTs", "sS" ]
|
30
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"title" : "StatusSubscribe",
|
3
|
+
"description" : "Status subscribe",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
7
|
+
"sS" : {
|
8
|
+
"description" : "Status request arguments",
|
9
|
+
"type" : "array",
|
10
|
+
"minItems": 1,
|
11
|
+
"items" : {
|
12
|
+
"type" : "object",
|
13
|
+
"properties": {
|
14
|
+
"sCI" : { "$ref": "definitions.json#/status_code" },
|
15
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
16
|
+
"uRt" : {
|
17
|
+
"$ref": "definitions.json#/integer",
|
18
|
+
"description" : "Update interval in seconds, 0 means send when value changes"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"required" : [ "sCI", "n", "uRt" ],
|
22
|
+
"additionalProperties": false
|
23
|
+
}
|
24
|
+
}
|
25
|
+
},
|
26
|
+
"required" : [ "mId", "cId", "sS"]
|
27
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"title" : "StatusUpdate",
|
3
|
+
"description" : "Status update",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
7
|
+
"sTs" : { "$ref": "definitions.json#/timestamp" },
|
8
|
+
"sS" : {
|
9
|
+
"description" : "Status update arguments",
|
10
|
+
"type" : "array",
|
11
|
+
"minItems": 1,
|
12
|
+
"items" : {
|
13
|
+
"type" : "object",
|
14
|
+
"properties": {
|
15
|
+
"sCI" : { "$ref": "definitions.json#/status_code" },
|
16
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
17
|
+
"s" : { "description" : "Value", "type" : "string" },
|
18
|
+
"q" : {
|
19
|
+
"description" : "Value",
|
20
|
+
"type" : "string",
|
21
|
+
"enum" : [ "recent", "old", "undefined", "unknown" ]
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"required" : [ "sCI", "n", "s", "q" ],
|
25
|
+
"additionProperties": false
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"required" : [ "mId", "cId", "sTs", "sS" ]
|
30
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"title" : "Version",
|
3
|
+
"description" : "Version message",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"RSMP" : {
|
7
|
+
"description" : "Supported RSMP versions",
|
8
|
+
"type" : "array",
|
9
|
+
"items" : {
|
10
|
+
"type" : "object",
|
11
|
+
"properties" : {
|
12
|
+
"vers" : {
|
13
|
+
"$ref": "definitions.json#/version",
|
14
|
+
"description" : "RSMP version"
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"required" : ["vers"],
|
18
|
+
"additionalProperties" : false
|
19
|
+
},
|
20
|
+
"minItems" : 1,
|
21
|
+
"uniqueItems" : true
|
22
|
+
},
|
23
|
+
"SXL" : {
|
24
|
+
"$ref": "definitions.json#/version",
|
25
|
+
"description" : "SXL version"
|
26
|
+
},
|
27
|
+
"siteId" : {
|
28
|
+
"description" : "Site ids",
|
29
|
+
"type" : "array",
|
30
|
+
"items" : {
|
31
|
+
"type" : "object",
|
32
|
+
"properties" : {
|
33
|
+
"sId" : {
|
34
|
+
"type" : "string",
|
35
|
+
"minLength": 1
|
36
|
+
}
|
37
|
+
},
|
38
|
+
"required" : [ "sId" ],
|
39
|
+
"additionalProperties" : false
|
40
|
+
},
|
41
|
+
"minItems" : 1,
|
42
|
+
"uniqueItems" : true,
|
43
|
+
"additionalProperties" : false
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"required" : [ "mId", "RSMP", "SXL", "siteId" ]
|
47
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
RSpec.describe "Traffic Light Controller RSMP SXL Schema validation" do
|
2
|
+
let(:message) {{
|
3
|
+
"mType" => "rSMsg",
|
4
|
+
"type" => "AggregatedStatus",
|
5
|
+
"mId" => "be12ab9a-800c-4c19-8c50-adf832f22420",
|
6
|
+
"cId" => "O+14439=481WA001",
|
7
|
+
"aSTS" => "2015-06-08T08:05:06.584Z",
|
8
|
+
"fP" => nil,
|
9
|
+
"fS" => nil,
|
10
|
+
"se" => [
|
11
|
+
true,false,false,false,false,false,false,false
|
12
|
+
]
|
13
|
+
}}
|
14
|
+
|
15
|
+
it 'accepts valid message' do
|
16
|
+
expect( validate(message) ).to be_nil
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'catches missing mId' do
|
20
|
+
invalid = message.dup
|
21
|
+
invalid.delete 'mId'
|
22
|
+
expect( validate(invalid) ).to eq([
|
23
|
+
["", "required", {"missing_keys"=>["mId"]}]
|
24
|
+
])
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'catches missing aSTS' do
|
28
|
+
invalid = message.dup
|
29
|
+
invalid.delete 'aSTS'
|
30
|
+
expect( validate(invalid) ).to eq([
|
31
|
+
["", "required", {"missing_keys"=>["aSTS"]}]
|
32
|
+
])
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'catches bad aSTS' do
|
36
|
+
invalid = message.dup
|
37
|
+
invalid['aSTS'] = "2015-06-08T08:05:06.5843Z"
|
38
|
+
expect( validate(invalid) ).to eq([
|
39
|
+
["/aSTS", "pattern"]
|
40
|
+
])
|
41
|
+
end
|
42
|
+
|
43
|
+
it 'catches missing se' do
|
44
|
+
invalid = message.dup
|
45
|
+
invalid.delete 'se'
|
46
|
+
expect( validate(invalid) ).to eq([
|
47
|
+
["", "required", {"missing_keys"=>["se"]}]
|
48
|
+
])
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'catches bad se' do
|
52
|
+
invalid = message.dup
|
53
|
+
invalid['se'] = 123
|
54
|
+
expect( validate(invalid) ).to eq([
|
55
|
+
["/se", "array"]
|
56
|
+
])
|
57
|
+
|
58
|
+
invalid = message.dup
|
59
|
+
invalid['se'] = [true,false,false,false,false,false,false]
|
60
|
+
expect( validate(invalid) ).to eq([
|
61
|
+
["/se", "minItems"]
|
62
|
+
])
|
63
|
+
|
64
|
+
invalid = message.dup
|
65
|
+
invalid['se'] = [true,false,false,false,false,false,false,true,true]
|
66
|
+
expect( validate(invalid) ).to eq([
|
67
|
+
["/se", "maxItems"]
|
68
|
+
])
|
69
|
+
|
70
|
+
invalid = message.dup
|
71
|
+
invalid['se'] = [false,false,false,1,nil,"",false,false]
|
72
|
+
expect( validate(invalid) ).to eq([
|
73
|
+
["/se/3", "boolean"],
|
74
|
+
["/se/4", "boolean"],
|
75
|
+
["/se/5", "boolean"]
|
76
|
+
])
|
77
|
+
|
78
|
+
end
|
79
|
+
|
80
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
RSpec.describe "Traffic Light Controller RSMP SXL Schema validation" do
|
2
|
+
let(:message) {{
|
3
|
+
"mType" => "rSMsg",
|
4
|
+
"type" => "Alarm",
|
5
|
+
"mId" => "E68A0010-C336-41ac-BD58-5C80A72C7092",
|
6
|
+
"cId" => "AB+84001=860SG001",
|
7
|
+
"aCId" => "A0001",
|
8
|
+
"aSp" => "Request"
|
9
|
+
}}
|
10
|
+
|
11
|
+
it 'accepts valid alarm request' do
|
12
|
+
expect( validate(message) ).to be_nil
|
13
|
+
end
|
14
|
+
|
15
|
+
|
16
|
+
it 'catches missing component id' do
|
17
|
+
invalid = message.dup
|
18
|
+
invalid.delete 'cId'
|
19
|
+
expect( validate(invalid) ).to eq([
|
20
|
+
["", "required", {"missing_keys"=>["cId"]}]
|
21
|
+
])
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'catches missing alarm code id' do
|
25
|
+
invalid = message.dup
|
26
|
+
invalid.delete 'aCId'
|
27
|
+
expect( validate(invalid) ).to eq([
|
28
|
+
["", "required", {"missing_keys"=>["aCId"]}]
|
29
|
+
])
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'catches bad alarm code id' do
|
33
|
+
invalid = message.dup
|
34
|
+
invalid['aCId'] = "001"
|
35
|
+
expect( validate(invalid) ).to eq([
|
36
|
+
["/aCId", "pattern"]
|
37
|
+
])
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'catches wrong alarm code id type' do
|
41
|
+
invalid = message.dup
|
42
|
+
invalid['aCId'] = 123
|
43
|
+
expect( validate(invalid) ).to eq([
|
44
|
+
["/aCId", "string"]
|
45
|
+
])
|
46
|
+
end
|
47
|
+
|
48
|
+
it 'catches missing extended alarm code id' do
|
49
|
+
invalid = message.dup
|
50
|
+
invalid.delete 'xACId'
|
51
|
+
expect( validate(invalid) ).to eq([
|
52
|
+
["", "required", {"missing_keys"=>["xACId"]}]
|
53
|
+
])
|
54
|
+
end
|
55
|
+
|
56
|
+
it 'catches wrong extended alarm code id type' do
|
57
|
+
invalid = message.dup
|
58
|
+
invalid['xACId'] = 123
|
59
|
+
expect( validate(invalid) ).to eq([
|
60
|
+
["/xACId", "string"]
|
61
|
+
])
|
62
|
+
end
|
63
|
+
|
64
|
+
it 'catches extraneous alarm code id' do
|
65
|
+
invalid = message.dup
|
66
|
+
invalid['aS'] = 'Active'
|
67
|
+
expect( validate(invalid) ).to eq([
|
68
|
+
["", "required", {"missing_keys"=>["aS"]}]
|
69
|
+
])
|
70
|
+
end
|
71
|
+
|
72
|
+
end
|
@@ -0,0 +1,298 @@
|
|
1
|
+
RSpec.describe "Traffic Light Controller RSMP SXL Schema validation" do
|
2
|
+
let(:message) {{
|
3
|
+
"mType" => "rSMsg",
|
4
|
+
"type" => "Alarm",
|
5
|
+
"mId" => "E68A0010-C336-41ac-BD58-5C80A72C7092",
|
6
|
+
"cId" => "AB+84001=860SG001",
|
7
|
+
"aCId" => "A0001",
|
8
|
+
"xACId" => "Serious lamp error",
|
9
|
+
"aSp" => "Issue",
|
10
|
+
"ack" => "notAcknowledged",
|
11
|
+
"aS" => "Active",
|
12
|
+
"sS" => "notSuspended",
|
13
|
+
"aTs" => "2009-10-01T11:59:31.571Z",
|
14
|
+
"cat" => "D",
|
15
|
+
"pri" => "2",
|
16
|
+
"rvs" => [
|
17
|
+
{
|
18
|
+
"n" => "color",
|
19
|
+
"v" => "red"
|
20
|
+
}
|
21
|
+
]
|
22
|
+
}}
|
23
|
+
|
24
|
+
it 'accepts valid alarm' do
|
25
|
+
expect( validate(message) ).to be_nil
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'catches missing component id' do
|
29
|
+
invalid = message.dup
|
30
|
+
invalid.delete 'cId'
|
31
|
+
expect( validate(invalid) ).to eq([
|
32
|
+
["", "required", {"missing_keys"=>["cId"]}]
|
33
|
+
])
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'catches missing alarm code id' do
|
37
|
+
invalid = message.dup
|
38
|
+
invalid.delete 'aCId'
|
39
|
+
expect( validate(invalid) ).to eq([
|
40
|
+
["", "required", {"missing_keys"=>["aCId"]}]
|
41
|
+
])
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'catches bad alarm code id' do
|
45
|
+
invalid = message.dup
|
46
|
+
invalid['aCId'] = "001"
|
47
|
+
expect( validate(invalid) ).to eq([
|
48
|
+
["/aCId", "pattern"]
|
49
|
+
])
|
50
|
+
end
|
51
|
+
|
52
|
+
it 'catches wrong alarm code id type' do
|
53
|
+
invalid = message.dup
|
54
|
+
invalid['aCId'] = 123
|
55
|
+
expect( validate(invalid) ).to eq([
|
56
|
+
["/aCId", "string"]
|
57
|
+
])
|
58
|
+
end
|
59
|
+
|
60
|
+
it 'catches missing extended alarm code id' do
|
61
|
+
invalid = message.dup
|
62
|
+
invalid.delete 'xACId'
|
63
|
+
expect( validate(invalid) ).to eq([
|
64
|
+
["", "required", {"missing_keys"=>["xACId"]}]
|
65
|
+
])
|
66
|
+
end
|
67
|
+
|
68
|
+
it 'catches wrong extended alarm code id type' do
|
69
|
+
invalid = message.dup
|
70
|
+
invalid['xACId'] = 123
|
71
|
+
expect( validate(invalid) ).to eq([
|
72
|
+
["/xACId", "string"]
|
73
|
+
])
|
74
|
+
end
|
75
|
+
|
76
|
+
it 'catches missing state' do
|
77
|
+
invalid = message.dup
|
78
|
+
invalid.delete 'aSp'
|
79
|
+
expect( validate(invalid) ).to eq([
|
80
|
+
["", "required", {"missing_keys"=>["aSp"]}]
|
81
|
+
])
|
82
|
+
end
|
83
|
+
|
84
|
+
it 'catches bad state' do
|
85
|
+
invalid = message.dup
|
86
|
+
invalid['aSp'] = "Bad"
|
87
|
+
expect( validate(invalid) ).to eq([
|
88
|
+
["/aSp", "enum"]
|
89
|
+
])
|
90
|
+
end
|
91
|
+
|
92
|
+
it 'catches wrong state type' do
|
93
|
+
invalid = message.dup
|
94
|
+
invalid['aSp'] = 123
|
95
|
+
expect( validate(invalid) ).to eq([
|
96
|
+
["/aSp", "enum"],
|
97
|
+
["/aSp", "string"]
|
98
|
+
])
|
99
|
+
end
|
100
|
+
|
101
|
+
it 'catches missing alarm code id' do
|
102
|
+
invalid = message.dup
|
103
|
+
invalid.delete 'aS'
|
104
|
+
expect( validate(invalid) ).to eq([
|
105
|
+
["", "required", {"missing_keys"=>["aS"]}]
|
106
|
+
])
|
107
|
+
end
|
108
|
+
|
109
|
+
it 'catches bad alarm code id' do
|
110
|
+
invalid = message.dup
|
111
|
+
invalid['aS'] = "Bad"
|
112
|
+
expect( validate(invalid) ).to eq([
|
113
|
+
["/aS", "enum"]
|
114
|
+
])
|
115
|
+
end
|
116
|
+
|
117
|
+
it 'catches wrong alarm code id type' do
|
118
|
+
invalid = message.dup
|
119
|
+
invalid['aS'] = 123
|
120
|
+
expect( validate(invalid) ).to eq([
|
121
|
+
["/aS", "enum"],
|
122
|
+
["/aS", "string"]
|
123
|
+
])
|
124
|
+
end
|
125
|
+
|
126
|
+
it 'catches missing alarm code id' do
|
127
|
+
invalid = message.dup
|
128
|
+
invalid.delete 'sS'
|
129
|
+
expect( validate(invalid) ).to eq([
|
130
|
+
["", "required", {"missing_keys"=>["sS"]}]
|
131
|
+
])
|
132
|
+
end
|
133
|
+
|
134
|
+
it 'catches bad alarm code id' do
|
135
|
+
invalid = message.dup
|
136
|
+
invalid['sS'] = "Bad"
|
137
|
+
expect( validate(invalid) ).to eq([
|
138
|
+
["/sS", "enum"]
|
139
|
+
])
|
140
|
+
end
|
141
|
+
|
142
|
+
it 'catches wrong alarm code id type' do
|
143
|
+
invalid = message.dup
|
144
|
+
invalid['sS'] = 123
|
145
|
+
expect( validate(invalid) ).to eq([
|
146
|
+
["/sS", "enum"],
|
147
|
+
["/sS", "string"]
|
148
|
+
])
|
149
|
+
end
|
150
|
+
|
151
|
+
it 'catches missing alarm code id' do
|
152
|
+
invalid = message.dup
|
153
|
+
invalid.delete 'ack'
|
154
|
+
expect( validate(invalid) ).to eq([
|
155
|
+
["", "required", {"missing_keys"=>["ack"]}]
|
156
|
+
])
|
157
|
+
end
|
158
|
+
|
159
|
+
it 'catches bad alarm code id' do
|
160
|
+
invalid = message.dup
|
161
|
+
invalid['ack'] = "Bad"
|
162
|
+
expect( validate(invalid) ).to eq([
|
163
|
+
["/ack", "enum"]
|
164
|
+
])
|
165
|
+
end
|
166
|
+
|
167
|
+
it 'catches wrong alarm code id type' do
|
168
|
+
invalid = message.dup
|
169
|
+
invalid['ack'] = 123
|
170
|
+
expect( validate(invalid) ).to eq([
|
171
|
+
["/ack", "enum"],
|
172
|
+
["/ack", "string"]
|
173
|
+
])
|
174
|
+
end
|
175
|
+
|
176
|
+
it 'catches missing category' do
|
177
|
+
invalid = message.dup
|
178
|
+
invalid.delete 'cat'
|
179
|
+
expect( validate(invalid) ).to eq([
|
180
|
+
["", "required", {"missing_keys"=>["cat"]}]
|
181
|
+
])
|
182
|
+
end
|
183
|
+
|
184
|
+
it 'catches bad category' do
|
185
|
+
invalid = message.dup
|
186
|
+
invalid['cat'] = "A"
|
187
|
+
expect( validate(invalid) ).to eq([
|
188
|
+
["/cat", "enum"]
|
189
|
+
])
|
190
|
+
end
|
191
|
+
|
192
|
+
it 'catches wrong category' do
|
193
|
+
invalid = message.dup
|
194
|
+
invalid['cat'] = 123
|
195
|
+
expect( validate(invalid) ).to eq([
|
196
|
+
["/cat", "enum"],
|
197
|
+
["/cat", "string"]
|
198
|
+
])
|
199
|
+
end
|
200
|
+
|
201
|
+
it 'catches missing priority' do
|
202
|
+
invalid = message.dup
|
203
|
+
invalid.delete 'pri'
|
204
|
+
expect( validate(invalid) ).to eq([
|
205
|
+
["", "required", {"missing_keys"=>["pri"]}]
|
206
|
+
])
|
207
|
+
end
|
208
|
+
|
209
|
+
it 'catches bad priority' do
|
210
|
+
invalid = message.dup
|
211
|
+
invalid['pri'] = "4"
|
212
|
+
expect( validate(invalid) ).to eq([
|
213
|
+
["/pri", "enum"]
|
214
|
+
])
|
215
|
+
end
|
216
|
+
|
217
|
+
it 'catches wrong priority' do
|
218
|
+
invalid = message.dup
|
219
|
+
invalid['pri'] = 1
|
220
|
+
expect( validate(invalid) ).to eq([
|
221
|
+
["/pri", "enum"],
|
222
|
+
["/pri", "string"]
|
223
|
+
])
|
224
|
+
end
|
225
|
+
|
226
|
+
it 'catches missing timestamp' do
|
227
|
+
invalid = message.dup
|
228
|
+
invalid.delete 'aTs'
|
229
|
+
expect( validate(invalid) ).to eq([
|
230
|
+
["", "required", {"missing_keys"=>["aTs"]}]
|
231
|
+
])
|
232
|
+
end
|
233
|
+
|
234
|
+
it 'catches bad timestamp' do
|
235
|
+
invalid = message.dup
|
236
|
+
invalid['aTs'] = "yesterday"
|
237
|
+
expect( validate(invalid) ).to eq([
|
238
|
+
["/aTs", "pattern"]
|
239
|
+
])
|
240
|
+
end
|
241
|
+
|
242
|
+
it 'catches wrong timestamp type' do
|
243
|
+
invalid = message.dup
|
244
|
+
invalid['aTs'] = 123
|
245
|
+
expect( validate(invalid) ).to eq([
|
246
|
+
["/aTs", "string"]
|
247
|
+
])
|
248
|
+
end
|
249
|
+
|
250
|
+
it 'catches missing rvs' do
|
251
|
+
invalid = message.dup
|
252
|
+
invalid.delete 'rvs'
|
253
|
+
expect( validate(invalid) ).to eq([
|
254
|
+
["", "required", {"missing_keys"=>["rvs"]}]
|
255
|
+
])
|
256
|
+
end
|
257
|
+
|
258
|
+
it 'catches bad rvs type' do
|
259
|
+
invalid = message.dup
|
260
|
+
invalid["rvs"] = {}
|
261
|
+
expect( validate(invalid) ).to eq([
|
262
|
+
["/rvs", "array"]
|
263
|
+
])
|
264
|
+
end
|
265
|
+
|
266
|
+
it 'catches missing alarm name' do
|
267
|
+
invalid = message.dup
|
268
|
+
invalid["rvs"].first.delete 'n'
|
269
|
+
expect( validate(invalid) ).to eq([
|
270
|
+
["/rvs/0", "required", {"missing_keys"=>["n"]}]
|
271
|
+
])
|
272
|
+
end
|
273
|
+
|
274
|
+
it 'catches bad alarm name' do
|
275
|
+
invalid = message.dup
|
276
|
+
invalid["rvs"].first['n'] = 3
|
277
|
+
expect( validate(invalid) ).to eq([
|
278
|
+
["/rvs/0/n", "string"]
|
279
|
+
])
|
280
|
+
end
|
281
|
+
|
282
|
+
it 'catches missing alarm value' do
|
283
|
+
invalid = message.dup
|
284
|
+
invalid["rvs"].first.delete 'v'
|
285
|
+
expect( validate(invalid) ).to eq([
|
286
|
+
["/rvs/0", "required", {"missing_keys"=>["v"]}]
|
287
|
+
])
|
288
|
+
end
|
289
|
+
|
290
|
+
it 'catches bad alarm value' do
|
291
|
+
invalid = message.dup
|
292
|
+
invalid["rvs"].first['v'] = 3
|
293
|
+
expect( validate(invalid) ).to eq([
|
294
|
+
["/rvs/0/v", "string"]
|
295
|
+
])
|
296
|
+
end
|
297
|
+
|
298
|
+
end
|