blob: ff47338ec0483e04462cc606243eb4cea18a249d [file] [log] [blame]
Brad Bishop66665882020-05-07 17:05:18 -04001{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "definitions": {
4 "Aggregate": {
Brad Bishopada40c52020-05-07 19:32:05 -04005 "description": [
6 "Don't add additional properties to this schema. Consult ",
7 "README.schema for instructions on adding new Exposes element ",
8 "sub-schema."
9 ],
Brad Bishop98e78b72020-06-22 16:12:15 -040010 "additionalProperties": false,
Brad Bishop66665882020-05-07 17:05:18 -040011 "properties": {
12 "Address": {
13 "$ref": "#/definitions/Types/Address"
14 },
15 "AllowedFailures": {
16 "$ref": "#/definitions/Types/AllowedFailures"
17 },
18 "AlphaF": {
19 "$ref": "#/definitions/Types/AlphaF"
20 },
21 "AlphaS": {
22 "$ref": "#/definitions/Types/AlphaS"
23 },
24 "BindConnector": {
25 "$ref": "#/definitions/Types/BindConnector"
26 },
27 "BindPresence": {
28 "$ref": "#/definitions/Types/BindPresence"
29 },
30 "BridgeGpio": {
31 "$ref": "#/definitions/Types/BridgeGpio"
32 },
33 "Bus": {
34 "$ref": "#/definitions/Types/Bus"
35 },
36 "C1": {
37 "$ref": "#/definitions/Types/C1"
38 },
39 "C2": {
40 "$ref": "#/definitions/Types/C2"
41 },
Brad Bishop98e78b72020-06-22 16:12:15 -040042 "CPURequired": {
43 "$ref": "#/definitions/Types/CPURequired"
44 },
Brad Bishop66665882020-05-07 17:05:18 -040045 "ChannelNames": {
46 "$ref": "#/definitions/Types/ChannelNames"
47 },
48 "Class": {
49 "$ref": "#/definitions/Types/Class"
50 },
51 "Connector": {
52 "$ref": "#/definitions/Types/Connector"
53 },
54 "CpuID": {
55 "$ref": "#/definitions/Types/CpuID"
56 },
Brad Bishop98e78b72020-06-22 16:12:15 -040057 "CurrScaleFactor": {
58 "$ref": "#/definitions/Types/CurrScaleFactor"
59 },
Brad Bishop66665882020-05-07 17:05:18 -040060 "Direction": {
61 "$ref": "#/definitions/Types/Direction"
62 },
63 "DtsCritOffset": {
64 "$ref": "#/definitions/Types/DtsCritOffset"
65 },
Brad Bishop66665882020-05-07 17:05:18 -040066 "FaultIndex": {
67 "$ref": "#/definitions/Types/FaultIndex"
68 },
69 "FaultType": {
70 "$ref": "#/definitions/Types/FaultType"
71 },
72 "GpioPins": {
73 "$ref": "#/definitions/Types/GpioPins"
74 },
Brad Bishop98e78b72020-06-22 16:12:15 -040075 "GpioPolarity": {
76 "$ref": "#/definitions/Types/GpioPolarity"
77 },
Brad Bishop66665882020-05-07 17:05:18 -040078 "Index": {
79 "$ref": "#/definitions/Types/Index"
80 },
Brad Bishop66665882020-05-07 17:05:18 -040081 "Labels": {
82 "$ref": "#/definitions/Types/Labels"
83 },
84 "LedGpioPins": {
85 "$ref": "#/definitions/Types/LedGpioPins"
86 },
87 "MaxCFM": {
88 "$ref": "#/definitions/Types/MaxCFM"
89 },
90 "MaxReading": {
91 "$ref": "#/definitions/Types/MaxReading"
92 },
Brad Bishop66665882020-05-07 17:05:18 -040093 "Name": {
94 "$ref": "#/definitions/Types/Name"
95 },
96 "Name1": {
97 "$ref": "#/definitions/Types/Name1"
98 },
Brad Bishop98e78b72020-06-22 16:12:15 -040099 "OffsetValue": {
100 "$ref": "#/definitions/Types/OffsetValue"
101 },
Brad Bishop66665882020-05-07 17:05:18 -0400102 "Polarity": {
103 "$ref": "#/definitions/Types/Polarity"
104 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400105 "Polling": {
106 "$ref": "#/definitions/Types/Polling"
107 },
Brad Bishop66665882020-05-07 17:05:18 -0400108 "PowerFactorMax": {
109 "$ref": "#/definitions/Types/PowerFactorMax"
110 },
111 "PowerFactorMin": {
112 "$ref": "#/definitions/Types/PowerFactorMin"
113 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400114 "PowerScaleFactor": {
115 "$ref": "#/definitions/Types/PowerScaleFactor"
116 },
Brad Bishop66665882020-05-07 17:05:18 -0400117 "PowerState": {
118 "$ref": "#/definitions/Types/PowerState"
119 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400120 "Presence": {
121 "$ref": "#/definitions/Types/Presence"
122 },
Brad Bishop66665882020-05-07 17:05:18 -0400123 "PresenceGpio": {
124 "$ref": "#/definitions/Types/PresenceGpio"
125 },
Brad Bishop66665882020-05-07 17:05:18 -0400126 "Pwm": {
127 "$ref": "#/definitions/Types/Pwm"
128 },
129 "QMax": {
130 "$ref": "#/definitions/Types/QMax"
131 },
132 "QMin": {
133 "$ref": "#/definitions/Types/QMin"
134 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400135 "RedundantCount": {
136 "$ref": "#/definitions/Types/RedundantCount"
137 },
Brad Bishop66665882020-05-07 17:05:18 -0400138 "ScaleFactor": {
139 "$ref": "#/definitions/Types/ScaleFactor"
140 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400141 "ScaleValue": {
142 "$ref": "#/definitions/Types/ScaleValue"
143 },
144 "SensorType": {
145 "$ref": "#/definitions/Types/SensorType"
146 },
Brad Bishop66665882020-05-07 17:05:18 -0400147 "TachMaxPercent": {
148 "$ref": "#/definitions/Types/TachMaxPercent"
149 },
150 "TachMinPercent": {
151 "$ref": "#/definitions/Types/TachMinPercent"
152 },
153 "Tachs": {
154 "$ref": "#/definitions/Types/Tachs"
155 },
156 "Thresholds": {
157 "$ref": "#/definitions/Types/Thresholds"
158 },
159 "Type": {
160 "$ref": "#/definitions/Types/Type"
Brad Bishop66665882020-05-07 17:05:18 -0400161 }
162 },
163 "required": [
164 "Name",
165 "Type"
166 ],
167 "type": "object"
168 },
169 "Types": {
170 "Address": {
Brad Bishopa1427092020-05-07 17:45:28 -0400171 "type": [
172 "string",
173 "array"
174 ]
Brad Bishop66665882020-05-07 17:05:18 -0400175 },
176 "AllowedFailures": {
177 "type": "number"
178 },
179 "AlphaF": {
180 "type": "number"
181 },
182 "AlphaS": {
183 "type": "number"
184 },
185 "BindConnector": {
186 "type": "string"
187 },
188 "BindPresence": {
189 "type": "string"
190 },
191 "BridgeGpio": {
Brad Bishopa1427092020-05-07 17:45:28 -0400192 "type": [
193 "number",
194 "array"
195 ]
Brad Bishop66665882020-05-07 17:05:18 -0400196 },
197 "Bus": {
198 "type": [
199 "string",
200 "number"
201 ]
202 },
203 "C1": {
204 "type": "number"
205 },
206 "C2": {
207 "type": "number"
208 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400209 "CPURequired": {
210 "type": "number"
211 },
Brad Bishop66665882020-05-07 17:05:18 -0400212 "ChannelNames": {
213 "items": {
214 "type": "string"
215 },
216 "type": "array"
217 },
218 "Class": {
219 "type": "string"
220 },
221 "Connector": {
222 "properties": {
223 "Name": {
224 "type": "string"
225 },
226 "Pwm": {
227 "type": "number"
228 },
229 "Tachs": {
230 "items": {
231 "type": "number"
232 },
233 "type": "array"
234 }
235 },
236 "required": [
237 "Name",
238 "Pwm",
239 "Tachs"
240 ],
241 "type": "object"
242 },
243 "CpuID": {
244 "type": "number"
245 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400246 "CurrScaleFactor": {
247 "type": "number"
248 },
Brad Bishop66665882020-05-07 17:05:18 -0400249 "Direction": {
250 "type": "string"
251 },
252 "DtsCritOffset": {
253 "type": "number"
254 },
Brad Bishop66665882020-05-07 17:05:18 -0400255 "FaultIndex": {
256 "type": "number"
257 },
258 "FaultType": {
259 "type": "string"
260 },
261 "GpioPins": {
262 "items": {
263 "type": "number"
264 },
265 "type": "array"
266 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400267 "GpioPolarity": {
268 "enum": [
269 "Low"
270 ]
271 },
Brad Bishop66665882020-05-07 17:05:18 -0400272 "Index": {
273 "type": "number"
274 },
Brad Bishop66665882020-05-07 17:05:18 -0400275 "Labels": {
276 "items": {
277 "type": "string"
278 },
279 "type": "array"
280 },
281 "LedGpioPins": {
282 "items": {
283 "type": "number"
284 },
285 "type": "array"
286 },
287 "MaxCFM": {
288 "type": "number"
289 },
290 "MaxReading": {
291 "type": "number"
292 },
Brad Bishop66665882020-05-07 17:05:18 -0400293 "Name": {
294 "type": "string"
295 },
296 "Name1": {
297 "type": "string"
298 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400299 "OffsetValue": {
300 "type": "number"
301 },
Brad Bishop66665882020-05-07 17:05:18 -0400302 "Polarity": {
303 "type": "string"
304 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400305 "Polling": {
306 "type": "object"
307 },
Brad Bishop66665882020-05-07 17:05:18 -0400308 "PowerFactorMax": {
309 "type": "number"
310 },
311 "PowerFactorMin": {
312 "type": "number"
313 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400314 "PowerScaleFactor": {
315 "type": "number"
316 },
Brad Bishop66665882020-05-07 17:05:18 -0400317 "PowerState": {
318 "type": "string"
319 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400320 "Presence": {
321 "properties": {
322 "PinName": {
323 "type": "string"
324 },
325 "Polarity": {
326 "enum": "Low"
327 }
328 },
329 "type": "object"
330 },
Brad Bishop66665882020-05-07 17:05:18 -0400331 "PresenceGpio": {
Brad Bishopa1427092020-05-07 17:45:28 -0400332 "type": [
333 "number",
334 "array"
335 ]
Brad Bishop66665882020-05-07 17:05:18 -0400336 },
Brad Bishop66665882020-05-07 17:05:18 -0400337 "Pwm": {
338 "type": "number"
339 },
340 "QMax": {
341 "type": "number"
342 },
343 "QMin": {
344 "type": "number"
345 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400346 "RedundantCount": {
347 "type": "number"
348 },
Brad Bishop66665882020-05-07 17:05:18 -0400349 "ScaleFactor": {
350 "type": "number"
351 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400352 "ScaleValue": {
353 "type": "number"
354 },
355 "SensorType": {
356 "type": "string"
357 },
Brad Bishop66665882020-05-07 17:05:18 -0400358 "TachMaxPercent": {
359 "type": "number"
360 },
361 "TachMinPercent": {
362 "type": "number"
363 },
364 "Tachs": {
365 "items": {
366 "type": [
367 "number",
368 "string"
369 ]
370 },
371 "type": "array"
372 },
373 "Thresholds": {
374 "items": {
375 "properties": {
376 "Direction": {
377 "type": "string"
378 },
379 "Label": {
380 "type": "string"
381 },
382 "Name": {
383 "type": "string"
384 },
385 "Severity": {
386 "type": "number"
387 },
388 "Value": {
389 "type": "number"
390 }
391 },
392 "required": [
393 "Direction",
394 "Name",
395 "Severity",
396 "Value"
397 ],
398 "type": "object"
399 },
400 "type": "array"
401 },
402 "Type": {
403 "type": "string"
Brad Bishop66665882020-05-07 17:05:18 -0400404 }
405 }
406 }
407}