blob: 6d4ac330cbf1a9313cc4458db6566037c5ad5d41 [file] [log] [blame]
James Feist1e3e6982018-08-03 16:09:28 -07001{
2 "$schema": "http://json-schema.org/schema#",
3 "anyOf": [
4 {
5 "type": "array",
6 "items": {
7 "type": "object",
8 "properties": {
9 "Exposes": {
10 "type": "array",
11 "items": {
12 "type": "object",
13 "properties": {
14 "Address": {
15 "type": "string"
16 },
17 "Bus": {
18 "type": "string"
19 },
20 "Name": {
21 "type": "string"
22 },
23 "Thresholds": {
24 "type": "array",
25 "items": {
26 "type": "object",
27 "properties": {
28 "Direction": {
29 "type": "string"
30 },
31 "Name": {
32 "type": "string"
33 },
34 "Severity": {
35 "type": "integer"
36 },
37 "Value": {
38 "type": "integer"
39 }
40 },
41 "required": [
42 "Direction",
43 "Name",
44 "Severity",
45 "Value"
46 ]
47 }
48 },
49 "Type": {
50 "type": "string"
51 }
52 },
53 "required": [
54 "Address",
55 "Bus",
56 "Name",
57 "Type"
58 ]
59 }
60 },
61 "Name": {
62 "type": "string"
63 },
64 "Probe": {
65 "type": "string"
66 },
67 "xyz.openbmc_project.Inventory.Decorator.Asset": {
68 "type": "object",
69 "properties": {
70 "Manufacturer": {
71 "type": "string"
72 },
73 "Model": {
74 "type": "string"
75 },
76 "PartNumber": {
77 "type": "string"
78 },
79 "SerialNumber": {
80 "type": "string"
81 }
82 },
83 "required": [
84 "Manufacturer",
85 "Model",
86 "PartNumber",
87 "SerialNumber"
88 ]
89 },
90 "Type": {
91 "type": "string"
92 }
93 },
94 "required": [
95 "Exposes",
96 "Name",
97 "Probe",
98 "xyz.openbmc_project.Inventory.Decorator.Asset"
99 ]
100 }
101 },
102 {
103 "type": "object",
104 "properties": {
105 "Exposes": {
106 "type": "array",
107 "items": {
108 "type": "object",
109 "properties": {
110 "Address": {
111 "type": "string"
112 },
113 "Name": {
114 "type": "string"
115 },
116 "Type": {
117 "type": "string"
118 },
119 "Bus": {
120 "type": [
121 "integer",
122 "string"
123 ]
124 },
125 "Thresholds": {
126 "type": "array",
127 "items": {
128 "type": "object",
129 "properties": {
130 "Direction": {
131 "type": "string"
132 },
133 "Name": {
134 "type": "string"
135 },
136 "Severity": {
137 "type": "integer"
138 },
139 "Value": {
140 "type": "number"
141 },
142 "Label": {
143 "type": "string"
144 }
145 },
146 "required": [
147 "Direction",
148 "Name",
149 "Severity",
150 "Value"
151 ]
152 }
153 },
James Feistabb231c2018-09-05 10:31:02 -0700154 "Inputs": {
155 "type": "array",
156 "items": {
157 "type": "string"
158 }
159 },
160 "NegativeHysteresis": {
161 "type": "integer"
162 },
163 "Output": {
164 "type": "array",
165 "items": {
166 "type": "number"
167 }
168 },
169 "PositiveHysteresis": {
170 "type": "integer"
171 },
172 "Reading": {
173 "type": "array",
174 "items": {
175 "type": "number"
176 }
177 },
178 "Zones": {
179 "type": "array",
180 "items": {
181 "type": "string"
182 }
183 },
James Feist1e3e6982018-08-03 16:09:28 -0700184 "BindConnector": {
185 "type": "string"
186 },
187 "Index": {
188 "type": "integer"
189 },
James Feist9c26ef92018-12-11 15:22:59 -0800190 "MaxReading": {
191 "type": "integer"
192 },
James Feist1e3e6982018-08-03 16:09:28 -0700193 "Class": {
194 "type": "string"
195 },
196 "FFGainCoefficient": {
197 "type": "number"
198 },
199 "FFOffCoefficient": {
200 "type": "number"
201 },
202 "ICoefficient": {
203 "type": "number"
204 },
James Feistca3eec82018-08-08 16:51:24 -0700205 "ILimitMax": {
206 "type": "number"
207 },
208 "ILimitMin": {
209 "type": "number"
James Feist1e3e6982018-08-03 16:09:28 -0700210 },
James Feistca3eec82018-08-08 16:51:24 -0700211 "OutLimitMax": {
212 "type": "number"
213 },
214 "OutLimitMin": {
215 "type": "number"
216 },
217 "Outputs": {
218 "type": "array",
219 "items": {
220 "type": "string"
221 }
James Feist1e3e6982018-08-03 16:09:28 -0700222 },
223 "PCoefficient": {
224 "type": "number"
225 },
James Feist1e3e6982018-08-03 16:09:28 -0700226 "SlewNeg": {
227 "type": "number"
228 },
229 "SlewPos": {
230 "type": "number"
231 },
James Feist1e3e6982018-08-03 16:09:28 -0700232 "FailSafePercent": {
233 "type": "integer"
234 },
James Feistca3eec82018-08-08 16:51:24 -0700235 "MinThermalRpm": {
236 "type": "integer"
237 },
James Feist153b5bf2018-11-30 15:11:23 -0800238 "AllowedFailures": {
James Feiste12bdda2018-11-01 14:23:44 -0700239 "type": "integer"
240 },
James Feist15dadaa2019-01-02 16:28:19 -0800241 "PowerState": {
242 "type": "string"
243 },
James Feist153b5bf2018-11-30 15:11:23 -0800244 "AlphaF": {
245 "type": "number"
246 },
247 "AlphaS": {
248 "type": "number"
249 },
250 "PowerFactorMax": {
251 "type": "number"
252 },
253 "PowerFactorMin": {
254 "type": "number"
255 },
256 "QMax": {
257 "type": "number"
258 },
259 "QMin": {
260 "type": "number"
261 },
262 "C1": {
263 "type": "number"
264 },
265 "C2": {
266 "type": "number"
267 },
268 "MaxCFM": {
269 "type": "number"
270 },
271 "TachMaxPercent": {
272 "type": "number"
273 },
274 "TachMinPercent": {
275 "type": "number"
276 },
277 "Tachs": {
278 "type": "array",
279 "items": {
280 "type": [
281 "integer",
282 "string"
283 ]
284 }
285 },
James Feiste12bdda2018-11-01 14:23:44 -0700286 "BindPresence": {
287 "type": "string"
288 },
James Feist1e3e6982018-08-03 16:09:28 -0700289 "Pwm": {
290 "type": "integer"
291 },
292 "Status": {
293 "type": "string"
294 },
James Feist1e3e6982018-08-03 16:09:28 -0700295 "Name1": {
296 "type": "string"
297 },
298 "ScaleFactor": {
299 "type": "number"
300 },
301 "CpuID": {
302 "type": "integer"
James Feistabb231c2018-09-05 10:31:02 -0700303 },
304 "SetPoint": {
305 "type": "number"
James Feist87a50da2018-09-25 13:21:59 -0700306 },
307 "Direction": {
308 "type": "string"
309 },
310 "Polarity": {
311 "type": "string"
James Feist1e3e6982018-08-03 16:09:28 -0700312 }
313 },
314 "required": [
315 "Name",
316 "Type"
317 ]
318 }
319 },
320 "Name": {
321 "type": "string"
322 },
323 "Probe": {
324 "anyOf": [
325 {
326 "type": "string"
327 },
328 {
329 "type": "array",
330 "items": {
331 "type": "string"
332 }
333 }
334 ]
335 },
336 "xyz.openbmc_project.Inventory.Decorator.Asset": {
337 "type": "object",
338 "properties": {
339 "Manufacturer": {
340 "type": "string"
341 },
342 "Model": {
343 "type": "string"
344 },
345 "PartNumber": {
346 "type": "string"
347 },
348 "SerialNumber": {
349 "type": "string"
350 }
351 },
352 "required": [
353 "Manufacturer",
354 "Model",
355 "PartNumber",
356 "SerialNumber"
357 ]
358 },
359 "Type": {
360 "type": "string"
361 }
362 },
363 "required": [
364 "Exposes",
365 "Name",
366 "Probe"
367 ]
368 }
369 ]
370}