|
6 | 6 | "description": "Status of the telescope receivers.", |
7 | 7 | "node": "receivers", |
8 | 8 | "$defs": { |
9 | | - "boss": { |
10 | | - "type": "object", |
11 | | - "title": "Receivers Boss", |
12 | | - "description": "Status of the DISCOS ReceiversBoss component.", |
13 | | - "node": "receivers.boss", |
14 | | - "properties": { |
15 | | - "currentReceiver": { |
16 | | - "type": "string", |
17 | | - "title": "Current Receiver", |
18 | | - "description": "Currently selected receiver's name." |
19 | | - }, |
20 | | - "currentSetup": { |
21 | | - "type": "string", |
22 | | - "title": "Current setup", |
23 | | - "description": "Current DISCOS setup code" |
24 | | - }, |
25 | | - "status": { |
26 | | - "$ref": "../definitions/status.json" |
27 | | - }, |
28 | | - "timestamp": { |
29 | | - "$ref": "../definitions/timestamp.json" |
30 | | - } |
31 | | - }, |
32 | | - "required": [ |
33 | | - "currentReceiver", |
34 | | - "currentSetup", |
35 | | - "status", |
36 | | - "timestamp" |
37 | | - ], |
38 | | - "additionalProperties": false |
39 | | - }, |
40 | 9 | "receiver": { |
41 | 10 | "type": "object", |
42 | 11 | "title": "Receiver status", |
|
165 | 134 | { |
166 | 135 | "type": "object", |
167 | 136 | "properties": { |
168 | | - "boss": { "$ref": "#/$defs/boss" } |
| 137 | + "currentReceiver": { |
| 138 | + "type": "string", |
| 139 | + "title": "Current Receiver", |
| 140 | + "description": "Currently selected receiver's name." |
| 141 | + }, |
| 142 | + "currentSetup": { |
| 143 | + "type": "string", |
| 144 | + "title": "Current setup", |
| 145 | + "description": "Current DISCOS setup code" |
| 146 | + }, |
| 147 | + "status": { |
| 148 | + "$ref": "../definitions/status.json" |
| 149 | + }, |
| 150 | + "timestamp": { |
| 151 | + "$ref": "../definitions/timestamp.json" |
| 152 | + } |
169 | 153 | }, |
170 | | - "required": ["boss"], |
171 | | - "additionalProperties": false |
| 154 | + "required": [ |
| 155 | + "currentReceiver", |
| 156 | + "currentSetup", |
| 157 | + "status", |
| 158 | + "timestamp" |
| 159 | + ] |
172 | 160 | }, |
173 | 161 | { |
174 | 162 | "type": "object", |
175 | 163 | "patternProperties": { |
176 | | - "^(?!boss$)[A-Za-z0-9_]+$": { "$ref": "#/$defs/receiver" } |
| 164 | + "^[A-Za-z0-9_]+$": { "$ref": "#/$defs/receiver" } |
177 | 165 | }, |
178 | 166 | "minProperties": 1, |
179 | 167 | "maxProperties": 1, |
180 | 168 | "additionalProperties": false |
181 | 169 | } |
182 | | - ], |
183 | | - "initialize": [ |
184 | | - "boss" |
185 | 170 | ] |
186 | 171 | } |
0 commit comments