1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/PowerDistributionMetrics.v1_3_2.json",
3    "$ref": "#/definitions/PowerDistributionMetrics",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2024 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                "#PowerDistributionMetrics.ResetMetrics": {
27                    "$ref": "#/definitions/ResetMetrics"
28                },
29                "Oem": {
30                    "$ref": "#/definitions/OemActions",
31                    "description": "The available OEM-specific actions for this resource.",
32                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
33                }
34            },
35            "type": "object"
36        },
37        "OemActions": {
38            "additionalProperties": true,
39            "description": "The available OEM-specific actions for this resource.",
40            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
41            "patternProperties": {
42                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
43                    "description": "This property shall specify a valid odata or Redfish property.",
44                    "type": [
45                        "array",
46                        "boolean",
47                        "integer",
48                        "number",
49                        "null",
50                        "object",
51                        "string"
52                    ]
53                }
54            },
55            "properties": {},
56            "type": "object"
57        },
58        "PowerDistributionMetrics": {
59            "additionalProperties": false,
60            "description": "The `PowerDistributionMetrics` schema contains metrics of a power distribution component or unit, such as a floor power distribution unit (PDU) or switchgear.",
61            "longDescription": "This resource shall represent the metrics of a power distribution component or unit for a Redfish implementation.",
62            "patternProperties": {
63                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
64                    "description": "This property shall specify a valid odata or Redfish property.",
65                    "type": [
66                        "array",
67                        "boolean",
68                        "integer",
69                        "number",
70                        "null",
71                        "object",
72                        "string"
73                    ]
74                }
75            },
76            "properties": {
77                "@odata.context": {
78                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
79                },
80                "@odata.etag": {
81                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
82                },
83                "@odata.id": {
84                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
85                },
86                "@odata.type": {
87                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
88                },
89                "AbsoluteHumidity": {
90                    "anyOf": [
91                        {
92                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
93                        },
94                        {
95                            "type": "null"
96                        }
97                    ],
98                    "description": "Absolute humidity (g/m^3).",
99                    "excerptCopy": "SensorExcerpt",
100                    "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`.",
101                    "versionAdded": "v1_3_0"
102                },
103                "Actions": {
104                    "$ref": "#/definitions/Actions",
105                    "description": "The available actions for this resource.",
106                    "longDescription": "This property shall contain the available actions for this resource."
107                },
108                "Description": {
109                    "anyOf": [
110                        {
111                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
112                        },
113                        {
114                            "type": "null"
115                        }
116                    ],
117                    "readonly": true
118                },
119                "EnergykWh": {
120                    "anyOf": [
121                        {
122                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorEnergykWhExcerpt"
123                        },
124                        {
125                            "type": "null"
126                        }
127                    ],
128                    "description": "Energy consumption (kWh).",
129                    "excerptCopy": "SensorEnergykWhExcerpt",
130                    "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`."
131                },
132                "HumidityPercent": {
133                    "anyOf": [
134                        {
135                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
136                        },
137                        {
138                            "type": "null"
139                        }
140                    ],
141                    "description": "Humidity (percent).",
142                    "excerptCopy": "SensorExcerpt",
143                    "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`.",
144                    "versionAdded": "v1_1_0"
145                },
146                "Id": {
147                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
148                    "readonly": true
149                },
150                "Name": {
151                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
152                    "readonly": true
153                },
154                "Oem": {
155                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
156                    "description": "The OEM extension property.",
157                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
158                },
159                "PowerLoadPercent": {
160                    "anyOf": [
161                        {
162                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
163                        },
164                        {
165                            "type": "null"
166                        }
167                    ],
168                    "description": "The power load (percent) for this equipment.",
169                    "excerptCopy": "SensorExcerpt",
170                    "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`.",
171                    "versionAdded": "v1_2_0"
172                },
173                "PowerWatts": {
174                    "anyOf": [
175                        {
176                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorPowerExcerpt"
177                        },
178                        {
179                            "type": "null"
180                        }
181                    ],
182                    "description": "Power consumption (W).",
183                    "excerptCopy": "SensorPowerExcerpt",
184                    "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`."
185                },
186                "TemperatureCelsius": {
187                    "anyOf": [
188                        {
189                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
190                        },
191                        {
192                            "type": "null"
193                        }
194                    ],
195                    "description": "Temperature (Celsius).",
196                    "excerptCopy": "SensorExcerpt",
197                    "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`.",
198                    "versionAdded": "v1_1_0"
199                }
200            },
201            "required": [
202                "@odata.id",
203                "@odata.type",
204                "Id",
205                "Name"
206            ],
207            "type": "object"
208        },
209        "ResetMetrics": {
210            "additionalProperties": false,
211            "description": "This action resets the summary metrics related to this equipment.",
212            "longDescription": "This action shall reset any time intervals or counted values for this equipment.",
213            "parameters": {},
214            "patternProperties": {
215                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
216                    "description": "This property shall specify a valid odata or Redfish property.",
217                    "type": [
218                        "array",
219                        "boolean",
220                        "integer",
221                        "number",
222                        "null",
223                        "object",
224                        "string"
225                    ]
226                }
227            },
228            "properties": {
229                "target": {
230                    "description": "Link to invoke action",
231                    "format": "uri-reference",
232                    "type": "string"
233                },
234                "title": {
235                    "description": "Friendly action name",
236                    "type": "string"
237                }
238            },
239            "type": "object"
240        }
241    },
242    "language": "en",
243    "owningEntity": "DMTF",
244    "release": "2021.4",
245    "title": "#PowerDistributionMetrics.v1_3_2.PowerDistributionMetrics"
246}