rsmp_schemer 0.3.2 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +23 -22
  3. data/lib/rsmp_schemer/version.rb +3 -3
  4. data/rsmp_schemer.gemspec +3 -3
  5. data/schemas/core_3.1.2/schema/core/alarm.json +8 -4
  6. data/schemas/core_3.1.2/spec/core/alarm_spec.rb +15 -0
  7. data/schemas/core_3.1.3/Gemfile.lock +20 -20
  8. data/schemas/core_3.1.3/schema/core/alarm.json +8 -4
  9. data/schemas/core_3.1.3/schema/core/core.json +0 -1
  10. data/schemas/core_3.1.3/schema/core/rsmp.json +0 -9
  11. data/schemas/core_3.1.3/spec/core/alarm_spec.rb +20 -7
  12. data/schemas/core_3.1.3/spec/core/command_request_spec.rb +3 -6
  13. data/schemas/core_3.1.3/spec/core/command_response_spec.rb +1 -43
  14. data/schemas/core_3.1.3/spec/core/status_request_spec.rb +4 -8
  15. data/schemas/core_3.1.3/spec/core/status_response_spec.rb +13 -8
  16. data/schemas/core_3.1.3/spec/core/status_subscribe_spec.rb +4 -8
  17. data/schemas/core_3.1.3/spec/core/status_unsubscribe_spec.rb +4 -8
  18. data/schemas/core_3.1.3/spec/core/status_update_spec.rb +4 -8
  19. data/schemas/core_3.1.3/spec/schemer_helper.rb +19 -17
  20. data/schemas/core_3.1.4/.gitignore +1 -0
  21. data/schemas/core_3.1.4/schema/core/alarm.json +8 -4
  22. data/schemas/core_3.1.4/spec/core/alarm_spec.rb +15 -0
  23. data/schemas/core_3.1.4/spec/core/version_spec.rb +3 -2
  24. data/schemas/core_3.1.5/.gitignore +1 -0
  25. data/schemas/core_3.1.5/schema/core/alarm.json +40 -41
  26. data/schemas/core_3.1.5/schema/core/alarm_issue.json +44 -0
  27. data/schemas/core_3.1.5/schema/core/alarm_suspend_resume.json +3 -0
  28. data/schemas/core_3.1.5/schema/core/alarm_suspended_resumed.json +47 -0
  29. data/schemas/core_3.1.5/schema/core/command_response.json +1 -1
  30. data/schemas/core_3.1.5/schema/core/status_response.json +1 -1
  31. data/schemas/core_3.1.5/schema/core/status_update.json +1 -1
  32. data/schemas/core_3.1.5/spec/core/alarm_issue_spec.rb +299 -0
  33. data/schemas/core_3.1.5/spec/core/alarm_resume_spec.rb +93 -0
  34. data/schemas/core_3.1.5/spec/core/alarm_resumed_spec.rb +277 -0
  35. data/schemas/core_3.1.5/spec/core/alarm_suspend_spec.rb +93 -0
  36. data/schemas/core_3.1.5/spec/core/alarm_suspended_spec.rb +277 -0
  37. data/schemas/core_3.1.5/spec/core/version_spec.rb +3 -2
  38. data/schemas/tlc_1.0.15/Gemfile.lock +17 -17
  39. data/schemas/tlc_1.0.15/README.md +7 -0
  40. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0001.json +1 -1
  41. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0002.json +1 -1
  42. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0003.json +1 -1
  43. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0004.json +1 -1
  44. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0005.json +1 -1
  45. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0006.json +1 -1
  46. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0007.json +1 -1
  47. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0008.json +1 -1
  48. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0009.json +1 -1
  49. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0010.json +1 -1
  50. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0101.json +1 -1
  51. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0201.json +1 -1
  52. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0202.json +1 -1
  53. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0301.json +1 -1
  54. data/schemas/tlc_1.0.15/schema/tlc/alarms/A0302.json +1 -1
  55. data/schemas/tlc_1.0.15/schema/tlc/commands/M0002.json +1 -1
  56. data/schemas/tlc_1.0.15/schema/tlc/commands/M0003.json +1 -1
  57. data/schemas/tlc_1.0.15/schema/tlc/commands/M0004.json +1 -1
  58. data/schemas/tlc_1.0.15/schema/tlc/commands/M0005.json +1 -1
  59. data/schemas/tlc_1.0.15/schema/tlc/commands/M0006.json +1 -1
  60. data/schemas/tlc_1.0.15/schema/tlc/commands/M0007.json +1 -1
  61. data/schemas/tlc_1.0.15/schema/tlc/commands/M0008.json +1 -1
  62. data/schemas/tlc_1.0.15/schema/tlc/commands/M0010.json +1 -1
  63. data/schemas/tlc_1.0.15/schema/tlc/commands/M0011.json +1 -1
  64. data/schemas/tlc_1.0.15/schema/tlc/commands/M0012.json +1 -1
  65. data/schemas/tlc_1.0.15/schema/tlc/commands/M0013.json +1 -1
  66. data/schemas/tlc_1.0.15/schema/tlc/commands/M0014.json +1 -1
  67. data/schemas/tlc_1.0.15/schema/tlc/commands/M0015.json +1 -1
  68. data/schemas/tlc_1.0.15/schema/tlc/commands/M0016.json +1 -1
  69. data/schemas/tlc_1.0.15/schema/tlc/commands/M0017.json +1 -1
  70. data/schemas/tlc_1.0.15/schema/tlc/commands/M0018.json +1 -1
  71. data/schemas/tlc_1.0.15/schema/tlc/commands/M0019.json +1 -1
  72. data/schemas/tlc_1.0.15/schema/tlc/commands/M0020.json +1 -1
  73. data/schemas/tlc_1.0.15/schema/tlc/commands/M0021.json +1 -1
  74. data/schemas/tlc_1.0.15/schema/tlc/commands/M0103.json +1 -1
  75. data/schemas/tlc_1.0.15/schema/tlc/commands/M0104.json +1 -1
  76. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0001.json +1 -1
  77. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0002.json +1 -1
  78. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0003.json +1 -1
  79. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0004.json +1 -1
  80. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0005.json +1 -1
  81. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0006.json +1 -1
  82. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0007.json +1 -1
  83. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0008.json +1 -1
  84. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0009.json +1 -1
  85. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0010.json +1 -1
  86. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0011.json +1 -1
  87. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0012.json +1 -1
  88. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0013.json +1 -1
  89. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0014.json +1 -1
  90. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0015.json +1 -1
  91. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0016.json +1 -1
  92. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0017.json +1 -1
  93. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0018.json +1 -1
  94. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0019.json +1 -1
  95. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0020.json +1 -1
  96. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0021.json +1 -1
  97. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0022.json +1 -1
  98. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0023.json +1 -1
  99. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0024.json +1 -1
  100. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0025.json +1 -1
  101. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0026.json +1 -1
  102. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0027.json +1 -1
  103. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0028.json +2 -2
  104. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0029.json +1 -1
  105. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0030.json +1 -1
  106. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0031.json +1 -1
  107. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0091.json +1 -1
  108. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0092.json +1 -1
  109. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0095.json +1 -1
  110. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0096.json +1 -1
  111. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0097.json +1 -1
  112. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0098.json +2 -2
  113. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0201.json +1 -1
  114. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0202.json +2 -2
  115. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0203.json +2 -2
  116. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0204.json +2 -2
  117. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0205.json +3 -3
  118. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0206.json +3 -3
  119. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0207.json +3 -3
  120. data/schemas/tlc_1.0.15/schema/tlc/statuses/S0208.json +11 -11
  121. data/schemas/tlc_1.0.15/schema/tlc/sxl.yaml +1655 -0
  122. metadata +20 -105
  123. data/schemas/core_3.1.2/examples/validate.rb +0 -35
  124. data/schemas/core_3.1.3/examples/validate.rb +0 -32
  125. data/schemas/core_3.1.3/schema/core/aggregated_status_request.json +0 -9
  126. data/schemas/core_3.1.3/schema/tlc/alarms/A0001.json +0 -7
  127. data/schemas/core_3.1.3/schema/tlc/alarms/A0002.json +0 -7
  128. data/schemas/core_3.1.3/schema/tlc/alarms/A0003.json +0 -7
  129. data/schemas/core_3.1.3/schema/tlc/alarms/A0004.json +0 -7
  130. data/schemas/core_3.1.3/schema/tlc/alarms/A0005.json +0 -7
  131. data/schemas/core_3.1.3/schema/tlc/alarms/A0006.json +0 -7
  132. data/schemas/core_3.1.3/schema/tlc/alarms/A0007.json +0 -7
  133. data/schemas/core_3.1.3/schema/tlc/alarms/A0008.json +0 -19
  134. data/schemas/core_3.1.3/schema/tlc/alarms/A0009.json +0 -7
  135. data/schemas/core_3.1.3/schema/tlc/alarms/A0101.json +0 -7
  136. data/schemas/core_3.1.3/schema/tlc/alarms/A0201.json +0 -20
  137. data/schemas/core_3.1.3/schema/tlc/alarms/A0202.json +0 -20
  138. data/schemas/core_3.1.3/schema/tlc/alarms/A0301.json +0 -49
  139. data/schemas/core_3.1.3/schema/tlc/alarms/A0302.json +0 -59
  140. data/schemas/core_3.1.3/schema/tlc/alarms/alarms.json +0 -68
  141. data/schemas/core_3.1.3/schema/tlc/commands/M0001.json +0 -48
  142. data/schemas/core_3.1.3/schema/tlc/commands/M0002.json +0 -39
  143. data/schemas/core_3.1.3/schema/tlc/commands/M0003.json +0 -39
  144. data/schemas/core_3.1.3/schema/tlc/commands/M0004.json +0 -30
  145. data/schemas/core_3.1.3/schema/tlc/commands/M0005.json +0 -39
  146. data/schemas/core_3.1.3/schema/tlc/commands/M0006.json +0 -39
  147. data/schemas/core_3.1.3/schema/tlc/commands/M0007.json +0 -30
  148. data/schemas/core_3.1.3/schema/tlc/commands/M0008.json +0 -40
  149. data/schemas/core_3.1.3/schema/tlc/commands/M0010.json +0 -30
  150. data/schemas/core_3.1.3/schema/tlc/commands/M0011.json +0 -30
  151. data/schemas/core_3.1.3/schema/tlc/commands/M0012.json +0 -29
  152. data/schemas/core_3.1.3/schema/tlc/commands/M0013.json +0 -1
  153. data/schemas/core_3.1.3/schema/tlc/commands/M0014.json +0 -38
  154. data/schemas/core_3.1.3/schema/tlc/commands/M0015.json +0 -38
  155. data/schemas/core_3.1.3/schema/tlc/commands/M0016.json +0 -29
  156. data/schemas/core_3.1.3/schema/tlc/commands/M0017.json +0 -29
  157. data/schemas/core_3.1.3/schema/tlc/commands/M0018.json +0 -38
  158. data/schemas/core_3.1.3/schema/tlc/commands/M0019.json +0 -49
  159. data/schemas/core_3.1.3/schema/tlc/commands/M0020.json +0 -49
  160. data/schemas/core_3.1.3/schema/tlc/commands/M0021.json +0 -1
  161. data/schemas/core_3.1.3/schema/tlc/commands/M0103.json +0 -39
  162. data/schemas/core_3.1.3/schema/tlc/commands/M0104.json +0 -1
  163. data/schemas/core_3.1.3/schema/tlc/commands/command_requests.json +0 -7
  164. data/schemas/core_3.1.3/schema/tlc/commands/command_responses.json +0 -7
  165. data/schemas/core_3.1.3/schema/tlc/commands/commands.json +0 -97
  166. data/schemas/core_3.1.3/schema/tlc/statuses/S0001.json +0 -45
  167. data/schemas/core_3.1.3/schema/tlc/statuses/S0002.json +0 -17
  168. data/schemas/core_3.1.3/schema/tlc/statuses/S0003.json +0 -26
  169. data/schemas/core_3.1.3/schema/tlc/statuses/S0004.json +0 -26
  170. data/schemas/core_3.1.3/schema/tlc/statuses/S0005.json +0 -18
  171. data/schemas/core_3.1.3/schema/tlc/statuses/S0006.json +0 -27
  172. data/schemas/core_3.1.3/schema/tlc/statuses/S0007.json +0 -26
  173. data/schemas/core_3.1.3/schema/tlc/statuses/S0008.json +0 -26
  174. data/schemas/core_3.1.3/schema/tlc/statuses/S0009.json +0 -26
  175. data/schemas/core_3.1.3/schema/tlc/statuses/S0010.json +0 -26
  176. data/schemas/core_3.1.3/schema/tlc/statuses/S0011.json +0 -26
  177. data/schemas/core_3.1.3/schema/tlc/statuses/S0012.json +0 -26
  178. data/schemas/core_3.1.3/schema/tlc/statuses/S0013.json +0 -27
  179. data/schemas/core_3.1.3/schema/tlc/statuses/S0014.json +0 -17
  180. data/schemas/core_3.1.3/schema/tlc/statuses/S0015.json +0 -17
  181. data/schemas/core_3.1.3/schema/tlc/statuses/S0016.json +0 -17
  182. data/schemas/core_3.1.3/schema/tlc/statuses/S0017.json +0 -17
  183. data/schemas/core_3.1.3/schema/tlc/statuses/S0018.json +0 -17
  184. data/schemas/core_3.1.3/schema/tlc/statuses/S0019.json +0 -17
  185. data/schemas/core_3.1.3/schema/tlc/statuses/S0020.json +0 -27
  186. data/schemas/core_3.1.3/schema/tlc/statuses/S0021.json +0 -18
  187. data/schemas/core_3.1.3/schema/tlc/statuses/S0022.json +0 -17
  188. data/schemas/core_3.1.3/schema/tlc/statuses/S0023.json +0 -18
  189. data/schemas/core_3.1.3/schema/tlc/statuses/S0024.json +0 -18
  190. data/schemas/core_3.1.3/schema/tlc/statuses/S0025.json +0 -80
  191. data/schemas/core_3.1.3/schema/tlc/statuses/S0026.json +0 -18
  192. data/schemas/core_3.1.3/schema/tlc/statuses/S0027.json +0 -18
  193. data/schemas/core_3.1.3/schema/tlc/statuses/S0028.json +0 -18
  194. data/schemas/core_3.1.3/schema/tlc/statuses/S0029.json +0 -17
  195. data/schemas/core_3.1.3/schema/tlc/statuses/S0030.json +0 -1
  196. data/schemas/core_3.1.3/schema/tlc/statuses/S0031.json +0 -1
  197. data/schemas/core_3.1.3/schema/tlc/statuses/S0091.json +0 -27
  198. data/schemas/core_3.1.3/schema/tlc/statuses/S0092.json +0 -27
  199. data/schemas/core_3.1.3/schema/tlc/statuses/S0095.json +0 -17
  200. data/schemas/core_3.1.3/schema/tlc/statuses/S0096.json +0 -68
  201. data/schemas/core_3.1.3/schema/tlc/statuses/S0097.json +0 -26
  202. data/schemas/core_3.1.3/schema/tlc/statuses/S0201.json +0 -26
  203. data/schemas/core_3.1.3/schema/tlc/statuses/S0202.json +0 -26
  204. data/schemas/core_3.1.3/schema/tlc/statuses/S0203.json +0 -26
  205. data/schemas/core_3.1.3/schema/tlc/statuses/S0204.json +0 -98
  206. data/schemas/core_3.1.3/schema/tlc/statuses/S0205.json +0 -26
  207. data/schemas/core_3.1.3/schema/tlc/statuses/S0206.json +0 -26
  208. data/schemas/core_3.1.3/schema/tlc/statuses/S0207.json +0 -26
  209. data/schemas/core_3.1.3/schema/tlc/statuses/S0208.json +0 -98
  210. data/schemas/core_3.1.3/schema/tlc/statuses/statuses.json +0 -181
  211. data/schemas/core_3.1.3/schema/tlc/sxl.json +0 -24
  212. data/schemas/core_3.1.3/spec/tlc/M0001_spec.rb +0 -67
  213. data/schemas/core_3.1.3/spec/tlc/S0007_spec.rb +0 -233
  214. data/schemas/core_3.1.4/examples/validate.rb +0 -35
  215. data/schemas/core_3.1.4/spec/core/alarm_request_spec.rb +0 -72
  216. data/schemas/core_3.1.5/examples/validate.rb +0 -35
  217. data/schemas/core_3.1.5/spec/core/alarm_request_spec.rb +0 -72
  218. data/schemas/core_3.1.5/spec/core/alarm_spec.rb +0 -298
