blob: 62279ecd91357808a2c2d745e7580e7eb77551cd [file] [log] [blame]
George Liuf1240b42022-10-28 17:26:15 +08001{
2 "$id": "http://redfish.dmtf.org/schemas/v1/ThermalMetrics.v1_0_1.json",
3 "$ref": "#/definitions/ThermalMetrics",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 "copyright": "Copyright 2014-2021 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 "#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 },
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 "ResetMetrics": {
59 "additionalProperties": false,
60 "description": "This action resets the summary metrics related to this equipment.",
61 "longDescription": "This action shall reset any time intervals or counted values for this equipment.",
62 "parameters": {},
63 "patternProperties": {
64 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
65 "description": "This property shall specify a valid odata or Redfish property.",
66 "type": [
67 "array",
68 "boolean",
69 "integer",
70 "number",
71 "null",
72 "object",
73 "string"
74 ]
75 }
76 },
77 "properties": {
78 "target": {
79 "description": "Link to invoke action",
80 "format": "uri-reference",
81 "type": "string"
82 },
83 "title": {
84 "description": "Friendly action name",
85 "type": "string"
86 }
87 },
88 "type": "object"
89 },
90 "TemperatureSummary": {
91 "additionalProperties": false,
92 "description": "The temperature readings for a subsystem.",
93 "longDescription": "This type shall contain properties that describe temperature sensor for a subsystem.",
94 "patternProperties": {
95 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
96 "description": "This property shall specify a valid odata or Redfish property.",
97 "type": [
98 "array",
99 "boolean",
100 "integer",
101 "number",
102 "null",
103 "object",
104 "string"
105 ]
106 }
107 },
108 "properties": {
109 "Ambient": {
110 "anyOf": [
111 {
112 "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
113 },
114 {
115 "type": "null"
116 }
117 ],
118 "description": "The ambient temperature (Celsius) of this subsystem.",
119 "excerptCopy": "SensorExcerpt",
120 "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`."
121 },
122 "Exhaust": {
123 "anyOf": [
124 {
125 "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
126 },
127 {
128 "type": "null"
129 }
130 ],
131 "description": "The exhaust temperature (Celsius) of this subsystem.",
132 "excerptCopy": "SensorExcerpt",
133 "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`."
134 },
135 "Intake": {
136 "anyOf": [
137 {
138 "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
139 },
140 {
141 "type": "null"
142 }
143 ],
144 "description": "The intake temperature (Celsius) of this subsystem.",
145 "excerptCopy": "SensorExcerpt",
146 "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`."
147 },
148 "Internal": {
149 "anyOf": [
150 {
151 "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
152 },
153 {
154 "type": "null"
155 }
156 ],
157 "description": "The internal temperature (Celsius) of this subsystem.",
158 "excerptCopy": "SensorExcerpt",
159 "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`."
160 }
161 },
162 "type": "object"
163 },
164 "ThermalMetrics": {
165 "additionalProperties": false,
166 "description": "The ThermalMetrics schema represents the thermal metrics of a chassis.",
167 "longDescription": "This resource shall represent the thermal metrics of a chassis for a Redfish implementation.",
168 "patternProperties": {
169 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
170 "description": "This property shall specify a valid odata or Redfish property.",
171 "type": [
172 "array",
173 "boolean",
174 "integer",
175 "number",
176 "null",
177 "object",
178 "string"
179 ]
180 }
181 },
182 "properties": {
183 "@odata.context": {
184 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
185 },
186 "@odata.etag": {
187 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
188 },
189 "@odata.id": {
190 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
191 },
192 "@odata.type": {
193 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
194 },
195 "Actions": {
196 "$ref": "#/definitions/Actions",
197 "description": "The available actions for this resource.",
198 "longDescription": "This property shall contain the available actions for this resource."
199 },
200 "Description": {
201 "anyOf": [
202 {
203 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
204 },
205 {
206 "type": "null"
207 }
208 ],
209 "readonly": true
210 },
211 "Id": {
212 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
213 "readonly": true
214 },
215 "Name": {
216 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
217 "readonly": true
218 },
219 "Oem": {
220 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
221 "description": "The OEM extension property.",
222 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
223 },
224 "TemperatureReadingsCelsius": {
225 "description": "The temperatures (Celsius) from all related sensors for this device.",
226 "excerptCopy": "SensorArrayExcerpt",
227 "items": {
228 "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorArrayExcerpt"
229 },
230 "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`.",
231 "type": "array"
232 },
233 "TemperatureReadingsCelsius@odata.count": {
234 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
235 },
236 "TemperatureSummaryCelsius": {
237 "anyOf": [
238 {
239 "$ref": "#/definitions/TemperatureSummary"
240 },
241 {
242 "type": "null"
243 }
244 ],
245 "description": "The summary temperature readings for this chassis.",
246 "longDescription": "This property shall contain the temperature sensor readings for this subsystem."
247 }
248 },
249 "required": [
250 "@odata.id",
251 "@odata.type",
252 "Id",
253 "Name"
254 ],
255 "type": "object"
256 }
257 },
258 "owningEntity": "DMTF",
259 "release": "2020.4",
260 "title": "#ThermalMetrics.v1_0_1.ThermalMetrics"
261}