blob: 4390690de8eb8b3109a8a68d35db1519b7c5a7a0 [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 },
Anoop Sa5a716d2020-11-26 18:57:26 +0000159 "HostSMbusIndex": {
160 "$ref": "#/definitions/Types/HostSMbusIndex"
161 },
Brad Bishop66665882020-05-07 17:05:18 -0400162 "Type": {
163 "$ref": "#/definitions/Types/Type"
Brad Bishop66665882020-05-07 17:05:18 -0400164 }
165 },
166 "required": [
167 "Name",
168 "Type"
169 ],
170 "type": "object"
171 },
172 "Types": {
173 "Address": {
Brad Bishopa1427092020-05-07 17:45:28 -0400174 "type": [
175 "string",
176 "array"
177 ]
Brad Bishop66665882020-05-07 17:05:18 -0400178 },
179 "AllowedFailures": {
180 "type": "number"
181 },
182 "AlphaF": {
183 "type": "number"
184 },
185 "AlphaS": {
186 "type": "number"
187 },
188 "BindConnector": {
189 "type": "string"
190 },
191 "BindPresence": {
192 "type": "string"
193 },
194 "BridgeGpio": {
Brad Bishopa1427092020-05-07 17:45:28 -0400195 "type": [
196 "number",
197 "array"
198 ]
Brad Bishop66665882020-05-07 17:05:18 -0400199 },
200 "Bus": {
201 "type": [
202 "string",
203 "number"
204 ]
205 },
206 "C1": {
207 "type": "number"
208 },
209 "C2": {
210 "type": "number"
211 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400212 "CPURequired": {
213 "type": "number"
214 },
Brad Bishop66665882020-05-07 17:05:18 -0400215 "ChannelNames": {
216 "items": {
217 "type": "string"
218 },
219 "type": "array"
220 },
221 "Class": {
222 "type": "string"
223 },
224 "Connector": {
225 "properties": {
226 "Name": {
227 "type": "string"
228 },
229 "Pwm": {
230 "type": "number"
231 },
232 "Tachs": {
233 "items": {
234 "type": "number"
235 },
236 "type": "array"
237 }
238 },
239 "required": [
240 "Name",
241 "Pwm",
242 "Tachs"
243 ],
244 "type": "object"
245 },
246 "CpuID": {
247 "type": "number"
248 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400249 "CurrScaleFactor": {
250 "type": "number"
251 },
Brad Bishop66665882020-05-07 17:05:18 -0400252 "Direction": {
253 "type": "string"
254 },
255 "DtsCritOffset": {
256 "type": "number"
257 },
Brad Bishop66665882020-05-07 17:05:18 -0400258 "FaultIndex": {
259 "type": "number"
260 },
261 "FaultType": {
262 "type": "string"
263 },
264 "GpioPins": {
265 "items": {
266 "type": "number"
267 },
268 "type": "array"
269 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400270 "GpioPolarity": {
271 "enum": [
272 "Low"
273 ]
274 },
Brad Bishop66665882020-05-07 17:05:18 -0400275 "Index": {
276 "type": "number"
277 },
Brad Bishop66665882020-05-07 17:05:18 -0400278 "Labels": {
279 "items": {
280 "type": "string"
281 },
282 "type": "array"
283 },
284 "LedGpioPins": {
285 "items": {
286 "type": "number"
287 },
288 "type": "array"
289 },
290 "MaxCFM": {
291 "type": "number"
292 },
293 "MaxReading": {
294 "type": "number"
295 },
Brad Bishop66665882020-05-07 17:05:18 -0400296 "Name": {
297 "type": "string"
298 },
299 "Name1": {
300 "type": "string"
301 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400302 "OffsetValue": {
303 "type": "number"
304 },
Brad Bishop66665882020-05-07 17:05:18 -0400305 "Polarity": {
306 "type": "string"
307 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400308 "Polling": {
309 "type": "object"
310 },
Brad Bishop66665882020-05-07 17:05:18 -0400311 "PowerFactorMax": {
312 "type": "number"
313 },
314 "PowerFactorMin": {
315 "type": "number"
316 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400317 "PowerScaleFactor": {
318 "type": "number"
319 },
Brad Bishop66665882020-05-07 17:05:18 -0400320 "PowerState": {
321 "type": "string"
322 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400323 "Presence": {
324 "properties": {
325 "PinName": {
326 "type": "string"
327 },
328 "Polarity": {
329 "enum": "Low"
330 }
331 },
332 "type": "object"
333 },
Brad Bishop66665882020-05-07 17:05:18 -0400334 "PresenceGpio": {
Brad Bishopa1427092020-05-07 17:45:28 -0400335 "type": [
336 "number",
337 "array"
338 ]
Brad Bishop66665882020-05-07 17:05:18 -0400339 },
Brad Bishop66665882020-05-07 17:05:18 -0400340 "Pwm": {
341 "type": "number"
342 },
343 "QMax": {
344 "type": "number"
345 },
346 "QMin": {
347 "type": "number"
348 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400349 "RedundantCount": {
350 "type": "number"
351 },
Brad Bishop66665882020-05-07 17:05:18 -0400352 "ScaleFactor": {
353 "type": "number"
354 },
Brad Bishop98e78b72020-06-22 16:12:15 -0400355 "ScaleValue": {
356 "type": "number"
357 },
358 "SensorType": {
359 "type": "string"
360 },
Brad Bishop66665882020-05-07 17:05:18 -0400361 "TachMaxPercent": {
362 "type": "number"
363 },
364 "TachMinPercent": {
365 "type": "number"
366 },
367 "Tachs": {
368 "items": {
369 "type": [
370 "number",
371 "string"
372 ]
373 },
374 "type": "array"
375 },
376 "Thresholds": {
377 "items": {
378 "properties": {
379 "Direction": {
380 "type": "string"
381 },
382 "Label": {
383 "type": "string"
384 },
385 "Name": {
386 "type": "string"
387 },
388 "Severity": {
389 "type": "number"
390 },
391 "Value": {
392 "type": "number"
393 }
394 },
395 "required": [
396 "Direction",
397 "Name",
398 "Severity",
399 "Value"
400 ],
401 "type": "object"
402 },
403 "type": "array"
404 },
Anoop Sa5a716d2020-11-26 18:57:26 +0000405 "HostSMbusIndex": {
406 "type": "number"
407 },
Brad Bishop66665882020-05-07 17:05:18 -0400408 "Type": {
409 "type": "string"
Brad Bishop66665882020-05-07 17:05:18 -0400410 }
411 }
412 }
413}