rsmp_schemer 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +15 -15
  3. data/lib/rsmp_schemer/version.rb +3 -3
  4. data/rsmp_schemer.gemspec +2 -2
  5. data/schemas/core_3.1.3/Gemfile.lock +20 -20
  6. data/schemas/core_3.1.3/schema/core/alarm.json +8 -4
  7. data/schemas/core_3.1.3/schema/core/core.json +0 -1
  8. data/schemas/core_3.1.3/schema/core/rsmp.json +0 -9
  9. data/schemas/core_3.1.3/spec/core/alarm_spec.rb +20 -7
  10. data/schemas/core_3.1.3/spec/core/command_request_spec.rb +3 -6
  11. data/schemas/core_3.1.3/spec/core/command_response_spec.rb +1 -43
  12. data/schemas/core_3.1.3/spec/core/status_request_spec.rb +4 -8
  13. data/schemas/core_3.1.3/spec/core/status_response_spec.rb +13 -8
  14. data/schemas/core_3.1.3/spec/core/status_subscribe_spec.rb +4 -8
  15. data/schemas/core_3.1.3/spec/core/status_unsubscribe_spec.rb +4 -8
  16. data/schemas/core_3.1.3/spec/core/status_update_spec.rb +4 -8
  17. data/schemas/core_3.1.3/spec/schemer_helper.rb +19 -17
  18. data/schemas/tlc_1.0.15/Gemfile.lock +17 -17
  19. data/schemas/tlc_1.0.15/README.md +7 -0
  20. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0001.json +1 -1
  21. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0002.json +1 -1
  22. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0003.json +1 -1
  23. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0004.json +1 -1
  24. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0005.json +1 -1
  25. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0006.json +1 -1
  26. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0007.json +1 -1
  27. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0008.json +1 -1
  28. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0009.json +1 -1
  29. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0010.json +1 -1
  30. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0101.json +1 -1
  31. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0201.json +1 -1
  32. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0202.json +1 -1
  33. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0301.json +1 -1
  34. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0302.json +1 -1
  35. data/schemas/tlc_1.0.15/schema/tlc/commands/M0002.json +1 -1
  36. data/schemas/tlc_1.0.15/schema/tlc/commands/M0003.json +1 -1
  37. data/schemas/tlc_1.0.15/schema/tlc/commands/M0004.json +1 -1
  38. data/schemas/tlc_1.0.15/schema/tlc/commands/M0005.json +1 -1
  39. data/schemas/tlc_1.0.15/schema/tlc/commands/M0006.json +1 -1
  40. data/schemas/tlc_1.0.15/schema/tlc/commands/M0007.json +1 -1
  41. data/schemas/tlc_1.0.15/schema/tlc/commands/M0008.json +1 -1
  42. data/schemas/tlc_1.0.15/schema/tlc/commands/M0010.json +1 -1
  43. data/schemas/tlc_1.0.15/schema/tlc/commands/M0011.json +1 -1
  44. data/schemas/tlc_1.0.15/schema/tlc/commands/M0012.json +1 -1
  45. data/schemas/tlc_1.0.15/schema/tlc/commands/M0013.json +1 -1
  46. data/schemas/tlc_1.0.15/schema/tlc/commands/M0014.json +1 -1
  47. data/schemas/tlc_1.0.15/schema/tlc/commands/M0015.json +1 -1
  48. data/schemas/tlc_1.0.15/schema/tlc/commands/M0016.json +1 -1
  49. data/schemas/tlc_1.0.15/schema/tlc/commands/M0017.json +1 -1
  50. data/schemas/tlc_1.0.15/schema/tlc/commands/M0018.json +1 -1
  51. data/schemas/tlc_1.0.15/schema/tlc/commands/M0019.json +1 -1
  52. data/schemas/tlc_1.0.15/schema/tlc/commands/M0020.json +1 -1
  53. data/schemas/tlc_1.0.15/schema/tlc/commands/M0021.json +1 -1
  54. data/schemas/tlc_1.0.15/schema/tlc/commands/M0103.json +1 -1
  55. data/schemas/tlc_1.0.15/schema/tlc/commands/M0104.json +1 -1
  56. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0001.json +1 -1
  57. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0002.json +1 -1
  58. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0003.json +1 -1
  59. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0004.json +1 -1
  60. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0005.json +1 -1
  61. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0006.json +1 -1
  62. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0007.json +1 -1
  63. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0008.json +1 -1
  64. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0009.json +1 -1
  65. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0010.json +1 -1
  66. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0011.json +1 -1
  67. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0012.json +1 -1
  68. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0013.json +1 -1
  69. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0014.json +1 -1
  70. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0015.json +1 -1
  71. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0016.json +1 -1
  72. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0017.json +1 -1
  73. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0018.json +1 -1
  74. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0019.json +1 -1
  75. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0020.json +1 -1
  76. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0021.json +1 -1
  77. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0022.json +1 -1
  78. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0023.json +1 -1
  79. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0024.json +1 -1
  80. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0025.json +1 -1
  81. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0026.json +1 -1
  82. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0027.json +1 -1
  83. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0028.json +2 -2
  84. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0029.json +1 -1
  85. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0030.json +1 -1
  86. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0031.json +1 -1
  87. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0091.json +1 -1
  88. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0092.json +1 -1
  89. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0095.json +1 -1
  90. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0096.json +1 -1
  91. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0097.json +1 -1
  92. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0098.json +2 -2
  93. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0201.json +1 -1
  94. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0202.json +2 -2
  95. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0203.json +2 -2
  96. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0204.json +2 -2
  97. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0205.json +3 -3
  98. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0206.json +3 -3
  99. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0207.json +3 -3
  100. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0208.json +11 -11
  101. data/schemas/tlc_1.0.15/schema/tlc/sxl.yaml +1655 -0
  102. metadata +8 -97
  103. data/schemas/core_3.1.3/examples/validate.rb +0 -32
  104. data/schemas/core_3.1.3/schema/core/aggregated_status_request.json +0 -9
  105. data/schemas/core_3.1.3/schema/tlc/alarms/A0001.json +0 -7
  106. data/schemas/core_3.1.3/schema/tlc/alarms/A0002.json +0 -7
  107. data/schemas/core_3.1.3/schema/tlc/alarms/A0003.json +0 -7
  108. data/schemas/core_3.1.3/schema/tlc/alarms/A0004.json +0 -7
  109. data/schemas/core_3.1.3/schema/tlc/alarms/A0005.json +0 -7
  110. data/schemas/core_3.1.3/schema/tlc/alarms/A0006.json +0 -7
  111. data/schemas/core_3.1.3/schema/tlc/alarms/A0007.json +0 -7
  112. data/schemas/core_3.1.3/schema/tlc/alarms/A0008.json +0 -19
  113. data/schemas/core_3.1.3/schema/tlc/alarms/A0009.json +0 -7
  114. data/schemas/core_3.1.3/schema/tlc/alarms/A0101.json +0 -7
  115. data/schemas/core_3.1.3/schema/tlc/alarms/A0201.json +0 -20
  116. data/schemas/core_3.1.3/schema/tlc/alarms/A0202.json +0 -20
  117. data/schemas/core_3.1.3/schema/tlc/alarms/A0301.json +0 -49
  118. data/schemas/core_3.1.3/schema/tlc/alarms/A0302.json +0 -59
  119. data/schemas/core_3.1.3/schema/tlc/alarms/alarms.json +0 -68
  120. data/schemas/core_3.1.3/schema/tlc/commands/M0001.json +0 -48
  121. data/schemas/core_3.1.3/schema/tlc/commands/M0002.json +0 -39
  122. data/schemas/core_3.1.3/schema/tlc/commands/M0003.json +0 -39
  123. data/schemas/core_3.1.3/schema/tlc/commands/M0004.json +0 -30
  124. data/schemas/core_3.1.3/schema/tlc/commands/M0005.json +0 -39
  125. data/schemas/core_3.1.3/schema/tlc/commands/M0006.json +0 -39
  126. data/schemas/core_3.1.3/schema/tlc/commands/M0007.json +0 -30
  127. data/schemas/core_3.1.3/schema/tlc/commands/M0008.json +0 -40
  128. data/schemas/core_3.1.3/schema/tlc/commands/M0010.json +0 -30
  129. data/schemas/core_3.1.3/schema/tlc/commands/M0011.json +0 -30
  130. data/schemas/core_3.1.3/schema/tlc/commands/M0012.json +0 -29
  131. data/schemas/core_3.1.3/schema/tlc/commands/M0013.json +0 -1
  132. data/schemas/core_3.1.3/schema/tlc/commands/M0014.json +0 -38
  133. data/schemas/core_3.1.3/schema/tlc/commands/M0015.json +0 -38
  134. data/schemas/core_3.1.3/schema/tlc/commands/M0016.json +0 -29
  135. data/schemas/core_3.1.3/schema/tlc/commands/M0017.json +0 -29
  136. data/schemas/core_3.1.3/schema/tlc/commands/M0018.json +0 -38
  137. data/schemas/core_3.1.3/schema/tlc/commands/M0019.json +0 -49
  138. data/schemas/core_3.1.3/schema/tlc/commands/M0020.json +0 -49
  139. data/schemas/core_3.1.3/schema/tlc/commands/M0021.json +0 -1
  140. data/schemas/core_3.1.3/schema/tlc/commands/M0103.json +0 -39
  141. data/schemas/core_3.1.3/schema/tlc/commands/M0104.json +0 -1
  142. data/schemas/core_3.1.3/schema/tlc/commands/command_requests.json +0 -7
  143. data/schemas/core_3.1.3/schema/tlc/commands/command_responses.json +0 -7
  144. data/schemas/core_3.1.3/schema/tlc/commands/commands.json +0 -97
  145. data/schemas/core_3.1.3/schema/tlc/statuses/S0001.json +0 -45
  146. data/schemas/core_3.1.3/schema/tlc/statuses/S0002.json +0 -17
  147. data/schemas/core_3.1.3/schema/tlc/statuses/S0003.json +0 -26
  148. data/schemas/core_3.1.3/schema/tlc/statuses/S0004.json +0 -26
  149. data/schemas/core_3.1.3/schema/tlc/statuses/S0005.json +0 -18
  150. data/schemas/core_3.1.3/schema/tlc/statuses/S0006.json +0 -27
  151. data/schemas/core_3.1.3/schema/tlc/statuses/S0007.json +0 -26
  152. data/schemas/core_3.1.3/schema/tlc/statuses/S0008.json +0 -26
  153. data/schemas/core_3.1.3/schema/tlc/statuses/S0009.json +0 -26
  154. data/schemas/core_3.1.3/schema/tlc/statuses/S0010.json +0 -26
  155. data/schemas/core_3.1.3/schema/tlc/statuses/S0011.json +0 -26
  156. data/schemas/core_3.1.3/schema/tlc/statuses/S0012.json +0 -26
  157. data/schemas/core_3.1.3/schema/tlc/statuses/S0013.json +0 -27
  158. data/schemas/core_3.1.3/schema/tlc/statuses/S0014.json +0 -17
  159. data/schemas/core_3.1.3/schema/tlc/statuses/S0015.json +0 -17
  160. data/schemas/core_3.1.3/schema/tlc/statuses/S0016.json +0 -17
  161. data/schemas/core_3.1.3/schema/tlc/statuses/S0017.json +0 -17
  162. data/schemas/core_3.1.3/schema/tlc/statuses/S0018.json +0 -17
  163. data/schemas/core_3.1.3/schema/tlc/statuses/S0019.json +0 -17
  164. data/schemas/core_3.1.3/schema/tlc/statuses/S0020.json +0 -27
  165. data/schemas/core_3.1.3/schema/tlc/statuses/S0021.json +0 -18
  166. data/schemas/core_3.1.3/schema/tlc/statuses/S0022.json +0 -17
  167. data/schemas/core_3.1.3/schema/tlc/statuses/S0023.json +0 -18
  168. data/schemas/core_3.1.3/schema/tlc/statuses/S0024.json +0 -18
  169. data/schemas/core_3.1.3/schema/tlc/statuses/S0025.json +0 -80
  170. data/schemas/core_3.1.3/schema/tlc/statuses/S0026.json +0 -18
  171. data/schemas/core_3.1.3/schema/tlc/statuses/S0027.json +0 -18
  172. data/schemas/core_3.1.3/schema/tlc/statuses/S0028.json +0 -18
  173. data/schemas/core_3.1.3/schema/tlc/statuses/S0029.json +0 -17
  174. data/schemas/core_3.1.3/schema/tlc/statuses/S0030.json +0 -1
  175. data/schemas/core_3.1.3/schema/tlc/statuses/S0031.json +0 -1
  176. data/schemas/core_3.1.3/schema/tlc/statuses/S0091.json +0 -27
  177. data/schemas/core_3.1.3/schema/tlc/statuses/S0092.json +0 -27
  178. data/schemas/core_3.1.3/schema/tlc/statuses/S0095.json +0 -17
  179. data/schemas/core_3.1.3/schema/tlc/statuses/S0096.json +0 -68
  180. data/schemas/core_3.1.3/schema/tlc/statuses/S0097.json +0 -26
  181. data/schemas/core_3.1.3/schema/tlc/statuses/S0201.json +0 -26
  182. data/schemas/core_3.1.3/schema/tlc/statuses/S0202.json +0 -26
  183. data/schemas/core_3.1.3/schema/tlc/statuses/S0203.json +0 -26
  184. data/schemas/core_3.1.3/schema/tlc/statuses/S0204.json +0 -98
  185. data/schemas/core_3.1.3/schema/tlc/statuses/S0205.json +0 -26
  186. data/schemas/core_3.1.3/schema/tlc/statuses/S0206.json +0 -26
  187. data/schemas/core_3.1.3/schema/tlc/statuses/S0207.json +0 -26
  188. data/schemas/core_3.1.3/schema/tlc/statuses/S0208.json +0 -98
  189. data/schemas/core_3.1.3/schema/tlc/statuses/statuses.json +0 -181
  190. data/schemas/core_3.1.3/schema/tlc/sxl.json +0 -24
  191. data/schemas/core_3.1.3/spec/tlc/M0001_spec.rb +0 -67
  192. data/schemas/core_3.1.3/spec/tlc/S0007_spec.rb +0 -233
