rsmp_schemer 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +2 -43
- data/Gemfile.lock +18 -18
- data/lib/rsmp_schemer/schemer.rb +13 -12
- data/lib/rsmp_schemer/version.rb +3 -3
- data/rsmp_schemer.gemspec +3 -3
- data/schemas/{core_3.1.2/.rspec → .rspec} +0 -0
- data/schemas/{core_3.1.2/Gemfile → Gemfile} +0 -0
- data/schemas/Gemfile.lock +37 -0
- data/schemas/{core_3.1.2/LICENSE → LICENSE} +0 -0
- data/schemas/README.md +73 -0
- data/schemas/{core_3.1.3/examples → examples}/validate.rb +0 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/aggregated_status.json +0 -0
- data/schemas/schemas/core/3.1.1/alarm.json +58 -0
- data/schemas/schemas/core/3.1.1/alarm_issue.json +47 -0
- data/schemas/{core_3.1.5/schema/core → schemas/core/3.1.1}/alarm_suspend_resume.json +0 -0
- data/schemas/schemas/core/3.1.1/alarm_suspended_resumed.json +47 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/command_request.json +0 -0
- data/schemas/schemas/core/3.1.1/command_response.json +34 -0
- data/schemas/schemas/core/3.1.1/core.json +38 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/definitions.json +0 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/message_ack.json +0 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/message_not_ack.json +0 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/rsmp.json +0 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/status.json +0 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/status_request.json +0 -0
- data/schemas/schemas/core/3.1.1/status_response.json +30 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/status_subscribe.json +0 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/status_unsubscribe.json +0 -0
- data/schemas/schemas/core/3.1.1/status_update.json +30 -0
- data/schemas/{core_3.1.2/schema/core → schemas/core/3.1.1}/version.json +0 -0
- data/schemas/schemas/core/3.1.1/watchdog.json +9 -0
- data/schemas/schemas/core/3.1.2/rsmp.json +3 -0
- data/schemas/schemas/core/3.1.3/rsmp.json +124 -0
- data/schemas/schemas/core/3.1.3/status_response.json +30 -0
- data/schemas/schemas/core/3.1.3/status_update.json +30 -0
- data/schemas/schemas/core/3.1.4/rsmp.json +3 -0
- data/schemas/schemas/core/3.1.5/aggregated_status_request.json +9 -0
- data/schemas/schemas/core/3.1.5/alarm.json +68 -0
- data/schemas/schemas/core/3.1.5/alarm_request.json +3 -0
- data/schemas/schemas/core/3.1.5/core.json +39 -0
- data/schemas/schemas/core/3.1.5/rsmp.json +133 -0
- data/schemas/schemas/core/3.1.5/status.json +21 -0
- data/schemas/schemas/core/3.1.5/status_subscribe.json +31 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0001.json +7 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0002.json +7 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0003.json +7 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0004.json +7 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0005.json +7 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0006.json +7 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0007.json +7 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0008.json +34 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0009.json +7 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0101.json +7 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0201.json +39 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0202.json +39 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0301.json +105 -0
- data/schemas/schemas/tlc/1.0.10/alarms/A0302.json +131 -0
- data/schemas/schemas/tlc/1.0.10/alarms/alarms.json +238 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0001.json +105 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0002.json +79 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0003.json +79 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0004.json +58 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0005.json +79 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0006.json +79 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0007.json +58 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0008.json +79 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0010.json +58 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0011.json +58 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0012.json +58 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0013.json +58 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0019.json +100 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0103.json +82 -0
- data/schemas/schemas/tlc/1.0.10/commands/M0104.json +163 -0
- data/schemas/{tlc_1.0.10/schema/tlc → schemas/tlc/1.0.10}/commands/command_requests.json +0 -0
- data/schemas/{tlc_1.0.10/schema/tlc → schemas/tlc/1.0.10}/commands/command_responses.json +0 -0
- data/schemas/schemas/tlc/1.0.10/commands/commands.json +254 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0001.json +98 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0002.json +34 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0003.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0004.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0005.json +34 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0006.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0007.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0008.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0009.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0010.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0011.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0012.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0013.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0014.json +34 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0015.json +34 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0016.json +34 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0017.json +34 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0018.json +34 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0019.json +34 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0020.json +61 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0021.json +35 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0091.json +58 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0092.json +58 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0095.json +34 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0096.json +139 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0201.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0202.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0203.json +55 -0
- data/schemas/schemas/tlc/1.0.10/statuses/S0204.json +223 -0
- data/schemas/{tlc_1.0.10/schema/tlc → schemas/tlc/1.0.10}/statuses/statuses.json +0 -0
- data/schemas/schemas/tlc/1.0.10/sxl.json +73 -0
- data/schemas/schemas/tlc/1.0.10/sxl.yaml +1053 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0001.json +7 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0002.json +7 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0003.json +7 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0004.json +7 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0005.json +7 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0006.json +7 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0007.json +7 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0008.json +34 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0009.json +7 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0101.json +7 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0201.json +39 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0202.json +39 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0301.json +105 -0
- data/schemas/schemas/tlc/1.0.13/alarms/A0302.json +131 -0
- data/schemas/schemas/tlc/1.0.13/alarms/alarms.json +238 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0001.json +105 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0002.json +79 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0003.json +79 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0004.json +58 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0005.json +79 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0006.json +79 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0007.json +58 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0008.json +79 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0010.json +58 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0011.json +58 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0012.json +58 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0013.json +58 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0014.json +79 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0015.json +79 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0016.json +58 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0017.json +58 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0018.json +79 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0019.json +100 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0103.json +82 -0
- data/schemas/schemas/tlc/1.0.13/commands/M0104.json +163 -0
- data/schemas/{tlc_1.0.13/schema/tlc → schemas/tlc/1.0.13}/commands/command_requests.json +0 -0
- data/schemas/{tlc_1.0.13/schema/tlc → schemas/tlc/1.0.13}/commands/command_responses.json +0 -0
- data/schemas/schemas/tlc/1.0.13/commands/commands.json +334 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0001.json +98 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0002.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0003.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0004.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0005.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0006.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0007.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0008.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0009.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0010.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0011.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0012.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0013.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0014.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0015.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0016.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0017.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0018.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0019.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0020.json +61 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0021.json +35 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0022.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0023.json +35 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0024.json +35 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0025.json +181 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0026.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0027.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0028.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0029.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0091.json +58 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0092.json +58 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0095.json +34 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0096.json +139 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0201.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0202.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0203.json +55 -0
- data/schemas/schemas/tlc/1.0.13/statuses/S0204.json +223 -0
- data/schemas/schemas/tlc/1.0.13/statuses/statuses.json +610 -0
- data/schemas/schemas/tlc/1.0.13/sxl.json +73 -0
- data/schemas/schemas/tlc/1.0.13/sxl.yaml +1370 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0001.json +7 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0002.json +7 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0003.json +7 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0004.json +7 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0005.json +7 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0006.json +7 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0007.json +7 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0008.json +34 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0009.json +7 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0101.json +7 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0201.json +39 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0202.json +39 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0301.json +105 -0
- data/schemas/schemas/tlc/1.0.14/alarms/A0302.json +131 -0
- data/schemas/schemas/tlc/1.0.14/alarms/alarms.json +238 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0001.json +105 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0002.json +79 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0003.json +79 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0004.json +58 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0005.json +79 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0006.json +79 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0007.json +58 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0008.json +79 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0010.json +58 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0011.json +58 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0012.json +58 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0013.json +58 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0014.json +79 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0015.json +79 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0016.json +58 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0017.json +58 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0018.json +79 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0019.json +100 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0103.json +82 -0
- data/schemas/schemas/tlc/1.0.14/commands/M0104.json +163 -0
- data/schemas/{tlc_1.0.14/schema/tlc → schemas/tlc/1.0.14}/commands/command_requests.json +0 -0
- data/schemas/{tlc_1.0.14/schema/tlc → schemas/tlc/1.0.14}/commands/command_responses.json +0 -0
- data/schemas/schemas/tlc/1.0.14/commands/commands.json +334 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0001.json +98 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0002.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0003.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0004.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0005.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0006.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0007.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0008.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0009.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0010.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0011.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0012.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0013.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0014.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0015.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0016.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0017.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0018.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0019.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0020.json +61 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0021.json +35 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0022.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0023.json +35 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0024.json +35 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0025.json +181 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0026.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0027.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0028.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0029.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0091.json +58 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0092.json +58 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0095.json +34 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0096.json +139 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0201.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0202.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0203.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0204.json +223 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0205.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0206.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0207.json +55 -0
- data/schemas/schemas/tlc/1.0.14/statuses/S0208.json +223 -0
- data/schemas/schemas/tlc/1.0.14/statuses/statuses.json +674 -0
- data/schemas/schemas/tlc/1.0.14/sxl.json +73 -0
- data/schemas/schemas/tlc/1.0.14/sxl.yaml +1508 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0001.json +7 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0002.json +7 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0003.json +7 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0004.json +7 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0005.json +7 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0006.json +7 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0007.json +7 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0008.json +34 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0009.json +7 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0010.json +7 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0101.json +7 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0201.json +39 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0202.json +39 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0301.json +105 -0
- data/schemas/schemas/tlc/1.0.15/alarms/A0302.json +131 -0
- data/schemas/{tlc_1.0.10/schema/tlc → schemas/tlc/1.0.15}/alarms/alarms.json +0 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0001.json +105 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0002.json +79 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0003.json +79 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0004.json +58 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0005.json +79 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0006.json +79 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0007.json +58 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0008.json +79 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0010.json +58 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0011.json +58 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0012.json +58 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0013.json +58 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0014.json +79 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0015.json +79 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0016.json +58 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0017.json +58 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0018.json +79 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0019.json +100 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0020.json +100 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0021.json +58 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0103.json +82 -0
- data/schemas/schemas/tlc/1.0.15/commands/M0104.json +163 -0
- data/schemas/{tlc_1.0.15/schema/tlc → schemas/tlc/1.0.15}/commands/command_requests.json +0 -0
- data/schemas/{tlc_1.0.15/schema/tlc → schemas/tlc/1.0.15}/commands/command_responses.json +0 -0
- data/schemas/{tlc_1.0.10/schema/tlc → schemas/tlc/1.0.15}/commands/commands.json +0 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0001.json +98 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0002.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0003.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0004.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0005.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0006.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0007.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0008.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0009.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0010.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0011.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0012.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0013.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0014.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0015.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0016.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0017.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0018.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0019.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0020.json +61 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0021.json +35 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0022.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0023.json +35 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0024.json +35 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0025.json +181 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0026.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0027.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0028.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0029.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0030.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0031.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0091.json +58 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0092.json +58 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0095.json +34 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0096.json +139 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0097.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0098.json +76 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0201.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0202.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0203.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0204.json +223 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0205.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0206.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0207.json +55 -0
- data/schemas/schemas/tlc/1.0.15/statuses/S0208.json +223 -0
- data/schemas/{tlc_1.0.15/schema/tlc → schemas/tlc/1.0.15}/statuses/statuses.json +0 -0
- data/schemas/schemas/tlc/1.0.15/sxl.json +73 -0
- data/schemas/schemas/tlc/1.0.15/sxl.yaml +1654 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0001.json +7 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0002.json +7 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0003.json +7 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0004.json +7 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0005.json +7 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0006.json +7 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0007.json +7 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0008.json +34 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0009.json +7 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0101.json +7 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0201.json +39 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0202.json +39 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0301.json +105 -0
- data/schemas/schemas/tlc/1.0.7/alarms/A0302.json +131 -0
- data/schemas/schemas/tlc/1.0.7/alarms/alarms.json +238 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0001.json +105 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0002.json +79 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0003.json +79 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0004.json +58 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0005.json +79 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0006.json +79 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0007.json +58 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0008.json +79 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0010.json +58 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0011.json +58 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0019.json +100 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0103.json +82 -0
- data/schemas/schemas/tlc/1.0.7/commands/M0104.json +163 -0
- data/schemas/{tlc_1.0.7/schema/tlc → schemas/tlc/1.0.7}/commands/command_requests.json +0 -0
- data/schemas/{tlc_1.0.7/schema/tlc → schemas/tlc/1.0.7}/commands/command_responses.json +0 -0
- data/schemas/schemas/tlc/1.0.7/commands/commands.json +222 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0001.json +98 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0002.json +34 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0003.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0004.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0005.json +34 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0006.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0007.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0008.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0009.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0010.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0011.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0012.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0013.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0014.json +34 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0015.json +34 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0016.json +34 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0017.json +34 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0018.json +34 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0019.json +34 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0020.json +61 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0021.json +35 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0025.json +181 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0091.json +58 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0092.json +58 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0095.json +34 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0096.json +139 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0201.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0202.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0203.json +55 -0
- data/schemas/schemas/tlc/1.0.7/statuses/S0204.json +223 -0
- data/schemas/schemas/tlc/1.0.7/statuses/statuses.json +498 -0
- data/schemas/schemas/tlc/1.0.7/sxl.json +73 -0
- data/schemas/schemas/tlc/1.0.7/sxl.yaml +1020 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0001.json +7 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0002.json +7 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0003.json +7 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0004.json +7 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0005.json +7 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0006.json +7 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0007.json +7 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0008.json +34 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0009.json +7 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0101.json +7 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0201.json +39 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0202.json +39 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0301.json +105 -0
- data/schemas/schemas/tlc/1.0.8/alarms/A0302.json +131 -0
- data/schemas/schemas/tlc/1.0.8/alarms/alarms.json +238 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0001.json +105 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0002.json +79 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0003.json +79 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0004.json +58 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0005.json +79 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0006.json +79 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0007.json +58 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0008.json +79 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0010.json +58 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0011.json +58 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0012.json +58 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0013.json +58 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0019.json +100 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0103.json +82 -0
- data/schemas/schemas/tlc/1.0.8/commands/M0104.json +163 -0
- data/schemas/{tlc_1.0.8/schema/tlc → schemas/tlc/1.0.8}/commands/command_requests.json +0 -0
- data/schemas/{tlc_1.0.8/schema/tlc → schemas/tlc/1.0.8}/commands/command_responses.json +0 -0
- data/schemas/schemas/tlc/1.0.8/commands/commands.json +254 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0001.json +98 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0002.json +34 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0003.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0004.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0005.json +34 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0006.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0007.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0008.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0009.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0010.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0011.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0012.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0013.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0014.json +34 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0015.json +34 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0016.json +34 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0017.json +34 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0018.json +34 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0019.json +34 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0020.json +61 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0021.json +35 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0025.json +181 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0091.json +58 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0092.json +58 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0095.json +34 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0096.json +139 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0201.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0202.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0203.json +55 -0
- data/schemas/schemas/tlc/1.0.8/statuses/S0204.json +223 -0
- data/schemas/schemas/tlc/1.0.8/statuses/statuses.json +482 -0
- data/schemas/schemas/tlc/1.0.8/sxl.json +73 -0
- data/schemas/schemas/tlc/1.0.8/sxl.yaml +1053 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0001.json +7 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0002.json +7 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0003.json +7 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0004.json +7 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0005.json +7 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0006.json +7 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0007.json +7 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0008.json +34 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0009.json +7 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0101.json +7 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0201.json +39 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0202.json +39 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0301.json +105 -0
- data/schemas/schemas/tlc/1.0.9/alarms/A0302.json +131 -0
- data/schemas/schemas/tlc/1.0.9/alarms/alarms.json +238 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0001.json +105 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0002.json +79 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0003.json +79 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0004.json +58 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0005.json +79 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0006.json +79 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0007.json +58 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0008.json +79 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0010.json +58 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0011.json +58 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0012.json +58 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0013.json +58 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0019.json +100 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0103.json +82 -0
- data/schemas/schemas/tlc/1.0.9/commands/M0104.json +163 -0
- data/schemas/{tlc_1.0.9/schema/tlc → schemas/tlc/1.0.9}/commands/command_requests.json +0 -0
- data/schemas/{tlc_1.0.9/schema/tlc → schemas/tlc/1.0.9}/commands/command_responses.json +0 -0
- data/schemas/schemas/tlc/1.0.9/commands/commands.json +254 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0001.json +98 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0002.json +34 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0003.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0004.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0005.json +34 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0006.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0007.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0008.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0009.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0010.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0011.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0012.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0013.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0014.json +34 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0015.json +34 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0016.json +34 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0017.json +34 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0018.json +34 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0019.json +34 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0020.json +61 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0021.json +35 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0025.json +181 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0091.json +58 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0092.json +58 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0095.json +34 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0096.json +139 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0201.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0202.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0203.json +55 -0
- data/schemas/schemas/tlc/1.0.9/statuses/S0204.json +223 -0
- data/schemas/schemas/tlc/1.0.9/statuses/statuses.json +498 -0
- data/schemas/schemas/tlc/1.0.9/sxl.json +73 -0
- data/schemas/schemas/tlc/1.0.9/sxl.yaml +1053 -0
- data/schemas/spec/core/aggregated_status_request_spec.rb +27 -0
- data/schemas/spec/core/aggregated_status_spec.rb +72 -0
- data/schemas/spec/core/alarm_request_spec.rb +69 -0
- data/schemas/spec/core/alarm_spec.rb +274 -0
- data/schemas/spec/core/command_request_spec.rb +96 -0
- data/schemas/spec/core/command_response_spec.rb +91 -0
- data/schemas/spec/core/core_spec.rb +66 -0
- data/schemas/spec/core/message_ack.rb +26 -0
- data/schemas/spec/core/message_not_ack_spec.rb +50 -0
- data/schemas/spec/core/status_request_spec.rb +84 -0
- data/schemas/spec/core/status_response_spec.rb +135 -0
- data/schemas/spec/core/status_subscribe_spec.rb +154 -0
- data/schemas/spec/core/status_unsubscribe_spec.rb +91 -0
- data/schemas/spec/core/status_update_spec.rb +143 -0
- data/schemas/spec/core/version_spec.rb +133 -0
- data/schemas/spec/core/watchdog_spec.rb +34 -0
- data/schemas/spec/schemer_helper.rb +83 -0
- data/schemas/{core_3.1.2/spec → spec}/spec_helper.rb +0 -0
- data/schemas/spec/tlc/M0001_spec.rb +62 -0
- data/schemas/spec/tlc/S0007_intersections_spec.rb +104 -0
- data/schemas/spec/tlc/S0007_spec.rb +18 -0
- metadata +578 -843
- data/schemas/core_3.1.2/Gemfile.lock +0 -37
- data/schemas/core_3.1.2/README.md +0 -70
- data/schemas/core_3.1.2/examples/validate.rb +0 -35
- data/schemas/core_3.1.2/schema/core/alarm.json +0 -55
- data/schemas/core_3.1.2/schema/core/command_response.json +0 -34
- data/schemas/core_3.1.2/schema/core/core.json +0 -35
- data/schemas/core_3.1.2/schema/core/status_response.json +0 -30
- data/schemas/core_3.1.2/schema/core/status_update.json +0 -30
- data/schemas/core_3.1.2/schema/core/watchdog.json +0 -9
- data/schemas/core_3.1.2/spec/core/aggregated_status_spec.rb +0 -80
- data/schemas/core_3.1.2/spec/core/alarm_spec.rb +0 -298
- data/schemas/core_3.1.2/spec/core/command_request_spec.rb +0 -106
- data/schemas/core_3.1.2/spec/core/command_response_spec.rb +0 -102
- data/schemas/core_3.1.2/spec/core/core_spec.rb +0 -72
- data/schemas/core_3.1.2/spec/core/message_ack.rb +0 -28
- data/schemas/core_3.1.2/spec/core/message_not_ack_spec.rb +0 -55
- data/schemas/core_3.1.2/spec/core/status_request_spec.rb +0 -93
- data/schemas/core_3.1.2/spec/core/status_response_spec.rb +0 -126
- data/schemas/core_3.1.2/spec/core/status_subscribe_spec.rb +0 -122
- data/schemas/core_3.1.2/spec/core/status_unsubscribe_spec.rb +0 -101
- data/schemas/core_3.1.2/spec/core/status_update_spec.rb +0 -117
- data/schemas/core_3.1.2/spec/core/version_spec.rb +0 -149
- data/schemas/core_3.1.2/spec/core/watchdog_spec.rb +0 -37
- data/schemas/core_3.1.2/spec/schemer_helper.rb +0 -23
- data/schemas/core_3.1.3/.rspec +0 -1
- data/schemas/core_3.1.3/Gemfile +0 -5
- data/schemas/core_3.1.3/Gemfile.lock +0 -37
- data/schemas/core_3.1.3/LICENSE +0 -7
- data/schemas/core_3.1.3/README.md +0 -70
- data/schemas/core_3.1.3/schema/core/aggregated_status.json +0 -25
- data/schemas/core_3.1.3/schema/core/aggregated_status_request.json +0 -9
- data/schemas/core_3.1.3/schema/core/alarm.json +0 -55
- data/schemas/core_3.1.3/schema/core/command_request.json +0 -24
- data/schemas/core_3.1.3/schema/core/command_response.json +0 -34
- data/schemas/core_3.1.3/schema/core/core.json +0 -36
- data/schemas/core_3.1.3/schema/core/definitions.json +0 -63
- data/schemas/core_3.1.3/schema/core/message_ack.json +0 -11
- data/schemas/core_3.1.3/schema/core/message_not_ack.json +0 -15
- data/schemas/core_3.1.3/schema/core/rsmp.json +0 -133
- data/schemas/core_3.1.3/schema/core/status.json +0 -21
- data/schemas/core_3.1.3/schema/core/status_request.json +0 -5
- data/schemas/core_3.1.3/schema/core/status_response.json +0 -30
- data/schemas/core_3.1.3/schema/core/status_subscribe.json +0 -27
- data/schemas/core_3.1.3/schema/core/status_unsubscribe.json +0 -5
- data/schemas/core_3.1.3/schema/core/status_update.json +0 -30
- data/schemas/core_3.1.3/schema/core/version.json +0 -47
- data/schemas/core_3.1.3/schema/core/watchdog.json +0 -9
- data/schemas/core_3.1.3/schema/tlc/alarms/A0001.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0002.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0003.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0004.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0005.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0006.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0007.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0008.json +0 -19
- data/schemas/core_3.1.3/schema/tlc/alarms/A0009.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0101.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/alarms/A0201.json +0 -20
- data/schemas/core_3.1.3/schema/tlc/alarms/A0202.json +0 -20
- data/schemas/core_3.1.3/schema/tlc/alarms/A0301.json +0 -49
- data/schemas/core_3.1.3/schema/tlc/alarms/A0302.json +0 -59
- data/schemas/core_3.1.3/schema/tlc/alarms/alarms.json +0 -68
- data/schemas/core_3.1.3/schema/tlc/commands/M0001.json +0 -48
- data/schemas/core_3.1.3/schema/tlc/commands/M0002.json +0 -39
- data/schemas/core_3.1.3/schema/tlc/commands/M0003.json +0 -39
- data/schemas/core_3.1.3/schema/tlc/commands/M0004.json +0 -30
- data/schemas/core_3.1.3/schema/tlc/commands/M0005.json +0 -39
- data/schemas/core_3.1.3/schema/tlc/commands/M0006.json +0 -39
- data/schemas/core_3.1.3/schema/tlc/commands/M0007.json +0 -30
- data/schemas/core_3.1.3/schema/tlc/commands/M0008.json +0 -40
- data/schemas/core_3.1.3/schema/tlc/commands/M0010.json +0 -30
- data/schemas/core_3.1.3/schema/tlc/commands/M0011.json +0 -30
- data/schemas/core_3.1.3/schema/tlc/commands/M0012.json +0 -29
- data/schemas/core_3.1.3/schema/tlc/commands/M0013.json +0 -1
- data/schemas/core_3.1.3/schema/tlc/commands/M0014.json +0 -38
- data/schemas/core_3.1.3/schema/tlc/commands/M0015.json +0 -38
- data/schemas/core_3.1.3/schema/tlc/commands/M0016.json +0 -29
- data/schemas/core_3.1.3/schema/tlc/commands/M0017.json +0 -29
- data/schemas/core_3.1.3/schema/tlc/commands/M0018.json +0 -38
- data/schemas/core_3.1.3/schema/tlc/commands/M0019.json +0 -49
- data/schemas/core_3.1.3/schema/tlc/commands/M0020.json +0 -49
- data/schemas/core_3.1.3/schema/tlc/commands/M0021.json +0 -1
- data/schemas/core_3.1.3/schema/tlc/commands/M0103.json +0 -39
- data/schemas/core_3.1.3/schema/tlc/commands/M0104.json +0 -1
- data/schemas/core_3.1.3/schema/tlc/commands/command_requests.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/commands/command_responses.json +0 -7
- data/schemas/core_3.1.3/schema/tlc/commands/commands.json +0 -97
- data/schemas/core_3.1.3/schema/tlc/statuses/S0001.json +0 -45
- data/schemas/core_3.1.3/schema/tlc/statuses/S0002.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0003.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0004.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0005.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0006.json +0 -27
- data/schemas/core_3.1.3/schema/tlc/statuses/S0007.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0008.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0009.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0010.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0011.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0012.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0013.json +0 -27
- data/schemas/core_3.1.3/schema/tlc/statuses/S0014.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0015.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0016.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0017.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0018.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0019.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0020.json +0 -27
- data/schemas/core_3.1.3/schema/tlc/statuses/S0021.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0022.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0023.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0024.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0025.json +0 -80
- data/schemas/core_3.1.3/schema/tlc/statuses/S0026.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0027.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0028.json +0 -18
- data/schemas/core_3.1.3/schema/tlc/statuses/S0029.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0030.json +0 -1
- data/schemas/core_3.1.3/schema/tlc/statuses/S0031.json +0 -1
- data/schemas/core_3.1.3/schema/tlc/statuses/S0091.json +0 -27
- data/schemas/core_3.1.3/schema/tlc/statuses/S0092.json +0 -27
- data/schemas/core_3.1.3/schema/tlc/statuses/S0095.json +0 -17
- data/schemas/core_3.1.3/schema/tlc/statuses/S0096.json +0 -68
- data/schemas/core_3.1.3/schema/tlc/statuses/S0097.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0201.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0202.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0203.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0204.json +0 -98
- data/schemas/core_3.1.3/schema/tlc/statuses/S0205.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0206.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0207.json +0 -26
- data/schemas/core_3.1.3/schema/tlc/statuses/S0208.json +0 -98
- data/schemas/core_3.1.3/schema/tlc/statuses/statuses.json +0 -181
- data/schemas/core_3.1.3/schema/tlc/sxl.json +0 -24
- data/schemas/core_3.1.3/spec/core/aggregated_status_spec.rb +0 -80
- data/schemas/core_3.1.3/spec/core/alarm_spec.rb +0 -300
- data/schemas/core_3.1.3/spec/core/command_request_spec.rb +0 -109
- data/schemas/core_3.1.3/spec/core/command_response_spec.rb +0 -144
- data/schemas/core_3.1.3/spec/core/core_spec.rb +0 -72
- data/schemas/core_3.1.3/spec/core/message_ack.rb +0 -28
- data/schemas/core_3.1.3/spec/core/message_not_ack_spec.rb +0 -55
- data/schemas/core_3.1.3/spec/core/status_request_spec.rb +0 -97
- data/schemas/core_3.1.3/spec/core/status_response_spec.rb +0 -121
- data/schemas/core_3.1.3/spec/core/status_subscribe_spec.rb +0 -126
- data/schemas/core_3.1.3/spec/core/status_unsubscribe_spec.rb +0 -105
- data/schemas/core_3.1.3/spec/core/status_update_spec.rb +0 -121
- data/schemas/core_3.1.3/spec/core/version_spec.rb +0 -149
- data/schemas/core_3.1.3/spec/core/watchdog_spec.rb +0 -37
- data/schemas/core_3.1.3/spec/schemer_helper.rb +0 -21
- data/schemas/core_3.1.3/spec/spec_helper.rb +0 -102
- data/schemas/core_3.1.3/spec/tlc/M0001_spec.rb +0 -67
- data/schemas/core_3.1.3/spec/tlc/S0007_spec.rb +0 -233
- data/schemas/core_3.1.4/.rspec +0 -1
- data/schemas/core_3.1.4/Gemfile +0 -5
- data/schemas/core_3.1.4/Gemfile.lock +0 -37
- data/schemas/core_3.1.4/LICENSE +0 -7
- data/schemas/core_3.1.4/README.md +0 -70
- data/schemas/core_3.1.4/examples/validate.rb +0 -35
- data/schemas/core_3.1.4/schema/core/aggregated_status.json +0 -25
- data/schemas/core_3.1.4/schema/core/alarm.json +0 -55
- data/schemas/core_3.1.4/schema/core/command_request.json +0 -24
- data/schemas/core_3.1.4/schema/core/command_response.json +0 -34
- data/schemas/core_3.1.4/schema/core/core.json +0 -35
- data/schemas/core_3.1.4/schema/core/definitions.json +0 -63
- data/schemas/core_3.1.4/schema/core/message_ack.json +0 -11
- data/schemas/core_3.1.4/schema/core/message_not_ack.json +0 -15
- data/schemas/core_3.1.4/schema/core/rsmp.json +0 -124
- data/schemas/core_3.1.4/schema/core/status.json +0 -21
- data/schemas/core_3.1.4/schema/core/status_request.json +0 -5
- data/schemas/core_3.1.4/schema/core/status_response.json +0 -30
- data/schemas/core_3.1.4/schema/core/status_subscribe.json +0 -27
- data/schemas/core_3.1.4/schema/core/status_unsubscribe.json +0 -5
- data/schemas/core_3.1.4/schema/core/status_update.json +0 -30
- data/schemas/core_3.1.4/schema/core/version.json +0 -47
- data/schemas/core_3.1.4/schema/core/watchdog.json +0 -9
- data/schemas/core_3.1.4/spec/core/aggregated_status_spec.rb +0 -80
- data/schemas/core_3.1.4/spec/core/alarm_request_spec.rb +0 -72
- data/schemas/core_3.1.4/spec/core/alarm_spec.rb +0 -298
- data/schemas/core_3.1.4/spec/core/command_request_spec.rb +0 -106
- data/schemas/core_3.1.4/spec/core/command_response_spec.rb +0 -102
- data/schemas/core_3.1.4/spec/core/core_spec.rb +0 -72
- data/schemas/core_3.1.4/spec/core/message_ack.rb +0 -28
- data/schemas/core_3.1.4/spec/core/message_not_ack_spec.rb +0 -55
- data/schemas/core_3.1.4/spec/core/status_request_spec.rb +0 -93
- data/schemas/core_3.1.4/spec/core/status_response_spec.rb +0 -126
- data/schemas/core_3.1.4/spec/core/status_subscribe_spec.rb +0 -122
- data/schemas/core_3.1.4/spec/core/status_unsubscribe_spec.rb +0 -101
- data/schemas/core_3.1.4/spec/core/status_update_spec.rb +0 -117
- data/schemas/core_3.1.4/spec/core/version_spec.rb +0 -149
- data/schemas/core_3.1.4/spec/core/watchdog_spec.rb +0 -37
- data/schemas/core_3.1.4/spec/schemer_helper.rb +0 -23
- data/schemas/core_3.1.4/spec/spec_helper.rb +0 -102
- data/schemas/core_3.1.5/.gitignore +0 -1
- data/schemas/core_3.1.5/.rspec +0 -1
- data/schemas/core_3.1.5/Gemfile +0 -5
- data/schemas/core_3.1.5/Gemfile.lock +0 -37
- data/schemas/core_3.1.5/LICENSE +0 -7
- data/schemas/core_3.1.5/README.md +0 -70
- data/schemas/core_3.1.5/schema/core/aggregated_status.json +0 -25
- data/schemas/core_3.1.5/schema/core/aggregated_status_request.json +0 -9
- data/schemas/core_3.1.5/schema/core/alarm.json +0 -51
- data/schemas/core_3.1.5/schema/core/alarm_issue.json +0 -44
- data/schemas/core_3.1.5/schema/core/alarm_suspended_resumed.json +0 -44
- data/schemas/core_3.1.5/schema/core/command_request.json +0 -24
- data/schemas/core_3.1.5/schema/core/command_response.json +0 -34
- data/schemas/core_3.1.5/schema/core/core.json +0 -36
- data/schemas/core_3.1.5/schema/core/definitions.json +0 -63
- data/schemas/core_3.1.5/schema/core/message_ack.json +0 -11
- data/schemas/core_3.1.5/schema/core/message_not_ack.json +0 -15
- data/schemas/core_3.1.5/schema/core/rsmp.json +0 -133
- data/schemas/core_3.1.5/schema/core/status.json +0 -21
- data/schemas/core_3.1.5/schema/core/status_request.json +0 -5
- data/schemas/core_3.1.5/schema/core/status_response.json +0 -30
- data/schemas/core_3.1.5/schema/core/status_subscribe.json +0 -27
- data/schemas/core_3.1.5/schema/core/status_unsubscribe.json +0 -5
- data/schemas/core_3.1.5/schema/core/status_update.json +0 -30
- data/schemas/core_3.1.5/schema/core/version.json +0 -47
- data/schemas/core_3.1.5/schema/core/watchdog.json +0 -9
- data/schemas/core_3.1.5/spec/core/aggregated_status_spec.rb +0 -80
- data/schemas/core_3.1.5/spec/core/alarm_issue_spec.rb +0 -299
- data/schemas/core_3.1.5/spec/core/alarm_resume_spec.rb +0 -93
- data/schemas/core_3.1.5/spec/core/alarm_resumed_spec.rb +0 -277
- data/schemas/core_3.1.5/spec/core/alarm_suspend_spec.rb +0 -93
- data/schemas/core_3.1.5/spec/core/alarm_suspended_spec.rb +0 -277
- data/schemas/core_3.1.5/spec/core/command_request_spec.rb +0 -106
- data/schemas/core_3.1.5/spec/core/command_response_spec.rb +0 -102
- data/schemas/core_3.1.5/spec/core/core_spec.rb +0 -72
- data/schemas/core_3.1.5/spec/core/message_ack.rb +0 -28
- data/schemas/core_3.1.5/spec/core/message_not_ack_spec.rb +0 -55
- data/schemas/core_3.1.5/spec/core/status_request_spec.rb +0 -93
- data/schemas/core_3.1.5/spec/core/status_response_spec.rb +0 -126
- data/schemas/core_3.1.5/spec/core/status_subscribe_spec.rb +0 -122
- data/schemas/core_3.1.5/spec/core/status_unsubscribe_spec.rb +0 -101
- data/schemas/core_3.1.5/spec/core/status_update_spec.rb +0 -117
- data/schemas/core_3.1.5/spec/core/version_spec.rb +0 -150
- data/schemas/core_3.1.5/spec/core/watchdog_spec.rb +0 -37
- data/schemas/core_3.1.5/spec/schemer_helper.rb +0 -23
- data/schemas/core_3.1.5/spec/spec_helper.rb +0 -102
- data/schemas/tlc_1.0.10/.gitignore +0 -1
- data/schemas/tlc_1.0.10/.rspec +0 -1
- data/schemas/tlc_1.0.10/Gemfile +0 -5
- data/schemas/tlc_1.0.10/Gemfile.lock +0 -37
- data/schemas/tlc_1.0.10/LICENSE +0 -7
- data/schemas/tlc_1.0.10/README.md +0 -70
- data/schemas/tlc_1.0.10/schema/core/definitions.json +0 -63
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0001.json +0 -7
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0002.json +0 -7
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0003.json +0 -7
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0004.json +0 -7
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0005.json +0 -7
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0006.json +0 -7
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0007.json +0 -7
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0008.json +0 -34
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0009.json +0 -7
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0101.json +0 -7
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0201.json +0 -39
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0202.json +0 -39
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0301.json +0 -105
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0302.json +0 -131
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0001.json +0 -105
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0002.json +0 -79
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0003.json +0 -79
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0004.json +0 -58
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0005.json +0 -79
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0006.json +0 -79
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0007.json +0 -58
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0008.json +0 -79
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0010.json +0 -58
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0011.json +0 -58
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0012.json +0 -58
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0013.json +0 -58
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0019.json +0 -100
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0103.json +0 -82
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0104.json +0 -163
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0001.json +0 -98
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0002.json +0 -34
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0003.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0004.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0005.json +0 -34
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0006.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0007.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0008.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0009.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0010.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0011.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0012.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0013.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0014.json +0 -34
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0015.json +0 -34
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0016.json +0 -34
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0017.json +0 -34
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0018.json +0 -34
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0019.json +0 -34
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0020.json +0 -61
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0021.json +0 -35
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0091.json +0 -61
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0092.json +0 -61
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0095.json +0 -34
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0096.json +0 -139
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0201.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0202.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0203.json +0 -55
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0204.json +0 -223
- data/schemas/tlc_1.0.10/schema/tlc/sxl.json +0 -71
- data/schemas/tlc_1.0.10/spec/schemer_helper.rb +0 -21
- data/schemas/tlc_1.0.10/spec/spec_helper.rb +0 -102
- data/schemas/tlc_1.0.10/spec/tlc/M0001_spec.rb +0 -67
- data/schemas/tlc_1.0.10/spec/tlc/S0007_spec.rb +0 -159
- data/schemas/tlc_1.0.13/.gitignore +0 -1
- data/schemas/tlc_1.0.13/.rspec +0 -1
- data/schemas/tlc_1.0.13/Gemfile +0 -5
- data/schemas/tlc_1.0.13/Gemfile.lock +0 -37
- data/schemas/tlc_1.0.13/LICENSE +0 -7
- data/schemas/tlc_1.0.13/README.md +0 -70
- data/schemas/tlc_1.0.13/schema/core/definitions.json +0 -63
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0001.json +0 -7
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0002.json +0 -7
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0003.json +0 -7
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0004.json +0 -7
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0005.json +0 -7
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0006.json +0 -7
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0007.json +0 -7
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0008.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0009.json +0 -7
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0101.json +0 -7
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0201.json +0 -39
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0202.json +0 -39
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0301.json +0 -105
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0302.json +0 -131
- data/schemas/tlc_1.0.13/schema/tlc/alarms/alarms.json +0 -254
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0001.json +0 -105
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0002.json +0 -79
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0003.json +0 -79
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0004.json +0 -58
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0005.json +0 -79
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0006.json +0 -79
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0007.json +0 -58
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0008.json +0 -79
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0010.json +0 -58
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0011.json +0 -58
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0012.json +0 -58
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0013.json +0 -58
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0014.json +0 -79
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0015.json +0 -79
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0016.json +0 -58
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0017.json +0 -58
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0018.json +0 -79
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0019.json +0 -100
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0103.json +0 -82
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0104.json +0 -163
- data/schemas/tlc_1.0.13/schema/tlc/commands/commands.json +0 -366
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0001.json +0 -98
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0002.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0003.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0004.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0005.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0006.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0007.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0008.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0009.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0010.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0011.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0012.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0013.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0014.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0015.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0016.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0017.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0018.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0019.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0020.json +0 -61
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0021.json +0 -35
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0022.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0023.json +0 -35
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0024.json +0 -35
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0025.json +0 -181
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0026.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0027.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0028.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0029.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0091.json +0 -61
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0092.json +0 -61
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0095.json +0 -34
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0096.json +0 -139
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0201.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0202.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0203.json +0 -55
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0204.json +0 -223
- data/schemas/tlc_1.0.13/schema/tlc/statuses/statuses.json +0 -640
- data/schemas/tlc_1.0.13/schema/tlc/sxl.json +0 -71
- data/schemas/tlc_1.0.13/spec/schemer_helper.rb +0 -21
- data/schemas/tlc_1.0.13/spec/spec_helper.rb +0 -102
- data/schemas/tlc_1.0.13/spec/tlc/M0001_spec.rb +0 -67
- data/schemas/tlc_1.0.13/spec/tlc/S0007_spec.rb +0 -159
- data/schemas/tlc_1.0.13/spec/tlc/S0023_spec.rb +0 -96
- data/schemas/tlc_1.0.14/.gitignore +0 -1
- data/schemas/tlc_1.0.14/.rspec +0 -1
- data/schemas/tlc_1.0.14/Gemfile +0 -5
- data/schemas/tlc_1.0.14/Gemfile.lock +0 -37
- data/schemas/tlc_1.0.14/LICENSE +0 -7
- data/schemas/tlc_1.0.14/README.md +0 -70
- data/schemas/tlc_1.0.14/schema/core/definitions.json +0 -63
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0001.json +0 -7
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0002.json +0 -7
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0003.json +0 -7
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0004.json +0 -7
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0005.json +0 -7
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0006.json +0 -7
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0007.json +0 -7
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0008.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0009.json +0 -7
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0101.json +0 -7
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0201.json +0 -39
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0202.json +0 -39
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0301.json +0 -105
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0302.json +0 -131
- data/schemas/tlc_1.0.14/schema/tlc/alarms/alarms.json +0 -254
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0001.json +0 -105
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0002.json +0 -79
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0003.json +0 -79
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0004.json +0 -58
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0005.json +0 -79
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0006.json +0 -79
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0007.json +0 -58
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0008.json +0 -79
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0010.json +0 -58
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0011.json +0 -58
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0012.json +0 -58
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0013.json +0 -58
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0014.json +0 -79
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0015.json +0 -79
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0016.json +0 -58
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0017.json +0 -58
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0018.json +0 -79
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0019.json +0 -100
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0103.json +0 -82
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0104.json +0 -163
- data/schemas/tlc_1.0.14/schema/tlc/commands/commands.json +0 -366
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0001.json +0 -98
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0002.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0003.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0004.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0005.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0006.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0007.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0008.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0009.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0010.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0011.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0012.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0013.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0014.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0015.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0016.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0017.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0018.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0019.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0020.json +0 -61
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0021.json +0 -35
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0022.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0023.json +0 -35
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0024.json +0 -35
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0025.json +0 -181
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0026.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0027.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0028.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0029.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0091.json +0 -61
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0092.json +0 -61
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0095.json +0 -34
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0096.json +0 -139
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0201.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0202.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0203.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0204.json +0 -223
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0205.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0206.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0207.json +0 -55
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0208.json +0 -223
- data/schemas/tlc_1.0.14/schema/tlc/statuses/statuses.json +0 -704
- data/schemas/tlc_1.0.14/schema/tlc/sxl.json +0 -71
- data/schemas/tlc_1.0.14/spec/schemer_helper.rb +0 -21
- data/schemas/tlc_1.0.14/spec/spec_helper.rb +0 -102
- data/schemas/tlc_1.0.14/spec/tlc/M0001_spec.rb +0 -67
- data/schemas/tlc_1.0.14/spec/tlc/S0007_spec.rb +0 -159
- data/schemas/tlc_1.0.14/spec/tlc/S0023_spec.rb +0 -96
- data/schemas/tlc_1.0.15/.gitignore +0 -1
- data/schemas/tlc_1.0.15/.rspec +0 -1
- data/schemas/tlc_1.0.15/Gemfile +0 -5
- data/schemas/tlc_1.0.15/Gemfile.lock +0 -37
- data/schemas/tlc_1.0.15/LICENSE +0 -7
- data/schemas/tlc_1.0.15/README.md +0 -70
- data/schemas/tlc_1.0.15/schema/core/definitions.json +0 -63
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0001.json +0 -7
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0002.json +0 -7
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0003.json +0 -7
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0004.json +0 -7
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0005.json +0 -7
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0006.json +0 -7
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0007.json +0 -7
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0008.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0009.json +0 -7
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0010.json +0 -7
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0101.json +0 -7
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0201.json +0 -39
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0202.json +0 -39
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0301.json +0 -105
- data/schemas/tlc_1.0.15/schema/tlc/alarms/A0302.json +0 -131
- data/schemas/tlc_1.0.15/schema/tlc/alarms/alarms.json +0 -254
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0001.json +0 -105
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0002.json +0 -79
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0003.json +0 -79
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0004.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0005.json +0 -79
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0006.json +0 -79
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0007.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0008.json +0 -79
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0010.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0011.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0012.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0013.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0014.json +0 -79
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0015.json +0 -79
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0016.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0017.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0018.json +0 -79
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0019.json +0 -100
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0020.json +0 -100
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0021.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0103.json +0 -82
- data/schemas/tlc_1.0.15/schema/tlc/commands/M0104.json +0 -163
- data/schemas/tlc_1.0.15/schema/tlc/commands/commands.json +0 -366
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0001.json +0 -98
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0002.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0003.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0004.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0005.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0006.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0007.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0008.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0009.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0010.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0011.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0012.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0013.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0014.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0015.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0016.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0017.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0018.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0019.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0020.json +0 -61
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0021.json +0 -35
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0022.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0023.json +0 -35
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0024.json +0 -35
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0025.json +0 -181
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0026.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0027.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0028.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0029.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0030.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0031.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0091.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0092.json +0 -58
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0095.json +0 -34
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0096.json +0 -139
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0097.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0098.json +0 -76
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0201.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0202.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0203.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0204.json +0 -223
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0205.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0206.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0207.json +0 -55
- data/schemas/tlc_1.0.15/schema/tlc/statuses/S0208.json +0 -223
- data/schemas/tlc_1.0.15/schema/tlc/sxl.json +0 -71
- data/schemas/tlc_1.0.15/spec/schemer_helper.rb +0 -21
- data/schemas/tlc_1.0.15/spec/spec_helper.rb +0 -102
- data/schemas/tlc_1.0.15/spec/tlc/M0001_spec.rb +0 -67
- data/schemas/tlc_1.0.15/spec/tlc/S0007_spec.rb +0 -159
- data/schemas/tlc_1.0.15/spec/tlc/S0023_spec.rb +0 -96
- data/schemas/tlc_1.0.7/.gitignore +0 -1
- data/schemas/tlc_1.0.7/.rspec +0 -1
- data/schemas/tlc_1.0.7/Gemfile +0 -5
- data/schemas/tlc_1.0.7/Gemfile.lock +0 -37
- data/schemas/tlc_1.0.7/LICENSE +0 -7
- data/schemas/tlc_1.0.7/README.md +0 -70
- data/schemas/tlc_1.0.7/schema/core/definitions.json +0 -63
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0001.json +0 -7
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0002.json +0 -7
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0003.json +0 -7
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0004.json +0 -7
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0005.json +0 -7
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0006.json +0 -7
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0007.json +0 -7
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0008.json +0 -34
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0009.json +0 -7
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0101.json +0 -7
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0201.json +0 -39
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0202.json +0 -39
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0301.json +0 -105
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0302.json +0 -131
- data/schemas/tlc_1.0.7/schema/tlc/alarms/alarms.json +0 -254
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0001.json +0 -105
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0002.json +0 -79
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0003.json +0 -79
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0004.json +0 -58
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0005.json +0 -79
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0006.json +0 -79
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0007.json +0 -58
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0008.json +0 -79
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0010.json +0 -58
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0011.json +0 -58
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0019.json +0 -100
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0103.json +0 -82
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0104.json +0 -163
- data/schemas/tlc_1.0.7/schema/tlc/commands/commands.json +0 -366
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0001.json +0 -98
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0002.json +0 -34
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0003.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0004.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0005.json +0 -34
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0006.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0007.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0008.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0009.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0010.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0011.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0012.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0013.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0014.json +0 -34
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0015.json +0 -34
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0016.json +0 -34
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0017.json +0 -34
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0018.json +0 -34
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0019.json +0 -34
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0020.json +0 -61
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0021.json +0 -35
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0091.json +0 -61
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0092.json +0 -61
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0095.json +0 -34
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0096.json +0 -139
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0201.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0202.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0203.json +0 -55
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0204.json +0 -223
- data/schemas/tlc_1.0.7/schema/tlc/statuses/statuses.json +0 -662
- data/schemas/tlc_1.0.7/schema/tlc/sxl.json +0 -71
- data/schemas/tlc_1.0.7/spec/schemer_helper.rb +0 -21
- data/schemas/tlc_1.0.7/spec/spec_helper.rb +0 -102
- data/schemas/tlc_1.0.7/spec/tlc/M0001_spec.rb +0 -67
- data/schemas/tlc_1.0.7/spec/tlc/S0007_spec.rb +0 -159
- data/schemas/tlc_1.0.8/.gitignore +0 -1
- data/schemas/tlc_1.0.8/.rspec +0 -1
- data/schemas/tlc_1.0.8/Gemfile +0 -5
- data/schemas/tlc_1.0.8/Gemfile.lock +0 -37
- data/schemas/tlc_1.0.8/LICENSE +0 -7
- data/schemas/tlc_1.0.8/README.md +0 -70
- data/schemas/tlc_1.0.8/schema/core/definitions.json +0 -63
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0001.json +0 -7
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0002.json +0 -7
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0003.json +0 -7
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0004.json +0 -7
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0005.json +0 -7
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0006.json +0 -7
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0007.json +0 -7
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0008.json +0 -34
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0009.json +0 -7
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0101.json +0 -7
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0201.json +0 -39
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0202.json +0 -39
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0301.json +0 -105
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0302.json +0 -131
- data/schemas/tlc_1.0.8/schema/tlc/alarms/alarms.json +0 -254
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0001.json +0 -105
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0002.json +0 -79
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0003.json +0 -79
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0004.json +0 -58
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0005.json +0 -79
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0006.json +0 -79
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0007.json +0 -58
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0008.json +0 -79
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0010.json +0 -58
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0011.json +0 -58
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0012.json +0 -58
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0013.json +0 -58
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0019.json +0 -100
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0103.json +0 -82
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0104.json +0 -163
- data/schemas/tlc_1.0.8/schema/tlc/commands/commands.json +0 -366
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0001.json +0 -98
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0002.json +0 -34
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0003.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0004.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0005.json +0 -34
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0006.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0007.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0008.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0009.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0010.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0011.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0012.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0013.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0014.json +0 -34
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0015.json +0 -34
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0016.json +0 -34
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0017.json +0 -34
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0018.json +0 -34
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0019.json +0 -34
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0020.json +0 -61
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0021.json +0 -35
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0091.json +0 -61
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0092.json +0 -61
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0095.json +0 -34
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0096.json +0 -139
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0201.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0202.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0203.json +0 -55
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0204.json +0 -223
- data/schemas/tlc_1.0.8/schema/tlc/statuses/statuses.json +0 -662
- data/schemas/tlc_1.0.8/schema/tlc/sxl.json +0 -71
- data/schemas/tlc_1.0.8/spec/schemer_helper.rb +0 -21
- data/schemas/tlc_1.0.8/spec/spec_helper.rb +0 -102
- data/schemas/tlc_1.0.8/spec/tlc/M0001_spec.rb +0 -67
- data/schemas/tlc_1.0.8/spec/tlc/S0007_spec.rb +0 -159
- data/schemas/tlc_1.0.9/.gitignore +0 -1
- data/schemas/tlc_1.0.9/.rspec +0 -1
- data/schemas/tlc_1.0.9/Gemfile +0 -5
- data/schemas/tlc_1.0.9/Gemfile.lock +0 -37
- data/schemas/tlc_1.0.9/LICENSE +0 -7
- data/schemas/tlc_1.0.9/README.md +0 -70
- data/schemas/tlc_1.0.9/schema/core/definitions.json +0 -63
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0001.json +0 -7
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0002.json +0 -7
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0003.json +0 -7
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0004.json +0 -7
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0005.json +0 -7
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0006.json +0 -7
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0007.json +0 -7
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0008.json +0 -34
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0009.json +0 -7
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0101.json +0 -7
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0201.json +0 -39
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0202.json +0 -39
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0301.json +0 -105
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0302.json +0 -131
- data/schemas/tlc_1.0.9/schema/tlc/alarms/alarms.json +0 -254
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0001.json +0 -105
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0002.json +0 -79
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0003.json +0 -79
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0004.json +0 -58
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0005.json +0 -79
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0006.json +0 -79
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0007.json +0 -58
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0008.json +0 -79
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0010.json +0 -58
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0011.json +0 -58
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0012.json +0 -58
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0013.json +0 -58
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0019.json +0 -100
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0103.json +0 -82
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0104.json +0 -163
- data/schemas/tlc_1.0.9/schema/tlc/commands/commands.json +0 -366
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0001.json +0 -98
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0002.json +0 -34
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0003.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0004.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0005.json +0 -34
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0006.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0007.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0008.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0009.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0010.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0011.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0012.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0013.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0014.json +0 -34
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0015.json +0 -34
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0016.json +0 -34
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0017.json +0 -34
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0018.json +0 -34
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0019.json +0 -34
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0020.json +0 -61
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0021.json +0 -35
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0091.json +0 -61
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0092.json +0 -61
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0095.json +0 -34
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0096.json +0 -139
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0201.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0202.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0203.json +0 -55
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0204.json +0 -223
- data/schemas/tlc_1.0.9/schema/tlc/statuses/statuses.json +0 -662
- data/schemas/tlc_1.0.9/schema/tlc/sxl.json +0 -71
- data/schemas/tlc_1.0.9/spec/schemer_helper.rb +0 -21
- data/schemas/tlc_1.0.9/spec/spec_helper.rb +0 -102
- data/schemas/tlc_1.0.9/spec/tlc/M0001_spec.rb +0 -67
- data/schemas/tlc_1.0.9/spec/tlc/S0007_spec.rb +0 -159
@@ -0,0 +1,26 @@
|
|
1
|
+
RSpec.describe "Traffic Light Controller RSMP SXL Schema validation" do
|
2
|
+
let(:message) {{
|
3
|
+
"mType" => "rSMsg",
|
4
|
+
"type" => "MessageAck",
|
5
|
+
"oMId" => "92b9706d-0466-4518-8663-00b9690e9c41"
|
6
|
+
}}
|
7
|
+
|
8
|
+
it 'accepts valid message' do
|
9
|
+
expect( validate(message, 'core') ).to be_nil
|
10
|
+
end
|
11
|
+
|
12
|
+
it 'catches missing oMId' do
|
13
|
+
message.delete 'oMId'
|
14
|
+
expect( validate(message, 'core') ).to eq(
|
15
|
+
[["", "required", {"missing_keys"=>["oMId"]}]
|
16
|
+
)
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'catches bad oMid' do
|
20
|
+
message['oMId'] = '4173c2c8a93343cb942566d4613731ed' # missing dashes
|
21
|
+
expect( validate(message, 'core') ).to eq(
|
22
|
+
[["/oMId", "pattern"]
|
23
|
+
)
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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
|
+
"siteId" => [
|
6
|
+
{ "sId" => "RN+SI0001" }
|
7
|
+
],
|
8
|
+
"type" => "MessageNotAck",
|
9
|
+
"oMId" => "92b9706d-0466-4518-8663-00b9690e9c41",
|
10
|
+
"rea" => "Unknown json type: Watchdog"
|
11
|
+
}}
|
12
|
+
|
13
|
+
it 'accepts valid message' do
|
14
|
+
expect( validate(message, 'core') ).to be_nil
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'catches missing old message id' do
|
18
|
+
message.delete 'oMId'
|
19
|
+
expect( validate(message, 'core') ).to eq(
|
20
|
+
[["", "required", {"missing_keys"=>["oMId"]}]]
|
21
|
+
)
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'catches bad old version message id format' do
|
25
|
+
message['oMId'] = '4173c2c8-a933-ouch-9425-66d4613731ed'
|
26
|
+
expect( validate(message, 'core') ).to eq(
|
27
|
+
[["/oMId", "pattern"]]
|
28
|
+
)
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'catches wrong old version message id type' do
|
32
|
+
message['oMId'] = 1234
|
33
|
+
expect( validate(message, 'core') ).to eq(
|
34
|
+
[["/oMId", "string"]]
|
35
|
+
)
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'allows reason to be omitted' do
|
39
|
+
message.delete 'rea'
|
40
|
+
expect( validate(message, 'core') ).to be_nil
|
41
|
+
end
|
42
|
+
|
43
|
+
it 'catches bad reason, must be string' do
|
44
|
+
message['rea'] = 123
|
45
|
+
expect( validate(message, 'core') ).to eq(
|
46
|
+
[["/rea", "string"]]
|
47
|
+
)
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
@@ -0,0 +1,84 @@
|
|
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" => "StatusRequest",
|
6
|
+
"cId" => "O+14439=481WA001",
|
7
|
+
"sS" => [
|
8
|
+
{ "sCI" => "S0003", "n" => "inputstatus" }
|
9
|
+
]
|
10
|
+
}}
|
11
|
+
|
12
|
+
it 'accepts valid status request' do
|
13
|
+
expect( validate(message, 'core') ).to be_nil
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'catches missing component id' do
|
17
|
+
message.delete 'cId'
|
18
|
+
expect( validate(message, 'core') ).to eq(
|
19
|
+
[["", "required", {"missing_keys"=>["cId"]}]]
|
20
|
+
)
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'catches bad status code' do
|
24
|
+
message['sS'].first['sCI'] = '99'
|
25
|
+
expect( validate(message, 'core') ).to eq(
|
26
|
+
[["/sS/0/sCI", "pattern"]]
|
27
|
+
)
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'catches missing sS' do
|
31
|
+
message.delete 'sS'
|
32
|
+
expect( validate(message, 'core') ).to eq(
|
33
|
+
[["", "required", {"missing_keys"=>['sS']}]]
|
34
|
+
)
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'catches empty sS array' do
|
38
|
+
message['sS'].clear
|
39
|
+
expect( validate(message, 'core') ).to eq(
|
40
|
+
[["/sS", "minItems"]]
|
41
|
+
)
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'catches bad sS type' do
|
45
|
+
message['sS'] = {}
|
46
|
+
expect( validate(message, 'core') ).to eq(
|
47
|
+
[["/sS", "array"]]
|
48
|
+
)
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'catches missing status code' do
|
52
|
+
message['sS'].first.delete 'sCI'
|
53
|
+
expect( validate(message, 'core') ).to eq(
|
54
|
+
[["/sS/0", "required", {"missing_keys"=>["sCI"]}]]
|
55
|
+
)
|
56
|
+
end
|
57
|
+
|
58
|
+
it 'catches bad status code' do
|
59
|
+
message['sS'].first['sCI'] = 3
|
60
|
+
expect( validate(message, 'core') ).to eq(
|
61
|
+
[["/sS/0/sCI", "string"]]
|
62
|
+
)
|
63
|
+
|
64
|
+
message['sS'].first['sCI'] = '3'
|
65
|
+
expect( validate(message, 'core') ).to eq(
|
66
|
+
[["/sS/0/sCI", "pattern"]]
|
67
|
+
)
|
68
|
+
end
|
69
|
+
|
70
|
+
it 'catches missing name' do
|
71
|
+
message['sS'].first.delete 'n'
|
72
|
+
expect( validate(message, 'core') ).to eq(
|
73
|
+
[["/sS/0", "required", {"missing_keys"=>["n"]}]]
|
74
|
+
)
|
75
|
+
end
|
76
|
+
|
77
|
+
it 'catches bad name' do
|
78
|
+
message['sS'].first['n'] = 3
|
79
|
+
expect( validate(message, 'core') ).to eq(
|
80
|
+
[["/sS/0/n", "string"]]
|
81
|
+
)
|
82
|
+
end
|
83
|
+
|
84
|
+
end
|
@@ -0,0 +1,135 @@
|
|
1
|
+
RSpec.describe "Traffic Light Controller RSMP SXL Schema validation" do
|
2
|
+
let(:message_3_1_1) {{
|
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" => "S0003", "n" => "inputstatus", "s" => "100101", "ageState" => "recent" }
|
10
|
+
]
|
11
|
+
}}
|
12
|
+
|
13
|
+
let(:message_3_1_3) {{
|
14
|
+
"mType" => "rSMsg",
|
15
|
+
"mId" => "4173c2c8-a933-43cb-9425-66d4613731ed",
|
16
|
+
"type" => "StatusResponse",
|
17
|
+
"cId" => "O+14439=481WA001",
|
18
|
+
"sTs" => "2015-06-08T09:15:18.266Z",
|
19
|
+
"sS" => [
|
20
|
+
{ "sCI" => "S0003", "n" => "inputstatus", "s" => "100101", "q" => "recent" }
|
21
|
+
]
|
22
|
+
}}
|
23
|
+
|
24
|
+
def make_variations
|
25
|
+
{
|
26
|
+
'3.1.1' => message_3_1_1,
|
27
|
+
'3.1.2' => message_3_1_1,
|
28
|
+
'3.1.3' => message_3_1_3,
|
29
|
+
'3.1.4' => message_3_1_3,
|
30
|
+
'3.1.5' => message_3_1_3
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
def validate_core
|
35
|
+
validate_variations(make_variations, 'core')
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'accepts ageState in message_3_1_1 versions, q in newer' do
|
39
|
+
expect(validate_core).to be_nil
|
40
|
+
end
|
41
|
+
|
42
|
+
it 'rejects q in message_3_1_1 version, ageState in newer' do
|
43
|
+
expect( validate(message_3_1_3, 'core', ['3.1.1','3.1.2']) ).to eq(
|
44
|
+
[["/sS/0", "required", {"missing_keys"=>["ageState"]}], ["/sS/0/q", "schema"]]
|
45
|
+
)
|
46
|
+
|
47
|
+
expect( validate(message_3_1_1, 'core', ['3.1.3','3.1.4','3.1.5']) ).to eq(
|
48
|
+
[["/sS/0", "required", {"missing_keys"=>["q"]}],["/sS/0/ageState", "schema"]]
|
49
|
+
)
|
50
|
+
end
|
51
|
+
|
52
|
+
it 'catches missing component id' do
|
53
|
+
message_3_1_1.delete 'cId'
|
54
|
+
message_3_1_3.delete 'cId'
|
55
|
+
expect(validate_core).to eq( [["", "required", {"missing_keys"=>["cId"]}]] )
|
56
|
+
end
|
57
|
+
|
58
|
+
it 'catches bad status code' do
|
59
|
+
message_3_1_3['sS'].first['sCI'] = '99'
|
60
|
+
message_3_1_1['sS'].first['sCI'] = '99'
|
61
|
+
expect(validate_core).to eq([["/sS/0/sCI", "pattern"]])
|
62
|
+
end
|
63
|
+
|
64
|
+
it 'catches missing sS' do
|
65
|
+
message_3_1_3.delete 'sS'
|
66
|
+
message_3_1_1.delete 'sS'
|
67
|
+
expect(validate_core).to eq([["", "required", {"missing_keys"=>['sS']}]])
|
68
|
+
end
|
69
|
+
|
70
|
+
it 'catches empty sS array' do
|
71
|
+
message_3_1_3['sS'].clear
|
72
|
+
expect( validate(message_3_1_3, 'core') ).to eq([["/sS", "minItems"]])
|
73
|
+
end
|
74
|
+
|
75
|
+
it 'catches bad sS type' do
|
76
|
+
message_3_1_3['sS'] = {}
|
77
|
+
expect( validate(message_3_1_3, 'core') ).to eq([["/sS", "array"]])
|
78
|
+
end
|
79
|
+
|
80
|
+
it 'catches missing status code' do
|
81
|
+
message_3_1_1['sS'].first.delete 'sCI'
|
82
|
+
message_3_1_3['sS'].first.delete 'sCI'
|
83
|
+
expect(validate_core).to eq([["/sS/0", "required", {"missing_keys"=>["sCI"]}]])
|
84
|
+
end
|
85
|
+
|
86
|
+
it 'catches bad status code' do
|
87
|
+
message_3_1_1['sS'].first['sCI'] = 3
|
88
|
+
message_3_1_3['sS'].first['sCI'] = 3
|
89
|
+
expect(validate_core).to eq([["/sS/0/sCI", "string"]])
|
90
|
+
|
91
|
+
message_3_1_3['sS'].first['sCI'] = '3'
|
92
|
+
message_3_1_1['sS'].first['sCI'] = '3'
|
93
|
+
expect(validate_core).to eq([["/sS/0/sCI", "pattern"]])
|
94
|
+
end
|
95
|
+
|
96
|
+
it 'catches missing name' do
|
97
|
+
message_3_1_1['sS'].first.delete 'n'
|
98
|
+
message_3_1_3['sS'].first.delete 'n'
|
99
|
+
expect(validate_core).to eq([["/sS/0", "required", {"missing_keys"=>["n"]}]])
|
100
|
+
end
|
101
|
+
|
102
|
+
it 'catches bad name' do
|
103
|
+
message_3_1_1['sS'].first['n'] = 3
|
104
|
+
message_3_1_3['sS'].first['n'] = 3
|
105
|
+
expect(validate_core).to eq([["/sS/0/n", "string"]])
|
106
|
+
end
|
107
|
+
|
108
|
+
it 'catches missing value' do
|
109
|
+
message_3_1_1['sS'].first.delete 's'
|
110
|
+
message_3_1_3['sS'].first.delete 's'
|
111
|
+
expect(validate_core).to eq([["/sS/0", "required", {"missing_keys"=>["s"]}]])
|
112
|
+
end
|
113
|
+
|
114
|
+
it 'catches missing quality' do
|
115
|
+
message_3_1_1['sS'].first.delete 'ageState'
|
116
|
+
message_3_1_3['sS'].first.delete 'q'
|
117
|
+
expect( validate(message_3_1_1, 'core', ['3.1.1','3.1.2']) ).to eq(
|
118
|
+
[["/sS/0", "required", {"missing_keys"=>["ageState"]}]]
|
119
|
+
)
|
120
|
+
expect( validate(message_3_1_3, 'core', ['3.1.3','3.1.4','3.1.5']) ).to eq(
|
121
|
+
[["/sS/0", "required", {"missing_keys"=>["q"]}]]
|
122
|
+
)
|
123
|
+
end
|
124
|
+
|
125
|
+
it 'catches bad quality' do
|
126
|
+
message_3_1_1['sS'].first['ageState'] = 'great'
|
127
|
+
message_3_1_3['sS'].first['q'] = 'great'
|
128
|
+
expect( validate(message_3_1_1, 'core', ['3.1.1','3.1.2']) ).to eq(
|
129
|
+
[["/sS/0/ageState", "enum"]]
|
130
|
+
)
|
131
|
+
expect( validate(message_3_1_3, 'core', ['3.1.3','3.1.4','3.1.5']) ).to eq(
|
132
|
+
[["/sS/0/q", "enum"]]
|
133
|
+
)
|
134
|
+
end
|
135
|
+
end
|
@@ -0,0 +1,154 @@
|
|
1
|
+
RSpec.describe "Traffic Light Controller RSMP SXL Schema validation" do
|
2
|
+
let(:message_3_1_1) {{
|
3
|
+
"mType" => "rSMsg",
|
4
|
+
"mId" => "4173c2c8-a933-43cb-9425-66d4613731ed",
|
5
|
+
"type" => "StatusSubscribe",
|
6
|
+
"cId" => "O+14439=481WA001",
|
7
|
+
"sS" => [
|
8
|
+
{ "sCI" => "S0003", "n" => "inputstatus", "uRt" => "0" }
|
9
|
+
]
|
10
|
+
}}
|
11
|
+
let(:message_3_1_5) {{
|
12
|
+
"mType" => "rSMsg",
|
13
|
+
"mId" => "4173c2c8-a933-43cb-9425-66d4613731ed",
|
14
|
+
"type" => "StatusSubscribe",
|
15
|
+
"cId" => "O+14439=481WA001",
|
16
|
+
"sS" => [
|
17
|
+
{ "sCI" => "S0003", "n" => "inputstatus", "uRt" => "0", "sOc" => "True" }
|
18
|
+
]
|
19
|
+
}}
|
20
|
+
|
21
|
+
def make_variations
|
22
|
+
{
|
23
|
+
'3.1.1' => message_3_1_1,
|
24
|
+
'3.1.2' => message_3_1_1,
|
25
|
+
'3.1.3' => message_3_1_1,
|
26
|
+
'3.1.4' => message_3_1_1,
|
27
|
+
'3.1.5' => message_3_1_5
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
def validate_core
|
32
|
+
validate_variations(make_variations, 'core')
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'accepts valid status subscription' do
|
36
|
+
expect(validate_core).to be_nil
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'catches missing component id' do
|
40
|
+
message_3_1_1.delete 'cId'
|
41
|
+
message_3_1_5.delete 'cId'
|
42
|
+
expect(validate_core).to eq(
|
43
|
+
[["", "required", {"missing_keys"=>["cId"]}]]
|
44
|
+
)
|
45
|
+
end
|
46
|
+
|
47
|
+
it 'catches bad status code' do
|
48
|
+
message_3_1_1['sS'].first['sCI'] = '99'
|
49
|
+
message_3_1_5['sS'].first['sCI'] = '99'
|
50
|
+
expect(validate_core).to eq(
|
51
|
+
[["/sS/0/sCI", "pattern"]]
|
52
|
+
)
|
53
|
+
end
|
54
|
+
|
55
|
+
it 'catches missing sS' do
|
56
|
+
message_3_1_1.delete 'sS'
|
57
|
+
message_3_1_5.delete 'sS'
|
58
|
+
expect(validate_core).to eq(
|
59
|
+
[["", "required", {"missing_keys"=>['sS']}]]
|
60
|
+
)
|
61
|
+
end
|
62
|
+
|
63
|
+
it 'catches empty sS array' do
|
64
|
+
message_3_1_1['sS'].clear
|
65
|
+
message_3_1_5['sS'].clear
|
66
|
+
expect(validate_core).to eq(
|
67
|
+
[["/sS", "minItems"]]
|
68
|
+
)
|
69
|
+
end
|
70
|
+
|
71
|
+
it 'catches bad sS type' do
|
72
|
+
message_3_1_1['sS'] = {}
|
73
|
+
message_3_1_5['sS'] = {}
|
74
|
+
expect(validate_core).to eq(
|
75
|
+
[["/sS", "array"]]
|
76
|
+
)
|
77
|
+
end
|
78
|
+
|
79
|
+
it 'catches missing status code' do
|
80
|
+
message_3_1_1['sS'].first.delete 'sCI'
|
81
|
+
message_3_1_5['sS'].first.delete 'sCI'
|
82
|
+
expect(validate_core).to eq(
|
83
|
+
[["/sS/0", "required", {"missing_keys"=>["sCI"]}]]
|
84
|
+
)
|
85
|
+
end
|
86
|
+
|
87
|
+
it 'catches bad status code' do
|
88
|
+
message_3_1_1['sS'].first['sCI'] = 3
|
89
|
+
message_3_1_5['sS'].first['sCI'] = 3
|
90
|
+
expect(validate_core).to eq(
|
91
|
+
[["/sS/0/sCI", "string"]]
|
92
|
+
)
|
93
|
+
|
94
|
+
message_3_1_1['sS'].first['sCI'] = '3'
|
95
|
+
message_3_1_5['sS'].first['sCI'] = '3'
|
96
|
+
expect(validate_core).to eq(
|
97
|
+
[["/sS/0/sCI", "pattern"]]
|
98
|
+
)
|
99
|
+
end
|
100
|
+
|
101
|
+
it 'catches missing name' do
|
102
|
+
message_3_1_1['sS'].first.delete 'n'
|
103
|
+
message_3_1_5['sS'].first.delete 'n'
|
104
|
+
expect(validate_core).to eq(
|
105
|
+
[["/sS/0", "required", {"missing_keys"=>["n"]}]]
|
106
|
+
)
|
107
|
+
end
|
108
|
+
|
109
|
+
it 'catches bad name' do
|
110
|
+
message_3_1_1['sS'].first['n'] = 3
|
111
|
+
message_3_1_5['sS'].first['n'] = 3
|
112
|
+
expect(validate_core).to eq(
|
113
|
+
[["/sS/0/n", "string"]]
|
114
|
+
)
|
115
|
+
end
|
116
|
+
|
117
|
+
it 'catches missing uRt' do
|
118
|
+
message_3_1_1['sS'].first.delete 'uRt'
|
119
|
+
message_3_1_5['sS'].first.delete 'uRt'
|
120
|
+
expect(validate_core).to eq(
|
121
|
+
[["/sS/0", "required", {"missing_keys"=>["uRt"]}]]
|
122
|
+
)
|
123
|
+
end
|
124
|
+
|
125
|
+
it 'catches bad uRt' do
|
126
|
+
message_3_1_1['sS'].first['uRt'] = 3
|
127
|
+
message_3_1_5['sS'].first['uRt'] = 3
|
128
|
+
expect(validate_core).to eq(
|
129
|
+
[["/sS/0/uRt", "string"]]
|
130
|
+
)
|
131
|
+
|
132
|
+
message_3_1_1['sS'].first['uRt'] = "fast"
|
133
|
+
message_3_1_5['sS'].first['uRt'] = "fast"
|
134
|
+
expect(validate_core).to eq(
|
135
|
+
[["/sS/0/uRt", "pattern"]]
|
136
|
+
)
|
137
|
+
end
|
138
|
+
|
139
|
+
it 'catches missing sOc' do
|
140
|
+
message_3_1_5['sS'].first.delete 'sOc'
|
141
|
+
expect(validate_core).to eq({
|
142
|
+
'3.1.5' => [["/sS/0", "required", {"missing_keys"=>["sOc"]}]]
|
143
|
+
})
|
144
|
+
end
|
145
|
+
|
146
|
+
it 'catches extra attributes' do
|
147
|
+
message_3_1_1['sS'].first['bad'] = "Foo"
|
148
|
+
message_3_1_5['sS'].first['bad'] = "Foo"
|
149
|
+
expect(validate_core).to eq(
|
150
|
+
[["/sS/0/bad", "schema"]]
|
151
|
+
)
|
152
|
+
end
|
153
|
+
|
154
|
+
end
|
@@ -0,0 +1,91 @@
|
|
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" => "StatusUnsubscribe",
|
6
|
+
"cId" => "O+14439=481WA001",
|
7
|
+
"sS" => [
|
8
|
+
{ "sCI" => "S0003", "n" => "inputstatus" }
|
9
|
+
]
|
10
|
+
}}
|
11
|
+
|
12
|
+
it 'accepts valid status unsubscription' do
|
13
|
+
expect( validate(message, 'core') ).to be_nil
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'catches missing component id' do
|
17
|
+
message.delete 'cId'
|
18
|
+
expect( validate(message, 'core') ).to eq(
|
19
|
+
[["", "required", {"missing_keys"=>["cId"]}]]
|
20
|
+
)
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'catches bad status code' do
|
24
|
+
message['sS'].first['sCI'] = '99'
|
25
|
+
expect( validate(message, 'core') ).to eq(
|
26
|
+
[["/sS/0/sCI", "pattern"]]
|
27
|
+
)
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'catches missing sS' do
|
31
|
+
message.delete 'sS'
|
32
|
+
expect( validate(message, 'core') ).to eq(
|
33
|
+
[["", "required", {"missing_keys"=>['sS']}]]
|
34
|
+
)
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'catches empty sS array' do
|
38
|
+
message['sS'].clear
|
39
|
+
expect( validate(message, 'core') ).to eq(
|
40
|
+
[["/sS", "minItems"]]
|
41
|
+
)
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'catches bad sS type' do
|
45
|
+
message['sS'] = {}
|
46
|
+
expect( validate(message, 'core') ).to eq(
|
47
|
+
[["/sS", "array"]]
|
48
|
+
)
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'catches missing status code' do
|
52
|
+
message['sS'].first.delete 'sCI'
|
53
|
+
expect( validate(message, 'core') ).to eq(
|
54
|
+
[["/sS/0", "required", {"missing_keys"=>["sCI"]}]]
|
55
|
+
)
|
56
|
+
end
|
57
|
+
|
58
|
+
it 'catches bad status code' do
|
59
|
+
message['sS'].first['sCI'] = 3
|
60
|
+
expect( validate(message, 'core') ).to eq(
|
61
|
+
[["/sS/0/sCI", "string"]]
|
62
|
+
)
|
63
|
+
|
64
|
+
message['sS'].first['sCI'] = '3'
|
65
|
+
expect( validate(message, 'core') ).to eq(
|
66
|
+
[["/sS/0/sCI", "pattern"]]
|
67
|
+
)
|
68
|
+
end
|
69
|
+
|
70
|
+
it 'catches missing name' do
|
71
|
+
message['sS'].first.delete 'n'
|
72
|
+
expect( validate(message, 'core') ).to eq(
|
73
|
+
[["/sS/0", "required", {"missing_keys"=>["n"]}]]
|
74
|
+
)
|
75
|
+
end
|
76
|
+
|
77
|
+
it 'catches bad name' do
|
78
|
+
message['sS'].first['n'] = 3
|
79
|
+
expect( validate(message, 'core') ).to eq(
|
80
|
+
[["/sS/0/n", "string"]]
|
81
|
+
)
|
82
|
+
end
|
83
|
+
|
84
|
+
it 'catches extra attributes' do
|
85
|
+
message['sS'].first['bad'] = "Foo"
|
86
|
+
expect( validate(message, 'core') ).to eq(
|
87
|
+
[["/sS/0/bad", "schema"]]
|
88
|
+
)
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
@@ -0,0 +1,143 @@
|
|
1
|
+
RSpec.describe "Traffic Light Controller RSMP SXL Schema validation" do
|
2
|
+
let(:message_3_1_1) {{
|
3
|
+
"mType" => "rSMsg",
|
4
|
+
"mId" => "4173c2c8-a933-43cb-9425-66d4613731ed",
|
5
|
+
"type" => "StatusUpdate",
|
6
|
+
"cId" => "O+14439=481WA001",
|
7
|
+
"sTs" => "2015-06-08T09:15:18.266Z",
|
8
|
+
"sS" => [
|
9
|
+
{ "sCI" => "S0003", "n" => "inputstatus", "s" => "100101", "ageState" => "recent" }
|
10
|
+
]
|
11
|
+
}}
|
12
|
+
|
13
|
+
let(:message_3_1_3) {{
|
14
|
+
"mType" => "rSMsg",
|
15
|
+
"mId" => "4173c2c8-a933-43cb-9425-66d4613731ed",
|
16
|
+
"type" => "StatusUpdate",
|
17
|
+
"cId" => "O+14439=481WA001",
|
18
|
+
"sTs" => "2015-06-08T09:15:18.266Z",
|
19
|
+
"sS" => [
|
20
|
+
{ "sCI" => "S0003", "n" => "inputstatus", "s" => "100101", "q" => "recent" }
|
21
|
+
]
|
22
|
+
}}
|
23
|
+
|
24
|
+
def make_variations
|
25
|
+
{
|
26
|
+
'3.1.1' => message_3_1_1,
|
27
|
+
'3.1.2' => message_3_1_1,
|
28
|
+
'3.1.3' => message_3_1_3,
|
29
|
+
'3.1.4' => message_3_1_3,
|
30
|
+
'3.1.5' => message_3_1_3
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'accepts ageState in message_3_1_1 versions, q in newer' do
|
35
|
+
expect( validate_variations(make_variations, 'core', '3.1.1') ).to be_nil
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'rejects q in message_3_1_1 version, ageState in newer' do
|
39
|
+
expect( validate(message_3_1_3, 'core', ['3.1.1','3.1.2']) ).to eq(
|
40
|
+
[["/sS/0", "required", {"missing_keys"=>["ageState"]}], ["/sS/0/q", "schema"]]
|
41
|
+
)
|
42
|
+
|
43
|
+
expect( validate(message_3_1_1, 'core', ['3.1.3','3.1.4','3.1.5']) ).to eq(
|
44
|
+
[["/sS/0", "required", {"missing_keys"=>["q"]}], ["/sS/0/ageState", "schema"]]
|
45
|
+
)
|
46
|
+
end
|
47
|
+
|
48
|
+
it 'accepts valid status request' do
|
49
|
+
expect( validate_variations(make_variations, 'core') ).to be_nil
|
50
|
+
end
|
51
|
+
|
52
|
+
it 'catches missing component id' do
|
53
|
+
message_3_1_1.delete 'cId'
|
54
|
+
message_3_1_3.delete 'cId'
|
55
|
+
expect( validate_variations(make_variations, 'core') ).to eq(
|
56
|
+
[["", "required", {"missing_keys"=>["cId"]}]]
|
57
|
+
)
|
58
|
+
end
|
59
|
+
|
60
|
+
it 'catches bad status code' do
|
61
|
+
message_3_1_1['sS'].first['sCI'] = '99'
|
62
|
+
message_3_1_3['sS'].first['sCI'] = '99'
|
63
|
+
expect( validate_variations(make_variations, 'core') ).to eq(
|
64
|
+
[["/sS/0/sCI", "pattern"]]
|
65
|
+
)
|
66
|
+
end
|
67
|
+
|
68
|
+
it 'catches missing sS' do
|
69
|
+
message_3_1_3.delete 'sS'
|
70
|
+
expect( validate(message_3_1_3, 'core') ).to eq(
|
71
|
+
[["", "required", {"missing_keys"=>['sS']}]]
|
72
|
+
)
|
73
|
+
end
|
74
|
+
|
75
|
+
it 'catches empty sS array' do
|
76
|
+
message_3_1_3['sS'].clear
|
77
|
+
expect( validate(message_3_1_3, 'core') ).to eq(
|
78
|
+
[["/sS", "minItems"]]
|
79
|
+
)
|
80
|
+
end
|
81
|
+
|
82
|
+
it 'catches bad sS type' do
|
83
|
+
message_3_1_3['sS'] = {}
|
84
|
+
expect( validate(message_3_1_3, 'core') ).to eq(
|
85
|
+
[["/sS", "array"]]
|
86
|
+
)
|
87
|
+
end
|
88
|
+
|
89
|
+
it 'catches missing status code' do
|
90
|
+
message_3_1_1['sS'].first.delete 'sCI'
|
91
|
+
message_3_1_3['sS'].first.delete 'sCI'
|
92
|
+
expect( validate_variations(make_variations, 'core') ).to eq(
|
93
|
+
[["/sS/0", "required", {"missing_keys"=>["sCI"]}]]
|
94
|
+
)
|
95
|
+
end
|
96
|
+
|
97
|
+
it 'catches bad status code' do
|
98
|
+
message_3_1_1['sS'].first['sCI'] = 3
|
99
|
+
message_3_1_3['sS'].first['sCI'] = 3
|
100
|
+
expect( validate_variations(make_variations, 'core') ).to eq(
|
101
|
+
[["/sS/0/sCI", "string"]]
|
102
|
+
)
|
103
|
+
|
104
|
+
message_3_1_1['sS'].first['sCI'] = '3'
|
105
|
+
message_3_1_3['sS'].first['sCI'] = '3'
|
106
|
+
expect( validate_variations(make_variations, 'core') ).to eq(
|
107
|
+
[["/sS/0/sCI", "pattern"]]
|
108
|
+
)
|
109
|
+
end
|
110
|
+
|
111
|
+
it 'catches missing name' do
|
112
|
+
message_3_1_1['sS'].first.delete 'n'
|
113
|
+
message_3_1_3['sS'].first.delete 'n'
|
114
|
+
expect( validate_variations(make_variations, 'core') ).to eq(
|
115
|
+
[["/sS/0", "required", {"missing_keys"=>["n"]}]]
|
116
|
+
)
|
117
|
+
end
|
118
|
+
|
119
|
+
it 'catches bad name' do
|
120
|
+
message_3_1_1['sS'].first['n'] = 3
|
121
|
+
message_3_1_3['sS'].first['n'] = 3
|
122
|
+
expect( validate_variations(make_variations, 'core') ).to eq(
|
123
|
+
[["/sS/0/n", "string"]]
|
124
|
+
)
|
125
|
+
end
|
126
|
+
|
127
|
+
it 'catches missing value' do
|
128
|
+
message_3_1_1['sS'].first.delete 's'
|
129
|
+
message_3_1_3['sS'].first.delete 's'
|
130
|
+
expect( validate_variations(make_variations, 'core') ).to eq(
|
131
|
+
[["/sS/0", "required", {"missing_keys"=>["s"]}]]
|
132
|
+
)
|
133
|
+
end
|
134
|
+
|
135
|
+
it 'catches bad quality' do
|
136
|
+
message_3_1_1['sS'].first['ageState'] = 'great'
|
137
|
+
message_3_1_3['sS'].first['q'] = 'great'
|
138
|
+
expect( validate_variations(make_variations, 'core') ).to eq({
|
139
|
+
['3.1.1','3.1.2'] => [["/sS/0/ageState", "enum"]],
|
140
|
+
['3.1.3','3.1.4','3.1.5'] => [["/sS/0/q", "enum"]]
|
141
|
+
})
|
142
|
+
end
|
143
|
+
end
|