blob: 3ebbae94f23f239151a0e0ba758561b932125a02 [file] [log] [blame]
Brad Bishop66665882020-05-07 17:05:18 -04001{
2 "$schema": "http://json-schema.org/draft-07/schema#",
Patrick Williams7d6080d2024-09-04 12:54:45 -04003 "$defs": {
Alexander Hansen8e40bc12025-03-27 17:04:11 +01004 "ExitAirTempSensor": {
5 "description": "implemented in dbus-sensors: ExitAirTempSensor",
6 "additionalProperties": false,
7 "properties": {
8 "AlphaF": {
9 "$ref": "#/$defs/Types/AlphaF"
10 },
11 "AlphaS": {
12 "$ref": "#/$defs/Types/AlphaS"
13 },
14 "Name": {
15 "$ref": "#/$defs/Types/Name"
16 },
17 "PowerFactorMax": {
18 "$ref": "#/$defs/Types/PowerFactorMax"
19 },
20 "PowerFactorMin": {
21 "$ref": "#/$defs/Types/PowerFactorMin"
22 },
23 "QMax": {
24 "$ref": "#/$defs/Types/QMax"
25 },
26 "QMin": {
27 "$ref": "#/$defs/Types/QMin"
28 },
29 "Thresholds": {
30 "$ref": "#/$defs/Types/Thresholds"
31 },
32 "Type": {
33 "type": "string",
34 "const": "ExitAirTempSensor"
35 }
36 },
37 "required": [
38 "Name",
39 "Type",
40 "AlphaF",
41 "AlphaS",
42 "PowerFactorMax",
43 "PowerFactorMin",
44 "QMax",
45 "QMin"
46 ],
47 "type": "object"
48 },
Alexander Hansene4d4d162025-03-27 17:15:19 +010049 "CFMSensor": {
50 "additionalProperties": false,
51 "properties": {
52 "C1": {
53 "$ref": "#/$defs/Types/C1"
54 },
55 "C2": {
56 "$ref": "#/$defs/Types/C2"
57 },
58 "MaxCFM": {
59 "$ref": "#/$defs/Types/MaxCFM"
60 },
61 "TachMaxPercent": {
62 "$ref": "#/$defs/Types/TachMaxPercent"
63 },
64 "TachMinPercent": {
65 "$ref": "#/$defs/Types/TachMinPercent"
66 },
67 "Tachs": {
68 "$ref": "#/$defs/Types/Tachs"
69 },
70 "Name": {
71 "$ref": "#/$defs/Types/Name"
72 },
73 "Type": {
74 "type": "string",
75 "const": "CFMSensor"
76 }
77 },
78 "required": ["Name", "Type"],
79 "type": "object"
80 },
Alexander Hansen5ef81742025-03-27 17:24:58 +010081 "FanRedundancy": {
82 "additionalProperties": false,
83 "properties": {
84 "AllowedFailures": {
85 "$ref": "#/$defs/Types/AllowedFailures"
86 },
87 "Name": {
88 "$ref": "#/$defs/Types/Name"
89 },
90 "Type": {
91 "type": "string",
92 "const": "FanRedundancy"
93 }
94 },
95 "required": ["Name", "Type"],
96 "type": "object"
97 },
Alexander Hansendcfe0432025-03-27 18:52:55 +010098 "PURedundancy": {
99 "additionalProperties": false,
100 "properties": {
101 "RedundantCount": {
102 "$ref": "#/$defs/Types/RedundantCount"
103 },
104 "Name": {
105 "$ref": "#/$defs/Types/Name"
106 },
107 "Type": {
108 "type": "string",
109 "const": "PURedundancy"
110 }
111 },
112 "required": ["RedundantCount", "Name", "Type"],
113 "type": "object"
114 },
Alexander Hansen320c8922025-03-28 15:41:12 +0100115 "ChassisIntrusionSensor": {
116 "description": "implemented in dbus-sensors: ChassisIntrusionSensor",
117 "additionalProperties": false,
118 "properties": {
119 "Address": {
120 "$ref": "#/$defs/Types/Address"
121 },
122 "Bus": {
123 "$ref": "#/$defs/Types/Bus"
124 },
125 "Class": {
126 "$ref": "#/$defs/Types/Class"
127 },
128 "GpioPolarity": {
129 "$ref": "#/$defs/Types/GpioPolarity"
130 },
131 "Rearm": {
132 "enum": ["Automatic", "Manual"]
133 },
134 "Name": {
135 "$ref": "#/$defs/Types/Name"
136 },
137 "Type": {
138 "type": "string",
139 "const": "ChassisIntrusionSensor"
140 }
141 },
142 "required": ["Name", "Type", "Class"],
143 "type": "object"
144 },
Alexander Hansene13f4bf2025-03-28 16:41:59 +0100145 "AspeedFan": {
146 "additionalProperties": false,
147 "properties": {
148 "BindConnector": {
149 "$ref": "#/$defs/Types/BindConnector"
150 },
151 "Index": {
152 "$ref": "#/$defs/Types/Index"
153 },
154 "PowerState": {
155 "$ref": "#/$defs/Types/PowerState"
156 },
157 "Connector": {
158 "$ref": "#/$defs/Types/Connector"
159 },
160 "EntityId": {
161 "$ref": "#/$defs/Types/EntityId"
162 },
163 "EntityInstance": {
164 "$ref": "#/$defs/Types/EntityInstance"
165 },
166 "Presence": {
167 "$ref": "#/$defs/Types/Presence"
168 },
169 "MaxReading": {
170 "$ref": "#/$defs/Types/MaxReading"
171 },
172 "Thresholds": {
173 "$ref": "#/$defs/Types/Thresholds"
174 },
175 "Name": {
176 "$ref": "#/$defs/Types/Name"
177 },
178 "Type": {
179 "type": "string",
180 "const": "AspeedFan"
181 }
182 },
183 "required": ["Name", "Type"],
184 "type": "object"
185 },
Alexander Hansenc0d01382025-03-28 17:02:00 +0100186 "I2CFan": {
187 "additionalProperties": false,
188 "properties": {
189 "BindConnector": {
190 "$ref": "#/$defs/Types/BindConnector"
191 },
192 "Address": {
193 "$ref": "#/$defs/Types/Address"
194 },
195 "Bus": {
196 "$ref": "#/$defs/Types/Bus"
197 },
198 "EntityId": {
199 "$ref": "#/$defs/Types/EntityId"
200 },
201 "EntityInstance": {
202 "$ref": "#/$defs/Types/EntityInstance"
203 },
204 "Index": {
205 "$ref": "#/$defs/Types/Index"
206 },
207 "PowerState": {
208 "$ref": "#/$defs/Types/PowerState"
209 },
210 "Presence": {
211 "$ref": "#/$defs/Types/Presence"
212 },
213 "MaxReading": {
214 "$ref": "#/$defs/Types/MaxReading"
215 },
216 "Connector": {
217 "$ref": "#/$defs/Types/Connector"
218 },
219 "Thresholds": {
220 "$ref": "#/$defs/Types/Thresholds"
221 },
222 "Name": {
223 "$ref": "#/$defs/Types/Name"
224 },
225 "Type": {
226 "type": "string",
227 "const": "I2CFan"
228 }
229 },
230 "required": ["Name", "Type"],
231 "type": "object"
232 },
Alexander Hansen846a2ca2025-03-28 17:27:37 +0100233 "NuvotonFan": {
234 "additionalProperties": false,
235 "properties": {
236 "EntityId": {
237 "$ref": "#/$defs/Types/EntityId"
238 },
239 "EntityInstance": {
240 "$ref": "#/$defs/Types/EntityInstance"
241 },
242 "Index": {
243 "$ref": "#/$defs/Types/Index"
244 },
245 "PowerState": {
246 "$ref": "#/$defs/Types/PowerState"
247 },
248 "MaxReading": {
249 "$ref": "#/$defs/Types/MaxReading"
250 },
251 "Connector": {
252 "$ref": "#/$defs/Types/Connector"
253 },
254 "Thresholds": {
255 "$ref": "#/$defs/Types/Thresholds"
256 },
257 "Name": {
258 "$ref": "#/$defs/Types/Name"
259 },
260 "Type": {
261 "type": "string",
262 "const": "NuvotonFan"
263 }
264 },
265 "required": ["Name", "Type", "Connector"],
266 "type": "object"
267 },
Alexander Hansen7c9fd852025-03-28 17:38:13 +0100268 "XeonCPU": {
269 "description": "implemented in dbus-sensors: IntelCPUSensor",
270 "additionalProperties": false,
271 "properties": {
272 "Name": {
273 "$ref": "#/$defs/Types/Name"
274 },
275 "Address": {
276 "$ref": "#/$defs/Types/Address"
277 },
278 "Bus": {
279 "$ref": "#/$defs/Types/Bus"
280 },
281 "PowerState": {
282 "$ref": "#/$defs/Types/PowerState"
283 },
284 "Thresholds": {
285 "$ref": "#/$defs/Types/Thresholds"
286 },
287 "DtsCritOffset": {
288 "$ref": "#/$defs/Types/DtsCritOffset"
289 },
290 "PresenceGpio": {
291 "$ref": "#/$defs/Types/PresenceGpio"
292 },
293 "CpuID": {
294 "$ref": "#/$defs/Types/CpuID"
295 },
296 "Type": {
297 "type": "string",
298 "const": "XeonCPU"
299 }
300 },
301 "required": ["Name", "Type", "CpuID", "Address"],
302 "type": "object"
303 },
Alexander Hansen0575b462025-03-31 12:13:32 +0200304 "IpmbSensor": {
305 "additionalProperties": false,
306 "properties": {
307 "Name": {
308 "$ref": "#/$defs/Types/Name"
309 },
310 "Class": {
311 "$ref": "#/$defs/Types/Class"
312 },
313 "Address": {
314 "$ref": "#/$defs/Types/Address"
315 },
316 "Thresholds": {
317 "$ref": "#/$defs/Types/Thresholds"
318 },
319 "HostSMbusIndex": {
320 "$ref": "#/$defs/Types/HostSMbusIndex"
321 },
322 "PowerState": {
323 "$ref": "#/$defs/Types/PowerState"
324 },
325 "SensorType": {
326 "$ref": "#/$defs/Types/SensorType"
327 },
328 "ScaleValue": {
329 "$ref": "#/$defs/Types/ScaleValue"
330 },
331 "OffsetValue": {
332 "$ref": "#/$defs/Types/OffsetValue"
333 },
334 "Type": {
335 "type": "string",
336 "const": "IpmbSensor"
337 }
338 },
339 "required": ["Name", "Type", "Address", "Class"],
340 "type": "object"
341 },
Alexander Hansene3282fa2025-03-31 12:46:31 +0200342 "I2CMux": {
343 "additionalProperties": false,
344 "properties": {
345 "Name": {
346 "$ref": "#/$defs/Types/Name"
347 },
348 "Bus": {
349 "$ref": "#/$defs/Types/Bus"
350 },
351 "Address": {
352 "$ref": "#/$defs/Types/Address"
353 },
354 "ChannelNames": {
355 "$ref": "#/$defs/Types/ChannelNames"
356 },
357 "Type": {
358 "type": "string",
359 "enum": [
360 "PCA9543Mux",
361 "PCA9544Mux",
362 "PCA9545Mux",
363 "PCA9546Mux"
364 ]
365 }
366 },
367 "required": ["Name", "Type", "Address", "Bus", "ChannelNames"],
368 "type": "object"
369 },
Alexander Hansen41e3f662025-03-31 13:37:35 +0200370 "Gpio": {
371 "additionalProperties": false,
372 "properties": {
373 "Name": {
374 "$ref": "#/$defs/Types/Name"
375 },
376 "Index": {
377 "$ref": "#/$defs/Types/Index"
378 },
379 "Direction": {
380 "type": "string"
381 },
382 "Polarity": {
383 "$ref": "#/$defs/Types/Polarity"
384 },
385 "Type": {
386 "type": "string",
387 "const": "Gpio"
388 }
389 },
390 "required": ["Name", "Type", "Index", "Direction", "Polarity"],
391 "type": "object"
392 },
Alexander Hansen49d77f52025-03-31 13:44:47 +0200393 "MultiNodeID": {
394 "additionalProperties": false,
395 "properties": {
396 "Name": {
397 "$ref": "#/$defs/Types/Name"
398 },
399 "GpioPins": {
400 "$ref": "#/$defs/Types/GpioPins"
401 },
402 "Type": {
403 "type": "string",
404 "const": "MultiNodeID"
405 }
406 },
407 "required": ["Name", "Type", "GpioPins"],
408 "type": "object"
409 },
Alexander Hansen4d30f1e2025-03-31 13:47:34 +0200410 "MultiNodePresence": {
411 "additionalProperties": false,
412 "properties": {
413 "Name": {
414 "$ref": "#/$defs/Types/Name"
415 },
416 "Bus": {
417 "$ref": "#/$defs/Types/Bus"
418 },
419 "Address": {
420 "$ref": "#/$defs/Types/Address"
421 },
422 "Type": {
423 "type": "string",
424 "const": "MultiNodePresence"
425 }
426 },
427 "required": ["Name", "Type", "Bus", "Address"],
428 "type": "object"
429 },
Brad Bishop66665882020-05-07 17:05:18 -0400430 "Aggregate": {
Andrew Jefferybb8aa372024-03-20 11:24:32 +1030431 "description": "Don't add additional properties to this schema. Consult README.schema for instructions on adding new Exposes element sub-schema.",
Brad Bishop98e78b72020-06-22 16:12:15 -0400432 "additionalProperties": false,
Alexander Hansenfd401de2025-03-28 12:19:59 +0100433 "patternProperties": {
434 "Name(1[0-7]|[1-9])?$": {
435 "$ref": "#/$defs/Types/Name"
436 },
437 "(vin|iin|pin|maxpin)_Name$": {
438 "$ref": "#/$defs/Types/Name"
439 },
440 "(in|in_voltage|vout)(1[0-7]|[0-9])_Name$": {
441 "$ref": "#/$defs/Types/Name"
442 },
443 "(curr|iin|iout|pin|pout|power|temp)(1[0-7]|[1-9])_Name$": {
444 "$ref": "#/$defs/Types/Name"
445 },
446 "(in|in_voltage)(1[0-7]|[0-9])_Scale$": {
447 "$ref": "#/$defs/Types/ScaleValue"
448 },
449 "(curr|power|iout)(1[0-7]|[1-9])_Scale$": {
450 "$ref": "#/$defs/Types/ScaleValue"
451 },
452 "in(1[0-7]|[0-9])_PowerState$": {
453 "$ref": "#/$defs/Types/PowerState"
454 },
455 "(in|vout|in_voltage)(1[0-7]|[0-9])_(Min|Max)$": {
456 "$ref": "#/$defs/Types/MinMaxType"
457 },
458 "(iin|vin|curr|iout|pin|pout|temp)(1[0-7]|[1-9])?_(Min|Max)$": {
459 "$ref": "#/$defs/Types/MinMaxType"
460 },
461 "power(1[0-7]|[1-9])?_Max$": {
462 "$ref": "#/$defs/Types/MinMaxType"
463 },
464 "(power|curr|iout|pout|pin)(1[0-7]|[1-9])?_Offset$": {
465 "$ref": "#/$defs/Types/OffsetType"
466 }
467 },
Brad Bishop66665882020-05-07 17:05:18 -0400468 "properties": {
469 "Address": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400470 "$ref": "#/$defs/Types/Address"
Brad Bishop66665882020-05-07 17:05:18 -0400471 },
Brad Bishop66665882020-05-07 17:05:18 -0400472 "BridgeGpio": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400473 "$ref": "#/$defs/Types/BridgeGpio"
Brad Bishop66665882020-05-07 17:05:18 -0400474 },
475 "Bus": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400476 "$ref": "#/$defs/Types/Bus"
Brad Bishop66665882020-05-07 17:05:18 -0400477 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400478 "CPURequired": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400479 "$ref": "#/$defs/Types/CPURequired"
Brad Bishop98e78b72020-06-22 16:12:15 -0400480 },
Brad Bishop66665882020-05-07 17:05:18 -0400481 "Class": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400482 "$ref": "#/$defs/Types/Class"
Brad Bishop66665882020-05-07 17:05:18 -0400483 },
Matt Spinler2f2f4b82024-08-06 13:38:58 -0500484 "ConnectsToType": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400485 "$ref": "#/$defs/Types/ConnectsToType"
Matt Spinler2f2f4b82024-08-06 13:38:58 -0500486 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400487 "CurrScaleFactor": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400488 "$ref": "#/$defs/Types/CurrScaleFactor"
Brad Bishop98e78b72020-06-22 16:12:15 -0400489 },
Oskar Senftf38b37c2021-09-07 13:07:11 -0400490 "EntityId": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400491 "$ref": "#/$defs/Types/EntityId"
Oskar Senftf38b37c2021-09-07 13:07:11 -0400492 },
493 "EntityInstance": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400494 "$ref": "#/$defs/Types/EntityInstance"
Oskar Senftf38b37c2021-09-07 13:07:11 -0400495 },
Brad Bishop66665882020-05-07 17:05:18 -0400496 "Index": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400497 "$ref": "#/$defs/Types/Index"
Brad Bishop66665882020-05-07 17:05:18 -0400498 },
BonnieLo-wiwynncbaec702022-11-17 15:42:46 +0800499 "InScaleFactor": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400500 "$ref": "#/$defs/Types/InScaleFactor"
BonnieLo-wiwynncbaec702022-11-17 15:42:46 +0800501 },
Brad Bishop66665882020-05-07 17:05:18 -0400502 "Labels": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400503 "$ref": "#/$defs/Types/Labels"
Brad Bishop66665882020-05-07 17:05:18 -0400504 },
Brad Bishop66665882020-05-07 17:05:18 -0400505 "MaxReading": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400506 "$ref": "#/$defs/Types/MaxReading"
Brad Bishop66665882020-05-07 17:05:18 -0400507 },
Josh Lehan0836ce02021-01-21 20:32:42 -0800508 "MaxValue": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400509 "$ref": "#/$defs/Types/MaxValue"
Josh Lehan0836ce02021-01-21 20:32:42 -0800510 },
511 "Units": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400512 "$ref": "#/$defs/Types/Units"
Josh Lehan0836ce02021-01-21 20:32:42 -0800513 },
514 "MinReading": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400515 "$ref": "#/$defs/Types/MinReading"
Josh Lehan0836ce02021-01-21 20:32:42 -0800516 },
517 "MinValue": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400518 "$ref": "#/$defs/Types/MinValue"
Josh Lehan0836ce02021-01-21 20:32:42 -0800519 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400520 "OffsetValue": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400521 "$ref": "#/$defs/Types/OffsetValue"
Brad Bishop98e78b72020-06-22 16:12:15 -0400522 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400523 "Polling": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400524 "$ref": "#/$defs/Types/Polling"
Brad Bishop98e78b72020-06-22 16:12:15 -0400525 },
Matt Spinler2f2f4b82024-08-06 13:38:58 -0500526 "PowerPort": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400527 "$ref": "#/$defs/Types/PowerPort"
Matt Spinler2f2f4b82024-08-06 13:38:58 -0500528 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400529 "PowerScaleFactor": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400530 "$ref": "#/$defs/Types/PowerScaleFactor"
Brad Bishop98e78b72020-06-22 16:12:15 -0400531 },
Brad Bishop66665882020-05-07 17:05:18 -0400532 "PowerState": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400533 "$ref": "#/$defs/Types/PowerState"
Brad Bishop66665882020-05-07 17:05:18 -0400534 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400535 "Presence": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400536 "$ref": "#/$defs/Types/Presence"
Brad Bishop98e78b72020-06-22 16:12:15 -0400537 },
Brad Bishop66665882020-05-07 17:05:18 -0400538 "PresenceGpio": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400539 "$ref": "#/$defs/Types/PresenceGpio"
Brad Bishop66665882020-05-07 17:05:18 -0400540 },
Brad Bishop66665882020-05-07 17:05:18 -0400541 "Pwm": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400542 "$ref": "#/$defs/Types/Pwm"
Brad Bishop66665882020-05-07 17:05:18 -0400543 },
Brad Bishop66665882020-05-07 17:05:18 -0400544 "ScaleFactor": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400545 "$ref": "#/$defs/Types/ScaleFactor"
Brad Bishop66665882020-05-07 17:05:18 -0400546 },
Bright Cheng00503d02024-08-27 16:17:47 +0800547 "SlotId": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400548 "$ref": "#/$defs/Types/SlotId"
Bright Cheng00503d02024-08-27 16:17:47 +0800549 },
Brad Bishop66665882020-05-07 17:05:18 -0400550 "Thresholds": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400551 "$ref": "#/$defs/Types/Thresholds"
Brad Bishop66665882020-05-07 17:05:18 -0400552 },
Josh Lehanfea4f1a2021-03-17 16:31:33 -0700553 "Timeout": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400554 "$ref": "#/$defs/Types/Timeout"
Josh Lehanfea4f1a2021-03-17 16:31:33 -0700555 },
BonnieLo-wiwynncbaec702022-11-17 15:42:46 +0800556 "maxiout1_Name": {
Alexander Hansenfd401de2025-03-28 12:19:59 +0100557 "$ref": "#/$defs/Types/Name"
BonnieLo-wiwynncbaec702022-11-17 15:42:46 +0800558 },
Ali El-Haj-Mahmoud9f591c22023-05-08 14:10:17 -0400559 "fan1_Name": {
Alexander Hansenfd401de2025-03-28 12:19:59 +0100560 "$ref": "#/$defs/Types/Name"
Chau Lyc1521d12024-10-10 03:38:17 +0000561 },
Sara Lin14c474c2024-04-24 18:01:17 +0800562 "pin_Scale": {
Alexander Hansenfd401de2025-03-28 12:19:59 +0100563 "$ref": "#/$defs/Types/ScaleValue"
Sara Lin14c474c2024-04-24 18:01:17 +0800564 },
Ricky CX Wud509c442024-11-26 10:51:30 +0800565 "pout1_Scale": {
Alexander Hansenfd401de2025-03-28 12:19:59 +0100566 "$ref": "#/$defs/Types/ScaleValue"
Ian Chien7ee8c022024-08-16 15:12:18 +0800567 },
Scron Changf0941252021-01-22 21:02:50 +0800568 "PollRate": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400569 "$ref": "#/$defs/Types/PollRate"
Scron Changf0941252021-01-22 21:02:50 +0800570 },
Brad Bishop66665882020-05-07 17:05:18 -0400571 "Type": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400572 "$ref": "#/$defs/Types/Type"
Brad Bishop66665882020-05-07 17:05:18 -0400573 }
574 },
Patrick Williamsfa8ee872022-12-07 07:00:42 -0600575 "required": ["Name", "Type"],
Brad Bishop66665882020-05-07 17:05:18 -0400576 "type": "object"
577 },
578 "Types": {
579 "Address": {
Patrick Williamsfa8ee872022-12-07 07:00:42 -0600580 "type": ["string", "array"]
Brad Bishop66665882020-05-07 17:05:18 -0400581 },
582 "AllowedFailures": {
583 "type": "number"
584 },
585 "AlphaF": {
586 "type": "number"
587 },
588 "AlphaS": {
589 "type": "number"
590 },
591 "BindConnector": {
592 "type": "string"
593 },
Brad Bishop66665882020-05-07 17:05:18 -0400594 "BridgeGpio": {
Patrick Williamsfa8ee872022-12-07 07:00:42 -0600595 "type": ["number", "array"]
Brad Bishop66665882020-05-07 17:05:18 -0400596 },
597 "Bus": {
Patrick Williamsfa8ee872022-12-07 07:00:42 -0600598 "type": ["string", "number"]
Brad Bishop66665882020-05-07 17:05:18 -0400599 },
600 "C1": {
601 "type": "number"
602 },
603 "C2": {
604 "type": "number"
605 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400606 "CPURequired": {
607 "type": "number"
608 },
Brad Bishop66665882020-05-07 17:05:18 -0400609 "ChannelNames": {
610 "items": {
611 "type": "string"
612 },
613 "type": "array"
614 },
615 "Class": {
616 "type": "string"
617 },
618 "Connector": {
619 "properties": {
620 "Name": {
621 "type": "string"
622 },
623 "Pwm": {
624 "type": "number"
625 },
626 "Tachs": {
627 "items": {
628 "type": "number"
629 },
630 "type": "array"
631 }
632 },
Patrick Williamsfa8ee872022-12-07 07:00:42 -0600633 "required": ["Name", "Pwm", "Tachs"],
Brad Bishop66665882020-05-07 17:05:18 -0400634 "type": "object"
635 },
Matt Spinler2f2f4b82024-08-06 13:38:58 -0500636 "ConnectsToType": {
637 "type": "string"
638 },
Brad Bishop66665882020-05-07 17:05:18 -0400639 "CpuID": {
640 "type": "number"
641 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400642 "CurrScaleFactor": {
643 "type": "number"
644 },
Brad Bishop66665882020-05-07 17:05:18 -0400645 "Direction": {
646 "type": "string"
647 },
648 "DtsCritOffset": {
649 "type": "number"
650 },
Oskar Senftf38b37c2021-09-07 13:07:11 -0400651 "EntityId": {
652 "type": "number"
653 },
654 "EntityInstance": {
655 "type": "number"
656 },
Brad Bishop66665882020-05-07 17:05:18 -0400657 "GpioPins": {
658 "items": {
659 "type": "number"
660 },
661 "type": "array"
662 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400663 "GpioPolarity": {
Patrick Williamsfa8ee872022-12-07 07:00:42 -0600664 "enum": ["Low"]
Brad Bishop98e78b72020-06-22 16:12:15 -0400665 },
Brad Bishop66665882020-05-07 17:05:18 -0400666 "Index": {
667 "type": "number"
668 },
BonnieLo-wiwynncbaec702022-11-17 15:42:46 +0800669 "InScaleFactor": {
670 "type": "number"
671 },
Brad Bishop66665882020-05-07 17:05:18 -0400672 "Labels": {
673 "items": {
674 "type": "string"
675 },
676 "type": "array"
677 },
Brad Bishop66665882020-05-07 17:05:18 -0400678 "MaxCFM": {
679 "type": "number"
680 },
681 "MaxReading": {
682 "type": "number"
683 },
Josh Lehan0836ce02021-01-21 20:32:42 -0800684 "MaxValue": {
685 "type": "number"
686 },
Alexander Hansenfd401de2025-03-28 12:19:59 +0100687 "MinMaxType": {
688 "type": "number"
689 },
Josh Lehan0836ce02021-01-21 20:32:42 -0800690 "Units": {
Rashmica Gupta96a08d82021-07-29 18:53:06 +1000691 "type": "string",
692 "enum": [
693 "DegreesC",
694 "RPMS",
695 "Volts",
696 "Meters",
697 "Amperes",
698 "Watts",
699 "Joules",
700 "Percent",
701 "CFM",
702 "Pascals"
703 ]
Josh Lehan0836ce02021-01-21 20:32:42 -0800704 },
705 "MinReading": {
706 "type": "number"
707 },
708 "MinValue": {
709 "type": "number"
710 },
Brad Bishop66665882020-05-07 17:05:18 -0400711 "Name": {
712 "type": "string"
713 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400714 "OffsetValue": {
715 "type": "number"
716 },
Brad Bishop66665882020-05-07 17:05:18 -0400717 "Polarity": {
Matt Spinlercbf6d012024-01-22 17:12:39 -0600718 "enum": ["High", "Low"]
Brad Bishop66665882020-05-07 17:05:18 -0400719 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400720 "Polling": {
721 "type": "object"
722 },
Brad Bishop66665882020-05-07 17:05:18 -0400723 "PowerFactorMax": {
724 "type": "number"
725 },
726 "PowerFactorMin": {
727 "type": "number"
728 },
Matt Spinler2f2f4b82024-08-06 13:38:58 -0500729 "PowerPort": {
730 "type": "boolean"
731 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400732 "PowerScaleFactor": {
733 "type": "number"
734 },
Brad Bishop66665882020-05-07 17:05:18 -0400735 "PowerState": {
736 "type": "string"
737 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400738 "Presence": {
739 "properties": {
Chris Cain25235d62023-12-07 09:29:32 -0600740 "MonitorType": {
741 "enum": ["Event", "Polling"]
742 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400743 "PinName": {
744 "type": "string"
745 },
746 "Polarity": {
Patrick Williams7d6080d2024-09-04 12:54:45 -0400747 "$ref": "#/$defs/Types/Polarity"
Brad Bishop98e78b72020-06-22 16:12:15 -0400748 }
749 },
750 "type": "object"
751 },
Brad Bishop66665882020-05-07 17:05:18 -0400752 "PresenceGpio": {
Patrick Williamsfa8ee872022-12-07 07:00:42 -0600753 "type": ["number", "array"]
Brad Bishop66665882020-05-07 17:05:18 -0400754 },
Brad Bishop66665882020-05-07 17:05:18 -0400755 "Pwm": {
756 "type": "number"
757 },
758 "QMax": {
759 "type": "number"
760 },
761 "QMin": {
762 "type": "number"
763 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400764 "RedundantCount": {
765 "type": "number"
766 },
Brad Bishop66665882020-05-07 17:05:18 -0400767 "ScaleFactor": {
768 "type": "number"
769 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400770 "ScaleValue": {
771 "type": "number"
772 },
773 "SensorType": {
774 "type": "string"
775 },
Bright Cheng00503d02024-08-27 16:17:47 +0800776 "SlotId": {
777 "type": "string"
778 },
Brad Bishop66665882020-05-07 17:05:18 -0400779 "TachMaxPercent": {
780 "type": "number"
781 },
782 "TachMinPercent": {
783 "type": "number"
784 },
785 "Tachs": {
786 "items": {
Patrick Williamsfa8ee872022-12-07 07:00:42 -0600787 "type": ["number", "string"]
Brad Bishop66665882020-05-07 17:05:18 -0400788 },
789 "type": "array"
790 },
791 "Thresholds": {
792 "items": {
793 "properties": {
794 "Direction": {
795 "type": "string"
796 },
Rashmica Gupta3c543602021-07-29 15:14:36 +1000797 "Hysteresis": {
798 "type": "number"
799 },
Brad Bishop66665882020-05-07 17:05:18 -0400800 "Label": {
801 "type": "string"
802 },
803 "Name": {
804 "type": "string"
805 },
806 "Severity": {
Rashmica Guptae5437572021-07-29 19:12:15 +1000807 "type": "number",
808 "minimum": 0,
809 "maximum": 4
Brad Bishop66665882020-05-07 17:05:18 -0400810 },
811 "Value": {
812 "type": "number"
813 }
814 },
Patrick Williamsfa8ee872022-12-07 07:00:42 -0600815 "required": ["Direction", "Name", "Severity", "Value"],
Brad Bishop66665882020-05-07 17:05:18 -0400816 "type": "object"
817 },
818 "type": "array"
819 },
Josh Lehanfea4f1a2021-03-17 16:31:33 -0700820 "Timeout": {
821 "type": "number"
822 },
Anoop Sa5a716d2020-11-26 18:57:26 +0000823 "HostSMbusIndex": {
824 "type": "number"
825 },
Alexander Hansenfd401de2025-03-28 12:19:59 +0100826 "OffsetType": {
Ian Chien7ee8c022024-08-16 15:12:18 +0800827 "type": "number"
828 },
Scron Changf0941252021-01-22 21:02:50 +0800829 "PollRate": {
830 "type": "number"
831 },
Brad Bishop66665882020-05-07 17:05:18 -0400832 "Type": {
Alexander Hanseneca1c7d2025-03-27 12:19:44 +0100833 "type": "string",
834 "enum": [
835 "TMP75",
836 "TMP100",
837 "TMP112",
838 "TMP175",
839 "TMP411",
840 "TMP421",
841 "TMP432",
842 "TMP464",
Alexander Hanseneca1c7d2025-03-27 12:19:44 +0100843 "ADC",
844 "NCT7802",
845 "NCT6779",
846 "SBRMI",
847 "SBTSI",
848 "smpro_hwmon",
Alexander Hanseneca1c7d2025-03-27 12:19:44 +0100849 "IpmbDevice",
850 "IpmbPowerMonitor",
851 "MOSTempSensor",
Alexander Hanseneca1c7d2025-03-27 12:19:44 +0100852 "EEPROM",
853 "BMC",
854 "Board",
Alexander Hanseneca1c7d2025-03-27 12:19:44 +0100855 "pmbus",
856 "ADC128D818",
857 "INA230",
858 "INA233",
859 "INA238",
860 "SY24655",
861 "MAX5970",
862 "MAX6639",
863 "MAX11615",
864 "MAX11617",
865 "MAX34451",
866 "MAX31725",
867 "ADM1021",
868 "ADM1272",
869 "ADM1266",
870 "ADM1272",
871 "ADM1278",
872 "ADM1281",
873 "MP2971",
874 "MP2973",
875 "MP5023",
876 "MP5990",
877 "XDP710",
878 "IR35221",
879 "IR38060",
880 "IR38164",
881 "IR38263",
882 "PLI1209BC",
883 "PXE1610",
884 "TDA38640",
885 "ISL28022",
886 "ISL69260",
887 "ISL69269",
888 "RTQ6056",
889 "LTC4287",
890 "LTC4282",
891 "EMC1403",
892 "EMC1413",
893 "NVME1000",
894 "XDPE11280",
895 "XDPE132G5C",
896 "XDPE152C4",
897 "XDPE152C4D",
898 "PT5161L",
899 "RAA228000",
900 "RAA228004",
901 "HDC1080",
902 "SI7020",
903 "CRPS185",
904 "DPS310",
905 "LM25066",
906 "W83773G",
907 "UCD90160",
908 "UCD90320",
909 "EmmcDevice",
910 "HostCpuUtilization",
911 "MB Upstream Port",
912 "DownstreamPort",
Alexander Hanseneca1c7d2025-03-27 12:19:44 +0100913 "PSUPresence",
Alexander Hanseneca1c7d2025-03-27 12:19:44 +0100914 "Intel HSBP CPLD",
915 "IntelHsbpFruDevice",
916 "IntelHsbpTempSensor",
917 "GenericSMBusMux",
918 "cffps",
Alexander Hanseneca1c7d2025-03-27 12:19:44 +0100919 "ExternalSensor",
Alexander Hanseneca1c7d2025-03-27 12:19:44 +0100920 "NMSensor",
Alexander Hanseneca1c7d2025-03-27 12:19:44 +0100921 "PSM7",
922 "JC42",
923 "MCP9600"
924 ]
Brad Bishop66665882020-05-07 17:05:18 -0400925 }
926 }
927 }
928}