1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/HeaterMetrics.v1_0_2.json",
3    "$ref": "#/definitions/HeaterMetrics",
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                "#HeaterMetrics.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        "HeaterMetrics": {
38            "additionalProperties": false,
39            "description": "The `HeaterMetrics` schema contains definitions for the metrics of a heater.",
40            "longDescription": "This resource shall be used to represent the metrics of a heater unit for a Redfish implementation.",
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                "@odata.context": {
57                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
58                },
59                "@odata.etag": {
60                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
61                },
62                "@odata.id": {
63                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
64                },
65                "@odata.type": {
66                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
67                },
68                "Actions": {
69                    "$ref": "#/definitions/Actions",
70                    "description": "The available actions for this resource.",
71                    "longDescription": "This property shall contain the available actions for this resource."
72                },
73                "Description": {
74                    "anyOf": [
75                        {
76                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
77                        },
78                        {
79                            "type": "null"
80                        }
81                    ],
82                    "readonly": true
83                },
84                "Id": {
85                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
86                    "readonly": true
87                },
88                "Name": {
89                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
90                    "readonly": true
91                },
92                "Oem": {
93                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
94                    "description": "The OEM extension property.",
95                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
96                },
97                "PowerWatts": {
98                    "anyOf": [
99                        {
100                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorPowerExcerpt"
101                        },
102                        {
103                            "type": "null"
104                        }
105                    ],
106                    "description": "Power consumption (W).",
107                    "excerptCopy": "SensorPowerExcerpt",
108                    "longDescription": "This property shall contain the total power consumption, 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`."
109                },
110                "PrePowerOnHeatingTimeSeconds": {
111                    "description": "The total number of seconds the heater was active while the device it heats was powered off.",
112                    "longDescription": "This property shall contain the total number of seconds the heater was active while the device it heats was powered off.",
113                    "readonly": true,
114                    "type": [
115                        "integer",
116                        "null"
117                    ]
118                },
119                "RuntimeHeatingTimeSeconds": {
120                    "description": "The total number of seconds the heater was active while the device it heats was powered on.",
121                    "longDescription": "This property shall contain the total number of seconds the heater was active while the device it heats was powered on.",
122                    "readonly": true,
123                    "type": [
124                        "integer",
125                        "null"
126                    ]
127                },
128                "TemperatureReadingsCelsius": {
129                    "description": "The temperatures (in degree Celsius units) from all related sensors for this device.",
130                    "excerptCopy": "SensorArrayExcerpt",
131                    "items": {
132                        "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorArrayExcerpt"
133                    },
134                    "longDescription": "This property shall contain the temperatures, in degree 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`.",
135                    "type": "array"
136                },
137                "TemperatureReadingsCelsius@odata.count": {
138                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
139                }
140            },
141            "required": [
142                "@odata.id",
143                "@odata.type",
144                "Id",
145                "Name"
146            ],
147            "type": "object"
148        },
149        "OemActions": {
150            "additionalProperties": true,
151            "description": "The available OEM-specific actions for this resource.",
152            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
153            "patternProperties": {
154                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
155                    "description": "This property shall specify a valid odata or Redfish property.",
156                    "type": [
157                        "array",
158                        "boolean",
159                        "integer",
160                        "number",
161                        "null",
162                        "object",
163                        "string"
164                    ]
165                }
166            },
167            "properties": {},
168            "type": "object"
169        },
170        "ResetMetrics": {
171            "additionalProperties": false,
172            "description": "This action resets the summary metrics related to this equipment.",
173            "longDescription": "This action shall reset any time intervals or counted values for this equipment.",
174            "parameters": {},
175            "patternProperties": {
176                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
177                    "description": "This property shall specify a valid odata or Redfish property.",
178                    "type": [
179                        "array",
180                        "boolean",
181                        "integer",
182                        "number",
183                        "null",
184                        "object",
185                        "string"
186                    ]
187                }
188            },
189            "properties": {
190                "target": {
191                    "description": "Link to invoke action",
192                    "format": "uri-reference",
193                    "type": "string"
194                },
195                "title": {
196                    "description": "Friendly action name",
197                    "type": "string"
198                }
199            },
200            "type": "object"
201        }
202    },
203    "language": "en",
204    "owningEntity": "DMTF",
205    "release": "2022.3",
206    "title": "#HeaterMetrics.v1_0_2.HeaterMetrics"
207}