George Liu | f1240b4 | 2022-10-28 17:26:15 +0800 | [diff] [blame] | 1 | { |
Ed Tanous | a8d8f9d | 2023-01-26 13:57:00 -0800 | [diff] [blame] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/ThermalMetrics.v1_1_0.json", |
George Liu | f1240b4 | 2022-10-28 17:26:15 +0800 | [diff] [blame] | 3 | "$ref": "#/definitions/ThermalMetrics", |
| 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Ed Tanous | a8d8f9d | 2023-01-26 13:57:00 -0800 | [diff] [blame] | 5 | "copyright": "Copyright 2014-2022 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
George Liu | f1240b4 | 2022-10-28 17:26:15 +0800 | [diff] [blame] | 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 | "#ThermalMetrics.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 | }, |
Ed Tanous | a8d8f9d | 2023-01-26 13:57:00 -0800 | [diff] [blame] | 37 | "HeaterSummary": { |
| 38 | "additionalProperties": false, |
| 39 | "description": "The heater metrics summary for the subsystem.", |
| 40 | "longDescription": "This type shall contain properties that describe the heater metrics summary for the subsystem.", |
| 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 | "TotalPrePowerOnHeatingTimeSeconds": { |
| 57 | "description": "The total number of seconds all the heaters in the thermal subsystem were active while the respective devices they heat were powered off.", |
| 58 | "longDescription": "This property shall contain the total number of seconds all the heaters in the thermal subsystem were active while the respective devices they heat were powered off.", |
| 59 | "readonly": true, |
| 60 | "type": [ |
| 61 | "integer", |
| 62 | "null" |
| 63 | ], |
| 64 | "versionAdded": "v1_1_0" |
| 65 | }, |
| 66 | "TotalRuntimeHeatingTimeSeconds": { |
| 67 | "description": "The total number of seconds all the heaters in the thermal subsystem were active while the respective devices they heat were powered on.", |
| 68 | "longDescription": "This property shall contain the total number of seconds all the heaters in the thermal subsystem were active while the respective devices they heat were powered on.", |
| 69 | "readonly": true, |
| 70 | "type": [ |
| 71 | "integer", |
| 72 | "null" |
| 73 | ], |
| 74 | "versionAdded": "v1_1_0" |
| 75 | } |
| 76 | }, |
| 77 | "type": "object" |
| 78 | }, |
George Liu | f1240b4 | 2022-10-28 17:26:15 +0800 | [diff] [blame] | 79 | "OemActions": { |
| 80 | "additionalProperties": true, |
| 81 | "description": "The available OEM-specific actions for this resource.", |
| 82 | "longDescription": "This type shall contain the available OEM-specific actions for this resource.", |
| 83 | "patternProperties": { |
| 84 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 85 | "description": "This property shall specify a valid odata or Redfish property.", |
| 86 | "type": [ |
| 87 | "array", |
| 88 | "boolean", |
| 89 | "integer", |
| 90 | "number", |
| 91 | "null", |
| 92 | "object", |
| 93 | "string" |
| 94 | ] |
| 95 | } |
| 96 | }, |
| 97 | "properties": {}, |
| 98 | "type": "object" |
| 99 | }, |
| 100 | "ResetMetrics": { |
| 101 | "additionalProperties": false, |
| 102 | "description": "This action resets the summary metrics related to this equipment.", |
| 103 | "longDescription": "This action shall reset any time intervals or counted values for this equipment.", |
| 104 | "parameters": {}, |
| 105 | "patternProperties": { |
| 106 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 107 | "description": "This property shall specify a valid odata or Redfish property.", |
| 108 | "type": [ |
| 109 | "array", |
| 110 | "boolean", |
| 111 | "integer", |
| 112 | "number", |
| 113 | "null", |
| 114 | "object", |
| 115 | "string" |
| 116 | ] |
| 117 | } |
| 118 | }, |
| 119 | "properties": { |
| 120 | "target": { |
| 121 | "description": "Link to invoke action", |
| 122 | "format": "uri-reference", |
| 123 | "type": "string" |
| 124 | }, |
| 125 | "title": { |
| 126 | "description": "Friendly action name", |
| 127 | "type": "string" |
| 128 | } |
| 129 | }, |
| 130 | "type": "object" |
| 131 | }, |
| 132 | "TemperatureSummary": { |
| 133 | "additionalProperties": false, |
| 134 | "description": "The temperature readings for a subsystem.", |
| 135 | "longDescription": "This type shall contain properties that describe temperature sensor for a subsystem.", |
| 136 | "patternProperties": { |
| 137 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 138 | "description": "This property shall specify a valid odata or Redfish property.", |
| 139 | "type": [ |
| 140 | "array", |
| 141 | "boolean", |
| 142 | "integer", |
| 143 | "number", |
| 144 | "null", |
| 145 | "object", |
| 146 | "string" |
| 147 | ] |
| 148 | } |
| 149 | }, |
| 150 | "properties": { |
| 151 | "Ambient": { |
| 152 | "anyOf": [ |
| 153 | { |
| 154 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" |
| 155 | }, |
| 156 | { |
| 157 | "type": "null" |
| 158 | } |
| 159 | ], |
| 160 | "description": "The ambient temperature (Celsius) of this subsystem.", |
| 161 | "excerptCopy": "SensorExcerpt", |
| 162 | "longDescription": "This property shall contain the temperature, in degrees Celsius units, for the ambient temperature of this subsystem. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`." |
| 163 | }, |
| 164 | "Exhaust": { |
| 165 | "anyOf": [ |
| 166 | { |
| 167 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" |
| 168 | }, |
| 169 | { |
| 170 | "type": "null" |
| 171 | } |
| 172 | ], |
| 173 | "description": "The exhaust temperature (Celsius) of this subsystem.", |
| 174 | "excerptCopy": "SensorExcerpt", |
| 175 | "longDescription": "This property shall contain the temperature, in degrees Celsius units, for the exhaust temperature of this subsystem. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`." |
| 176 | }, |
| 177 | "Intake": { |
| 178 | "anyOf": [ |
| 179 | { |
| 180 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" |
| 181 | }, |
| 182 | { |
| 183 | "type": "null" |
| 184 | } |
| 185 | ], |
| 186 | "description": "The intake temperature (Celsius) of this subsystem.", |
| 187 | "excerptCopy": "SensorExcerpt", |
| 188 | "longDescription": "This property shall contain the temperature, in degrees Celsius units, for the intake temperature of this subsystem. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`." |
| 189 | }, |
| 190 | "Internal": { |
| 191 | "anyOf": [ |
| 192 | { |
| 193 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt" |
| 194 | }, |
| 195 | { |
| 196 | "type": "null" |
| 197 | } |
| 198 | ], |
| 199 | "description": "The internal temperature (Celsius) of this subsystem.", |
| 200 | "excerptCopy": "SensorExcerpt", |
| 201 | "longDescription": "This property shall contain the temperature, in degrees Celsius units, for the internal temperature of this subsystem. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`." |
| 202 | } |
| 203 | }, |
| 204 | "type": "object" |
| 205 | }, |
| 206 | "ThermalMetrics": { |
| 207 | "additionalProperties": false, |
| 208 | "description": "The ThermalMetrics schema represents the thermal metrics of a chassis.", |
| 209 | "longDescription": "This resource shall represent the thermal metrics of a chassis for a Redfish implementation.", |
| 210 | "patternProperties": { |
| 211 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 212 | "description": "This property shall specify a valid odata or Redfish property.", |
| 213 | "type": [ |
| 214 | "array", |
| 215 | "boolean", |
| 216 | "integer", |
| 217 | "number", |
| 218 | "null", |
| 219 | "object", |
| 220 | "string" |
| 221 | ] |
| 222 | } |
| 223 | }, |
| 224 | "properties": { |
| 225 | "@odata.context": { |
| 226 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
| 227 | }, |
| 228 | "@odata.etag": { |
| 229 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
| 230 | }, |
| 231 | "@odata.id": { |
| 232 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
| 233 | }, |
| 234 | "@odata.type": { |
| 235 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
| 236 | }, |
| 237 | "Actions": { |
| 238 | "$ref": "#/definitions/Actions", |
| 239 | "description": "The available actions for this resource.", |
| 240 | "longDescription": "This property shall contain the available actions for this resource." |
| 241 | }, |
| 242 | "Description": { |
| 243 | "anyOf": [ |
| 244 | { |
| 245 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 246 | }, |
| 247 | { |
| 248 | "type": "null" |
| 249 | } |
| 250 | ], |
| 251 | "readonly": true |
| 252 | }, |
Ed Tanous | a8d8f9d | 2023-01-26 13:57:00 -0800 | [diff] [blame] | 253 | "HeaterSummary": { |
| 254 | "anyOf": [ |
| 255 | { |
| 256 | "$ref": "#/definitions/HeaterSummary" |
| 257 | }, |
| 258 | { |
| 259 | "type": "null" |
| 260 | } |
| 261 | ], |
| 262 | "description": "The summary of heater metrics for this chassis.", |
| 263 | "longDescription": "This property shall contain the summary of heater metrics for this subsystem.", |
| 264 | "versionAdded": "v1_1_0" |
| 265 | }, |
George Liu | f1240b4 | 2022-10-28 17:26:15 +0800 | [diff] [blame] | 266 | "Id": { |
| 267 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 268 | "readonly": true |
| 269 | }, |
| 270 | "Name": { |
| 271 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 272 | "readonly": true |
| 273 | }, |
| 274 | "Oem": { |
| 275 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 276 | "description": "The OEM extension property.", |
| 277 | "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." |
| 278 | }, |
| 279 | "TemperatureReadingsCelsius": { |
| 280 | "description": "The temperatures (Celsius) from all related sensors for this device.", |
| 281 | "excerptCopy": "SensorArrayExcerpt", |
| 282 | "items": { |
| 283 | "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorArrayExcerpt" |
| 284 | }, |
| 285 | "longDescription": "This property shall contain the temperatures, in degrees Celsius units, for this subsystem. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`.", |
| 286 | "type": "array" |
| 287 | }, |
| 288 | "TemperatureReadingsCelsius@odata.count": { |
| 289 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" |
| 290 | }, |
| 291 | "TemperatureSummaryCelsius": { |
| 292 | "anyOf": [ |
| 293 | { |
| 294 | "$ref": "#/definitions/TemperatureSummary" |
| 295 | }, |
| 296 | { |
| 297 | "type": "null" |
| 298 | } |
| 299 | ], |
| 300 | "description": "The summary temperature readings for this chassis.", |
| 301 | "longDescription": "This property shall contain the temperature sensor readings for this subsystem." |
| 302 | } |
| 303 | }, |
| 304 | "required": [ |
| 305 | "@odata.id", |
| 306 | "@odata.type", |
| 307 | "Id", |
| 308 | "Name" |
| 309 | ], |
| 310 | "type": "object" |
| 311 | } |
| 312 | }, |
| 313 | "owningEntity": "DMTF", |
Ed Tanous | a8d8f9d | 2023-01-26 13:57:00 -0800 | [diff] [blame] | 314 | "release": "2022.3", |
| 315 | "title": "#ThermalMetrics.v1_1_0.ThermalMetrics" |
George Liu | f1240b4 | 2022-10-28 17:26:15 +0800 | [diff] [blame] | 316 | } |