blob: a8cc2cfd0126ab58be988e44aa43055b193937f3 [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 },
Scron Chang73347452020-12-30 20:00:39 +080099 "Name2": {
100 "$ref": "#/definitions/Types/Name2"
101 },
102 "Name3": {
103 "$ref": "#/definitions/Types/Name3"
104 },
105 "Name4": {
106 "$ref": "#/definitions/Types/Name4"
107 },
108 "Name5": {
109 "$ref": "#/definitions/Types/Name5"
110 },
111 "Name6": {
112 "$ref": "#/definitions/Types/Name6"
113 },
114 "Name7": {
115 "$ref": "#/definitions/Types/Name7"
116 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400117 "OffsetValue": {
118 "$ref": "#/definitions/Types/OffsetValue"
119 },
Brad Bishop66665882020-05-07 17:05:18 -0400120 "Polarity": {
121 "$ref": "#/definitions/Types/Polarity"
122 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400123 "Polling": {
124 "$ref": "#/definitions/Types/Polling"
125 },
Brad Bishop66665882020-05-07 17:05:18 -0400126 "PowerFactorMax": {
127 "$ref": "#/definitions/Types/PowerFactorMax"
128 },
129 "PowerFactorMin": {
130 "$ref": "#/definitions/Types/PowerFactorMin"
131 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400132 "PowerScaleFactor": {
133 "$ref": "#/definitions/Types/PowerScaleFactor"
134 },
Brad Bishop66665882020-05-07 17:05:18 -0400135 "PowerState": {
136 "$ref": "#/definitions/Types/PowerState"
137 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400138 "Presence": {
139 "$ref": "#/definitions/Types/Presence"
140 },
Brad Bishop66665882020-05-07 17:05:18 -0400141 "PresenceGpio": {
142 "$ref": "#/definitions/Types/PresenceGpio"
143 },
Brad Bishop66665882020-05-07 17:05:18 -0400144 "Pwm": {
145 "$ref": "#/definitions/Types/Pwm"
146 },
147 "QMax": {
148 "$ref": "#/definitions/Types/QMax"
149 },
150 "QMin": {
151 "$ref": "#/definitions/Types/QMin"
152 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400153 "RedundantCount": {
154 "$ref": "#/definitions/Types/RedundantCount"
155 },
Brad Bishop66665882020-05-07 17:05:18 -0400156 "ScaleFactor": {
157 "$ref": "#/definitions/Types/ScaleFactor"
158 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400159 "ScaleValue": {
160 "$ref": "#/definitions/Types/ScaleValue"
161 },
162 "SensorType": {
163 "$ref": "#/definitions/Types/SensorType"
164 },
Brad Bishop66665882020-05-07 17:05:18 -0400165 "TachMaxPercent": {
166 "$ref": "#/definitions/Types/TachMaxPercent"
167 },
168 "TachMinPercent": {
169 "$ref": "#/definitions/Types/TachMinPercent"
170 },
171 "Tachs": {
172 "$ref": "#/definitions/Types/Tachs"
173 },
174 "Thresholds": {
175 "$ref": "#/definitions/Types/Thresholds"
176 },
Anoop Sa5a716d2020-11-26 18:57:26 +0000177 "HostSMbusIndex": {
178 "$ref": "#/definitions/Types/HostSMbusIndex"
179 },
Scron Chang73347452020-12-30 20:00:39 +0800180 "pin_Max": {
181 "$ref": "#/definitions/Types/pin_Max"
182 },
183 "pin_Min": {
184 "$ref": "#/definitions/Types/pin_Min"
185 },
186 "vin_Max": {
187 "$ref": "#/definitions/Types/vin_Max"
188 },
189 "vin_Min": {
190 "$ref": "#/definitions/Types/vin_Min"
191 },
192 "iout1_Max": {
193 "$ref": "#/definitions/Types/iout1_Max"
194 },
195 "iout1_Min": {
196 "$ref": "#/definitions/Types/iout1_Min"
197 },
198 "iout2_Max": {
199 "$ref": "#/definitions/Types/iout2_Max"
200 },
201 "iout2_Min": {
202 "$ref": "#/definitions/Types/iout2_Min"
203 },
204 "pout1_Max": {
205 "$ref": "#/definitions/Types/pout1_Max"
206 },
207 "pout1_Min": {
208 "$ref": "#/definitions/Types/pout1_Min"
209 },
210 "pout2_Max": {
211 "$ref": "#/definitions/Types/pout2_Max"
212 },
213 "pout2_Min": {
214 "$ref": "#/definitions/Types/pout2_Min"
215 },
216 "pout3_Max": {
217 "$ref": "#/definitions/Types/pout3_Max"
218 },
219 "pout3_Min": {
220 "$ref": "#/definitions/Types/pout3_Min"
221 },
222 "vout1_Max": {
223 "$ref": "#/definitions/Types/vout1_Max"
224 },
225 "vout1_Min": {
226 "$ref": "#/definitions/Types/vout1_Min"
227 },
228 "vout2_Max": {
229 "$ref": "#/definitions/Types/vout2_Max"
230 },
231 "vout2_Min": {
232 "$ref": "#/definitions/Types/vout2_Min"
233 },
234 "vout3_Max": {
235 "$ref": "#/definitions/Types/vout3_Max"
236 },
237 "vout3_Min": {
238 "$ref": "#/definitions/Types/vout3_Min"
239 },
240 "vout4_Max": {
241 "$ref": "#/definitions/Types/vout4_Max"
242 },
243 "vout4_Min": {
244 "$ref": "#/definitions/Types/vout4_Min"
245 },
246 "vout5_Max": {
247 "$ref": "#/definitions/Types/vout5_Max"
248 },
249 "vout5_Min": {
250 "$ref": "#/definitions/Types/vout5_Min"
251 },
252 "vout6_Max": {
253 "$ref": "#/definitions/Types/vout6_Max"
254 },
255 "vout6_Min": {
256 "$ref": "#/definitions/Types/vout6_Min"
257 },
258 "vout8_Max": {
259 "$ref": "#/definitions/Types/vout8_Max"
260 },
261 "vout8_Min": {
262 "$ref": "#/definitions/Types/vout8_Min"
263 },
264 "iout1_Offset": {
265 "$ref": "#/definitions/Types/iout1_Offset"
266 },
267 "pout1_Offset": {
268 "$ref": "#/definitions/Types/pout1_Offset"
269 },
Brad Bishop66665882020-05-07 17:05:18 -0400270 "Type": {
271 "$ref": "#/definitions/Types/Type"
Brad Bishop66665882020-05-07 17:05:18 -0400272 }
273 },
274 "required": [
275 "Name",
276 "Type"
277 ],
278 "type": "object"
279 },
280 "Types": {
281 "Address": {
Brad Bishopa1427092020-05-07 17:45:28 -0400282 "type": [
283 "string",
284 "array"
285 ]
Brad Bishop66665882020-05-07 17:05:18 -0400286 },
287 "AllowedFailures": {
288 "type": "number"
289 },
290 "AlphaF": {
291 "type": "number"
292 },
293 "AlphaS": {
294 "type": "number"
295 },
296 "BindConnector": {
297 "type": "string"
298 },
299 "BindPresence": {
300 "type": "string"
301 },
302 "BridgeGpio": {
Brad Bishopa1427092020-05-07 17:45:28 -0400303 "type": [
304 "number",
305 "array"
306 ]
Brad Bishop66665882020-05-07 17:05:18 -0400307 },
308 "Bus": {
309 "type": [
310 "string",
311 "number"
312 ]
313 },
314 "C1": {
315 "type": "number"
316 },
317 "C2": {
318 "type": "number"
319 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400320 "CPURequired": {
321 "type": "number"
322 },
Brad Bishop66665882020-05-07 17:05:18 -0400323 "ChannelNames": {
324 "items": {
325 "type": "string"
326 },
327 "type": "array"
328 },
329 "Class": {
330 "type": "string"
331 },
332 "Connector": {
333 "properties": {
334 "Name": {
335 "type": "string"
336 },
337 "Pwm": {
338 "type": "number"
339 },
340 "Tachs": {
341 "items": {
342 "type": "number"
343 },
344 "type": "array"
345 }
346 },
347 "required": [
348 "Name",
349 "Pwm",
350 "Tachs"
351 ],
352 "type": "object"
353 },
354 "CpuID": {
355 "type": "number"
356 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400357 "CurrScaleFactor": {
358 "type": "number"
359 },
Brad Bishop66665882020-05-07 17:05:18 -0400360 "Direction": {
361 "type": "string"
362 },
363 "DtsCritOffset": {
364 "type": "number"
365 },
Brad Bishop66665882020-05-07 17:05:18 -0400366 "FaultIndex": {
367 "type": "number"
368 },
369 "FaultType": {
370 "type": "string"
371 },
372 "GpioPins": {
373 "items": {
374 "type": "number"
375 },
376 "type": "array"
377 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400378 "GpioPolarity": {
379 "enum": [
380 "Low"
381 ]
382 },
Brad Bishop66665882020-05-07 17:05:18 -0400383 "Index": {
384 "type": "number"
385 },
Brad Bishop66665882020-05-07 17:05:18 -0400386 "Labels": {
387 "items": {
388 "type": "string"
389 },
390 "type": "array"
391 },
392 "LedGpioPins": {
393 "items": {
394 "type": "number"
395 },
396 "type": "array"
397 },
398 "MaxCFM": {
399 "type": "number"
400 },
401 "MaxReading": {
402 "type": "number"
403 },
Brad Bishop66665882020-05-07 17:05:18 -0400404 "Name": {
405 "type": "string"
406 },
407 "Name1": {
408 "type": "string"
409 },
Scron Chang73347452020-12-30 20:00:39 +0800410 "Name2": {
411 "type": "string"
412 },
413 "Name3": {
414 "type": "string"
415 },
416 "Name4": {
417 "type": "string"
418 },
419 "Name5": {
420 "type": "string"
421 },
422 "Name6": {
423 "type": "string"
424 },
425 "Name7": {
426 "type": "string"
427 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400428 "OffsetValue": {
429 "type": "number"
430 },
Brad Bishop66665882020-05-07 17:05:18 -0400431 "Polarity": {
432 "type": "string"
433 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400434 "Polling": {
435 "type": "object"
436 },
Brad Bishop66665882020-05-07 17:05:18 -0400437 "PowerFactorMax": {
438 "type": "number"
439 },
440 "PowerFactorMin": {
441 "type": "number"
442 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400443 "PowerScaleFactor": {
444 "type": "number"
445 },
Brad Bishop66665882020-05-07 17:05:18 -0400446 "PowerState": {
447 "type": "string"
448 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400449 "Presence": {
450 "properties": {
451 "PinName": {
452 "type": "string"
453 },
454 "Polarity": {
455 "enum": "Low"
456 }
457 },
458 "type": "object"
459 },
Brad Bishop66665882020-05-07 17:05:18 -0400460 "PresenceGpio": {
Brad Bishopa1427092020-05-07 17:45:28 -0400461 "type": [
462 "number",
463 "array"
464 ]
Brad Bishop66665882020-05-07 17:05:18 -0400465 },
Brad Bishop66665882020-05-07 17:05:18 -0400466 "Pwm": {
467 "type": "number"
468 },
469 "QMax": {
470 "type": "number"
471 },
472 "QMin": {
473 "type": "number"
474 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400475 "RedundantCount": {
476 "type": "number"
477 },
Brad Bishop66665882020-05-07 17:05:18 -0400478 "ScaleFactor": {
479 "type": "number"
480 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400481 "ScaleValue": {
482 "type": "number"
483 },
484 "SensorType": {
485 "type": "string"
486 },
Brad Bishop66665882020-05-07 17:05:18 -0400487 "TachMaxPercent": {
488 "type": "number"
489 },
490 "TachMinPercent": {
491 "type": "number"
492 },
493 "Tachs": {
494 "items": {
495 "type": [
496 "number",
497 "string"
498 ]
499 },
500 "type": "array"
501 },
502 "Thresholds": {
503 "items": {
504 "properties": {
505 "Direction": {
506 "type": "string"
507 },
508 "Label": {
509 "type": "string"
510 },
511 "Name": {
512 "type": "string"
513 },
514 "Severity": {
515 "type": "number"
516 },
517 "Value": {
518 "type": "number"
519 }
520 },
521 "required": [
522 "Direction",
523 "Name",
524 "Severity",
525 "Value"
526 ],
527 "type": "object"
528 },
529 "type": "array"
530 },
Anoop Sa5a716d2020-11-26 18:57:26 +0000531 "HostSMbusIndex": {
532 "type": "number"
533 },
Scron Chang73347452020-12-30 20:00:39 +0800534 "pin_Max": {
535 "type": "number"
536 },
537 "pin_Min": {
538 "type": "number"
539 },
540 "vin_Max": {
541 "type": "number"
542 },
543 "vin_Min": {
544 "type": "number"
545 },
546 "iout1_Max": {
547 "type": "number"
548 },
549 "iout1_Min": {
550 "type": "number"
551 },
552 "iout2_Max": {
553 "type": "number"
554 },
555 "iout2_Min": {
556 "type": "number"
557 },
558 "pout1_Max": {
559 "type": "number"
560 },
561 "pout1_Min": {
562 "type": "number"
563 },
564 "pout2_Max": {
565 "type": "number"
566 },
567 "pout2_Min": {
568 "type": "number"
569 },
570 "pout3_Max": {
571 "type": "number"
572 },
573 "pout3_Min": {
574 "type": "number"
575 },
576 "vout1_Max": {
577 "type": "number"
578 },
579 "vout1_Min": {
580 "type": "number"
581 },
582 "vout2_Max": {
583 "type": "number"
584 },
585 "vout2_Min": {
586 "type": "number"
587 },
588 "vout3_Max": {
589 "type": "number"
590 },
591 "vout3_Min": {
592 "type": "number"
593 },
594 "vout4_Max": {
595 "type": "number"
596 },
597 "vout4_Min": {
598 "type": "number"
599 },
600 "vout5_Max": {
601 "type": "number"
602 },
603 "vout5_Min": {
604 "type": "number"
605 },
606 "vout6_Max": {
607 "type": "number"
608 },
609 "vout6_Min": {
610 "type": "number"
611 },
612 "vout8_Max": {
613 "type": "number"
614 },
615 "vout8_Min": {
616 "type": "number"
617 },
618 "iout1_Offset": {
619 "type": "number"
620 },
621 "pout1_Offset": {
622 "type": "number"
623 },
Brad Bishop66665882020-05-07 17:05:18 -0400624 "Type": {
625 "type": "string"
Brad Bishop66665882020-05-07 17:05:18 -0400626 }
627 }
628 }
629}