@@ -1,39 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Sets traffic situation the controller uses.<br>Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode", "traficsituation"] },
7
- "cO" : { "const" : "setTrafficSituation" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "False: Controller uses traffic situation according to own programming<br>True: Contoller uses traffic situation according to command",
15
- "type" : "string",
16
- "enum" : [ "True", "False" ]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Security code 2",
25
- "type" : "string"
26
- }
27
- }}
28
- },
29
- {
30
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "traficsituation" }}},
31
- "then" : { "properties" : {
32
- "v" : {
33
- "$description": "designation of traficsituation",
34
- "$ref": "../../core/definitions.json#/integer"
35
- }
36
- }}
37
- }
38
- ]
39
- }
@@ -1,30 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Restarts Traffic Controller<br>Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode"] },
7
- "cO" : { "const" : "setRestart" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "True: Restart controller",
15
- "type" : "string",
16
- "enum" : [ "True", "False" ]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Security code 2",
25
- "type" : "string"
26
- }
27
- }}
28
- }
29
- ]
30
- }
@@ -1,39 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Activate emergency route<br>Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode", "emergencyroute"] },
7
- "cO" : { "const" : "setEmergency" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "False: Activate emergency route<br>True: Deactivate emergency route",
15
- "type" : "string",
16
- "enum" : [ "True", "False" ]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Security code 2",
25
- "type" : "string"
26
- }
27
- }}
28
- },
29
- {
30
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "emergencyroute" }}},
31
- "then" : { "properties" : {
32
- "v" : {
33
- "$description": "Number of emergency route",
34
- "$ref": "../../core/definitions.json#/integer"
35
- }
36
- }}
37
- }
38
- ]
39
- }
@@ -1,39 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Activate input<br>Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode", "input"] },
7
- "cO" : { "const" : "setInput" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "False: Deactivate input<br>True: Activate input",
15
- "type" : "string",
16
- "enum" : [ "True", "False" ]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Security code 2",
25
- "type" : "string"
26
- }
27
- }}
28
- },
29
- {
30
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "input" }}},
31
- "then" : { "properties" : {
32
- "v" : {
33
- "$description": "Number of Input",
34
- "$ref": "../../core/definitions.json#/integer"
35
- }
36
- }}
37
- }
38
- ]
39
- }
@@ -1,30 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Activate fixed time control<br>Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode"] },
7
- "cO" : { "const" : "setFixedTime" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "False: Deactivate fixed time control<br>True: Activate fixed time control",
15
- "type" : "string",
16
- "enum" : [ "True", "False" ]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Security code 2",
25
- "type" : "string"
26
- }
27
- }}
28
- }
29
- ]
30
- }
@@ -1,40 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Sets manual activation of detector logic.<br>Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode", "mode"] },
7
- "cO" : { "const" : "setForceDetectorLogic" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "False: Deactivate manual control of detector logic<br>True: Activate manual control of detector logic",
15
- "type" : "string",
16
- "enum" : [ "True", "False" ]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Security code 2",
25
- "type" : "string"
26
- }
27
- }}
28
- },
29
- {
30
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "mode" }}},
31
- "then" : { "properties" : {
32
- "v" : {
33
- "$description": "False: Deactivate detector logic<br>True: Activate detector logic",
34
- "type" : "string",
35
- "enum" : [ "True", "False" ]
36
- }
37
- }}
38
- }
39
- ]
40
- }
@@ -1,30 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Start of signal group. Orders a signal group to green. Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode"] },
7
- "cO" : { "const" : "setStart" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "False: No command (default)<br>True: Order a signal group to green",
15
- "type" : "string",
16
- "enum" : [ "True", "False" ]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Security code 2",
25
- "type" : "string"
26
- }
27
- }}
28
- }
29
- ]
30
- }
@@ -1,30 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Stop of signal group. Orders a signal group to red. Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode"] },
7
- "cO" : { "const" : "setStop" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "False: No command (default)<br>True: Order a signal group to red",
15
- "type" : "string",
16
- "enum" : [ "True", "False" ]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Security code 2",
25
- "type" : "string"
26
- }
27
- }}
28
- }
29
- ]
30
- }
@@ -1,29 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Request start or stop of a series of signal groups. Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode"] },
7
- "cO" : { "const" : "setStart" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.<br><br>1=Order signal group to green<br>0=Order signal group to red<br><br>Format: [Offset],[Bits to set],[Bits to unset]:…<br> <br>Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768. <br> <br>Example 1:<br>'5, 4134, 65' sets input 6,7,10,17 = on and 5,11 = off<br>(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)<br> <br>Example 2:<br>'22, 1, 4' sets input 22 = on and 24 = off<br>(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)<br> <br>And both thease examples could be sent in the same message as:<br>'5,4143,65:22,1,4'<br><br>Such a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
15
- "type" : "string"
16
- }
17
- }}
18
- },
19
- {
20
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
21
- "then" : { "properties" : {
22
- "v" : {
23
- "$description": "Security code 2",
24
- "type" : "string"
25
- }
26
- }}
27
- }
28
- ]
29
- }
@@ -1,38 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Set command table",
6
- "n" : { "enum" : ["plan", "status", "securityCode"] },
7
- "cO" : { "const" : "setCommands" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "plan" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "Plan to be changed",
15
- "$ref": "../../core/definitions.json#/integer"
16
- }
17
- }}
18
- },
19
- {
20
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
21
- "then" : { "properties" : {
22
- "v" : {
23
- "$description": "Command table. Defines command, <br>Each command are written as dd-ee where:<br>dd=Dynamic band number (from 1-10)<br>ee=Extension in seconds in this band<br><br>Each command is separated with a comma.<br><br>E.g. <br>dd-ee,dd-ee",
24
- "type" : "string"
25
- }
26
- }}
27
- },
28
- {
29
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
30
- "then" : { "properties" : {
31
- "v" : {
32
- "$description": "Security code 2",
33
- "type" : "string"
34
- }
35
- }}
36
- }
37
- ]
38
- }
@@ -1,38 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Set Offset time",
6
- "n" : { "enum" : ["status", "plan", "securityCode"] },
7
- "cO" : { "const" : "setOffset" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "Set offset time in seconds",
15
- "$ref": "../../core/definitions.json#/integer"
16
- }
17
- }}
18
- },
19
- {
20
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "plan" }}},
21
- "then" : { "properties" : {
22
- "v" : {
23
- "$description": "Time plan nr",
24
- "$ref": "../../core/definitions.json#/integer"
25
- }
26
- }}
27
- },
28
- {
29
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
30
- "then" : { "properties" : {
31
- "v" : {
32
- "$description": "Security code 2",
33
- "type" : "string"
34
- }
35
- }}
36
- }
37
- ]
38
- }
@@ -1,29 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Set week time table",
6
- "n" : { "enum" : ["status", "securityCode"] },
7
- "cO" : { "const" : "setWeekTable" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "Week time table. Defines time table to use for each week day<br>Each segment is written as d-t where:<br>d=day of week<br>t=time table nr<br><br>Day of week legend:<br>0=Monday<br>1=Tuesday<br>2=Wednesday<br>3=Thursday<br>4=Friday<br>5=Saturday<br>6=Sunday<br><br>Each segment is separated with a comma<br><br>E.g.<br>d-t,d-t",
15
- "type" : "string"
16
- }
17
- }}
18
- },
19
- {
20
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
21
- "then" : { "properties" : {
22
- "v" : {
23
- "$description": "Security code 2",
24
- "type" : "string"
25
- }
26
- }}
27
- }
28
- ]
29
- }
@@ -1,29 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Set time tables",
6
- "n" : { "enum" : ["status", "securityCode"] },
7
- "cO" : { "const" : "setTimeTable" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "Time Table. Defines time tables.<br>Each time definition is written as t-o-h-m where:<br>t=time table nr (1-12)<br>o=function<br>h=hour - switching time<br>m=minute - switching minute<br><br>Function legend:<br>0=no plan is selected by time table<br>1=set plan 1<br>…<br>16= set plan 16<br><br>hour and minute is using local time (not UTC)<br><br>Each time definition is separated with a comma.<br><br>E.g.<br>t-o-h-m,t-o-h-m<br>",
15
- "type" : "string"
16
- }
17
- }}
18
- },
19
- {
20
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
21
- "then" : { "properties" : {
22
- "v" : {
23
- "$description": "Security code 2",
24
- "type" : "string"
25
- }
26
- }}
27
- }
28
- ]
29
- }
@@ -1,38 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Set Cycle time",
6
- "n" : { "enum" : ["status", "plan", "securityCode"] },
7
- "cO" : { "const" : "setCycleTime" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "Set cycle time in seconds",
15
- "$ref": "../../core/definitions.json#/integer"
16
- }
17
- }}
18
- },
19
- {
20
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "plan" }}},
21
- "then" : { "properties" : {
22
- "v" : {
23
- "$description": "Time plan nr",
24
- "$ref": "../../core/definitions.json#/integer"
25
- }
26
- }}
27
- },
28
- {
29
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
30
- "then" : { "properties" : {
31
- "v" : {
32
- "$description": "Security code 2",
33
- "type" : "string"
34
- }
35
- }}
36
- }
37
- ]
38
- }
@@ -1,49 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Force input<br>Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode", "input", "inputValue"] },
7
- "cO" : { "const" : "setInput" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "False: Force input<br>True: Release input",
15
- "type" : "string",
16
- "enum" : [ "True", "False" ]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Security code 2",
25
- "type" : "string"
26
- }
27
- }}
28
- },
29
- {
30
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "input" }}},
31
- "then" : { "properties" : {
32
- "v" : {
33
- "$description": "Number of Input",
34
- "$ref": "../../core/definitions.json#/integer"
35
- }
36
- }}
37
- },
38
- {
39
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "inputValue" }}},
40
- "then" : { "properties" : {
41
- "v" : {
42
- "$description": "False: input forced to False<br>True: input forced to True",
43
- "type" : "string",
44
- "enum" : [ "True", "False" ]
45
- }
46
- }}
47
- }
48
- ]
49
- }
@@ -1,49 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Force output<br>Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode", "output", "outputValue"] },
7
- "cO" : { "const" : "setOutput" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "False: Force output<br>True: Release output",
15
- "type" : "string",
16
- "enum" : [ "True", "False" ]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "securityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Security code 2",
25
- "type" : "string"
26
- }
27
- }}
28
- },
29
- {
30
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "output" }}},
31
- "then" : { "properties" : {
32
- "v" : {
33
- "$description": "Number of Output",
34
- "$ref": "../../core/definitions.json#/integer"
35
- }
36
- }}
37
- },
38
- {
39
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "outputValue" }}},
40
- "then" : { "properties" : {
41
- "v" : {
42
- "$description": "False: output forced to False<br>True: output forced to True",
43
- "type" : "string",
44
- "enum" : [ "True", "False" ]
45
- }
46
- }}
47
- }
48
- ]
49
- }
@@ -1,39 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Set security code",
6
- "n" : { "enum" : ["status", "oldSecurityCode", "newSecurityCode"] },
7
- "cO" : { "const" : "setSecurityCode" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "Level1: Change security code 1<br>Level2: Change security code 2",
15
- "type" : "string",
16
- "enum" : ["Level1", "Level2"]
17
- }
18
- }}
19
- },
20
- {
21
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "oldSecurityCode" }}},
22
- "then" : { "properties" : {
23
- "v" : {
24
- "$description": "Previous security code",
25
- "type" : "string"
26
- }
27
- }}
28
- },
29
- {
30
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "newSecurityCode" }}},
31
- "then" : { "properties" : {
32
- "v" : {
33
- "$description": "New security code",
34
- "type" : "string"
35
- }
36
- }}
37
- }
38
- ]
39
- }
@@ -1,7 +0,0 @@
1
- {
2
- "properties" : {
3
- "arg" : {
4
- "$ref": "commands.json"
5
- }
6
- }
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "properties" : {
3
- "rvs" : {
4
- "$ref": "commands.json"
5
- }
6
- }
7
- }