rsmp_schema 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +6 -0
- data/.rspec +1 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +49 -0
- data/LICENSE +7 -0
- data/README.md +73 -0
- data/Rakefile +18 -0
- data/examples/validate.rb +32 -0
- data/exe/rsmp_schema +4 -0
- data/lib/rsmp_schema/cli.rb +35 -0
- data/lib/rsmp_schema/convert/export/json_schema.rb +223 -0
- data/lib/rsmp_schema/convert/import/yaml.rb +41 -0
- data/lib/rsmp_schema/error.rb +13 -0
- data/lib/rsmp_schema/schema.rb +102 -0
- data/lib/rsmp_schema/version.rb +5 -0
- data/lib/rsmp_schema.rb +7 -0
- data/rsmp_schema.gemspec +40 -0
- data/schemas/core/3.1.1/aggregated_status.json +25 -0
- data/schemas/core/3.1.1/alarm.json +58 -0
- data/schemas/core/3.1.1/alarm_issue.json +47 -0
- data/schemas/core/3.1.1/alarm_suspend_resume.json +3 -0
- data/schemas/core/3.1.1/alarm_suspended_resumed.json +47 -0
- data/schemas/core/3.1.1/command_request.json +24 -0
- data/schemas/core/3.1.1/command_response.json +34 -0
- data/schemas/core/3.1.1/core.json +38 -0
- data/schemas/core/3.1.1/definitions.json +67 -0
- data/schemas/core/3.1.1/message_ack.json +11 -0
- data/schemas/core/3.1.1/message_not_ack.json +15 -0
- data/schemas/core/3.1.1/rsmp.json +124 -0
- data/schemas/core/3.1.1/status.json +21 -0
- data/schemas/core/3.1.1/status_request.json +5 -0
- data/schemas/core/3.1.1/status_response.json +30 -0
- data/schemas/core/3.1.1/status_subscribe.json +27 -0
- data/schemas/core/3.1.1/status_unsubscribe.json +5 -0
- data/schemas/core/3.1.1/status_update.json +30 -0
- data/schemas/core/3.1.1/version.json +47 -0
- data/schemas/core/3.1.1/watchdog.json +9 -0
- data/schemas/core/3.1.2/rsmp.json +3 -0
- data/schemas/core/3.1.3/rsmp.json +124 -0
- data/schemas/core/3.1.3/status_response.json +30 -0
- data/schemas/core/3.1.3/status_update.json +30 -0
- data/schemas/core/3.1.4/rsmp.json +3 -0
- data/schemas/core/3.1.5/aggregated_status_request.json +9 -0
- data/schemas/core/3.1.5/alarm.json +68 -0
- data/schemas/core/3.1.5/alarm_request.json +3 -0
- data/schemas/core/3.1.5/core.json +39 -0
- data/schemas/core/3.1.5/rsmp.json +133 -0
- data/schemas/core/3.1.5/status.json +21 -0
- data/schemas/core/3.1.5/status_subscribe.json +31 -0
- data/schemas/core/3.2/alarm.json +62 -0
- data/schemas/core/3.2/core.json +39 -0
- data/schemas/core/3.2/rsmp.json +133 -0
- data/schemas/tlc/1.0.10/alarms/A0001.json +7 -0
- data/schemas/tlc/1.0.10/alarms/A0002.json +7 -0
- data/schemas/tlc/1.0.10/alarms/A0003.json +7 -0
- data/schemas/tlc/1.0.10/alarms/A0004.json +7 -0
- data/schemas/tlc/1.0.10/alarms/A0005.json +7 -0
- data/schemas/tlc/1.0.10/alarms/A0006.json +7 -0
- data/schemas/tlc/1.0.10/alarms/A0007.json +7 -0
- data/schemas/tlc/1.0.10/alarms/A0008.json +40 -0
- data/schemas/tlc/1.0.10/alarms/A0009.json +7 -0
- data/schemas/tlc/1.0.10/alarms/A0101.json +7 -0
- data/schemas/tlc/1.0.10/alarms/A0201.json +39 -0
- data/schemas/tlc/1.0.10/alarms/A0202.json +39 -0
- data/schemas/tlc/1.0.10/alarms/A0301.json +111 -0
- data/schemas/tlc/1.0.10/alarms/A0302.json +137 -0
- data/schemas/tlc/1.0.10/alarms/alarms.json +238 -0
- data/schemas/tlc/1.0.10/commands/M0001.json +125 -0
- data/schemas/tlc/1.0.10/commands/M0002.json +91 -0
- data/schemas/tlc/1.0.10/commands/M0003.json +91 -0
- data/schemas/tlc/1.0.10/commands/M0004.json +64 -0
- data/schemas/tlc/1.0.10/commands/M0005.json +91 -0
- data/schemas/tlc/1.0.10/commands/M0006.json +91 -0
- data/schemas/tlc/1.0.10/commands/M0007.json +64 -0
- data/schemas/tlc/1.0.10/commands/M0008.json +91 -0
- data/schemas/tlc/1.0.10/commands/M0010.json +64 -0
- data/schemas/tlc/1.0.10/commands/M0011.json +64 -0
- data/schemas/tlc/1.0.10/commands/M0012.json +58 -0
- data/schemas/tlc/1.0.10/commands/M0013.json +58 -0
- data/schemas/tlc/1.0.10/commands/M0019.json +118 -0
- data/schemas/tlc/1.0.10/commands/M0103.json +82 -0
- data/schemas/tlc/1.0.10/commands/M0104.json +199 -0
- data/schemas/tlc/1.0.10/commands/command_requests.json +7 -0
- data/schemas/tlc/1.0.10/commands/command_responses.json +7 -0
- data/schemas/tlc/1.0.10/commands/commands.json +254 -0
- data/schemas/tlc/1.0.10/statuses/S0001.json +116 -0
- data/schemas/tlc/1.0.10/statuses/S0002.json +34 -0
- data/schemas/tlc/1.0.10/statuses/S0003.json +55 -0
- data/schemas/tlc/1.0.10/statuses/S0004.json +55 -0
- data/schemas/tlc/1.0.10/statuses/S0005.json +40 -0
- data/schemas/tlc/1.0.10/statuses/S0006.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0007.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0008.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0009.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0010.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0011.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0012.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0013.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0014.json +40 -0
- data/schemas/tlc/1.0.10/statuses/S0015.json +40 -0
- data/schemas/tlc/1.0.10/statuses/S0016.json +40 -0
- data/schemas/tlc/1.0.10/statuses/S0017.json +40 -0
- data/schemas/tlc/1.0.10/statuses/S0018.json +40 -0
- data/schemas/tlc/1.0.10/statuses/S0019.json +40 -0
- data/schemas/tlc/1.0.10/statuses/S0020.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0021.json +35 -0
- data/schemas/tlc/1.0.10/statuses/S0091.json +58 -0
- data/schemas/tlc/1.0.10/statuses/S0092.json +58 -0
- data/schemas/tlc/1.0.10/statuses/S0095.json +34 -0
- data/schemas/tlc/1.0.10/statuses/S0096.json +175 -0
- data/schemas/tlc/1.0.10/statuses/S0201.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0202.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0203.json +67 -0
- data/schemas/tlc/1.0.10/statuses/S0204.json +283 -0
- data/schemas/tlc/1.0.10/statuses/statuses.json +482 -0
- data/schemas/tlc/1.0.10/sxl.json +73 -0
- data/schemas/tlc/1.0.10/sxl.yaml +1059 -0
- data/schemas/tlc/1.0.13/alarms/A0001.json +7 -0
- data/schemas/tlc/1.0.13/alarms/A0002.json +7 -0
- data/schemas/tlc/1.0.13/alarms/A0003.json +7 -0
- data/schemas/tlc/1.0.13/alarms/A0004.json +7 -0
- data/schemas/tlc/1.0.13/alarms/A0005.json +7 -0
- data/schemas/tlc/1.0.13/alarms/A0006.json +7 -0
- data/schemas/tlc/1.0.13/alarms/A0007.json +7 -0
- data/schemas/tlc/1.0.13/alarms/A0008.json +40 -0
- data/schemas/tlc/1.0.13/alarms/A0009.json +7 -0
- data/schemas/tlc/1.0.13/alarms/A0101.json +7 -0
- data/schemas/tlc/1.0.13/alarms/A0201.json +39 -0
- data/schemas/tlc/1.0.13/alarms/A0202.json +39 -0
- data/schemas/tlc/1.0.13/alarms/A0301.json +111 -0
- data/schemas/tlc/1.0.13/alarms/A0302.json +137 -0
- data/schemas/tlc/1.0.13/alarms/alarms.json +238 -0
- data/schemas/tlc/1.0.13/commands/M0001.json +125 -0
- data/schemas/tlc/1.0.13/commands/M0002.json +91 -0
- data/schemas/tlc/1.0.13/commands/M0003.json +91 -0
- data/schemas/tlc/1.0.13/commands/M0004.json +64 -0
- data/schemas/tlc/1.0.13/commands/M0005.json +91 -0
- data/schemas/tlc/1.0.13/commands/M0006.json +91 -0
- data/schemas/tlc/1.0.13/commands/M0007.json +64 -0
- data/schemas/tlc/1.0.13/commands/M0008.json +91 -0
- data/schemas/tlc/1.0.13/commands/M0010.json +64 -0
- data/schemas/tlc/1.0.13/commands/M0011.json +64 -0
- data/schemas/tlc/1.0.13/commands/M0012.json +58 -0
- data/schemas/tlc/1.0.13/commands/M0013.json +58 -0
- data/schemas/tlc/1.0.13/commands/M0014.json +85 -0
- data/schemas/tlc/1.0.13/commands/M0015.json +91 -0
- data/schemas/tlc/1.0.13/commands/M0016.json +58 -0
- data/schemas/tlc/1.0.13/commands/M0017.json +58 -0
- data/schemas/tlc/1.0.13/commands/M0018.json +91 -0
- data/schemas/tlc/1.0.13/commands/M0019.json +118 -0
- data/schemas/tlc/1.0.13/commands/M0103.json +82 -0
- data/schemas/tlc/1.0.13/commands/M0104.json +199 -0
- data/schemas/tlc/1.0.13/commands/command_requests.json +7 -0
- data/schemas/tlc/1.0.13/commands/command_responses.json +7 -0
- data/schemas/tlc/1.0.13/commands/commands.json +334 -0
- data/schemas/tlc/1.0.13/statuses/S0001.json +116 -0
- data/schemas/tlc/1.0.13/statuses/S0002.json +34 -0
- data/schemas/tlc/1.0.13/statuses/S0003.json +55 -0
- data/schemas/tlc/1.0.13/statuses/S0004.json +55 -0
- data/schemas/tlc/1.0.13/statuses/S0005.json +40 -0
- data/schemas/tlc/1.0.13/statuses/S0006.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0007.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0008.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0009.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0010.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0011.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0012.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0013.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0014.json +40 -0
- data/schemas/tlc/1.0.13/statuses/S0015.json +40 -0
- data/schemas/tlc/1.0.13/statuses/S0016.json +40 -0
- data/schemas/tlc/1.0.13/statuses/S0017.json +40 -0
- data/schemas/tlc/1.0.13/statuses/S0018.json +40 -0
- data/schemas/tlc/1.0.13/statuses/S0019.json +40 -0
- data/schemas/tlc/1.0.13/statuses/S0020.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0021.json +35 -0
- data/schemas/tlc/1.0.13/statuses/S0022.json +34 -0
- data/schemas/tlc/1.0.13/statuses/S0023.json +35 -0
- data/schemas/tlc/1.0.13/statuses/S0024.json +35 -0
- data/schemas/tlc/1.0.13/statuses/S0025.json +229 -0
- data/schemas/tlc/1.0.13/statuses/S0026.json +34 -0
- data/schemas/tlc/1.0.13/statuses/S0027.json +34 -0
- data/schemas/tlc/1.0.13/statuses/S0028.json +34 -0
- data/schemas/tlc/1.0.13/statuses/S0029.json +34 -0
- data/schemas/tlc/1.0.13/statuses/S0091.json +58 -0
- data/schemas/tlc/1.0.13/statuses/S0092.json +58 -0
- data/schemas/tlc/1.0.13/statuses/S0095.json +34 -0
- data/schemas/tlc/1.0.13/statuses/S0096.json +175 -0
- data/schemas/tlc/1.0.13/statuses/S0201.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0202.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0203.json +67 -0
- data/schemas/tlc/1.0.13/statuses/S0204.json +283 -0
- data/schemas/tlc/1.0.13/statuses/statuses.json +610 -0
- data/schemas/tlc/1.0.13/sxl.json +73 -0
- data/schemas/tlc/1.0.13/sxl.yaml +1376 -0
- data/schemas/tlc/1.0.14/alarms/A0001.json +7 -0
- data/schemas/tlc/1.0.14/alarms/A0002.json +7 -0
- data/schemas/tlc/1.0.14/alarms/A0003.json +7 -0
- data/schemas/tlc/1.0.14/alarms/A0004.json +7 -0
- data/schemas/tlc/1.0.14/alarms/A0005.json +7 -0
- data/schemas/tlc/1.0.14/alarms/A0006.json +7 -0
- data/schemas/tlc/1.0.14/alarms/A0007.json +7 -0
- data/schemas/tlc/1.0.14/alarms/A0008.json +40 -0
- data/schemas/tlc/1.0.14/alarms/A0009.json +7 -0
- data/schemas/tlc/1.0.14/alarms/A0101.json +7 -0
- data/schemas/tlc/1.0.14/alarms/A0201.json +39 -0
- data/schemas/tlc/1.0.14/alarms/A0202.json +39 -0
- data/schemas/tlc/1.0.14/alarms/A0301.json +111 -0
- data/schemas/tlc/1.0.14/alarms/A0302.json +137 -0
- data/schemas/tlc/1.0.14/alarms/alarms.json +238 -0
- data/schemas/tlc/1.0.14/commands/M0001.json +125 -0
- data/schemas/tlc/1.0.14/commands/M0002.json +91 -0
- data/schemas/tlc/1.0.14/commands/M0003.json +91 -0
- data/schemas/tlc/1.0.14/commands/M0004.json +64 -0
- data/schemas/tlc/1.0.14/commands/M0005.json +91 -0
- data/schemas/tlc/1.0.14/commands/M0006.json +91 -0
- data/schemas/tlc/1.0.14/commands/M0007.json +64 -0
- data/schemas/tlc/1.0.14/commands/M0008.json +91 -0
- data/schemas/tlc/1.0.14/commands/M0010.json +64 -0
- data/schemas/tlc/1.0.14/commands/M0011.json +64 -0
- data/schemas/tlc/1.0.14/commands/M0012.json +58 -0
- data/schemas/tlc/1.0.14/commands/M0013.json +58 -0
- data/schemas/tlc/1.0.14/commands/M0014.json +85 -0
- data/schemas/tlc/1.0.14/commands/M0015.json +91 -0
- data/schemas/tlc/1.0.14/commands/M0016.json +58 -0
- data/schemas/tlc/1.0.14/commands/M0017.json +58 -0
- data/schemas/tlc/1.0.14/commands/M0018.json +91 -0
- data/schemas/tlc/1.0.14/commands/M0019.json +118 -0
- data/schemas/tlc/1.0.14/commands/M0103.json +82 -0
- data/schemas/tlc/1.0.14/commands/M0104.json +199 -0
- data/schemas/tlc/1.0.14/commands/command_requests.json +7 -0
- data/schemas/tlc/1.0.14/commands/command_responses.json +7 -0
- data/schemas/tlc/1.0.14/commands/commands.json +334 -0
- data/schemas/tlc/1.0.14/statuses/S0001.json +116 -0
- data/schemas/tlc/1.0.14/statuses/S0002.json +34 -0
- data/schemas/tlc/1.0.14/statuses/S0003.json +55 -0
- data/schemas/tlc/1.0.14/statuses/S0004.json +55 -0
- data/schemas/tlc/1.0.14/statuses/S0005.json +40 -0
- data/schemas/tlc/1.0.14/statuses/S0006.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0007.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0008.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0009.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0010.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0011.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0012.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0013.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0014.json +40 -0
- data/schemas/tlc/1.0.14/statuses/S0015.json +40 -0
- data/schemas/tlc/1.0.14/statuses/S0016.json +40 -0
- data/schemas/tlc/1.0.14/statuses/S0017.json +40 -0
- data/schemas/tlc/1.0.14/statuses/S0018.json +40 -0
- data/schemas/tlc/1.0.14/statuses/S0019.json +40 -0
- data/schemas/tlc/1.0.14/statuses/S0020.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0021.json +35 -0
- data/schemas/tlc/1.0.14/statuses/S0022.json +34 -0
- data/schemas/tlc/1.0.14/statuses/S0023.json +35 -0
- data/schemas/tlc/1.0.14/statuses/S0024.json +35 -0
- data/schemas/tlc/1.0.14/statuses/S0025.json +229 -0
- data/schemas/tlc/1.0.14/statuses/S0026.json +34 -0
- data/schemas/tlc/1.0.14/statuses/S0027.json +34 -0
- data/schemas/tlc/1.0.14/statuses/S0028.json +34 -0
- data/schemas/tlc/1.0.14/statuses/S0029.json +34 -0
- data/schemas/tlc/1.0.14/statuses/S0091.json +58 -0
- data/schemas/tlc/1.0.14/statuses/S0092.json +58 -0
- data/schemas/tlc/1.0.14/statuses/S0095.json +34 -0
- data/schemas/tlc/1.0.14/statuses/S0096.json +175 -0
- data/schemas/tlc/1.0.14/statuses/S0201.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0202.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0203.json +67 -0
- data/schemas/tlc/1.0.14/statuses/S0204.json +283 -0
- data/schemas/tlc/1.0.14/statuses/S0205.json +61 -0
- data/schemas/tlc/1.0.14/statuses/S0206.json +61 -0
- data/schemas/tlc/1.0.14/statuses/S0207.json +61 -0
- data/schemas/tlc/1.0.14/statuses/S0208.json +229 -0
- data/schemas/tlc/1.0.14/statuses/statuses.json +674 -0
- data/schemas/tlc/1.0.14/sxl.json +73 -0
- data/schemas/tlc/1.0.14/sxl.yaml +1514 -0
- data/schemas/tlc/1.0.15/alarms/A0001.json +7 -0
- data/schemas/tlc/1.0.15/alarms/A0002.json +7 -0
- data/schemas/tlc/1.0.15/alarms/A0003.json +7 -0
- data/schemas/tlc/1.0.15/alarms/A0004.json +7 -0
- data/schemas/tlc/1.0.15/alarms/A0005.json +7 -0
- data/schemas/tlc/1.0.15/alarms/A0006.json +7 -0
- data/schemas/tlc/1.0.15/alarms/A0007.json +7 -0
- data/schemas/tlc/1.0.15/alarms/A0008.json +40 -0
- data/schemas/tlc/1.0.15/alarms/A0009.json +7 -0
- data/schemas/tlc/1.0.15/alarms/A0010.json +7 -0
- data/schemas/tlc/1.0.15/alarms/A0101.json +7 -0
- data/schemas/tlc/1.0.15/alarms/A0201.json +39 -0
- data/schemas/tlc/1.0.15/alarms/A0202.json +39 -0
- data/schemas/tlc/1.0.15/alarms/A0301.json +111 -0
- data/schemas/tlc/1.0.15/alarms/A0302.json +137 -0
- data/schemas/tlc/1.0.15/alarms/alarms.json +254 -0
- data/schemas/tlc/1.0.15/commands/M0001.json +125 -0
- data/schemas/tlc/1.0.15/commands/M0002.json +91 -0
- data/schemas/tlc/1.0.15/commands/M0003.json +91 -0
- data/schemas/tlc/1.0.15/commands/M0004.json +64 -0
- data/schemas/tlc/1.0.15/commands/M0005.json +91 -0
- data/schemas/tlc/1.0.15/commands/M0006.json +91 -0
- data/schemas/tlc/1.0.15/commands/M0007.json +64 -0
- data/schemas/tlc/1.0.15/commands/M0008.json +91 -0
- data/schemas/tlc/1.0.15/commands/M0010.json +64 -0
- data/schemas/tlc/1.0.15/commands/M0011.json +64 -0
- data/schemas/tlc/1.0.15/commands/M0012.json +58 -0
- data/schemas/tlc/1.0.15/commands/M0013.json +58 -0
- data/schemas/tlc/1.0.15/commands/M0014.json +85 -0
- data/schemas/tlc/1.0.15/commands/M0015.json +91 -0
- data/schemas/tlc/1.0.15/commands/M0016.json +58 -0
- data/schemas/tlc/1.0.15/commands/M0017.json +58 -0
- data/schemas/tlc/1.0.15/commands/M0018.json +91 -0
- data/schemas/tlc/1.0.15/commands/M0019.json +118 -0
- data/schemas/tlc/1.0.15/commands/M0020.json +118 -0
- data/schemas/tlc/1.0.15/commands/M0021.json +58 -0
- data/schemas/tlc/1.0.15/commands/M0103.json +82 -0
- data/schemas/tlc/1.0.15/commands/M0104.json +199 -0
- data/schemas/tlc/1.0.15/commands/command_requests.json +7 -0
- data/schemas/tlc/1.0.15/commands/command_responses.json +7 -0
- data/schemas/tlc/1.0.15/commands/commands.json +366 -0
- data/schemas/tlc/1.0.15/statuses/S0001.json +116 -0
- data/schemas/tlc/1.0.15/statuses/S0002.json +34 -0
- data/schemas/tlc/1.0.15/statuses/S0003.json +55 -0
- data/schemas/tlc/1.0.15/statuses/S0004.json +55 -0
- data/schemas/tlc/1.0.15/statuses/S0005.json +40 -0
- data/schemas/tlc/1.0.15/statuses/S0006.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0007.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0008.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0009.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0010.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0011.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0012.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0013.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0014.json +40 -0
- data/schemas/tlc/1.0.15/statuses/S0015.json +40 -0
- data/schemas/tlc/1.0.15/statuses/S0016.json +40 -0
- data/schemas/tlc/1.0.15/statuses/S0017.json +40 -0
- data/schemas/tlc/1.0.15/statuses/S0018.json +40 -0
- data/schemas/tlc/1.0.15/statuses/S0019.json +40 -0
- data/schemas/tlc/1.0.15/statuses/S0020.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0021.json +35 -0
- data/schemas/tlc/1.0.15/statuses/S0022.json +34 -0
- data/schemas/tlc/1.0.15/statuses/S0023.json +35 -0
- data/schemas/tlc/1.0.15/statuses/S0024.json +35 -0
- data/schemas/tlc/1.0.15/statuses/S0025.json +229 -0
- data/schemas/tlc/1.0.15/statuses/S0026.json +34 -0
- data/schemas/tlc/1.0.15/statuses/S0027.json +34 -0
- data/schemas/tlc/1.0.15/statuses/S0028.json +34 -0
- data/schemas/tlc/1.0.15/statuses/S0029.json +34 -0
- data/schemas/tlc/1.0.15/statuses/S0030.json +34 -0
- data/schemas/tlc/1.0.15/statuses/S0031.json +34 -0
- data/schemas/tlc/1.0.15/statuses/S0091.json +58 -0
- data/schemas/tlc/1.0.15/statuses/S0092.json +58 -0
- data/schemas/tlc/1.0.15/statuses/S0095.json +34 -0
- data/schemas/tlc/1.0.15/statuses/S0096.json +175 -0
- data/schemas/tlc/1.0.15/statuses/S0097.json +61 -0
- data/schemas/tlc/1.0.15/statuses/S0098.json +82 -0
- data/schemas/tlc/1.0.15/statuses/S0201.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0202.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0203.json +67 -0
- data/schemas/tlc/1.0.15/statuses/S0204.json +283 -0
- data/schemas/tlc/1.0.15/statuses/S0205.json +61 -0
- data/schemas/tlc/1.0.15/statuses/S0206.json +61 -0
- data/schemas/tlc/1.0.15/statuses/S0207.json +61 -0
- data/schemas/tlc/1.0.15/statuses/S0208.json +229 -0
- data/schemas/tlc/1.0.15/statuses/statuses.json +738 -0
- data/schemas/tlc/1.0.15/sxl.json +73 -0
- data/schemas/tlc/1.0.15/sxl.yaml +1660 -0
- data/schemas/tlc/1.0.7/alarms/A0001.json +7 -0
- data/schemas/tlc/1.0.7/alarms/A0002.json +7 -0
- data/schemas/tlc/1.0.7/alarms/A0003.json +7 -0
- data/schemas/tlc/1.0.7/alarms/A0004.json +7 -0
- data/schemas/tlc/1.0.7/alarms/A0005.json +7 -0
- data/schemas/tlc/1.0.7/alarms/A0006.json +7 -0
- data/schemas/tlc/1.0.7/alarms/A0007.json +7 -0
- data/schemas/tlc/1.0.7/alarms/A0008.json +40 -0
- data/schemas/tlc/1.0.7/alarms/A0009.json +7 -0
- data/schemas/tlc/1.0.7/alarms/A0101.json +7 -0
- data/schemas/tlc/1.0.7/alarms/A0201.json +39 -0
- data/schemas/tlc/1.0.7/alarms/A0202.json +39 -0
- data/schemas/tlc/1.0.7/alarms/A0301.json +111 -0
- data/schemas/tlc/1.0.7/alarms/A0302.json +137 -0
- data/schemas/tlc/1.0.7/alarms/alarms.json +238 -0
- data/schemas/tlc/1.0.7/commands/M0001.json +125 -0
- data/schemas/tlc/1.0.7/commands/M0002.json +91 -0
- data/schemas/tlc/1.0.7/commands/M0003.json +91 -0
- data/schemas/tlc/1.0.7/commands/M0004.json +64 -0
- data/schemas/tlc/1.0.7/commands/M0005.json +91 -0
- data/schemas/tlc/1.0.7/commands/M0006.json +91 -0
- data/schemas/tlc/1.0.7/commands/M0007.json +64 -0
- data/schemas/tlc/1.0.7/commands/M0008.json +91 -0
- data/schemas/tlc/1.0.7/commands/M0010.json +64 -0
- data/schemas/tlc/1.0.7/commands/M0011.json +64 -0
- data/schemas/tlc/1.0.7/commands/M0019.json +118 -0
- data/schemas/tlc/1.0.7/commands/M0103.json +82 -0
- data/schemas/tlc/1.0.7/commands/M0104.json +199 -0
- data/schemas/tlc/1.0.7/commands/command_requests.json +7 -0
- data/schemas/tlc/1.0.7/commands/command_responses.json +7 -0
- data/schemas/tlc/1.0.7/commands/commands.json +222 -0
- data/schemas/tlc/1.0.7/statuses/S0001.json +116 -0
- data/schemas/tlc/1.0.7/statuses/S0002.json +34 -0
- data/schemas/tlc/1.0.7/statuses/S0003.json +55 -0
- data/schemas/tlc/1.0.7/statuses/S0004.json +55 -0
- data/schemas/tlc/1.0.7/statuses/S0005.json +40 -0
- data/schemas/tlc/1.0.7/statuses/S0006.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0007.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0008.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0009.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0010.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0011.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0012.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0013.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0014.json +40 -0
- data/schemas/tlc/1.0.7/statuses/S0015.json +40 -0
- data/schemas/tlc/1.0.7/statuses/S0016.json +40 -0
- data/schemas/tlc/1.0.7/statuses/S0017.json +40 -0
- data/schemas/tlc/1.0.7/statuses/S0018.json +40 -0
- data/schemas/tlc/1.0.7/statuses/S0019.json +40 -0
- data/schemas/tlc/1.0.7/statuses/S0020.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0021.json +35 -0
- data/schemas/tlc/1.0.7/statuses/S0025.json +229 -0
- data/schemas/tlc/1.0.7/statuses/S0091.json +58 -0
- data/schemas/tlc/1.0.7/statuses/S0092.json +58 -0
- data/schemas/tlc/1.0.7/statuses/S0095.json +34 -0
- data/schemas/tlc/1.0.7/statuses/S0096.json +175 -0
- data/schemas/tlc/1.0.7/statuses/S0201.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0202.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0203.json +67 -0
- data/schemas/tlc/1.0.7/statuses/S0204.json +283 -0
- data/schemas/tlc/1.0.7/statuses/statuses.json +498 -0
- data/schemas/tlc/1.0.7/sxl.json +73 -0
- data/schemas/tlc/1.0.7/sxl.yaml +1026 -0
- data/schemas/tlc/1.0.8/alarms/A0001.json +7 -0
- data/schemas/tlc/1.0.8/alarms/A0002.json +7 -0
- data/schemas/tlc/1.0.8/alarms/A0003.json +7 -0
- data/schemas/tlc/1.0.8/alarms/A0004.json +7 -0
- data/schemas/tlc/1.0.8/alarms/A0005.json +7 -0
- data/schemas/tlc/1.0.8/alarms/A0006.json +7 -0
- data/schemas/tlc/1.0.8/alarms/A0007.json +7 -0
- data/schemas/tlc/1.0.8/alarms/A0008.json +40 -0
- data/schemas/tlc/1.0.8/alarms/A0009.json +7 -0
- data/schemas/tlc/1.0.8/alarms/A0101.json +7 -0
- data/schemas/tlc/1.0.8/alarms/A0201.json +39 -0
- data/schemas/tlc/1.0.8/alarms/A0202.json +39 -0
- data/schemas/tlc/1.0.8/alarms/A0301.json +111 -0
- data/schemas/tlc/1.0.8/alarms/A0302.json +137 -0
- data/schemas/tlc/1.0.8/alarms/alarms.json +238 -0
- data/schemas/tlc/1.0.8/commands/M0001.json +125 -0
- data/schemas/tlc/1.0.8/commands/M0002.json +91 -0
- data/schemas/tlc/1.0.8/commands/M0003.json +91 -0
- data/schemas/tlc/1.0.8/commands/M0004.json +64 -0
- data/schemas/tlc/1.0.8/commands/M0005.json +91 -0
- data/schemas/tlc/1.0.8/commands/M0006.json +91 -0
- data/schemas/tlc/1.0.8/commands/M0007.json +64 -0
- data/schemas/tlc/1.0.8/commands/M0008.json +91 -0
- data/schemas/tlc/1.0.8/commands/M0010.json +64 -0
- data/schemas/tlc/1.0.8/commands/M0011.json +64 -0
- data/schemas/tlc/1.0.8/commands/M0012.json +58 -0
- data/schemas/tlc/1.0.8/commands/M0013.json +58 -0
- data/schemas/tlc/1.0.8/commands/M0019.json +118 -0
- data/schemas/tlc/1.0.8/commands/M0103.json +82 -0
- data/schemas/tlc/1.0.8/commands/M0104.json +199 -0
- data/schemas/tlc/1.0.8/commands/command_requests.json +7 -0
- data/schemas/tlc/1.0.8/commands/command_responses.json +7 -0
- data/schemas/tlc/1.0.8/commands/commands.json +254 -0
- data/schemas/tlc/1.0.8/statuses/S0001.json +116 -0
- data/schemas/tlc/1.0.8/statuses/S0002.json +34 -0
- data/schemas/tlc/1.0.8/statuses/S0003.json +55 -0
- data/schemas/tlc/1.0.8/statuses/S0004.json +55 -0
- data/schemas/tlc/1.0.8/statuses/S0005.json +40 -0
- data/schemas/tlc/1.0.8/statuses/S0006.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0007.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0008.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0009.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0010.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0011.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0012.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0013.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0014.json +40 -0
- data/schemas/tlc/1.0.8/statuses/S0015.json +40 -0
- data/schemas/tlc/1.0.8/statuses/S0016.json +40 -0
- data/schemas/tlc/1.0.8/statuses/S0017.json +40 -0
- data/schemas/tlc/1.0.8/statuses/S0018.json +40 -0
- data/schemas/tlc/1.0.8/statuses/S0019.json +40 -0
- data/schemas/tlc/1.0.8/statuses/S0020.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0021.json +35 -0
- data/schemas/tlc/1.0.8/statuses/S0025.json +181 -0
- data/schemas/tlc/1.0.8/statuses/S0091.json +58 -0
- data/schemas/tlc/1.0.8/statuses/S0092.json +58 -0
- data/schemas/tlc/1.0.8/statuses/S0095.json +34 -0
- data/schemas/tlc/1.0.8/statuses/S0096.json +175 -0
- data/schemas/tlc/1.0.8/statuses/S0201.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0202.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0203.json +67 -0
- data/schemas/tlc/1.0.8/statuses/S0204.json +283 -0
- data/schemas/tlc/1.0.8/statuses/statuses.json +482 -0
- data/schemas/tlc/1.0.8/sxl.json +73 -0
- data/schemas/tlc/1.0.8/sxl.yaml +1059 -0
- data/schemas/tlc/1.0.9/alarms/A0001.json +7 -0
- data/schemas/tlc/1.0.9/alarms/A0002.json +7 -0
- data/schemas/tlc/1.0.9/alarms/A0003.json +7 -0
- data/schemas/tlc/1.0.9/alarms/A0004.json +7 -0
- data/schemas/tlc/1.0.9/alarms/A0005.json +7 -0
- data/schemas/tlc/1.0.9/alarms/A0006.json +7 -0
- data/schemas/tlc/1.0.9/alarms/A0007.json +7 -0
- data/schemas/tlc/1.0.9/alarms/A0008.json +40 -0
- data/schemas/tlc/1.0.9/alarms/A0009.json +7 -0
- data/schemas/tlc/1.0.9/alarms/A0101.json +7 -0
- data/schemas/tlc/1.0.9/alarms/A0201.json +39 -0
- data/schemas/tlc/1.0.9/alarms/A0202.json +39 -0
- data/schemas/tlc/1.0.9/alarms/A0301.json +111 -0
- data/schemas/tlc/1.0.9/alarms/A0302.json +137 -0
- data/schemas/tlc/1.0.9/alarms/alarms.json +238 -0
- data/schemas/tlc/1.0.9/commands/M0001.json +125 -0
- data/schemas/tlc/1.0.9/commands/M0002.json +91 -0
- data/schemas/tlc/1.0.9/commands/M0003.json +91 -0
- data/schemas/tlc/1.0.9/commands/M0004.json +64 -0
- data/schemas/tlc/1.0.9/commands/M0005.json +91 -0
- data/schemas/tlc/1.0.9/commands/M0006.json +91 -0
- data/schemas/tlc/1.0.9/commands/M0007.json +64 -0
- data/schemas/tlc/1.0.9/commands/M0008.json +91 -0
- data/schemas/tlc/1.0.9/commands/M0010.json +64 -0
- data/schemas/tlc/1.0.9/commands/M0011.json +64 -0
- data/schemas/tlc/1.0.9/commands/M0012.json +58 -0
- data/schemas/tlc/1.0.9/commands/M0013.json +58 -0
- data/schemas/tlc/1.0.9/commands/M0019.json +118 -0
- data/schemas/tlc/1.0.9/commands/M0103.json +82 -0
- data/schemas/tlc/1.0.9/commands/M0104.json +199 -0
- data/schemas/tlc/1.0.9/commands/command_requests.json +7 -0
- data/schemas/tlc/1.0.9/commands/command_responses.json +7 -0
- data/schemas/tlc/1.0.9/commands/commands.json +254 -0
- data/schemas/tlc/1.0.9/statuses/S0001.json +116 -0
- data/schemas/tlc/1.0.9/statuses/S0002.json +34 -0
- data/schemas/tlc/1.0.9/statuses/S0003.json +55 -0
- data/schemas/tlc/1.0.9/statuses/S0004.json +55 -0
- data/schemas/tlc/1.0.9/statuses/S0005.json +40 -0
- data/schemas/tlc/1.0.9/statuses/S0006.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0007.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0008.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0009.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0010.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0011.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0012.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0013.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0014.json +40 -0
- data/schemas/tlc/1.0.9/statuses/S0015.json +40 -0
- data/schemas/tlc/1.0.9/statuses/S0016.json +40 -0
- data/schemas/tlc/1.0.9/statuses/S0017.json +40 -0
- data/schemas/tlc/1.0.9/statuses/S0018.json +40 -0
- data/schemas/tlc/1.0.9/statuses/S0019.json +40 -0
- data/schemas/tlc/1.0.9/statuses/S0020.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0021.json +35 -0
- data/schemas/tlc/1.0.9/statuses/S0025.json +181 -0
- data/schemas/tlc/1.0.9/statuses/S0091.json +58 -0
- data/schemas/tlc/1.0.9/statuses/S0092.json +58 -0
- data/schemas/tlc/1.0.9/statuses/S0095.json +34 -0
- data/schemas/tlc/1.0.9/statuses/S0096.json +175 -0
- data/schemas/tlc/1.0.9/statuses/S0201.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0202.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0203.json +67 -0
- data/schemas/tlc/1.0.9/statuses/S0204.json +283 -0
- data/schemas/tlc/1.0.9/statuses/statuses.json +482 -0
- data/schemas/tlc/1.0.9/sxl.json +73 -0
- data/schemas/tlc/1.0.9/sxl.yaml +1059 -0
- data/schemas/tlc/1.1/alarms/A0001.json +7 -0
- data/schemas/tlc/1.1/alarms/A0002.json +7 -0
- data/schemas/tlc/1.1/alarms/A0003.json +7 -0
- data/schemas/tlc/1.1/alarms/A0004.json +7 -0
- data/schemas/tlc/1.1/alarms/A0005.json +7 -0
- data/schemas/tlc/1.1/alarms/A0006.json +7 -0
- data/schemas/tlc/1.1/alarms/A0007.json +38 -0
- data/schemas/tlc/1.1/alarms/A0008.json +40 -0
- data/schemas/tlc/1.1/alarms/A0009.json +7 -0
- data/schemas/tlc/1.1/alarms/A0010.json +7 -0
- data/schemas/tlc/1.1/alarms/A0101.json +7 -0
- data/schemas/tlc/1.1/alarms/A0201.json +39 -0
- data/schemas/tlc/1.1/alarms/A0202.json +39 -0
- data/schemas/tlc/1.1/alarms/A0301.json +111 -0
- data/schemas/tlc/1.1/alarms/A0302.json +137 -0
- data/schemas/tlc/1.1/alarms/alarms.json +254 -0
- data/schemas/tlc/1.1/commands/M0001.json +125 -0
- data/schemas/tlc/1.1/commands/M0002.json +91 -0
- data/schemas/tlc/1.1/commands/M0003.json +91 -0
- data/schemas/tlc/1.1/commands/M0004.json +64 -0
- data/schemas/tlc/1.1/commands/M0005.json +91 -0
- data/schemas/tlc/1.1/commands/M0006.json +91 -0
- data/schemas/tlc/1.1/commands/M0007.json +64 -0
- data/schemas/tlc/1.1/commands/M0008.json +91 -0
- data/schemas/tlc/1.1/commands/M0010.json +64 -0
- data/schemas/tlc/1.1/commands/M0011.json +64 -0
- data/schemas/tlc/1.1/commands/M0012.json +58 -0
- data/schemas/tlc/1.1/commands/M0013.json +58 -0
- data/schemas/tlc/1.1/commands/M0014.json +85 -0
- data/schemas/tlc/1.1/commands/M0015.json +91 -0
- data/schemas/tlc/1.1/commands/M0016.json +58 -0
- data/schemas/tlc/1.1/commands/M0017.json +58 -0
- data/schemas/tlc/1.1/commands/M0018.json +91 -0
- data/schemas/tlc/1.1/commands/M0019.json +118 -0
- data/schemas/tlc/1.1/commands/M0020.json +118 -0
- data/schemas/tlc/1.1/commands/M0021.json +58 -0
- data/schemas/tlc/1.1/commands/M0103.json +82 -0
- data/schemas/tlc/1.1/commands/M0104.json +199 -0
- data/schemas/tlc/1.1/commands/command_requests.json +7 -0
- data/schemas/tlc/1.1/commands/command_responses.json +7 -0
- data/schemas/tlc/1.1/commands/commands.json +366 -0
- data/schemas/tlc/1.1/statuses/S0001.json +116 -0
- data/schemas/tlc/1.1/statuses/S0002.json +34 -0
- data/schemas/tlc/1.1/statuses/S0003.json +55 -0
- data/schemas/tlc/1.1/statuses/S0004.json +55 -0
- data/schemas/tlc/1.1/statuses/S0005.json +40 -0
- data/schemas/tlc/1.1/statuses/S0006.json +67 -0
- data/schemas/tlc/1.1/statuses/S0007.json +95 -0
- data/schemas/tlc/1.1/statuses/S0008.json +95 -0
- data/schemas/tlc/1.1/statuses/S0009.json +95 -0
- data/schemas/tlc/1.1/statuses/S0010.json +95 -0
- data/schemas/tlc/1.1/statuses/S0011.json +95 -0
- data/schemas/tlc/1.1/statuses/S0012.json +95 -0
- data/schemas/tlc/1.1/statuses/S0013.json +67 -0
- data/schemas/tlc/1.1/statuses/S0014.json +68 -0
- data/schemas/tlc/1.1/statuses/S0015.json +68 -0
- data/schemas/tlc/1.1/statuses/S0016.json +40 -0
- data/schemas/tlc/1.1/statuses/S0017.json +40 -0
- data/schemas/tlc/1.1/statuses/S0018.json +40 -0
- data/schemas/tlc/1.1/statuses/S0019.json +40 -0
- data/schemas/tlc/1.1/statuses/S0020.json +67 -0
- data/schemas/tlc/1.1/statuses/S0021.json +35 -0
- data/schemas/tlc/1.1/statuses/S0022.json +34 -0
- data/schemas/tlc/1.1/statuses/S0023.json +35 -0
- data/schemas/tlc/1.1/statuses/S0024.json +35 -0
- data/schemas/tlc/1.1/statuses/S0025.json +229 -0
- data/schemas/tlc/1.1/statuses/S0026.json +34 -0
- data/schemas/tlc/1.1/statuses/S0027.json +34 -0
- data/schemas/tlc/1.1/statuses/S0028.json +34 -0
- data/schemas/tlc/1.1/statuses/S0029.json +34 -0
- data/schemas/tlc/1.1/statuses/S0030.json +34 -0
- data/schemas/tlc/1.1/statuses/S0031.json +34 -0
- data/schemas/tlc/1.1/statuses/S0091.json +45 -0
- data/schemas/tlc/1.1/statuses/S0092.json +45 -0
- data/schemas/tlc/1.1/statuses/S0095.json +34 -0
- data/schemas/tlc/1.1/statuses/S0096.json +175 -0
- data/schemas/tlc/1.1/statuses/S0097.json +61 -0
- data/schemas/tlc/1.1/statuses/S0098.json +82 -0
- data/schemas/tlc/1.1/statuses/S0201.json +67 -0
- data/schemas/tlc/1.1/statuses/S0202.json +67 -0
- data/schemas/tlc/1.1/statuses/S0203.json +67 -0
- data/schemas/tlc/1.1/statuses/S0204.json +283 -0
- data/schemas/tlc/1.1/statuses/S0205.json +61 -0
- data/schemas/tlc/1.1/statuses/S0206.json +61 -0
- data/schemas/tlc/1.1/statuses/S0207.json +61 -0
- data/schemas/tlc/1.1/statuses/S0208.json +229 -0
- data/schemas/tlc/1.1/statuses/statuses.json +738 -0
- data/schemas/tlc/1.1/sxl.json +73 -0
- data/schemas/tlc/1.1/sxl.yaml +1749 -0
- metadata +784 -0
data/rsmp_schema.gemspec
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'pathname'
|
4
|
+
require_relative "lib/rsmp_schema/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "rsmp_schema"
|
8
|
+
spec.version = RSMP::Schema::VERSION
|
9
|
+
spec.authors = ["Emil Tin"]
|
10
|
+
spec.email = ["zf0f@kk.dk"]
|
11
|
+
|
12
|
+
spec.summary = "Validate RSMP message against RSMP JSON Schema."
|
13
|
+
spec.description = "Validate RSMP message against RSMP JSON Schema. Support validating against core and different SXL's, in different versions."
|
14
|
+
spec.homepage = "https://github.com/rsmp-nordic/rsmp_schema"
|
15
|
+
spec.licenses = ['MIT']
|
16
|
+
spec.required_ruby_version = '>= 3.0.0'
|
17
|
+
|
18
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
19
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
20
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/CHANGELOG.md"
|
21
|
+
spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
|
22
|
+
|
23
|
+
# Specify which files should be added to the gem when it is released.
|
24
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
25
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
26
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
27
|
+
end
|
28
|
+
|
29
|
+
spec.bindir = "exe"
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
|
33
|
+
spec.add_dependency "json_schemer", "~> 0.2.21"
|
34
|
+
spec.add_dependency "thor", "~> 1.2.1"
|
35
|
+
|
36
|
+
spec.add_development_dependency "bundler", "~> 2.3.19"
|
37
|
+
spec.add_development_dependency "rake", "~> 13.0.6"
|
38
|
+
spec.add_development_dependency "rspec", "~> 3.11.0"
|
39
|
+
spec.add_development_dependency "rspec-expectations", "~> 3.11.0"
|
40
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"title" : "Aggregated Status",
|
3
|
+
"description" : "Aggregated status message",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"aSTS" : { "$ref": "definitions.json#/timestamp" },
|
7
|
+
"fP" : {
|
8
|
+
"description" : "Functional position",
|
9
|
+
"type" : "string, null"
|
10
|
+
},
|
11
|
+
"fS" : {
|
12
|
+
"description" : "Functional position",
|
13
|
+
"type" : "string, null"
|
14
|
+
},
|
15
|
+
"se" : {
|
16
|
+
"type" : "array",
|
17
|
+
"minItems": 8,
|
18
|
+
"maxItems": 8,
|
19
|
+
"items" : {
|
20
|
+
"type" : "boolean"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"required" : [ "mId", "aSTS", "fP", "fS", "se" ]
|
25
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
{
|
2
|
+
"title" : "Alarm",
|
3
|
+
"description" : "Alarm messsage",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
7
|
+
"aCId" : { "$ref": "definitions.json#/alarm_code" },
|
8
|
+
"xACId" : { "description" : "External alarm code id", "type" : "string" },
|
9
|
+
"aSp" : {
|
10
|
+
"description" : "Alarm specialization",
|
11
|
+
"type" : "string",
|
12
|
+
"enum" : [ "Issue", "Acknowledge", "Suspend", "Resume",
|
13
|
+
"issue", "acknowledge", "suspend", "resume" ]
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"required" : [ "aSp"],
|
17
|
+
"allOf" : [
|
18
|
+
{
|
19
|
+
"if": {
|
20
|
+
"required" : [ "aSp" ],
|
21
|
+
"properties" : {
|
22
|
+
"aSp" : { "enum" : [ "Issue",
|
23
|
+
"issue"] }
|
24
|
+
}
|
25
|
+
},
|
26
|
+
"then": { "$ref": "alarm_issue.json" }
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"if": {
|
30
|
+
"allOf" : [
|
31
|
+
{
|
32
|
+
"required" : [ "aSp" ],
|
33
|
+
"properties" : {
|
34
|
+
"aSp" : { "enum" : [ "Suspend", "Resume",
|
35
|
+
"suspend", "resume"] }
|
36
|
+
}
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"not": { "required" : [ "sS" ] }
|
40
|
+
}
|
41
|
+
]
|
42
|
+
},
|
43
|
+
"then": { "$ref": "alarm_suspend_resume.json" }
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"if": {
|
47
|
+
"required" : [ "aSp", "sS" ],
|
48
|
+
"properties" : {
|
49
|
+
"aSp" : { "enum" : [ "Suspend", "Resume",
|
50
|
+
"suspend", "resume"] },
|
51
|
+
"sS" : { "enum" : [ "suspended", "notSuspended",
|
52
|
+
"Suspended", "NotSuspended" ] }
|
53
|
+
}
|
54
|
+
},
|
55
|
+
"then": { "$ref": "alarm_suspended_resumed.json" }
|
56
|
+
}
|
57
|
+
]
|
58
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"properties" : {
|
3
|
+
"ack" : {
|
4
|
+
"description" : "Acknowledgement",
|
5
|
+
"type" : "string",
|
6
|
+
"enum" : [ "Acknowledged", "notAcknowledged",
|
7
|
+
"acknowledged", "NotAcknowledged" ]
|
8
|
+
},
|
9
|
+
"aS" : {
|
10
|
+
"description" : "Active status",
|
11
|
+
"type" : "string",
|
12
|
+
"enum" : [ "inActive", "Active",
|
13
|
+
"InActive", "active" ]
|
14
|
+
},
|
15
|
+
"sS" : {
|
16
|
+
"description" : "Suspend status",
|
17
|
+
"type" : "string",
|
18
|
+
"enum" : [ "suspended", "notSuspended",
|
19
|
+
"Suspended", "NotSuspended" ]
|
20
|
+
},
|
21
|
+
"aTs" : { "$ref": "definitions.json#/timestamp" },
|
22
|
+
"cat" : {
|
23
|
+
"description" : "Category",
|
24
|
+
"type" : "string",
|
25
|
+
"enum" : [ "T", "D" ]
|
26
|
+
},
|
27
|
+
"pri" : {
|
28
|
+
"description" : "Priority",
|
29
|
+
"type" : "string",
|
30
|
+
"enum" : [ "1", "2", "3" ]
|
31
|
+
},
|
32
|
+
"rvs" : {
|
33
|
+
"description" : "Return values",
|
34
|
+
"type" : "array",
|
35
|
+
"items" : {
|
36
|
+
"type" : "object",
|
37
|
+
"properties": {
|
38
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
39
|
+
"v" : { "description" : "Value", "type" : "string" }
|
40
|
+
},
|
41
|
+
"required" : [ "n", "v" ],
|
42
|
+
"additionalProperties": false
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"required" : [ "mId", "cId", "aCId", "xACId", "aSp", "ack", "aS", "aTs", "sS", "cat", "pri", "rvs" ]
|
47
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"properties" : {
|
3
|
+
"ack" : {
|
4
|
+
"description" : "Acknowledgement",
|
5
|
+
"type" : "string",
|
6
|
+
"enum" : [ "Acknowledged", "notAcknowledged",
|
7
|
+
"acknowledged", "NotAcknowledged" ]
|
8
|
+
},
|
9
|
+
"aS" : {
|
10
|
+
"description" : "Active status",
|
11
|
+
"type" : "string",
|
12
|
+
"enum" : [ "inActive", "Active",
|
13
|
+
"InActive", "active" ]
|
14
|
+
},
|
15
|
+
"sS" : {
|
16
|
+
"description" : "Suspend status",
|
17
|
+
"type" : "string",
|
18
|
+
"enum" : [ "suspended", "notSuspended",
|
19
|
+
"Suspended", "NotSuspended" ]
|
20
|
+
},
|
21
|
+
"aTs" : { "$ref": "definitions.json#/timestamp" },
|
22
|
+
"cat" : {
|
23
|
+
"description" : "Category",
|
24
|
+
"type" : "string",
|
25
|
+
"enum" : [ "T", "D" ]
|
26
|
+
},
|
27
|
+
"pri" : {
|
28
|
+
"description" : "Priority",
|
29
|
+
"type" : "string",
|
30
|
+
"enum" : [ "1", "2", "3" ]
|
31
|
+
},
|
32
|
+
"rvs" : {
|
33
|
+
"description" : "Return values",
|
34
|
+
"type" : "array",
|
35
|
+
"items" : {
|
36
|
+
"type" : "object",
|
37
|
+
"properties": {
|
38
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
39
|
+
"v" : { "description" : "Value", "type" : "string" }
|
40
|
+
},
|
41
|
+
"required" : [ "n", "v" ],
|
42
|
+
"additionalProperties": false
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"required" : [ "mId", "cId", "aCId", "xACId", "aSp", "ack", "aS", "aTs", "sS", "cat", "pri", "rvs" ]
|
47
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"title" : "CommandRequest",
|
3
|
+
"description" : "Command request",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
7
|
+
"arg" : {
|
8
|
+
"description" : "Command arguments",
|
9
|
+
"type" : "array",
|
10
|
+
"minItems": 1,
|
11
|
+
"items" : {
|
12
|
+
"type" : "object",
|
13
|
+
"properties": {
|
14
|
+
"cCI" : { "$ref": "definitions.json#/command_code" },
|
15
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
16
|
+
"cO" : { "description" : "Command", "type" : "string" },
|
17
|
+
"v" : { "description" : "Value" }
|
18
|
+
},
|
19
|
+
"required" : [ "cCI", "n", "cO", "v" ]
|
20
|
+
}
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"required" : [ "mId", "cId", "arg"]
|
24
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"title" : "CommandRequest",
|
3
|
+
"description" : "Command request",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
7
|
+
"cTS" : { "$ref": "definitions.json#/timestamp" },
|
8
|
+
"rvs" : {
|
9
|
+
"description" : "Command arguments",
|
10
|
+
"type" : "array",
|
11
|
+
"items" : {
|
12
|
+
"type" : "object",
|
13
|
+
"properties": {
|
14
|
+
"cCI" : { "$ref": "definitions.json#/command_code" },
|
15
|
+
"n" : {
|
16
|
+
"description" : "Unique reference of the value",
|
17
|
+
"type" : "string"
|
18
|
+
},
|
19
|
+
"v" : {
|
20
|
+
"description" : "Value"
|
21
|
+
},
|
22
|
+
"age" : {
|
23
|
+
"description" : "Age of the value",
|
24
|
+
"type" : "string",
|
25
|
+
"enum" : [ "recent", "old", "undefined", "unknown" ]
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"required" : [ "cCI", "n", "v", "age" ],
|
29
|
+
"additionalProperties": false
|
30
|
+
}
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"required" : [ "mId", "cId", "cTS", "rvs" ]
|
34
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{
|
2
|
+
"$schema" : "http://json-schema.org/draft-07/schema#",
|
3
|
+
"name" : "core",
|
4
|
+
"description" : "Core",
|
5
|
+
"version" : "3.1.1",
|
6
|
+
"type" : "object",
|
7
|
+
"allOf" : [
|
8
|
+
{
|
9
|
+
"properties" : {
|
10
|
+
"mType" : {
|
11
|
+
"description" : "Supported RSMP versions",
|
12
|
+
"type" : "string",
|
13
|
+
"const" : "rSMsg"
|
14
|
+
},
|
15
|
+
"type" : {
|
16
|
+
"description" : "Type of RMSP message",
|
17
|
+
"type" : "string",
|
18
|
+
"enum" : [
|
19
|
+
"MessageAck",
|
20
|
+
"MessageNotAck",
|
21
|
+
"Version",
|
22
|
+
"AggregatedStatus",
|
23
|
+
"Watchdog",
|
24
|
+
"Alarm",
|
25
|
+
"CommandRequest",
|
26
|
+
"CommandResponse",
|
27
|
+
"StatusRequest",
|
28
|
+
"StatusResponse",
|
29
|
+
"StatusSubscribe",
|
30
|
+
"StatusUnsubscribe",
|
31
|
+
"StatusUpdate"
|
32
|
+
]
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"required" : [ "mType", "type" ]
|
36
|
+
}
|
37
|
+
]
|
38
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
{
|
2
|
+
"message_id": {
|
3
|
+
"description" : "Message Id",
|
4
|
+
"type": "string",
|
5
|
+
"$comment" : "Example: 1.2.3 or 1.2",
|
6
|
+
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$"
|
7
|
+
},
|
8
|
+
"timestamp" : {
|
9
|
+
"description" : "Timestamp",
|
10
|
+
"type": "string",
|
11
|
+
"$comment" : "Example: 2015-06-08T11:49:03.293Z",
|
12
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$"
|
13
|
+
},
|
14
|
+
"integer" : {
|
15
|
+
"description" : "Integer as string",
|
16
|
+
"type": "string",
|
17
|
+
"$comment" : "Example: 123 or -123",
|
18
|
+
"pattern": "^\\-?[0-9]+$"
|
19
|
+
},
|
20
|
+
"version": {
|
21
|
+
"description" : "Version",
|
22
|
+
"type": "string",
|
23
|
+
"$comment" : "Example: 1.2.3 or 1.2",
|
24
|
+
"pattern" : "^[0-9]{1,2}\\.[0-9]{1,2}(\\.[0-9]{1,2})?"
|
25
|
+
},
|
26
|
+
"command_code": {
|
27
|
+
"description" : "Command code id",
|
28
|
+
"type" : "string",
|
29
|
+
"pattern" : "^M"
|
30
|
+
},
|
31
|
+
"status_code": {
|
32
|
+
"description" : "Status code id",
|
33
|
+
"type" : "string",
|
34
|
+
"pattern" : "^S"
|
35
|
+
},
|
36
|
+
"alarm_code": {
|
37
|
+
"description" : "Alarm code id",
|
38
|
+
"type" : "string",
|
39
|
+
"pattern" : "^A"
|
40
|
+
},
|
41
|
+
"component_id": {
|
42
|
+
"description" : "Compoment id",
|
43
|
+
"type" : "string"
|
44
|
+
},
|
45
|
+
"boolean": {
|
46
|
+
"description" : "Boolean as string",
|
47
|
+
"type" : "string",
|
48
|
+
"enum" : [ "True", "False" ]
|
49
|
+
},
|
50
|
+
"integer_list": {
|
51
|
+
"description" : "Comma-separated list of integers as strings",
|
52
|
+
"type" : "string",
|
53
|
+
"pattern" : "^(\\-?\\d+)(?:,(\\-?\\d+))*$"
|
54
|
+
},
|
55
|
+
"boolean_list": {
|
56
|
+
"description" : "Comma-separated list of booleans as strings",
|
57
|
+
"type" : "string",
|
58
|
+
"pattern" : "^(True|False)(?:,(True|False))*$"
|
59
|
+
},
|
60
|
+
"string_list": {
|
61
|
+
"description" : "Comma-separated list of strings",
|
62
|
+
"type" : "string"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
|
67
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"title" : "MessageNotAck",
|
3
|
+
"description" : "Message not acknowledgeded",
|
4
|
+
"properties" : {
|
5
|
+
"oMId" : {
|
6
|
+
"$ref": "definitions.json#/message_id",
|
7
|
+
"description" : "Old message id"
|
8
|
+
},
|
9
|
+
"rea" : {
|
10
|
+
"description" : "Reason / Error message",
|
11
|
+
"type" : "string"
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"required" : [ "oMId" ]
|
15
|
+
}
|
@@ -0,0 +1,124 @@
|
|
1
|
+
{
|
2
|
+
"allOf": [
|
3
|
+
{
|
4
|
+
"$ref": "core.json"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"if": {
|
8
|
+
"required" : ["type"],
|
9
|
+
"properties": { "type": { "const": "MessageAck" } }
|
10
|
+
},
|
11
|
+
"then": {
|
12
|
+
"$ref": "message_ack.json"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"if": {
|
17
|
+
"required" : ["type"],
|
18
|
+
"properties": { "type": { "const": "MessageNotAck" } }
|
19
|
+
},
|
20
|
+
"then": {
|
21
|
+
"$ref": "message_not_ack.json"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"if": {
|
26
|
+
"required" : ["type"],
|
27
|
+
"properties": { "type": { "const": "Version" } }
|
28
|
+
},
|
29
|
+
"then": {
|
30
|
+
"$ref": "version.json"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"if": {
|
35
|
+
"required" : ["type"],
|
36
|
+
"properties": { "type": { "const": "AggregatedStatus" } }
|
37
|
+
},
|
38
|
+
"then": {
|
39
|
+
"$ref": "aggregated_status.json"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"if": {
|
44
|
+
"required" : ["type"],
|
45
|
+
"properties": { "type": { "const": "Watchdog" } }
|
46
|
+
},
|
47
|
+
"then": {
|
48
|
+
"$ref": "watchdog.json"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"if": {
|
53
|
+
"required" : ["type"],
|
54
|
+
"properties": { "type": { "const": "Alarm" } }
|
55
|
+
},
|
56
|
+
"then": {
|
57
|
+
"$ref": "alarm.json"
|
58
|
+
}
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"if": {
|
62
|
+
"required" : ["type"],
|
63
|
+
"properties": { "type": { "const": "CommandRequest" } }
|
64
|
+
},
|
65
|
+
"then": {
|
66
|
+
"$ref": "command_request.json"
|
67
|
+
}
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"if": {
|
71
|
+
"required" : ["type"],
|
72
|
+
"properties": { "type": { "const": "CommandResponse" } }
|
73
|
+
},
|
74
|
+
"then": {
|
75
|
+
"$ref": "command_response.json"
|
76
|
+
}
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"if": {
|
80
|
+
"required" : ["type"],
|
81
|
+
"properties": { "type": { "const": "StatusRequest" } }
|
82
|
+
},
|
83
|
+
"then": {
|
84
|
+
"$ref": "status_request.json"
|
85
|
+
}
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"if": {
|
89
|
+
"required" : ["type"],
|
90
|
+
"properties": { "type": { "const": "StatusResponse" } }
|
91
|
+
},
|
92
|
+
"then": {
|
93
|
+
"$ref": "status_response.json"
|
94
|
+
}
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"if": {
|
98
|
+
"required" : ["type"],
|
99
|
+
"properties": { "type": { "const": "StatusSubscribe" } }
|
100
|
+
},
|
101
|
+
"then": {
|
102
|
+
"$ref": "status_subscribe.json"
|
103
|
+
}
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"if": {
|
107
|
+
"required" : ["type"],
|
108
|
+
"properties": { "type": { "const": "StatusUnsubscribe" } }
|
109
|
+
},
|
110
|
+
"then": {
|
111
|
+
"$ref": "status_unsubscribe.json"
|
112
|
+
}
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"if": {
|
116
|
+
"required" : ["type"],
|
117
|
+
"properties": { "type": { "const": "StatusUpdate" } }
|
118
|
+
},
|
119
|
+
"then": {
|
120
|
+
"$ref": "status_update.json"
|
121
|
+
}
|
122
|
+
}
|
123
|
+
]
|
124
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"properties" : {
|
3
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
4
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
5
|
+
"sS" : {
|
6
|
+
"description" : "Status request arguments",
|
7
|
+
"type" : "array",
|
8
|
+
"minItems": 1,
|
9
|
+
"items" : {
|
10
|
+
"type" : "object",
|
11
|
+
"properties": {
|
12
|
+
"sCI" : { "$ref": "definitions.json#/status_code" },
|
13
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" }
|
14
|
+
},
|
15
|
+
"required" : [ "sCI", "n" ],
|
16
|
+
"additionalProperties": false
|
17
|
+
}
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"required" : [ "mId", "cId", "sS"]
|
21
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"title" : "StatusResponse",
|
3
|
+
"description" : "Status response",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
7
|
+
"sTs" : { "$ref": "definitions.json#/timestamp" },
|
8
|
+
"sS" : {
|
9
|
+
"description" : "Status response arguments",
|
10
|
+
"type" : "array",
|
11
|
+
"minItems": 1,
|
12
|
+
"items" : {
|
13
|
+
"type" : "object",
|
14
|
+
"properties": {
|
15
|
+
"sCI" : { "$ref": "definitions.json#/status_code" },
|
16
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
17
|
+
"s" : { "description" : "Value", "type" : "string" },
|
18
|
+
"ageState" : {
|
19
|
+
"description" : "Value",
|
20
|
+
"type" : "string",
|
21
|
+
"enum" : [ "recent", "old", "undefined", "unknown" ]
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"required" : [ "sCI", "n", "s", "ageState" ],
|
25
|
+
"additionalProperties": false
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"required" : [ "mId", "cId", "sTs", "sS" ]
|
30
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"title" : "StatusSubscribe",
|
3
|
+
"description" : "Status subscribe",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
7
|
+
"sS" : {
|
8
|
+
"description" : "Status request arguments",
|
9
|
+
"type" : "array",
|
10
|
+
"minItems": 1,
|
11
|
+
"items" : {
|
12
|
+
"type" : "object",
|
13
|
+
"properties": {
|
14
|
+
"sCI" : { "$ref": "definitions.json#/status_code" },
|
15
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
16
|
+
"uRt" : {
|
17
|
+
"$ref": "definitions.json#/integer",
|
18
|
+
"description" : "Update interval in seconds, 0 means send when value changes"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"required" : [ "sCI", "n", "uRt" ],
|
22
|
+
"additionalProperties": false
|
23
|
+
}
|
24
|
+
}
|
25
|
+
},
|
26
|
+
"required" : [ "mId", "cId", "sS"]
|
27
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"title" : "StatusUpdate",
|
3
|
+
"description" : "Status update",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "definitions.json#/message_id" },
|
6
|
+
"cId" : { "$ref": "definitions.json#/component_id" },
|
7
|
+
"sTs" : { "$ref": "definitions.json#/timestamp" },
|
8
|
+
"sS" : {
|
9
|
+
"description" : "Status update arguments",
|
10
|
+
"type" : "array",
|
11
|
+
"minItems": 1,
|
12
|
+
"items" : {
|
13
|
+
"type" : "object",
|
14
|
+
"properties": {
|
15
|
+
"sCI" : { "$ref": "definitions.json#/status_code" },
|
16
|
+
"n" : { "description" : "Unique reference of the value", "type" : "string" },
|
17
|
+
"s" : { "description" : "Value", "type" : "string" },
|
18
|
+
"ageState" : {
|
19
|
+
"description" : "Value",
|
20
|
+
"type" : "string",
|
21
|
+
"enum" : [ "recent", "old", "undefined", "unknown" ]
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"required" : [ "sCI", "n", "s", "ageState" ],
|
25
|
+
"additionalProperties": false
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"required" : [ "mId", "cId", "sTs", "sS" ]
|
30
|
+
}
|