Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 1 | { |
| 2 | "$id": "http://redfish.dmtf.org/schemas/v1/Outlet.v1_0_0.json", |
| 3 | "$ref": "#/definitions/Outlet", |
| 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
| 5 | "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
| 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
| 9 | "description": "The available actions for this resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this resource.", |
| 11 | "patternProperties": { |
| 12 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
| 17 | "integer", |
| 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "#Outlet.PowerControl": { |
| 27 | "$ref": "#/definitions/PowerControl" |
| 28 | }, |
| 29 | "#Outlet.ResetMetrics": { |
| 30 | "$ref": "#/definitions/ResetMetrics" |
| 31 | }, |
| 32 | "Oem": { |
| 33 | "$ref": "#/definitions/OemActions", |
| 34 | "description": "The available OEM-specific actions for this resource.", |
| 35 | "longDescription": "This property shall contain the available OEM-specific actions for this resource." |
| 36 | } |
| 37 | }, |
| 38 | "type": "object" |
| 39 | }, |
| 40 | "CurrentSensors": { |
| 41 | "additionalProperties": false, |
| 42 | "description": "The current sensors for this outlet.", |
| 43 | "longDescription": "This type shall contain properties that describe current sensor readings for an outlet.", |
| 44 | "patternProperties": { |
| 45 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 46 | "description": "This property shall specify a valid odata or Redfish property.", |
| 47 | "type": [ |
| 48 | "array", |
| 49 | "boolean", |
| 50 | "integer", |
| 51 | "number", |
| 52 | "null", |
| 53 | "object", |
| 54 | "string" |
| 55 | ] |
| 56 | } |
| 57 | }, |
| 58 | "properties": { |
| 59 | "Line1": { |
| 60 | "anyOf": [ |
| 61 | { |
| 62 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt" |
| 63 | }, |
| 64 | { |
| 65 | "type": "null" |
| 66 | } |
| 67 | ], |
| 68 | "description": "Line 1 current sensor.", |
| 69 | "excerptCopy": "SensorCurrentExcerpt", |
| 70 | "longDescription": "This property shall contain a CurrentSensor excerpt that measures current for L1. This property shall not be present if the outlet does not include an L1 measurement.", |
| 71 | "readonly": true |
| 72 | }, |
| 73 | "Line2": { |
| 74 | "anyOf": [ |
| 75 | { |
| 76 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt" |
| 77 | }, |
| 78 | { |
| 79 | "type": "null" |
| 80 | } |
| 81 | ], |
| 82 | "description": "Line 2 current sensor.", |
| 83 | "excerptCopy": "SensorCurrentExcerpt", |
| 84 | "longDescription": "This property shall contain a CurrentSensor excerpt that measures current for L2. This property shall not be present if the outlet does not include an L2 measurement.", |
| 85 | "readonly": true |
| 86 | }, |
| 87 | "Line3": { |
| 88 | "anyOf": [ |
| 89 | { |
| 90 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt" |
| 91 | }, |
| 92 | { |
| 93 | "type": "null" |
| 94 | } |
| 95 | ], |
| 96 | "description": "Line 3 current sensor.", |
| 97 | "excerptCopy": "SensorCurrentExcerpt", |
| 98 | "longDescription": "This property shall contain a CurrentSensor excerpt that measures current for L3. This property shall not be present if the outlet does not include an L3 measurement.", |
| 99 | "readonly": true |
| 100 | }, |
| 101 | "Neutral": { |
| 102 | "anyOf": [ |
| 103 | { |
| 104 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt" |
| 105 | }, |
| 106 | { |
| 107 | "type": "null" |
| 108 | } |
| 109 | ], |
| 110 | "description": "Neutral line current sensor.", |
| 111 | "excerptCopy": "SensorCurrentExcerpt", |
| 112 | "longDescription": "This property shall contain a CurrentSensor excerpt that measures current for the Neutral line. This property shall not be present if the outlet does not include a Neutral measurement.", |
| 113 | "readonly": true |
| 114 | } |
| 115 | }, |
| 116 | "type": "object" |
| 117 | }, |
| 118 | "Links": { |
| 119 | "additionalProperties": false, |
| 120 | "description": "The links to other resources that are related to this resource.", |
| 121 | "longDescription": "This Redfish Specification-described type shall contain links to resources that are related to but are not contained by or subordinate to this resource.", |
| 122 | "patternProperties": { |
| 123 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 124 | "description": "This property shall specify a valid odata or Redfish property.", |
| 125 | "type": [ |
| 126 | "array", |
| 127 | "boolean", |
| 128 | "integer", |
| 129 | "number", |
| 130 | "null", |
| 131 | "object", |
| 132 | "string" |
| 133 | ] |
| 134 | } |
| 135 | }, |
| 136 | "properties": { |
| 137 | "BranchCircuit": { |
| 138 | "anyOf": [ |
| 139 | { |
| 140 | "$ref": "http://redfish.dmtf.org/schemas/v1/Circuit.json#/definitions/Circuit" |
| 141 | }, |
| 142 | { |
| 143 | "type": "null" |
| 144 | } |
| 145 | ], |
| 146 | "description": "A reference to the branch circuit related to this outlet.", |
| 147 | "longDescription": "This property shall contain a link to a resource of type Circuit that represent the branch circuit associated with this outlet.", |
| 148 | "readonly": true |
| 149 | }, |
| 150 | "Oem": { |
| 151 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 152 | "description": "The OEM extension property.", |
| 153 | "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements." |
| 154 | } |
| 155 | }, |
| 156 | "type": "object" |
| 157 | }, |
| 158 | "OemActions": { |
| 159 | "additionalProperties": true, |
| 160 | "description": "The available OEM-specific actions for this resource.", |
| 161 | "longDescription": "This type shall contain the available OEM-specific actions for this resource.", |
| 162 | "patternProperties": { |
| 163 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 164 | "description": "This property shall specify a valid odata or Redfish property.", |
| 165 | "type": [ |
| 166 | "array", |
| 167 | "boolean", |
| 168 | "integer", |
| 169 | "number", |
| 170 | "null", |
| 171 | "object", |
| 172 | "string" |
| 173 | ] |
| 174 | } |
| 175 | }, |
| 176 | "properties": {}, |
| 177 | "type": "object" |
| 178 | }, |
| 179 | "Outlet": { |
| 180 | "additionalProperties": false, |
| 181 | "description": "This is the schema definition for an electrical outlet.", |
| 182 | "longDescription": "This resource shall be used to represent an electrical outlet for a Redfish implementation.", |
| 183 | "patternProperties": { |
| 184 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 185 | "description": "This property shall specify a valid odata or Redfish property.", |
| 186 | "type": [ |
| 187 | "array", |
| 188 | "boolean", |
| 189 | "integer", |
| 190 | "number", |
| 191 | "null", |
| 192 | "object", |
| 193 | "string" |
| 194 | ] |
| 195 | } |
| 196 | }, |
| 197 | "properties": { |
| 198 | "@odata.context": { |
| 199 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
| 200 | }, |
| 201 | "@odata.etag": { |
| 202 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
| 203 | }, |
| 204 | "@odata.id": { |
| 205 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
| 206 | }, |
| 207 | "@odata.type": { |
| 208 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
| 209 | }, |
| 210 | "Actions": { |
| 211 | "$ref": "#/definitions/Actions", |
| 212 | "description": "The available actions for this resource.", |
| 213 | "longDescription": "This property shall contain the available actions for this resource." |
| 214 | }, |
| 215 | "CurrentAmps": { |
| 216 | "anyOf": [ |
| 217 | { |
| 218 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt" |
| 219 | }, |
| 220 | { |
| 221 | "type": "null" |
| 222 | } |
| 223 | ], |
| 224 | "description": "The current reading for this single phase outlet.", |
| 225 | "excerptCopy": "SensorCurrentExcerpt", |
| 226 | "longDescription": "This property shall contain the current, measured in Amperes, for this single phase outlet. This property shall not appear in resource instances representing poly-phase outlets.", |
| 227 | "readonly": true |
| 228 | }, |
| 229 | "Description": { |
| 230 | "anyOf": [ |
| 231 | { |
| 232 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 233 | }, |
| 234 | { |
| 235 | "type": "null" |
| 236 | } |
| 237 | ], |
| 238 | "readonly": true |
| 239 | }, |
| 240 | "ElectricalContext": { |
| 241 | "anyOf": [ |
| 242 | { |
| 243 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/ElectricalContext" |
| 244 | }, |
| 245 | { |
| 246 | "type": "null" |
| 247 | } |
| 248 | ], |
| 249 | "description": "The combination of current-carrying conductors.", |
| 250 | "longDescription": "This property shall contain the combination of current-carrying conductors that distribute power.", |
| 251 | "readonly": true |
| 252 | }, |
| 253 | "EnergykWh": { |
| 254 | "anyOf": [ |
| 255 | { |
| 256 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorEnergykWhExcerpt" |
| 257 | }, |
| 258 | { |
| 259 | "type": "null" |
| 260 | } |
| 261 | ], |
| 262 | "description": "The energy reading for this outlet.", |
| 263 | "excerptCopy": "SensorEnergykWhExcerpt", |
| 264 | "longDescription": "This property shall contain the total energy, measured in kilowatt-hours (kW.h), for this outlet, that represents the `Total` ElectricalContext sensor when multiple energy sensors exist for this outlet.", |
| 265 | "readonly": true |
| 266 | }, |
| 267 | "FrequencyHz": { |
| 268 | "anyOf": [ |
| 269 | { |
| 270 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" |
| 271 | }, |
| 272 | { |
| 273 | "type": "null" |
| 274 | } |
| 275 | ], |
| 276 | "description": "The frequency reading for this outlet.", |
| 277 | "excerptCopy": "SensorExcerpt", |
| 278 | "longDescription": "This property shall contain the frequency sensor for this outlet.", |
| 279 | "readonly": true |
| 280 | }, |
| 281 | "Id": { |
| 282 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 283 | "readonly": true |
| 284 | }, |
| 285 | "IndicatorLED": { |
| 286 | "anyOf": [ |
| 287 | { |
| 288 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/IndicatorLED" |
| 289 | }, |
| 290 | { |
| 291 | "type": "null" |
| 292 | } |
| 293 | ], |
| 294 | "description": "The state of the indicator LED, which identifies the outlet.", |
| 295 | "longDescription": "This property shall contain the indicator light state for the indicator light associated with this outlet.", |
| 296 | "readonly": false |
| 297 | }, |
| 298 | "Links": { |
| 299 | "$ref": "#/definitions/Links", |
| 300 | "description": "The links to other resources that are related to this resource.", |
| 301 | "longDescription": "This property shall contain links to resources that are related to but are not contained by or subordinate to this resource." |
| 302 | }, |
| 303 | "Name": { |
| 304 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 305 | "readonly": true |
| 306 | }, |
| 307 | "NominalVoltage": { |
| 308 | "anyOf": [ |
| 309 | { |
| 310 | "$ref": "http://redfish.dmtf.org/schemas/v1/Circuit.json#/definitions/NominalVoltageType" |
| 311 | }, |
| 312 | { |
| 313 | "type": "null" |
| 314 | } |
| 315 | ], |
| 316 | "description": "The nominal voltage for this outlet.", |
| 317 | "longDescription": "This property shall contain the nominal voltage for this outlet, in Volts.", |
| 318 | "readonly": true |
| 319 | }, |
| 320 | "Oem": { |
| 321 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 322 | "description": "The OEM extension property.", |
| 323 | "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." |
| 324 | }, |
| 325 | "OutletType": { |
| 326 | "anyOf": [ |
| 327 | { |
| 328 | "$ref": "http://redfish.dmtf.org/schemas/v1/Outlet.json#/definitions/ReceptacleType" |
| 329 | }, |
| 330 | { |
| 331 | "type": "null" |
| 332 | } |
| 333 | ], |
| 334 | "description": "The type of receptacle according to NEMA, IEC, or regional standards.", |
| 335 | "longDescription": "This property shall contain the type of physical receptacle used for this outlet, as defined by IEC, NEMA, or regional standard.", |
| 336 | "readonly": true |
| 337 | }, |
| 338 | "PhaseWiringType": { |
| 339 | "anyOf": [ |
| 340 | { |
| 341 | "$ref": "http://redfish.dmtf.org/schemas/v1/Circuit.json#/definitions/PhaseWiringType" |
| 342 | }, |
| 343 | { |
| 344 | "type": "null" |
| 345 | } |
| 346 | ], |
| 347 | "description": "The number of ungrounded current-carrying conductors (phases) and the total number of conductors (wires).", |
| 348 | "longDescription": "This property shall contain the number of ungrounded current-carrying conductors (phases) and the total number of conductors (wires).", |
| 349 | "readonly": true |
| 350 | }, |
| 351 | "PolyPhaseCurrentAmps": { |
| 352 | "anyOf": [ |
| 353 | { |
| 354 | "$ref": "#/definitions/CurrentSensors" |
| 355 | }, |
| 356 | { |
| 357 | "type": "null" |
| 358 | } |
| 359 | ], |
| 360 | "description": "The current readings for this outlet.", |
| 361 | "longDescription": "This property shall contain the current sensor(s) for this outlet. For single phase outlets this property shall contain a duplicate copy of the current sensor referenced in the CurrentSensor property, if present. For poly-phase outlets this property should contain multiple current sensor readings used to fully describe the outlet." |
| 362 | }, |
| 363 | "PolyPhaseVoltage": { |
| 364 | "anyOf": [ |
| 365 | { |
| 366 | "$ref": "#/definitions/VoltageSensors" |
| 367 | }, |
| 368 | { |
| 369 | "type": "null" |
| 370 | } |
| 371 | ], |
| 372 | "description": "The voltage readings for this outlet.", |
| 373 | "longDescription": "This property shall contain the voltage sensor(s) for this outlet. For single phase outlets this property shall contain a duplicate copy of the voltage sensor referenced in the VoltageSensor property, if present. For poly-phase outlets this property should contain multiple voltage sensor readings used to fully describe the outlet." |
| 374 | }, |
| 375 | "PowerCycleDelaySeconds": { |
| 376 | "description": "The number of seconds to delay power on after a PowerControl action to cycle power. Zero seconds indicates no delay.", |
| 377 | "longDescription": "This property shall contain the number of seconds to delay power on after a PowerControl action to cycle power. The value `0` shall indicate no delay to power on.", |
| 378 | "readonly": false, |
| 379 | "type": [ |
| 380 | "number", |
| 381 | "null" |
| 382 | ] |
| 383 | }, |
| 384 | "PowerEnabled": { |
| 385 | "description": "Indicates if the outlet can be powered.", |
| 386 | "longDescription": "This property shall indicate the power enable state of the outlet. The value `true` shall indicate that the outlet may be powered on, and `false` shall indicate that the outlet cannot be powered.", |
| 387 | "readonly": true, |
| 388 | "type": [ |
| 389 | "boolean", |
| 390 | "null" |
| 391 | ] |
| 392 | }, |
| 393 | "PowerOffDelaySeconds": { |
| 394 | "description": "The number of seconds to delay power off after a PowerControl action. Zero seconds indicates no delay to power off.", |
| 395 | "longDescription": "This property shall contain the number of seconds to delay power off after a PowerControl action. The value `0` shall indicate no delay to power off.", |
| 396 | "readonly": false, |
| 397 | "type": [ |
| 398 | "number", |
| 399 | "null" |
| 400 | ] |
| 401 | }, |
| 402 | "PowerOnDelaySeconds": { |
| 403 | "description": "The number of seconds to delay power up after a power cycle or a PowerControl action. Zero seconds indicates no delay to power up.", |
| 404 | "longDescription": "This property shall contain the number of seconds to delay power up after a power cycle or a PowerControl action. The value `0` shall indicate no delay to power up.", |
| 405 | "readonly": false, |
| 406 | "type": [ |
| 407 | "number", |
| 408 | "null" |
| 409 | ] |
| 410 | }, |
| 411 | "PowerRestoreDelaySeconds": { |
| 412 | "description": "The number of seconds to delay power on after power has been restored. Zero seconds indicates no delay.", |
| 413 | "longDescription": "This property shall contain the number of seconds to delay power on after a power fault. The value `0` shall indicate no delay to power on.", |
| 414 | "readonly": false, |
| 415 | "type": [ |
| 416 | "number", |
| 417 | "null" |
| 418 | ] |
| 419 | }, |
| 420 | "PowerRestorePolicy": { |
| 421 | "$ref": "http://redfish.dmtf.org/schemas/v1/Circuit.json#/definitions/PowerRestorePolicyTypes", |
| 422 | "description": "The desired power state of the outlet when power is restored after a power loss.", |
| 423 | "longDescription": "This property shall contain the desired PowerState of the outlet when power is applied. The value `LastState` shall return the outlet to the PowerState it was in when power was lost.", |
| 424 | "readonly": false |
| 425 | }, |
| 426 | "PowerState": { |
| 427 | "anyOf": [ |
| 428 | { |
| 429 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/PowerState" |
| 430 | }, |
| 431 | { |
| 432 | "type": "null" |
| 433 | } |
| 434 | ], |
| 435 | "description": "The power state of the outlet.", |
| 436 | "longDescription": "This property shall contain the power state of the outlet.", |
| 437 | "readonly": true |
| 438 | }, |
| 439 | "PowerWatts": { |
| 440 | "anyOf": [ |
| 441 | { |
| 442 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorPowerExcerpt" |
| 443 | }, |
| 444 | { |
| 445 | "type": "null" |
| 446 | } |
| 447 | ], |
| 448 | "description": "The power reading for this outlet.", |
| 449 | "excerptCopy": "SensorPowerExcerpt", |
| 450 | "longDescription": "This property shall contain the total power, measured in Watts, for this outlet, that represents the `Total` ElectricalContext sensor when multiple power sensors exist for this outlet.", |
| 451 | "readonly": true |
| 452 | }, |
| 453 | "RatedCurrentAmps": { |
| 454 | "description": "The rated maximum current allowed for this outlet.", |
| 455 | "longDescription": "This property shall contain the rated maximum current for this outlet, in Amps, after any required de-rating, due to safety agency or other regulatory requirements, has been applied.", |
| 456 | "minimum": 0, |
| 457 | "readonly": true, |
| 458 | "type": [ |
| 459 | "number", |
| 460 | "null" |
| 461 | ], |
| 462 | "units": "A" |
| 463 | }, |
| 464 | "Status": { |
| 465 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
| 466 | "description": "The status and health of the resource and its subordinate or dependent resources.", |
| 467 | "longDescription": "This property shall contain any status or health properties of the resource." |
| 468 | }, |
| 469 | "Voltage": { |
| 470 | "anyOf": [ |
| 471 | { |
| 472 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt" |
| 473 | }, |
| 474 | { |
| 475 | "type": "null" |
| 476 | } |
| 477 | ], |
| 478 | "description": "The voltage reading for this single phase outlet.", |
| 479 | "excerptCopy": "SensorVoltageExcerpt", |
| 480 | "longDescription": "This property shall contain the voltage, measured in Volts, for this single phase outlet. This property shall not appear in resource instances representing poly-phase outlets.", |
| 481 | "readonly": true |
| 482 | }, |
| 483 | "VoltageType": { |
| 484 | "anyOf": [ |
| 485 | { |
| 486 | "$ref": "#/definitions/VoltageType" |
| 487 | }, |
| 488 | { |
| 489 | "type": "null" |
| 490 | } |
| 491 | ], |
| 492 | "description": "The type of voltage applied to the outlet.", |
| 493 | "longDescription": "This property shall contain the type of voltage applied to the outlet.", |
| 494 | "readonly": true |
| 495 | } |
| 496 | }, |
| 497 | "required": [ |
| 498 | "@odata.id", |
| 499 | "@odata.type", |
| 500 | "Id", |
| 501 | "Name" |
| 502 | ], |
| 503 | "type": "object" |
| 504 | }, |
| 505 | "PowerControl": { |
| 506 | "additionalProperties": false, |
| 507 | "description": "This action turns the outlet on or off.", |
| 508 | "longDescription": "This action shall control the power state of the outlet.", |
| 509 | "parameters": { |
| 510 | "PowerState": { |
| 511 | "$ref": "http://redfish.dmtf.org/schemas/v1/Outlet.json#/definitions/PowerState", |
| 512 | "description": "The desired power state of the outlet.", |
| 513 | "longDescription": "This parameter shall contain the desired power state of the outlet." |
| 514 | } |
| 515 | }, |
| 516 | "patternProperties": { |
| 517 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 518 | "description": "This property shall specify a valid odata or Redfish property.", |
| 519 | "type": [ |
| 520 | "array", |
| 521 | "boolean", |
| 522 | "integer", |
| 523 | "number", |
| 524 | "null", |
| 525 | "object", |
| 526 | "string" |
| 527 | ] |
| 528 | } |
| 529 | }, |
| 530 | "properties": { |
| 531 | "target": { |
| 532 | "description": "Link to invoke action", |
| 533 | "format": "uri-reference", |
| 534 | "type": "string" |
| 535 | }, |
| 536 | "title": { |
| 537 | "description": "Friendly action name", |
| 538 | "type": "string" |
| 539 | } |
| 540 | }, |
| 541 | "type": "object" |
| 542 | }, |
| 543 | "ResetMetrics": { |
| 544 | "additionalProperties": false, |
| 545 | "description": "This action resets metrics related to this outlet.", |
| 546 | "longDescription": "This action shall reset any time intervals or counted values for this outlet.", |
| 547 | "parameters": {}, |
| 548 | "patternProperties": { |
| 549 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 550 | "description": "This property shall specify a valid odata or Redfish property.", |
| 551 | "type": [ |
| 552 | "array", |
| 553 | "boolean", |
| 554 | "integer", |
| 555 | "number", |
| 556 | "null", |
| 557 | "object", |
| 558 | "string" |
| 559 | ] |
| 560 | } |
| 561 | }, |
| 562 | "properties": { |
| 563 | "target": { |
| 564 | "description": "Link to invoke action", |
| 565 | "format": "uri-reference", |
| 566 | "type": "string" |
| 567 | }, |
| 568 | "title": { |
| 569 | "description": "Friendly action name", |
| 570 | "type": "string" |
| 571 | } |
| 572 | }, |
| 573 | "type": "object" |
| 574 | }, |
| 575 | "VoltageSensors": { |
| 576 | "additionalProperties": false, |
| 577 | "description": "The voltage readings for this outlet.", |
| 578 | "longDescription": "This type shall contain properties that describe voltage sensor readings for an outlet.", |
| 579 | "patternProperties": { |
| 580 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 581 | "description": "This property shall specify a valid odata or Redfish property.", |
| 582 | "type": [ |
| 583 | "array", |
| 584 | "boolean", |
| 585 | "integer", |
| 586 | "number", |
| 587 | "null", |
| 588 | "object", |
| 589 | "string" |
| 590 | ] |
| 591 | } |
| 592 | }, |
| 593 | "properties": { |
| 594 | "Line1ToLine2": { |
| 595 | "anyOf": [ |
| 596 | { |
| 597 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt" |
| 598 | }, |
| 599 | { |
| 600 | "type": "null" |
| 601 | } |
| 602 | ], |
| 603 | "description": "The Line 1 to Line 2 voltage reading for this outlet.", |
| 604 | "excerptCopy": "SensorVoltageExcerpt", |
| 605 | "longDescription": "This property shall contain a VoltageSensor excerpt that measures voltage between L1 and L2. This property shall not be present if the outlet does not include an L1-L2 measurement.", |
| 606 | "readonly": true |
| 607 | }, |
| 608 | "Line1ToNeutral": { |
| 609 | "anyOf": [ |
| 610 | { |
| 611 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt" |
| 612 | }, |
| 613 | { |
| 614 | "type": "null" |
| 615 | } |
| 616 | ], |
| 617 | "description": "The Line 1 to Neutral voltage reading for this outlet.", |
| 618 | "excerptCopy": "SensorVoltageExcerpt", |
| 619 | "longDescription": "This property shall contain a VoltageSensor excerpt that measures voltage between L1 and Neutral. This property shall not be present if the outlet does not include an L1-Neutral measurement.", |
| 620 | "readonly": true |
| 621 | }, |
| 622 | "Line2ToLine3": { |
| 623 | "anyOf": [ |
| 624 | { |
| 625 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt" |
| 626 | }, |
| 627 | { |
| 628 | "type": "null" |
| 629 | } |
| 630 | ], |
| 631 | "description": "The Line 2 to Line 3 voltage reading for this outlet.", |
| 632 | "excerptCopy": "SensorVoltageExcerpt", |
| 633 | "longDescription": "This property shall contain a VoltageSensor excerpt that measures voltage between L2 and L3. This property shall not be present if the outlet does not include an L2-L3 measurement.", |
| 634 | "readonly": true |
| 635 | }, |
| 636 | "Line2ToNeutral": { |
| 637 | "anyOf": [ |
| 638 | { |
| 639 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt" |
| 640 | }, |
| 641 | { |
| 642 | "type": "null" |
| 643 | } |
| 644 | ], |
| 645 | "description": "The Line 2 to Neutral voltage reading for this outlet.", |
| 646 | "excerptCopy": "SensorVoltageExcerpt", |
| 647 | "longDescription": "This property shall contain a VoltageSensor excerpt that measures voltage between L2 and Neutral. This property shall not be present if the outlet does not include an L2-Neutral measurement.", |
| 648 | "readonly": true |
| 649 | }, |
| 650 | "Line3ToLine1": { |
| 651 | "anyOf": [ |
| 652 | { |
| 653 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt" |
| 654 | }, |
| 655 | { |
| 656 | "type": "null" |
| 657 | } |
| 658 | ], |
| 659 | "description": "The Line 3 to Line 1 voltage reading for this outlet.", |
| 660 | "excerptCopy": "SensorVoltageExcerpt", |
| 661 | "longDescription": "This property shall contain a VoltageSensor excerpt that measures voltage between L3 and L1. This property shall not be present if the outlet does not include an L3-L1 measurement.", |
| 662 | "readonly": true |
| 663 | }, |
| 664 | "Line3ToNeutral": { |
| 665 | "anyOf": [ |
| 666 | { |
| 667 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt" |
| 668 | }, |
| 669 | { |
| 670 | "type": "null" |
| 671 | } |
| 672 | ], |
| 673 | "description": "The Line 3 to Neutral voltage reading for this outlet.", |
| 674 | "excerptCopy": "SensorVoltageExcerpt", |
| 675 | "longDescription": "This property shall contain a VoltageSensor excerpt that measures voltage between L3 and Neutral. This property shall not be present if the outlet does not include an L3-Neutral measurement.", |
| 676 | "readonly": true |
| 677 | } |
| 678 | }, |
| 679 | "type": "object" |
| 680 | }, |
| 681 | "VoltageType": { |
| 682 | "enum": [ |
| 683 | "AC", |
| 684 | "DC" |
| 685 | ], |
| 686 | "enumDescriptions": { |
| 687 | "AC": "Alternating Current (AC) outlet.", |
| 688 | "DC": "Direct Current (DC) outlet." |
| 689 | }, |
| 690 | "type": "string" |
| 691 | } |
| 692 | }, |
| 693 | "owningEntity": "DMTF", |
| 694 | "release": "2019.4", |
| 695 | "title": "#Outlet.v1_0_0.Outlet" |
| 696 | } |