diff options
| author | Gunnar Mills <gmills@us.ibm.com> | 2026-09-24 06:43:31 +0300 |
|---|---|---|
| committer | Gunnar Mills <gmills@us.ibm.com> | 2026-10-22 03:08:08 +0300 |
| commit | 0128851e733fa2cdc8af2c20ba90ef272d96422a (patch) | |
| tree | 26c24b6bd43f13964e68b2f47adc85a1500684f6 /redfish-core/schema/dmtf/json-schema/PowerDistributionMetrics.v1_5_0.json | |
| parent | e44732f264b7f81dabff30a5a5c316eda4264ce7 (diff) | |
| download | bmcweb-master.tar.xz | |
Like we do, one line change and rerun the script.
2026.2 includes new properties and schemas.
The overview is at [1].
[1]: https://www.dmtf.org/sites/default/files/Redfish_Release_2026.2_Overview.pdf
Tested: Inspection only.
Change-Id: I860c142a3685b5aa98dfe27b2c718f16b04bece7
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core/schema/dmtf/json-schema/PowerDistributionMetrics.v1_5_0.json')
| -rw-r--r-- | redfish-core/schema/dmtf/json-schema/PowerDistributionMetrics.v1_5_0.json | 274 |
1 files changed, 274 insertions, 0 deletions
diff --git a/redfish-core/schema/dmtf/json-schema/PowerDistributionMetrics.v1_5_0.json b/redfish-core/schema/dmtf/json-schema/PowerDistributionMetrics.v1_5_0.json new file mode 100644 index 0000000000..9094ca0475 --- /dev/null +++ b/redfish-core/schema/dmtf/json-schema/PowerDistributionMetrics.v1_5_0.json @@ -0,0 +1,274 @@ +{ + "$id": "http://redfish.dmtf.org/schemas/v1/PowerDistributionMetrics.v1_5_0.json", + "$ref": "#/definitions/PowerDistributionMetrics", + "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", + "copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", + "definitions": { + "Actions": { + "additionalProperties": false, + "description": "The available actions for this resource.", + "longDescription": "This type shall contain the available actions for this resource.", + "patternProperties": { + "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { + "description": "This property shall specify a valid odata or Redfish property.", + "type": [ + "array", + "boolean", + "integer", + "number", + "null", + "object", + "string" + ] + } + }, + "properties": { + "#PowerDistributionMetrics.ResetMetrics": { + "$ref": "#/definitions/ResetMetrics" + }, + "Oem": { + "$ref": "#/definitions/OemActions", + "description": "The available OEM-specific actions for this resource.", + "longDescription": "This property shall contain the available OEM-specific actions for this resource." + } + }, + "type": "object" + }, + "OemActions": { + "additionalProperties": true, + "description": "The available OEM-specific actions for this resource.", + "longDescription": "This type shall contain the available OEM-specific actions for this resource.", + "patternProperties": { + "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { + "description": "This property shall specify a valid odata or Redfish property.", + "type": [ + "array", + "boolean", + "integer", + "number", + "null", + "object", + "string" + ] + } + }, + "properties": {}, + "type": "object" + }, + "PowerDistributionMetrics": { + "additionalProperties": false, + "description": "The `PowerDistributionMetrics` schema contains metrics of a power distribution component or unit, such as a floor power distribution unit (PDU) or switchgear.", + "longDescription": "This resource shall represent the metrics of a power distribution component or unit for a Redfish implementation.", + "patternProperties": { + "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { + "description": "This property shall specify a valid odata or Redfish property.", + "type": [ + "array", + "boolean", + "integer", + "number", + "null", + "object", + "string" + ] + } + }, + "properties": { + "@odata.context": { + "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" + }, + "@odata.etag": { + "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" + }, + "@odata.id": { + "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" + }, + "@odata.type": { + "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" + }, + "AbsoluteHumidity": { + "anyOf": [ + { + "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" + }, + { + "type": "null" + } + ], + "description": "Absolute humidity (g/m^3).", + "excerptCopy": "SensorExcerpt", + "longDescription": "This property shall contain the absolute (volumetric) humidity sensor reading, in grams per cubic meter units, for this resource. The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `AbsoluteHumidity`.", + "versionAdded": "v1_3_0" + }, + "Actions": { + "$ref": "#/definitions/Actions", + "description": "The available actions for this resource.", + "longDescription": "This property shall contain the available actions for this resource." + }, + "AmbientTemperatureCelsius": { + "anyOf": [ + { + "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" + }, + { + "type": "null" + } + ], + "description": "Ambient temperature (Celsius).", + "excerptCopy": "SensorExcerpt", + "longDescription": "This property shall contain the ambient temperature, in degree Celsius units, for this resource. The ambient temperature shall be the temperature measured at a point exterior to the `Chassis` containing this resource. The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Temperature`. This property shall only be present, if supported, in resource instances subordinate to a `Chassis` or `CoolingUnit` resource.", + "versionAdded": "v1_4_0" + }, + "ChargePercent": { + "anyOf": [ + { + "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" + }, + { + "type": "null" + } + ], + "description": "The charge level (percent) for this equipment.", + "excerptCopy": "SensorExcerpt", + "longDescription": "This property shall contain the charge level, in percent units, for this equipment. The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Percent`.", + "versionAdded": "v1_5_0" + }, + "Description": { + "anyOf": [ + { + "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" + }, + { + "type": "null" + } + ], + "readonly": true + }, + "EnergykWh": { + "anyOf": [ + { + "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorEnergykWhExcerpt" + }, + { + "type": "null" + } + ], + "description": "Energy consumption (kWh).", + "excerptCopy": "SensorEnergykWhExcerpt", + "longDescription": "This property shall contain the total energy, in kilowatt-hour units, for this resource that represents the `Total` `ElectricalContext` sensor when multiple energy sensors exist. The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `EnergykWh`." + }, + "HumidityPercent": { + "anyOf": [ + { + "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" + }, + { + "type": "null" + } + ], + "description": "Humidity (percent).", + "excerptCopy": "SensorExcerpt", + "longDescription": "This property shall contain the humidity, in percent units, for this resource. The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Humidity`.", + "versionAdded": "v1_1_0" + }, + "Id": { + "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", + "readonly": true + }, + "Name": { + "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", + "readonly": true + }, + "Oem": { + "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", + "description": "The OEM extension property.", + "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." + }, + "PowerLoadPercent": { + "anyOf": [ + { + "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" + }, + { + "type": "null" + } + ], + "description": "The power load (percent) for this equipment.", + "excerptCopy": "SensorExcerpt", + "longDescription": "This property shall contain the power load, in percent units, for this device that represents the `Total` `ElectricalContext` for this device. The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Percent`.", + "versionAdded": "v1_2_0" + }, + "PowerWatts": { + "anyOf": [ + { + "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorPowerExcerpt" + }, + { + "type": "null" + } + ], + "description": "Power consumption (W).", + "excerptCopy": "SensorPowerExcerpt", + "longDescription": "This property shall contain the total power, in watt units, for this resource that represents the `Total` `ElectricalContext` sensor when multiple power sensors exist. The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Power`." + }, + "TemperatureCelsius": { + "anyOf": [ + { + "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" + }, + { + "type": "null" + } + ], + "description": "Temperature (Celsius).", + "excerptCopy": "SensorExcerpt", + "longDescription": "This property shall contain the temperature, in degree Celsius units, for this resource. The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Temperature`.", + "versionAdded": "v1_1_0" + } + }, + "required": [ + "@odata.id", + "@odata.type", + "Id", + "Name" + ], + "type": "object" + }, + "ResetMetrics": { + "additionalProperties": false, + "description": "This action resets the summary metrics related to this equipment.", + "longDescription": "This action shall reset any time intervals or counted values for this equipment.", + "parameters": {}, + "patternProperties": { + "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { + "description": "This property shall specify a valid odata or Redfish property.", + "type": [ + "array", + "boolean", + "integer", + "number", + "null", + "object", + "string" + ] + } + }, + "properties": { + "target": { + "description": "Link to invoke action", + "format": "uri-reference", + "type": "string" + }, + "title": { + "description": "Friendly action name", + "type": "string" + } + }, + "type": "object" + } + }, + "language": "en", + "owningEntity": "DMTF", + "release": "2026.2", + "title": "#PowerDistributionMetrics.v1_5_0.PowerDistributionMetrics" +}
\ No newline at end of file |
