1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/EnvironmentMetrics.v1_5_0.json",
3    "$ref": "#/definitions/EnvironmentMetrics",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2025 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                "#EnvironmentMetrics.ResetMetrics": {
27                    "$ref": "#/definitions/ResetMetrics"
28                },
29                "#EnvironmentMetrics.ResetToDefaults": {
30                    "$ref": "#/definitions/ResetToDefaults"
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        "EnvironmentMetrics": {
41            "additionalProperties": false,
42            "description": "The `EnvironmentMetrics` schema represents the environmental metrics of a device.",
43            "longDescription": "This resource shall represent the environmental metrics for a Redfish implementation.",
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                "@odata.context": {
60                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
61                },
62                "@odata.etag": {
63                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
64                },
65                "@odata.id": {
66                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
67                },
68                "@odata.type": {
69                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
70                },
71                "AbsoluteHumidity": {
72                    "anyOf": [
73                        {
74                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
75                        },
76                        {
77                            "type": "null"
78                        }
79                    ],
80                    "description": "Absolute humidity (g/m^3).",
81                    "excerptCopy": "SensorExcerpt",
82                    "longDescription": "This property shall contain the absolute (volumetric) humidity sensor reading, in grams per cubic meter units, for this resource.  The value should reflect the humidity measured at the exterior of the containing `Chassis` instance, or the interior of the containing `Facility` instance.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `AbsoluteHumidity`.",
83                    "versionAdded": "v1_2_0"
84                },
85                "Actions": {
86                    "$ref": "#/definitions/Actions",
87                    "description": "The available actions for this resource.",
88                    "longDescription": "This property shall contain the available actions for this resource."
89                },
90                "AmbientTemperatureCelsius": {
91                    "anyOf": [
92                        {
93                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
94                        },
95                        {
96                            "type": "null"
97                        }
98                    ],
99                    "description": "Ambient temperature (Celsius).",
100                    "excerptCopy": "SensorExcerpt",
101                    "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.",
102                    "versionAdded": "v1_4_0"
103                },
104                "CurrentAmps": {
105                    "anyOf": [
106                        {
107                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt"
108                        },
109                        {
110                            "type": "null"
111                        }
112                    ],
113                    "description": "The current (A) for this device.",
114                    "excerptCopy": "SensorCurrentExcerpt",
115                    "longDescription": "This property shall contain the current, in ampere units, 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 `Current`.",
116                    "versionAdded": "v1_5_0"
117                },
118                "Description": {
119                    "anyOf": [
120                        {
121                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
122                        },
123                        {
124                            "type": "null"
125                        }
126                    ],
127                    "readonly": true
128                },
129                "DewPointCelsius": {
130                    "anyOf": [
131                        {
132                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
133                        },
134                        {
135                            "type": "null"
136                        }
137                    ],
138                    "description": "The dew point temperature (C).",
139                    "excerptCopy": "SensorExcerpt",
140                    "longDescription": "This property shall contain the dew point, in degree Celsius units, based on the temperature and humidity values 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`.",
141                    "versionAdded": "v1_1_0"
142                },
143                "EnergyJoules": {
144                    "anyOf": [
145                        {
146                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
147                        },
148                        {
149                            "type": "null"
150                        }
151                    ],
152                    "description": "Energy consumption (J).",
153                    "excerptCopy": "SensorExcerpt",
154                    "longDescription": "This property shall contain the total energy, in joule 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 `EnergyJoules`.  This property is used for reporting device-level energy consumption measurements, while `EnergykWh` is used for large-scale consumption measurements.",
155                    "versionAdded": "v1_2_0"
156                },
157                "EnergykWh": {
158                    "anyOf": [
159                        {
160                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorEnergykWhExcerpt"
161                        },
162                        {
163                            "type": "null"
164                        }
165                    ],
166                    "description": "Energy consumption (kWh).",
167                    "excerptCopy": "SensorEnergykWhExcerpt",
168                    "longDescription": "This property shall contain the total energy, in kilowatt-hour 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 `EnergykWh`."
169                },
170                "FanSpeedsPercent": {
171                    "description": "Fan speeds (percent).",
172                    "excerptCopy": "SensorFanArrayExcerpt",
173                    "items": {
174                        "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorFanArrayExcerpt"
175                    },
176                    "longDescription": "This property shall contain the fan speeds, 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 `Percent`.",
177                    "type": "array"
178                },
179                "FanSpeedsPercent@odata.count": {
180                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
181                },
182                "HumidityPercent": {
183                    "anyOf": [
184                        {
185                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
186                        },
187                        {
188                            "type": "null"
189                        }
190                    ],
191                    "description": "Humidity (percent).",
192                    "excerptCopy": "SensorExcerpt",
193                    "longDescription": "This property shall contain the humidity, in percent units, for this resource.  The value should reflect the humidity measured at the exterior of the containing `Chassis` instance, or the interior of the containing `Facility` instance.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Humidity`."
194                },
195                "Id": {
196                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
197                    "readonly": true
198                },
199                "Name": {
200                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
201                    "readonly": true
202                },
203                "Oem": {
204                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
205                    "description": "The OEM extension property.",
206                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
207                },
208                "PowerLimitWatts": {
209                    "anyOf": [
210                        {
211                            "$ref": "http://redfish.dmtf.org/schemas/v1/Control.json#/definitions/ControlSingleExcerpt"
212                        },
213                        {
214                            "type": "null"
215                        }
216                    ],
217                    "description": "Power limit (W).",
218                    "excerptCopy": "ControlSingleExcerpt",
219                    "longDescription": "This property shall contain the power limit control, in watt units, for this resource.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Control` with the `ControlType` property containing the value of `Power`.",
220                    "readonly": false,
221                    "versionAdded": "v1_1_0"
222                },
223                "PowerLoadPercent": {
224                    "anyOf": [
225                        {
226                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
227                        },
228                        {
229                            "type": "null"
230                        }
231                    ],
232                    "description": "The power load (percent) for this device.",
233                    "excerptCopy": "SensorExcerpt",
234                    "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`.",
235                    "versionAdded": "v1_1_0"
236                },
237                "PowerWatts": {
238                    "anyOf": [
239                        {
240                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorPowerExcerpt"
241                        },
242                        {
243                            "type": "null"
244                        }
245                    ],
246                    "description": "Power consumption (W).",
247                    "excerptCopy": "SensorPowerExcerpt",
248                    "longDescription": "This property shall contain the total power, in watt 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 `Power`."
249                },
250                "TemperatureCelsius": {
251                    "anyOf": [
252                        {
253                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
254                        },
255                        {
256                            "type": "null"
257                        }
258                    ],
259                    "description": "Temperature (Celsius).",
260                    "excerptCopy": "SensorExcerpt",
261                    "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`."
262                },
263                "Voltage": {
264                    "anyOf": [
265                        {
266                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt"
267                        },
268                        {
269                            "type": "null"
270                        }
271                    ],
272                    "description": "The voltage (V) for this device.",
273                    "excerptCopy": "SensorVoltageExcerpt",
274                    "longDescription": "This property shall contain the voltage, in volt units, 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 `Voltage`.",
275                    "versionAdded": "v1_5_0"
276                }
277            },
278            "required": [
279                "@odata.id",
280                "@odata.type",
281                "Id",
282                "Name"
283            ],
284            "type": "object"
285        },
286        "OemActions": {
287            "additionalProperties": true,
288            "description": "The available OEM-specific actions for this resource.",
289            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
290            "patternProperties": {
291                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
292                    "description": "This property shall specify a valid odata or Redfish property.",
293                    "type": [
294                        "array",
295                        "boolean",
296                        "integer",
297                        "number",
298                        "null",
299                        "object",
300                        "string"
301                    ]
302                }
303            },
304            "properties": {},
305            "type": "object"
306        },
307        "ResetMetrics": {
308            "additionalProperties": false,
309            "description": "This action resets the summary metrics related to this equipment.",
310            "longDescription": "This action shall reset any time intervals or counted values for this equipment.",
311            "parameters": {},
312            "patternProperties": {
313                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
314                    "description": "This property shall specify a valid odata or Redfish property.",
315                    "type": [
316                        "array",
317                        "boolean",
318                        "integer",
319                        "number",
320                        "null",
321                        "object",
322                        "string"
323                    ]
324                }
325            },
326            "properties": {
327                "target": {
328                    "description": "Link to invoke action",
329                    "format": "uri-reference",
330                    "type": "string"
331                },
332                "title": {
333                    "description": "Friendly action name",
334                    "type": "string"
335                }
336            },
337            "type": "object"
338        },
339        "ResetToDefaults": {
340            "additionalProperties": false,
341            "description": "The action resets the values of writable properties to factory defaults.",
342            "longDescription": "This action shall reset the values of writable properties in this resource to their default values as specified by the manufacturer.",
343            "parameters": {},
344            "patternProperties": {
345                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
346                    "description": "This property shall specify a valid odata or Redfish property.",
347                    "type": [
348                        "array",
349                        "boolean",
350                        "integer",
351                        "number",
352                        "null",
353                        "object",
354                        "string"
355                    ]
356                }
357            },
358            "properties": {
359                "target": {
360                    "description": "Link to invoke action",
361                    "format": "uri-reference",
362                    "type": "string"
363                },
364                "title": {
365                    "description": "Friendly action name",
366                    "type": "string"
367                }
368            },
369            "type": "object",
370            "versionAdded": "v1_3_0"
371        }
372    },
373    "language": "en",
374    "owningEntity": "DMTF",
375    "release": "2025.2",
376    "title": "#EnvironmentMetrics.v1_5_0.EnvironmentMetrics"
377}