@@ -1,48 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Sets functional position<br>Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode", "timeout", "intersection"] },
7
- "cO" : { "const" : "setValue" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "NormalControl: Normal Control<br>YellowFlash: Enables yellow flash<br>Dark: Enables dark mode",
15
- "type" : "string",
16
- "enum" : ["NormalControl", "YellowFlash", "Dark"]
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" : "timeout" }}},
31
- "then" : { "properties" : {
32
- "v" : {
33
- "$description": "Time in minutes until controller automatically reverts to previous functional position.<br>0=no automatic return",
34
- "$ref": "../../core/definitions.json#/integer"
35
- }
36
- }}
37
- },
38
- {
39
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
40
- "then" : { "properties" : {
41
- "v" : {
42
- "$description": "Intersection number",
43
- "$ref": "../../core/definitions.json#/integer"
44
- }
45
- }}
46
- }
47
- ]
48
- }
@@ -1,39 +0,0 @@
1
- {
2
- "allOf" : [
3
- {
4
- "properties" : {
5
- "description": "Sets current time plan<br>Requires security code 2",
6
- "n" : { "enum" : ["status", "securityCode", "timeplan"] },
7
- "cO" : { "const" : "setPlan" }
8
- }
9
- },
10
- {
11
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
12
- "then" : { "properties" : {
13
- "v" : {
14
- "$description": "False: Controller uses time plan according to programming<br>True: Contoller uses time plan 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" : "timeplan" }}},
31
- "then" : { "properties" : {
32
- "v" : {
33
- "$description": "designation på time plan",
34
- "$ref": "../../core/definitions.json#/integer"
35
- }
36
- }}
37
- }
38
- ]
39
- }
@@ -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
- }