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,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
- }
@@ -1,97 +0,0 @@
1
- {
2
- "items" : {
3
- "allOf" : [
4
- {
5
- "properties" : { "cCI" : { "enum": ["M0001", "M0002", "M0003", "M0004", "M0005", "M0006", "M0007", "M0008", "M0010", "M0011", "M0012", "M0013", "M0014", "M0015", "M0016", "M0017", "M0018", "M0019", "M0020", "M0021", "M0103", "M0104"] }}
6
- },
7
- {
8
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0001" }}},
9
- "then" : { "$ref" : "M0001.json" }
10
- },
11
- {
12
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0002" }}},
13
- "then" : { "$ref" : "M0002.json" }
14
- },
15
- {
16
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0003" }}},
17
- "then" : { "$ref" : "M0003.json" }
18
- },
19
- {
20
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0004" }}},
21
- "then" : { "$ref" : "M0004.json" }
22
- },
23
- {
24
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0005" }}},
25
- "then" : { "$ref" : "M0005.json" }
26
- },
27
- {
28
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0006" }}},
29
- "then" : { "$ref" : "M0006.json" }
30
- },
31
- {
32
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0007" }}},
33
- "then" : { "$ref" : "M0007.json" }
34
- },
35
- {
36
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0008" }}},
37
- "then" : { "$ref" : "M0008.json" }
38
- },
39
- {
40
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0010" }}},
41
- "then" : { "$ref" : "M0010.json" }
42
- },
43
- {
44
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0011" }}},
45
- "then" : { "$ref" : "M0011.json" }
46
- },
47
- {
48
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0012" }}},
49
- "then" : { "$ref" : "M0012.json" }
50
- },
51
- {
52
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0013" }}},
53
- "then" : { "$ref" : "M0013.json" }
54
- },
55
- {
56
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0014" }}},
57
- "then" : { "$ref" : "M0014.json" }
58
- },
59
- {
60
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0015" }}},
61
- "then" : { "$ref" : "M0015.json" }
62
- },
63
- {
64
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0016" }}},
65
- "then" : { "$ref" : "M0016.json" }
66
- },
67
- {
68
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0017" }}},
69
- "then" : { "$ref" : "M0017.json" }
70
- },
71
- {
72
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0018" }}},
73
- "then" : { "$ref" : "M0018.json" }
74
- },
75
- {
76
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0019" }}},
77
- "then" : { "$ref" : "M0019.json" }
78
- },
79
- {
80
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0020" }}},
81
- "then" : { "$ref" : "M0020.json" }
82
- },
83
- {
84
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0021" }}},
85
- "then" : { "$ref" : "M0021.json" }
86
- },
87
- {
88
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0103" }}},
89
- "then" : { "$ref" : "M0103.json" }
90
- },
91
- {
92
- "if": { "required" : ["cCI"], "properties" : { "cCI": { "const": "M0104" }}},
93
- "then" : { "$ref" : "M0104.json" }
94
- }
95
- ]
96
- }
97
- }
@@ -1,45 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Signal group status",
5
- "n" : { "enum" : ["signalgroupstatus", "cyclecounter", "basecyclecounter", "stage"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "signalgroupstatus" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Signal group status as text field",
12
- "type" : "string",
13
- "pattern" : "^[a-hA-G0-9N-P]+$"
14
- }
15
- }}
16
- },
17
- {
18
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "cyclecounter" }}},
19
- "then" : { "properties" : {
20
- "s" : {
21
- "$description": "Cycle counter",
22
- "$ref": "../../core/definitions.json#/integer"
23
- }
24
- }}
25
- },
26
- {
27
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "basecyclecounter" }}},
28
- "then" : { "properties" : {
29
- "s" : {
30
- "$description": "Base cycle counter",
31
- "$ref": "../../core/definitions.json#/integer"
32
- }
33
- }}
34
- },
35
- {
36
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "stage" }}},
37
- "then" : { "properties" : {
38
- "s" : {
39
- "$description": "Current stage (isolated)",
40
- "$ref": "../../core/definitions.json#/integer"
41
- }
42
- }}
43
- }
44
- ]
45
- }
@@ -1,17 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Detector logic status",
5
- "n" : { "enum" : ["detectorlogicstatus"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "detectorlogicstatus" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Detector logic status as text field",
12
- "type" : "string"
13
- }
14
- }}
15
- }
16
- ]
17
- }
@@ -1,26 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Input status",
5
- "n" : { "enum" : ["inputstatus", "extendedinputstatus"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "inputstatus" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Input status as text field",
12
- "type" : "string"
13
- }
14
- }}
15
- },
16
- {
17
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "extendedinputstatus" }}},
18
- "then" : { "properties" : {
19
- "s" : {
20
- "$description": "Extended input status as text field",
21
- "type" : "string"
22
- }
23
- }}
24
- }
25
- ]
26
- }
@@ -1,26 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Output status",
5
- "n" : { "enum" : ["outputstatus", "extendedoutputstatus"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "outputstatus" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Output status as text field",
12
- "type" : "string"
13
- }
14
- }}
15
- },
16
- {
17
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "extendedoutputstatus" }}},
18
- "then" : { "properties" : {
19
- "s" : {
20
- "$description": "Extended output status as text field",
21
- "type" : "string"
22
- }
23
- }}
24
- }
25
- ]
26
- }
@@ -1,18 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Traffic Controller starting",
5
- "n" : { "enum" : ["status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "False: Controller is not in start up mode<br>True: Controller is currently in start up mode",
12
- "type" : "string",
13
- "enum" : [ "True", "False" ]
14
- }
15
- }}
16
- }
17
- ]
18
- }
@@ -1,27 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Emergency stage",
5
- "n" : { "enum" : ["status", "emergencystage"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "False: Emergency stage inactive<br>True: Emergency stage active",
12
- "type" : "string",
13
- "enum" : [ "True", "False" ]
14
- }
15
- }}
16
- },
17
- {
18
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "emergencystage" }}},
19
- "then" : { "properties" : {
20
- "s" : {
21
- "$description": "Number of emergency stage",
22
- "$ref": "../../core/definitions.json#/integer"
23
- }
24
- }}
25
- }
26
- ]
27
- }
@@ -1,26 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Controller switched on",
5
- "n" : { "enum" : ["intersection", "status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
12
- "$ref": "../../core/definitions.json#/integer_list"
13
- }
14
- }}
15
- },
16
- {
17
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
18
- "then" : { "properties" : {
19
- "s" : {
20
- "$description": "Comma-separted list of booleans. False: Traffic Controller in dark mode<br>True: Traffic Controller not in dark mode",
21
- "$ref": "../../core/definitions.json#/boolean_list"
22
- }
23
- }}
24
- }
25
- ]
26
- }
@@ -1,26 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Manual control",
5
- "n" : { "enum" : ["intersection", "status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
12
- "$ref": "../../core/definitions.json#/integer_list"
13
- }
14
- }}
15
- },
16
- {
17
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
18
- "then" : { "properties" : {
19
- "s" : {
20
- "$description": "Comma-separted list of booleans. False: Manual control inactive<br>True: Manual control active",
21
- "$ref": "../../core/definitions.json#/boolean_list"
22
- }
23
- }}
24
- }
25
- ]
26
- }
@@ -1,26 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Fixed time control",
5
- "n" : { "enum" : ["intersection", "status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
12
- "$ref": "../../core/definitions.json#/integer_list"
13
- }
14
- }}
15
- },
16
- {
17
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
18
- "then" : { "properties" : {
19
- "s" : {
20
- "$description": "Comma-separted list of booleans. False: Fixed time control inactive<br>True: Fixed time control active",
21
- "$ref": "../../core/definitions.json#/boolean_list"
22
- }
23
- }}
24
- }
25
- ]
26
- }
@@ -1,26 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Isolated control",
5
- "n" : { "enum" : ["intersection", "status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
12
- "$ref": "../../core/definitions.json#/integer_list"
13
- }
14
- }}
15
- },
16
- {
17
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
18
- "then" : { "properties" : {
19
- "s" : {
20
- "$description": "Comma-separted list of booleans. False: Isolated control disabled<br>True: Isolated control enabled (Vehicle actuated control or Fixed time control)",
21
- "$ref": "../../core/definitions.json#/boolean_list"
22
- }
23
- }}
24
- }
25
- ]
26
- }
@@ -1,26 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Yellow flash",
5
- "n" : { "enum" : ["intersection", "status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
12
- "$ref": "../../core/definitions.json#/integer_list"
13
- }
14
- }}
15
- },
16
- {
17
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
18
- "then" : { "properties" : {
19
- "s" : {
20
- "$description": "Comma-separted list of booleans. False: Yellow flash disabled<br>True: Yellow flash enabled",
21
- "$ref": "../../core/definitions.json#/boolean_list"
22
- }
23
- }}
24
- }
25
- ]
26
- }
@@ -1,26 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "All red",
5
- "n" : { "enum" : ["intersection", "status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
12
- "$ref": "../../core/definitions.json#/integer_list"
13
- }
14
- }}
15
- },
16
- {
17
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
18
- "then" : { "properties" : {
19
- "s" : {
20
- "$description": "Comma-separted list of booleans. False: All red disabled<br>True: All red enabled",
21
- "$ref": "../../core/definitions.json#/boolean_list"
22
- }
23
- }}
24
- }
25
- ]
26
- }
@@ -1,27 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Police key",
5
- "n" : { "enum" : ["intersection", "status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "intersection" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "0: Not applicable (only one intersection exists or applicable for all intersection of the traffic controller)<br>Other value: Intersection number",
12
- "$ref": "../../core/definitions.json#/integer_list"
13
- }
14
- }}
15
- },
16
- {
17
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
18
- "then" : { "properties" : {
19
- "s" : {
20
- "$description": "Comma-separted list of integeres. 0: disabled<br>1: dark mode<br>2: yellow flash",
21
- "type" : "string",
22
- "pattern" : "^([0-2])(?:,([0-2]))*$"
23
- }
24
- }}
25
- }
26
- ]
27
- }
@@ -1,17 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Current time plan",
5
- "n" : { "enum" : ["status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Current time plan",
12
- "$ref": "../../core/definitions.json#/integer"
13
- }
14
- }}
15
- }
16
- ]
17
- }
@@ -1,17 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Current traffic situation",
5
- "n" : { "enum" : ["status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Current traffic situation",
12
- "$ref": "../../core/definitions.json#/integer"
13
- }
14
- }}
15
- }
16
- ]
17
- }
@@ -1,17 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Number of detector logics",
5
- "n" : { "enum" : ["number"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "number" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Number of detector logics",
12
- "$ref": "../../core/definitions.json#/integer"
13
- }
14
- }}
15
- }
16
- ]
17
- }
@@ -1,17 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Number of signal groups",
5
- "n" : { "enum" : ["number"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "number" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Number of signal groups",
12
- "$ref": "../../core/definitions.json#/integer"
13
- }
14
- }}
15
- }
16
- ]
17
- }