blob: 5e9fe820d5634af91d78feacf12876d1951683f4 [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 },
Scron Changf0941252021-01-22 21:02:50 +0800270 "iout1_Scale": {
271 "$ref": "#/definitions/Types/iout1_Scale"
272 },
273 "PollRate": {
274 "$ref": "#/definitions/Types/PollRate"
275 },
Brad Bishop66665882020-05-07 17:05:18 -0400276 "Type": {
277 "$ref": "#/definitions/Types/Type"
Brad Bishop66665882020-05-07 17:05:18 -0400278 }
279 },
280 "required": [
281 "Name",
282 "Type"
283 ],
284 "type": "object"
285 },
286 "Types": {
287 "Address": {
Brad Bishopa1427092020-05-07 17:45:28 -0400288 "type": [
289 "string",
290 "array"
291 ]
Brad Bishop66665882020-05-07 17:05:18 -0400292 },
293 "AllowedFailures": {
294 "type": "number"
295 },
296 "AlphaF": {
297 "type": "number"
298 },
299 "AlphaS": {
300 "type": "number"
301 },
302 "BindConnector": {
303 "type": "string"
304 },
305 "BindPresence": {
306 "type": "string"
307 },
308 "BridgeGpio": {
Brad Bishopa1427092020-05-07 17:45:28 -0400309 "type": [
310 "number",
311 "array"
312 ]
Brad Bishop66665882020-05-07 17:05:18 -0400313 },
314 "Bus": {
315 "type": [
316 "string",
317 "number"
318 ]
319 },
320 "C1": {
321 "type": "number"
322 },
323 "C2": {
324 "type": "number"
325 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400326 "CPURequired": {
327 "type": "number"
328 },
Brad Bishop66665882020-05-07 17:05:18 -0400329 "ChannelNames": {
330 "items": {
331 "type": "string"
332 },
333 "type": "array"
334 },
335 "Class": {
336 "type": "string"
337 },
338 "Connector": {
339 "properties": {
340 "Name": {
341 "type": "string"
342 },
343 "Pwm": {
344 "type": "number"
345 },
346 "Tachs": {
347 "items": {
348 "type": "number"
349 },
350 "type": "array"
351 }
352 },
353 "required": [
354 "Name",
355 "Pwm",
356 "Tachs"
357 ],
358 "type": "object"
359 },
360 "CpuID": {
361 "type": "number"
362 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400363 "CurrScaleFactor": {
364 "type": "number"
365 },
Brad Bishop66665882020-05-07 17:05:18 -0400366 "Direction": {
367 "type": "string"
368 },
369 "DtsCritOffset": {
370 "type": "number"
371 },
Brad Bishop66665882020-05-07 17:05:18 -0400372 "FaultIndex": {
373 "type": "number"
374 },
375 "FaultType": {
376 "type": "string"
377 },
378 "GpioPins": {
379 "items": {
380 "type": "number"
381 },
382 "type": "array"
383 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400384 "GpioPolarity": {
385 "enum": [
386 "Low"
387 ]
388 },
Brad Bishop66665882020-05-07 17:05:18 -0400389 "Index": {
390 "type": "number"
391 },
Brad Bishop66665882020-05-07 17:05:18 -0400392 "Labels": {
393 "items": {
394 "type": "string"
395 },
396 "type": "array"
397 },
398 "LedGpioPins": {
399 "items": {
400 "type": "number"
401 },
402 "type": "array"
403 },
404 "MaxCFM": {
405 "type": "number"
406 },
407 "MaxReading": {
408 "type": "number"
409 },
Brad Bishop66665882020-05-07 17:05:18 -0400410 "Name": {
411 "type": "string"
412 },
413 "Name1": {
414 "type": "string"
415 },
Scron Chang73347452020-12-30 20:00:39 +0800416 "Name2": {
417 "type": "string"
418 },
419 "Name3": {
420 "type": "string"
421 },
422 "Name4": {
423 "type": "string"
424 },
425 "Name5": {
426 "type": "string"
427 },
428 "Name6": {
429 "type": "string"
430 },
431 "Name7": {
432 "type": "string"
433 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400434 "OffsetValue": {
435 "type": "number"
436 },
Brad Bishop66665882020-05-07 17:05:18 -0400437 "Polarity": {
438 "type": "string"
439 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400440 "Polling": {
441 "type": "object"
442 },
Brad Bishop66665882020-05-07 17:05:18 -0400443 "PowerFactorMax": {
444 "type": "number"
445 },
446 "PowerFactorMin": {
447 "type": "number"
448 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400449 "PowerScaleFactor": {
450 "type": "number"
451 },
Brad Bishop66665882020-05-07 17:05:18 -0400452 "PowerState": {
453 "type": "string"
454 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400455 "Presence": {
456 "properties": {
457 "PinName": {
458 "type": "string"
459 },
460 "Polarity": {
461 "enum": "Low"
462 }
463 },
464 "type": "object"
465 },
Brad Bishop66665882020-05-07 17:05:18 -0400466 "PresenceGpio": {
Brad Bishopa1427092020-05-07 17:45:28 -0400467 "type": [
468 "number",
469 "array"
470 ]
Brad Bishop66665882020-05-07 17:05:18 -0400471 },
Brad Bishop66665882020-05-07 17:05:18 -0400472 "Pwm": {
473 "type": "number"
474 },
475 "QMax": {
476 "type": "number"
477 },
478 "QMin": {
479 "type": "number"
480 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400481 "RedundantCount": {
482 "type": "number"
483 },
Brad Bishop66665882020-05-07 17:05:18 -0400484 "ScaleFactor": {
485 "type": "number"
486 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400487 "ScaleValue": {
488 "type": "number"
489 },
490 "SensorType": {
491 "type": "string"
492 },
Brad Bishop66665882020-05-07 17:05:18 -0400493 "TachMaxPercent": {
494 "type": "number"
495 },
496 "TachMinPercent": {
497 "type": "number"
498 },
499 "Tachs": {
500 "items": {
501 "type": [
502 "number",
503 "string"
504 ]
505 },
506 "type": "array"
507 },
508 "Thresholds": {
509 "items": {
510 "properties": {
511 "Direction": {
512 "type": "string"
513 },
514 "Label": {
515 "type": "string"
516 },
517 "Name": {
518 "type": "string"
519 },
520 "Severity": {
521 "type": "number"
522 },
523 "Value": {
524 "type": "number"
525 }
526 },
527 "required": [
528 "Direction",
529 "Name",
530 "Severity",
531 "Value"
532 ],
533 "type": "object"
534 },
535 "type": "array"
536 },
Anoop Sa5a716d2020-11-26 18:57:26 +0000537 "HostSMbusIndex": {
538 "type": "number"
539 },
Scron Chang73347452020-12-30 20:00:39 +0800540 "pin_Max": {
541 "type": "number"
542 },
543 "pin_Min": {
544 "type": "number"
545 },
546 "vin_Max": {
547 "type": "number"
548 },
549 "vin_Min": {
550 "type": "number"
551 },
552 "iout1_Max": {
553 "type": "number"
554 },
555 "iout1_Min": {
556 "type": "number"
557 },
558 "iout2_Max": {
559 "type": "number"
560 },
561 "iout2_Min": {
562 "type": "number"
563 },
564 "pout1_Max": {
565 "type": "number"
566 },
567 "pout1_Min": {
568 "type": "number"
569 },
570 "pout2_Max": {
571 "type": "number"
572 },
573 "pout2_Min": {
574 "type": "number"
575 },
576 "pout3_Max": {
577 "type": "number"
578 },
579 "pout3_Min": {
580 "type": "number"
581 },
582 "vout1_Max": {
583 "type": "number"
584 },
585 "vout1_Min": {
586 "type": "number"
587 },
588 "vout2_Max": {
589 "type": "number"
590 },
591 "vout2_Min": {
592 "type": "number"
593 },
594 "vout3_Max": {
595 "type": "number"
596 },
597 "vout3_Min": {
598 "type": "number"
599 },
600 "vout4_Max": {
601 "type": "number"
602 },
603 "vout4_Min": {
604 "type": "number"
605 },
606 "vout5_Max": {
607 "type": "number"
608 },
609 "vout5_Min": {
610 "type": "number"
611 },
612 "vout6_Max": {
613 "type": "number"
614 },
615 "vout6_Min": {
616 "type": "number"
617 },
618 "vout8_Max": {
619 "type": "number"
620 },
621 "vout8_Min": {
622 "type": "number"
623 },
624 "iout1_Offset": {
625 "type": "number"
626 },
627 "pout1_Offset": {
628 "type": "number"
629 },
Scron Changf0941252021-01-22 21:02:50 +0800630 "iout1_Scale": {
631 "type": "number"
632 },
633 "PollRate": {
634 "type": "number"
635 },
Brad Bishop66665882020-05-07 17:05:18 -0400636 "Type": {
637 "type": "string"
Brad Bishop66665882020-05-07 17:05:18 -0400638 }
639 }
640 }
641}
Scron Changf0941252021-01-22 21:02:50 +0800642