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,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
- }
@@ -1,17 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Number of time plans",
5
- "n" : { "enum" : ["number"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "number" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Number of time plans",
12
- "$ref": "../../core/definitions.json#/integer"
13
- }
14
- }}
15
- }
16
- ]
17
- }
@@ -1,17 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Number of traffic situations",
5
- "n" : { "enum" : ["number"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "number" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Number of traffic situations",
12
- "$ref": "../../core/definitions.json#/integer"
13
- }
14
- }}
15
- }
16
- ]
17
- }
@@ -1,27 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Control mode",
5
- "n" : { "enum" : ["intersection", "controlmode"] }
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" : "controlmode" }}},
18
- "then" : { "properties" : {
19
- "s" : {
20
- "$description": "Startup mode<br>Normal control<br>Standby mode<br>Failure mode<br>Test mode",
21
- "type" : "string",
22
- "enum" : ["startup", "control", "standby", "failure", "test"]
23
- }
24
- }}
25
- }
26
- ]
27
- }
@@ -1,18 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Manually set detector logic",
5
- "n" : { "enum" : ["detectorlogics"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "detectorlogics" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Manually set detector logics (1/0) as text field",
12
- "type" : "string",
13
- "pattern" : "^[01]*$"
14
- }
15
- }}
16
- }
17
- ]
18
- }
@@ -1,17 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "List of time plans",
5
- "n" : { "enum" : ["status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Comma separated list of configured time plans. E.g. '1,2,3,5'",
12
- "$ref": "../../core/definitions.json#/integer_list"
13
- }
14
- }}
15
- }
16
- ]
17
- }
@@ -1,18 +0,0 @@
1
- {
2
- "allOf" : [
3
- { "properties" : {
4
- "description": "Command table",
5
- "n" : { "enum" : ["status"] }
6
- }},
7
- {
8
- "if" : { "required" : ["n"], "properties" : { "n" : { "const" : "status" }}},
9
- "then" : { "properties" : {
10
- "s" : {
11
- "$description": "Command table. Defines command, <br>Each command are written as pp-dd-ee where:<br>pp=Time plan<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>pp-dd-ee,pp-dd-ee",
12
- "type" : "string",
13
- "pattern" : "^(\\d{1,2}\\-\\d{1,2}-\\d{1,2})(?:,(\\d{1,2}\\-\\d{1,2}-\\d{1,2}))*$"
14
- }
15
- }}
16
- }
17
- ]
18
- }