blob: 73d513cca3ee9e323285e8dc75980217415f21ab [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 },
Josh Lehan0836ce02021-01-21 20:32:42 -080093 "MaxValue": {
94 "$ref": "#/definitions/Types/MaxValue"
95 },
96 "Units": {
97 "$ref": "#/definitions/Types/Units"
98 },
99 "MinReading": {
100 "$ref": "#/definitions/Types/MinReading"
101 },
102 "MinValue": {
103 "$ref": "#/definitions/Types/MinValue"
104 },
Brad Bishop66665882020-05-07 17:05:18 -0400105 "Name": {
106 "$ref": "#/definitions/Types/Name"
107 },
108 "Name1": {
109 "$ref": "#/definitions/Types/Name1"
110 },
Scron Chang73347452020-12-30 20:00:39 +0800111 "Name2": {
112 "$ref": "#/definitions/Types/Name2"
113 },
114 "Name3": {
115 "$ref": "#/definitions/Types/Name3"
116 },
117 "Name4": {
118 "$ref": "#/definitions/Types/Name4"
119 },
120 "Name5": {
121 "$ref": "#/definitions/Types/Name5"
122 },
123 "Name6": {
124 "$ref": "#/definitions/Types/Name6"
125 },
126 "Name7": {
127 "$ref": "#/definitions/Types/Name7"
128 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400129 "OffsetValue": {
130 "$ref": "#/definitions/Types/OffsetValue"
131 },
Brad Bishop66665882020-05-07 17:05:18 -0400132 "Polarity": {
133 "$ref": "#/definitions/Types/Polarity"
134 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400135 "Polling": {
136 "$ref": "#/definitions/Types/Polling"
137 },
Brad Bishop66665882020-05-07 17:05:18 -0400138 "PowerFactorMax": {
139 "$ref": "#/definitions/Types/PowerFactorMax"
140 },
141 "PowerFactorMin": {
142 "$ref": "#/definitions/Types/PowerFactorMin"
143 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400144 "PowerScaleFactor": {
145 "$ref": "#/definitions/Types/PowerScaleFactor"
146 },
Brad Bishop66665882020-05-07 17:05:18 -0400147 "PowerState": {
148 "$ref": "#/definitions/Types/PowerState"
149 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400150 "Presence": {
151 "$ref": "#/definitions/Types/Presence"
152 },
Brad Bishop66665882020-05-07 17:05:18 -0400153 "PresenceGpio": {
154 "$ref": "#/definitions/Types/PresenceGpio"
155 },
Brad Bishop66665882020-05-07 17:05:18 -0400156 "Pwm": {
157 "$ref": "#/definitions/Types/Pwm"
158 },
159 "QMax": {
160 "$ref": "#/definitions/Types/QMax"
161 },
162 "QMin": {
163 "$ref": "#/definitions/Types/QMin"
164 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400165 "RedundantCount": {
166 "$ref": "#/definitions/Types/RedundantCount"
167 },
Brad Bishop66665882020-05-07 17:05:18 -0400168 "ScaleFactor": {
169 "$ref": "#/definitions/Types/ScaleFactor"
170 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400171 "ScaleValue": {
172 "$ref": "#/definitions/Types/ScaleValue"
173 },
174 "SensorType": {
175 "$ref": "#/definitions/Types/SensorType"
176 },
Brad Bishop66665882020-05-07 17:05:18 -0400177 "TachMaxPercent": {
178 "$ref": "#/definitions/Types/TachMaxPercent"
179 },
180 "TachMinPercent": {
181 "$ref": "#/definitions/Types/TachMinPercent"
182 },
183 "Tachs": {
184 "$ref": "#/definitions/Types/Tachs"
185 },
186 "Thresholds": {
187 "$ref": "#/definitions/Types/Thresholds"
188 },
Anoop Sa5a716d2020-11-26 18:57:26 +0000189 "HostSMbusIndex": {
190 "$ref": "#/definitions/Types/HostSMbusIndex"
191 },
Scron Chang73347452020-12-30 20:00:39 +0800192 "pin_Max": {
193 "$ref": "#/definitions/Types/pin_Max"
194 },
195 "pin_Min": {
196 "$ref": "#/definitions/Types/pin_Min"
197 },
198 "vin_Max": {
199 "$ref": "#/definitions/Types/vin_Max"
200 },
201 "vin_Min": {
202 "$ref": "#/definitions/Types/vin_Min"
203 },
204 "iout1_Max": {
205 "$ref": "#/definitions/Types/iout1_Max"
206 },
207 "iout1_Min": {
208 "$ref": "#/definitions/Types/iout1_Min"
209 },
210 "iout2_Max": {
211 "$ref": "#/definitions/Types/iout2_Max"
212 },
213 "iout2_Min": {
214 "$ref": "#/definitions/Types/iout2_Min"
215 },
216 "pout1_Max": {
217 "$ref": "#/definitions/Types/pout1_Max"
218 },
219 "pout1_Min": {
220 "$ref": "#/definitions/Types/pout1_Min"
221 },
222 "pout2_Max": {
223 "$ref": "#/definitions/Types/pout2_Max"
224 },
225 "pout2_Min": {
226 "$ref": "#/definitions/Types/pout2_Min"
227 },
228 "pout3_Max": {
229 "$ref": "#/definitions/Types/pout3_Max"
230 },
231 "pout3_Min": {
232 "$ref": "#/definitions/Types/pout3_Min"
233 },
234 "vout1_Max": {
235 "$ref": "#/definitions/Types/vout1_Max"
236 },
237 "vout1_Min": {
238 "$ref": "#/definitions/Types/vout1_Min"
239 },
240 "vout2_Max": {
241 "$ref": "#/definitions/Types/vout2_Max"
242 },
243 "vout2_Min": {
244 "$ref": "#/definitions/Types/vout2_Min"
245 },
246 "vout3_Max": {
247 "$ref": "#/definitions/Types/vout3_Max"
248 },
249 "vout3_Min": {
250 "$ref": "#/definitions/Types/vout3_Min"
251 },
252 "vout4_Max": {
253 "$ref": "#/definitions/Types/vout4_Max"
254 },
255 "vout4_Min": {
256 "$ref": "#/definitions/Types/vout4_Min"
257 },
258 "vout5_Max": {
259 "$ref": "#/definitions/Types/vout5_Max"
260 },
261 "vout5_Min": {
262 "$ref": "#/definitions/Types/vout5_Min"
263 },
264 "vout6_Max": {
265 "$ref": "#/definitions/Types/vout6_Max"
266 },
267 "vout6_Min": {
268 "$ref": "#/definitions/Types/vout6_Min"
269 },
270 "vout8_Max": {
271 "$ref": "#/definitions/Types/vout8_Max"
272 },
273 "vout8_Min": {
274 "$ref": "#/definitions/Types/vout8_Min"
275 },
276 "iout1_Offset": {
277 "$ref": "#/definitions/Types/iout1_Offset"
278 },
279 "pout1_Offset": {
280 "$ref": "#/definitions/Types/pout1_Offset"
281 },
Scron Changf0941252021-01-22 21:02:50 +0800282 "iout1_Scale": {
283 "$ref": "#/definitions/Types/iout1_Scale"
284 },
285 "PollRate": {
286 "$ref": "#/definitions/Types/PollRate"
287 },
Brad Bishop66665882020-05-07 17:05:18 -0400288 "Type": {
289 "$ref": "#/definitions/Types/Type"
Brad Bishop66665882020-05-07 17:05:18 -0400290 }
291 },
292 "required": [
293 "Name",
294 "Type"
295 ],
296 "type": "object"
297 },
298 "Types": {
299 "Address": {
Brad Bishopa1427092020-05-07 17:45:28 -0400300 "type": [
301 "string",
302 "array"
303 ]
Brad Bishop66665882020-05-07 17:05:18 -0400304 },
305 "AllowedFailures": {
306 "type": "number"
307 },
308 "AlphaF": {
309 "type": "number"
310 },
311 "AlphaS": {
312 "type": "number"
313 },
314 "BindConnector": {
315 "type": "string"
316 },
317 "BindPresence": {
318 "type": "string"
319 },
320 "BridgeGpio": {
Brad Bishopa1427092020-05-07 17:45:28 -0400321 "type": [
322 "number",
323 "array"
324 ]
Brad Bishop66665882020-05-07 17:05:18 -0400325 },
326 "Bus": {
327 "type": [
328 "string",
329 "number"
330 ]
331 },
332 "C1": {
333 "type": "number"
334 },
335 "C2": {
336 "type": "number"
337 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400338 "CPURequired": {
339 "type": "number"
340 },
Brad Bishop66665882020-05-07 17:05:18 -0400341 "ChannelNames": {
342 "items": {
343 "type": "string"
344 },
345 "type": "array"
346 },
347 "Class": {
348 "type": "string"
349 },
350 "Connector": {
351 "properties": {
352 "Name": {
353 "type": "string"
354 },
355 "Pwm": {
356 "type": "number"
357 },
358 "Tachs": {
359 "items": {
360 "type": "number"
361 },
362 "type": "array"
363 }
364 },
365 "required": [
366 "Name",
367 "Pwm",
368 "Tachs"
369 ],
370 "type": "object"
371 },
372 "CpuID": {
373 "type": "number"
374 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400375 "CurrScaleFactor": {
376 "type": "number"
377 },
Brad Bishop66665882020-05-07 17:05:18 -0400378 "Direction": {
379 "type": "string"
380 },
381 "DtsCritOffset": {
382 "type": "number"
383 },
Brad Bishop66665882020-05-07 17:05:18 -0400384 "FaultIndex": {
385 "type": "number"
386 },
387 "FaultType": {
388 "type": "string"
389 },
390 "GpioPins": {
391 "items": {
392 "type": "number"
393 },
394 "type": "array"
395 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400396 "GpioPolarity": {
397 "enum": [
398 "Low"
399 ]
400 },
Brad Bishop66665882020-05-07 17:05:18 -0400401 "Index": {
402 "type": "number"
403 },
Brad Bishop66665882020-05-07 17:05:18 -0400404 "Labels": {
405 "items": {
406 "type": "string"
407 },
408 "type": "array"
409 },
410 "LedGpioPins": {
411 "items": {
412 "type": "number"
413 },
414 "type": "array"
415 },
416 "MaxCFM": {
417 "type": "number"
418 },
419 "MaxReading": {
420 "type": "number"
421 },
Josh Lehan0836ce02021-01-21 20:32:42 -0800422 "MaxValue": {
423 "type": "number"
424 },
425 "Units": {
426 "type": "string"
427 },
428 "MinReading": {
429 "type": "number"
430 },
431 "MinValue": {
432 "type": "number"
433 },
Brad Bishop66665882020-05-07 17:05:18 -0400434 "Name": {
435 "type": "string"
436 },
437 "Name1": {
438 "type": "string"
439 },
Scron Chang73347452020-12-30 20:00:39 +0800440 "Name2": {
441 "type": "string"
442 },
443 "Name3": {
444 "type": "string"
445 },
446 "Name4": {
447 "type": "string"
448 },
449 "Name5": {
450 "type": "string"
451 },
452 "Name6": {
453 "type": "string"
454 },
455 "Name7": {
456 "type": "string"
457 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400458 "OffsetValue": {
459 "type": "number"
460 },
Brad Bishop66665882020-05-07 17:05:18 -0400461 "Polarity": {
462 "type": "string"
463 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400464 "Polling": {
465 "type": "object"
466 },
Brad Bishop66665882020-05-07 17:05:18 -0400467 "PowerFactorMax": {
468 "type": "number"
469 },
470 "PowerFactorMin": {
471 "type": "number"
472 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400473 "PowerScaleFactor": {
474 "type": "number"
475 },
Brad Bishop66665882020-05-07 17:05:18 -0400476 "PowerState": {
477 "type": "string"
478 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400479 "Presence": {
480 "properties": {
481 "PinName": {
482 "type": "string"
483 },
484 "Polarity": {
485 "enum": "Low"
486 }
487 },
488 "type": "object"
489 },
Brad Bishop66665882020-05-07 17:05:18 -0400490 "PresenceGpio": {
Brad Bishopa1427092020-05-07 17:45:28 -0400491 "type": [
492 "number",
493 "array"
494 ]
Brad Bishop66665882020-05-07 17:05:18 -0400495 },
Brad Bishop66665882020-05-07 17:05:18 -0400496 "Pwm": {
497 "type": "number"
498 },
499 "QMax": {
500 "type": "number"
501 },
502 "QMin": {
503 "type": "number"
504 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400505 "RedundantCount": {
506 "type": "number"
507 },
Brad Bishop66665882020-05-07 17:05:18 -0400508 "ScaleFactor": {
509 "type": "number"
510 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400511 "ScaleValue": {
512 "type": "number"
513 },
514 "SensorType": {
515 "type": "string"
516 },
Brad Bishop66665882020-05-07 17:05:18 -0400517 "TachMaxPercent": {
518 "type": "number"
519 },
520 "TachMinPercent": {
521 "type": "number"
522 },
523 "Tachs": {
524 "items": {
525 "type": [
526 "number",
527 "string"
528 ]
529 },
530 "type": "array"
531 },
532 "Thresholds": {
533 "items": {
534 "properties": {
535 "Direction": {
536 "type": "string"
537 },
538 "Label": {
539 "type": "string"
540 },
541 "Name": {
542 "type": "string"
543 },
544 "Severity": {
545 "type": "number"
546 },
547 "Value": {
548 "type": "number"
549 }
550 },
551 "required": [
552 "Direction",
553 "Name",
554 "Severity",
555 "Value"
556 ],
557 "type": "object"
558 },
559 "type": "array"
560 },
Anoop Sa5a716d2020-11-26 18:57:26 +0000561 "HostSMbusIndex": {
562 "type": "number"
563 },
Scron Chang73347452020-12-30 20:00:39 +0800564 "pin_Max": {
565 "type": "number"
566 },
567 "pin_Min": {
568 "type": "number"
569 },
570 "vin_Max": {
571 "type": "number"
572 },
573 "vin_Min": {
574 "type": "number"
575 },
576 "iout1_Max": {
577 "type": "number"
578 },
579 "iout1_Min": {
580 "type": "number"
581 },
582 "iout2_Max": {
583 "type": "number"
584 },
585 "iout2_Min": {
586 "type": "number"
587 },
588 "pout1_Max": {
589 "type": "number"
590 },
591 "pout1_Min": {
592 "type": "number"
593 },
594 "pout2_Max": {
595 "type": "number"
596 },
597 "pout2_Min": {
598 "type": "number"
599 },
600 "pout3_Max": {
601 "type": "number"
602 },
603 "pout3_Min": {
604 "type": "number"
605 },
606 "vout1_Max": {
607 "type": "number"
608 },
609 "vout1_Min": {
610 "type": "number"
611 },
612 "vout2_Max": {
613 "type": "number"
614 },
615 "vout2_Min": {
616 "type": "number"
617 },
618 "vout3_Max": {
619 "type": "number"
620 },
621 "vout3_Min": {
622 "type": "number"
623 },
624 "vout4_Max": {
625 "type": "number"
626 },
627 "vout4_Min": {
628 "type": "number"
629 },
630 "vout5_Max": {
631 "type": "number"
632 },
633 "vout5_Min": {
634 "type": "number"
635 },
636 "vout6_Max": {
637 "type": "number"
638 },
639 "vout6_Min": {
640 "type": "number"
641 },
642 "vout8_Max": {
643 "type": "number"
644 },
645 "vout8_Min": {
646 "type": "number"
647 },
648 "iout1_Offset": {
649 "type": "number"
650 },
651 "pout1_Offset": {
652 "type": "number"
653 },
Scron Changf0941252021-01-22 21:02:50 +0800654 "iout1_Scale": {
655 "type": "number"
656 },
657 "PollRate": {
658 "type": "number"
659 },
Brad Bishop66665882020-05-07 17:05:18 -0400660 "Type": {
661 "type": "string"
Brad Bishop66665882020-05-07 17:05:18 -0400662 }
663 }
664 }
665}
Scron Changf0941252021-01-22 21:02:50 +0800666