James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 1 | { |
| 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 Feist | abb231c | 2018-09-05 10:31:02 -0700 | [diff] [blame] | 154 | "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 Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 184 | "BindConnector": { |
| 185 | "type": "string" |
| 186 | }, |
| 187 | "Index": { |
| 188 | "type": "integer" |
| 189 | }, |
| 190 | "Class": { |
| 191 | "type": "string" |
| 192 | }, |
| 193 | "FFGainCoefficient": { |
| 194 | "type": "number" |
| 195 | }, |
| 196 | "FFOffCoefficient": { |
| 197 | "type": "number" |
| 198 | }, |
| 199 | "ICoefficient": { |
| 200 | "type": "number" |
| 201 | }, |
James Feist | ca3eec8 | 2018-08-08 16:51:24 -0700 | [diff] [blame] | 202 | "ILimitMax": { |
| 203 | "type": "number" |
| 204 | }, |
| 205 | "ILimitMin": { |
| 206 | "type": "number" |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 207 | }, |
James Feist | ca3eec8 | 2018-08-08 16:51:24 -0700 | [diff] [blame] | 208 | "OutLimitMax": { |
| 209 | "type": "number" |
| 210 | }, |
| 211 | "OutLimitMin": { |
| 212 | "type": "number" |
| 213 | }, |
| 214 | "Outputs": { |
| 215 | "type": "array", |
| 216 | "items": { |
| 217 | "type": "string" |
| 218 | } |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 219 | }, |
| 220 | "PCoefficient": { |
| 221 | "type": "number" |
| 222 | }, |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 223 | "SlewNeg": { |
| 224 | "type": "number" |
| 225 | }, |
| 226 | "SlewPos": { |
| 227 | "type": "number" |
| 228 | }, |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 229 | "FailSafePercent": { |
| 230 | "type": "integer" |
| 231 | }, |
James Feist | ca3eec8 | 2018-08-08 16:51:24 -0700 | [diff] [blame] | 232 | "MinThermalRpm": { |
| 233 | "type": "integer" |
| 234 | }, |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 235 | "Pwm": { |
| 236 | "type": "integer" |
| 237 | }, |
| 238 | "Status": { |
| 239 | "type": "string" |
| 240 | }, |
| 241 | "Tachs": { |
| 242 | "type": "array", |
| 243 | "items": { |
| 244 | "type": "integer" |
| 245 | } |
| 246 | }, |
| 247 | "Name1": { |
| 248 | "type": "string" |
| 249 | }, |
| 250 | "ScaleFactor": { |
| 251 | "type": "number" |
| 252 | }, |
| 253 | "CpuID": { |
| 254 | "type": "integer" |
James Feist | abb231c | 2018-09-05 10:31:02 -0700 | [diff] [blame] | 255 | }, |
| 256 | "SetPoint": { |
| 257 | "type": "number" |
James Feist | 87a50da | 2018-09-25 13:21:59 -0700 | [diff] [blame] | 258 | }, |
| 259 | "Direction": { |
| 260 | "type": "string" |
| 261 | }, |
| 262 | "Polarity": { |
| 263 | "type": "string" |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 264 | } |
| 265 | }, |
| 266 | "required": [ |
| 267 | "Name", |
| 268 | "Type" |
| 269 | ] |
| 270 | } |
| 271 | }, |
| 272 | "Name": { |
| 273 | "type": "string" |
| 274 | }, |
| 275 | "Probe": { |
| 276 | "anyOf": [ |
| 277 | { |
| 278 | "type": "string" |
| 279 | }, |
| 280 | { |
| 281 | "type": "array", |
| 282 | "items": { |
| 283 | "type": "string" |
| 284 | } |
| 285 | } |
| 286 | ] |
| 287 | }, |
| 288 | "xyz.openbmc_project.Inventory.Decorator.Asset": { |
| 289 | "type": "object", |
| 290 | "properties": { |
| 291 | "Manufacturer": { |
| 292 | "type": "string" |
| 293 | }, |
| 294 | "Model": { |
| 295 | "type": "string" |
| 296 | }, |
| 297 | "PartNumber": { |
| 298 | "type": "string" |
| 299 | }, |
| 300 | "SerialNumber": { |
| 301 | "type": "string" |
| 302 | } |
| 303 | }, |
| 304 | "required": [ |
| 305 | "Manufacturer", |
| 306 | "Model", |
| 307 | "PartNumber", |
| 308 | "SerialNumber" |
| 309 | ] |
| 310 | }, |
| 311 | "Type": { |
| 312 | "type": "string" |
| 313 | } |
| 314 | }, |
| 315 | "required": [ |
| 316 | "Exposes", |
| 317 | "Name", |
| 318 | "Probe" |
| 319 | ] |
| 320 | } |
| 321 | ] |
| 322 | } |