xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/TelemetryService.v1_4_0.json (revision c6d7a45d427f9a6d9e761afcf305761dca60d7cf)
1*c6d7a45dSGunnar Mills{
2*c6d7a45dSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/TelemetryService.v1_4_0.json",
3*c6d7a45dSGunnar Mills    "$ref": "#/definitions/TelemetryService",
4*c6d7a45dSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*c6d7a45dSGunnar Mills    "copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*c6d7a45dSGunnar Mills    "definitions": {
7*c6d7a45dSGunnar Mills        "Actions": {
8*c6d7a45dSGunnar Mills            "additionalProperties": false,
9*c6d7a45dSGunnar Mills            "description": "The available actions for this resource.",
10*c6d7a45dSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*c6d7a45dSGunnar Mills            "patternProperties": {
12*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*c6d7a45dSGunnar Mills                    "type": [
15*c6d7a45dSGunnar Mills                        "array",
16*c6d7a45dSGunnar Mills                        "boolean",
17*c6d7a45dSGunnar Mills                        "integer",
18*c6d7a45dSGunnar Mills                        "number",
19*c6d7a45dSGunnar Mills                        "null",
20*c6d7a45dSGunnar Mills                        "object",
21*c6d7a45dSGunnar Mills                        "string"
22*c6d7a45dSGunnar Mills                    ]
23*c6d7a45dSGunnar Mills                }
24*c6d7a45dSGunnar Mills            },
25*c6d7a45dSGunnar Mills            "properties": {
26*c6d7a45dSGunnar Mills                "#TelemetryService.ClearMetricReports": {
27*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/ClearMetricReports"
28*c6d7a45dSGunnar Mills                },
29*c6d7a45dSGunnar Mills                "#TelemetryService.ClearTelemetryData": {
30*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/ClearTelemetryData"
31*c6d7a45dSGunnar Mills                },
32*c6d7a45dSGunnar Mills                "#TelemetryService.CollectTelemetryData": {
33*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/CollectTelemetryData"
34*c6d7a45dSGunnar Mills                },
35*c6d7a45dSGunnar Mills                "#TelemetryService.ResetMetricReportDefinitionsToDefaults": {
36*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/ResetMetricReportDefinitionsToDefaults"
37*c6d7a45dSGunnar Mills                },
38*c6d7a45dSGunnar Mills                "#TelemetryService.ResetTriggersToDefaults": {
39*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/ResetTriggersToDefaults"
40*c6d7a45dSGunnar Mills                },
41*c6d7a45dSGunnar Mills                "#TelemetryService.SubmitTestMetricReport": {
42*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/SubmitTestMetricReport"
43*c6d7a45dSGunnar Mills                },
44*c6d7a45dSGunnar Mills                "Oem": {
45*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/OemActions",
46*c6d7a45dSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
47*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
48*c6d7a45dSGunnar Mills                }
49*c6d7a45dSGunnar Mills            },
50*c6d7a45dSGunnar Mills            "type": "object"
51*c6d7a45dSGunnar Mills        },
52*c6d7a45dSGunnar Mills        "ClearMetricReports": {
53*c6d7a45dSGunnar Mills            "additionalProperties": false,
54*c6d7a45dSGunnar Mills            "description": "The action to clear the metric reports for this telemetry service.",
55*c6d7a45dSGunnar Mills            "longDescription": "This action shall delete all entries found in the metric report collection for this telemetry service.",
56*c6d7a45dSGunnar Mills            "parameters": {},
57*c6d7a45dSGunnar Mills            "patternProperties": {
58*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
59*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
60*c6d7a45dSGunnar Mills                    "type": [
61*c6d7a45dSGunnar Mills                        "array",
62*c6d7a45dSGunnar Mills                        "boolean",
63*c6d7a45dSGunnar Mills                        "integer",
64*c6d7a45dSGunnar Mills                        "number",
65*c6d7a45dSGunnar Mills                        "null",
66*c6d7a45dSGunnar Mills                        "object",
67*c6d7a45dSGunnar Mills                        "string"
68*c6d7a45dSGunnar Mills                    ]
69*c6d7a45dSGunnar Mills                }
70*c6d7a45dSGunnar Mills            },
71*c6d7a45dSGunnar Mills            "properties": {
72*c6d7a45dSGunnar Mills                "target": {
73*c6d7a45dSGunnar Mills                    "description": "Link to invoke action",
74*c6d7a45dSGunnar Mills                    "format": "uri-reference",
75*c6d7a45dSGunnar Mills                    "type": "string"
76*c6d7a45dSGunnar Mills                },
77*c6d7a45dSGunnar Mills                "title": {
78*c6d7a45dSGunnar Mills                    "description": "Friendly action name",
79*c6d7a45dSGunnar Mills                    "type": "string"
80*c6d7a45dSGunnar Mills                }
81*c6d7a45dSGunnar Mills            },
82*c6d7a45dSGunnar Mills            "type": "object",
83*c6d7a45dSGunnar Mills            "versionAdded": "v1_3_0"
84*c6d7a45dSGunnar Mills        },
85*c6d7a45dSGunnar Mills        "ClearTelemetryData": {
86*c6d7a45dSGunnar Mills            "additionalProperties": false,
87*c6d7a45dSGunnar Mills            "description": "The action to clear the telemetry data for this telemetry service.",
88*c6d7a45dSGunnar Mills            "longDescription": "This action shall delete all entries found in the telemetry data collection for this telemetry service.",
89*c6d7a45dSGunnar Mills            "parameters": {},
90*c6d7a45dSGunnar Mills            "patternProperties": {
91*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
92*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
93*c6d7a45dSGunnar Mills                    "type": [
94*c6d7a45dSGunnar Mills                        "array",
95*c6d7a45dSGunnar Mills                        "boolean",
96*c6d7a45dSGunnar Mills                        "integer",
97*c6d7a45dSGunnar Mills                        "number",
98*c6d7a45dSGunnar Mills                        "null",
99*c6d7a45dSGunnar Mills                        "object",
100*c6d7a45dSGunnar Mills                        "string"
101*c6d7a45dSGunnar Mills                    ]
102*c6d7a45dSGunnar Mills                }
103*c6d7a45dSGunnar Mills            },
104*c6d7a45dSGunnar Mills            "properties": {
105*c6d7a45dSGunnar Mills                "target": {
106*c6d7a45dSGunnar Mills                    "description": "Link to invoke action",
107*c6d7a45dSGunnar Mills                    "format": "uri-reference",
108*c6d7a45dSGunnar Mills                    "type": "string"
109*c6d7a45dSGunnar Mills                },
110*c6d7a45dSGunnar Mills                "title": {
111*c6d7a45dSGunnar Mills                    "description": "Friendly action name",
112*c6d7a45dSGunnar Mills                    "type": "string"
113*c6d7a45dSGunnar Mills                }
114*c6d7a45dSGunnar Mills            },
115*c6d7a45dSGunnar Mills            "type": "object",
116*c6d7a45dSGunnar Mills            "versionAdded": "v1_4_0"
117*c6d7a45dSGunnar Mills        },
118*c6d7a45dSGunnar Mills        "CollectTelemetryData": {
119*c6d7a45dSGunnar Mills            "actionResponse": {
120*c6d7a45dSGunnar Mills                "$ref": "#/definitions/CollectTelemetryDataResponse"
121*c6d7a45dSGunnar Mills            },
122*c6d7a45dSGunnar Mills            "additionalProperties": false,
123*c6d7a45dSGunnar Mills            "description": "The action to collect the telemetry data from a device or service.  When the telemetry data is collected, a new telemetry data resource will be created.",
124*c6d7a45dSGunnar Mills            "longDescription": "This action shall collect the telemetry data from a device or service.  The `Location` header in the response shall contain a URI to a resource of type `TelemetryData` that contains the telemetry data.  The `AdditionalDataURI` property in the referenced `TelemetryData` resource shall contain the URI to download the telemetry data.",
125*c6d7a45dSGunnar Mills            "parameters": {
126*c6d7a45dSGunnar Mills                "OEMTelemetryDataType": {
127*c6d7a45dSGunnar Mills                    "description": "The OEM-defined type of telemetry data to collect.",
128*c6d7a45dSGunnar Mills                    "longDescription": "This parameter shall contain the OEM-defined type of telemetry data to collect.  This parameter shall be required if `TelemetryDataType` is `OEM`.",
129*c6d7a45dSGunnar Mills                    "type": "string"
130*c6d7a45dSGunnar Mills                },
131*c6d7a45dSGunnar Mills                "TargetDevices": {
132*c6d7a45dSGunnar Mills                    "description": "An array of devices from which to collect telemetry data.",
133*c6d7a45dSGunnar Mills                    "items": {
134*c6d7a45dSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef"
135*c6d7a45dSGunnar Mills                    },
136*c6d7a45dSGunnar Mills                    "longDescription": "This parameter shall contain an array of devices from which to collect telemetry data.",
137*c6d7a45dSGunnar Mills                    "type": "array"
138*c6d7a45dSGunnar Mills                },
139*c6d7a45dSGunnar Mills                "TelemetryDataType": {
140*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/TelemetryData.json#/definitions/TelemetryDataTypes",
141*c6d7a45dSGunnar Mills                    "description": "The type of telemetry data to collect.",
142*c6d7a45dSGunnar Mills                    "longDescription": "This parameter shall contain the type of telemetry data to collect.",
143*c6d7a45dSGunnar Mills                    "requiredParameter": true
144*c6d7a45dSGunnar Mills                }
145*c6d7a45dSGunnar Mills            },
146*c6d7a45dSGunnar Mills            "patternProperties": {
147*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
148*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
149*c6d7a45dSGunnar Mills                    "type": [
150*c6d7a45dSGunnar Mills                        "array",
151*c6d7a45dSGunnar Mills                        "boolean",
152*c6d7a45dSGunnar Mills                        "integer",
153*c6d7a45dSGunnar Mills                        "number",
154*c6d7a45dSGunnar Mills                        "null",
155*c6d7a45dSGunnar Mills                        "object",
156*c6d7a45dSGunnar Mills                        "string"
157*c6d7a45dSGunnar Mills                    ]
158*c6d7a45dSGunnar Mills                }
159*c6d7a45dSGunnar Mills            },
160*c6d7a45dSGunnar Mills            "properties": {
161*c6d7a45dSGunnar Mills                "target": {
162*c6d7a45dSGunnar Mills                    "description": "Link to invoke action",
163*c6d7a45dSGunnar Mills                    "format": "uri-reference",
164*c6d7a45dSGunnar Mills                    "type": "string"
165*c6d7a45dSGunnar Mills                },
166*c6d7a45dSGunnar Mills                "title": {
167*c6d7a45dSGunnar Mills                    "description": "Friendly action name",
168*c6d7a45dSGunnar Mills                    "type": "string"
169*c6d7a45dSGunnar Mills                }
170*c6d7a45dSGunnar Mills            },
171*c6d7a45dSGunnar Mills            "type": "object",
172*c6d7a45dSGunnar Mills            "versionAdded": "v1_4_0"
173*c6d7a45dSGunnar Mills        },
174*c6d7a45dSGunnar Mills        "CollectTelemetryDataResponse": {
175*c6d7a45dSGunnar Mills            "additionalProperties": false,
176*c6d7a45dSGunnar Mills            "description": "The response body for the `CollectTelemetryData` action.",
177*c6d7a45dSGunnar Mills            "longDescription": "This type shall contain the properties found in the response body for the `CollectTelemetryData` action.",
178*c6d7a45dSGunnar Mills            "patternProperties": {
179*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
180*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
181*c6d7a45dSGunnar Mills                    "type": [
182*c6d7a45dSGunnar Mills                        "array",
183*c6d7a45dSGunnar Mills                        "boolean",
184*c6d7a45dSGunnar Mills                        "integer",
185*c6d7a45dSGunnar Mills                        "number",
186*c6d7a45dSGunnar Mills                        "null",
187*c6d7a45dSGunnar Mills                        "object",
188*c6d7a45dSGunnar Mills                        "string"
189*c6d7a45dSGunnar Mills                    ]
190*c6d7a45dSGunnar Mills                }
191*c6d7a45dSGunnar Mills            },
192*c6d7a45dSGunnar Mills            "properties": {
193*c6d7a45dSGunnar Mills                "TelmetryData": {
194*c6d7a45dSGunnar Mills                    "description": "An array of links to the collected telemetry data.",
195*c6d7a45dSGunnar Mills                    "items": {
196*c6d7a45dSGunnar Mills                        "type": "string"
197*c6d7a45dSGunnar Mills                    },
198*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain an array of links to resources of type `TelemetryData` that represent the collected telemetry data.",
199*c6d7a45dSGunnar Mills                    "readonly": true,
200*c6d7a45dSGunnar Mills                    "type": "array",
201*c6d7a45dSGunnar Mills                    "versionAdded": "v1_4_0"
202*c6d7a45dSGunnar Mills                }
203*c6d7a45dSGunnar Mills            },
204*c6d7a45dSGunnar Mills            "required": [
205*c6d7a45dSGunnar Mills                "TelmetryData"
206*c6d7a45dSGunnar Mills            ],
207*c6d7a45dSGunnar Mills            "type": "object"
208*c6d7a45dSGunnar Mills        },
209*c6d7a45dSGunnar Mills        "CollectionFunction": {
210*c6d7a45dSGunnar Mills            "description": "An operation to perform over the sample.",
211*c6d7a45dSGunnar Mills            "enum": [
212*c6d7a45dSGunnar Mills                "Average",
213*c6d7a45dSGunnar Mills                "Maximum",
214*c6d7a45dSGunnar Mills                "Minimum",
215*c6d7a45dSGunnar Mills                "Summation"
216*c6d7a45dSGunnar Mills            ],
217*c6d7a45dSGunnar Mills            "enumDescriptions": {
218*c6d7a45dSGunnar Mills                "Average": "An averaging function.",
219*c6d7a45dSGunnar Mills                "Maximum": "A maximum function.",
220*c6d7a45dSGunnar Mills                "Minimum": "A minimum function.",
221*c6d7a45dSGunnar Mills                "Summation": "A summation function."
222*c6d7a45dSGunnar Mills            },
223*c6d7a45dSGunnar Mills            "longDescription": "If present, the metric value shall be computed according to this function.",
224*c6d7a45dSGunnar Mills            "type": "string"
225*c6d7a45dSGunnar Mills        },
226*c6d7a45dSGunnar Mills        "MetricValue": {
227*c6d7a45dSGunnar Mills            "additionalProperties": false,
228*c6d7a45dSGunnar Mills            "description": "Properties that capture a metric value and other associated information.",
229*c6d7a45dSGunnar Mills            "longDescription": "This type shall contain properties that capture a metric value and other associated information.",
230*c6d7a45dSGunnar Mills            "patternProperties": {
231*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
232*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
233*c6d7a45dSGunnar Mills                    "type": [
234*c6d7a45dSGunnar Mills                        "array",
235*c6d7a45dSGunnar Mills                        "boolean",
236*c6d7a45dSGunnar Mills                        "integer",
237*c6d7a45dSGunnar Mills                        "number",
238*c6d7a45dSGunnar Mills                        "null",
239*c6d7a45dSGunnar Mills                        "object",
240*c6d7a45dSGunnar Mills                        "string"
241*c6d7a45dSGunnar Mills                    ]
242*c6d7a45dSGunnar Mills                }
243*c6d7a45dSGunnar Mills            },
244*c6d7a45dSGunnar Mills            "properties": {
245*c6d7a45dSGunnar Mills                "MetricDefinition": {
246*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/MetricDefinition.json#/definitions/MetricDefinition",
247*c6d7a45dSGunnar Mills                    "description": "The link to the metric definition for this metric.",
248*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a link to a resource of type `MetricDefinition` that describes what this metric value captures.",
249*c6d7a45dSGunnar Mills                    "readonly": true,
250*c6d7a45dSGunnar Mills                    "versionAdded": "v1_1_0"
251*c6d7a45dSGunnar Mills                },
252*c6d7a45dSGunnar Mills                "MetricId": {
253*c6d7a45dSGunnar Mills                    "description": "The metric definitions identifier for this metric.",
254*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the same value as the `Id` property of the source metric within the associated metric definition.",
255*c6d7a45dSGunnar Mills                    "readonly": true,
256*c6d7a45dSGunnar Mills                    "type": [
257*c6d7a45dSGunnar Mills                        "string",
258*c6d7a45dSGunnar Mills                        "null"
259*c6d7a45dSGunnar Mills                    ],
260*c6d7a45dSGunnar Mills                    "versionAdded": "v1_1_0"
261*c6d7a45dSGunnar Mills                },
262*c6d7a45dSGunnar Mills                "MetricProperty": {
263*c6d7a45dSGunnar Mills                    "description": "The URI for the property from which this metric is derived.",
264*c6d7a45dSGunnar Mills                    "format": "uri-reference",
265*c6d7a45dSGunnar Mills                    "longDescription": "The value shall be the URI to the property following the JSON fragment notation, as defined by RFC6901, to identify an individual property in a Redfish resource.",
266*c6d7a45dSGunnar Mills                    "readonly": true,
267*c6d7a45dSGunnar Mills                    "type": [
268*c6d7a45dSGunnar Mills                        "string",
269*c6d7a45dSGunnar Mills                        "null"
270*c6d7a45dSGunnar Mills                    ],
271*c6d7a45dSGunnar Mills                    "versionAdded": "v1_1_0"
272*c6d7a45dSGunnar Mills                },
273*c6d7a45dSGunnar Mills                "MetricValue": {
274*c6d7a45dSGunnar Mills                    "description": "The metric value, as a string.",
275*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the metric value, as a string.",
276*c6d7a45dSGunnar Mills                    "readonly": true,
277*c6d7a45dSGunnar Mills                    "type": [
278*c6d7a45dSGunnar Mills                        "string",
279*c6d7a45dSGunnar Mills                        "null"
280*c6d7a45dSGunnar Mills                    ],
281*c6d7a45dSGunnar Mills                    "versionAdded": "v1_1_0"
282*c6d7a45dSGunnar Mills                },
283*c6d7a45dSGunnar Mills                "Timestamp": {
284*c6d7a45dSGunnar Mills                    "description": "The date and time when the metric is obtained.  A management application can establish a time series of metric data by retrieving the instances of metric value and sorting them according to their timestamp.",
285*c6d7a45dSGunnar Mills                    "format": "date-time",
286*c6d7a45dSGunnar Mills                    "longDescription": "The value shall time when the metric value was obtained.  Note that this value may be different from the time when this instance is created.",
287*c6d7a45dSGunnar Mills                    "readonly": true,
288*c6d7a45dSGunnar Mills                    "type": [
289*c6d7a45dSGunnar Mills                        "string",
290*c6d7a45dSGunnar Mills                        "null"
291*c6d7a45dSGunnar Mills                    ],
292*c6d7a45dSGunnar Mills                    "versionAdded": "v1_1_0"
293*c6d7a45dSGunnar Mills                }
294*c6d7a45dSGunnar Mills            },
295*c6d7a45dSGunnar Mills            "type": "object"
296*c6d7a45dSGunnar Mills        },
297*c6d7a45dSGunnar Mills        "OemActions": {
298*c6d7a45dSGunnar Mills            "additionalProperties": true,
299*c6d7a45dSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
300*c6d7a45dSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
301*c6d7a45dSGunnar Mills            "patternProperties": {
302*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
303*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
304*c6d7a45dSGunnar Mills                    "type": [
305*c6d7a45dSGunnar Mills                        "array",
306*c6d7a45dSGunnar Mills                        "boolean",
307*c6d7a45dSGunnar Mills                        "integer",
308*c6d7a45dSGunnar Mills                        "number",
309*c6d7a45dSGunnar Mills                        "null",
310*c6d7a45dSGunnar Mills                        "object",
311*c6d7a45dSGunnar Mills                        "string"
312*c6d7a45dSGunnar Mills                    ]
313*c6d7a45dSGunnar Mills                }
314*c6d7a45dSGunnar Mills            },
315*c6d7a45dSGunnar Mills            "properties": {},
316*c6d7a45dSGunnar Mills            "type": "object"
317*c6d7a45dSGunnar Mills        },
318*c6d7a45dSGunnar Mills        "ResetMetricReportDefinitionsToDefaults": {
319*c6d7a45dSGunnar Mills            "additionalProperties": false,
320*c6d7a45dSGunnar Mills            "description": "The action to reset the metric report definitions to factory defaults.",
321*c6d7a45dSGunnar Mills            "longDescription": "This action shall reset all entries found in the metric report definition collection to factory defaults.  This action may delete members of the metric report definition collection.",
322*c6d7a45dSGunnar Mills            "parameters": {},
323*c6d7a45dSGunnar Mills            "patternProperties": {
324*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
325*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
326*c6d7a45dSGunnar Mills                    "type": [
327*c6d7a45dSGunnar Mills                        "array",
328*c6d7a45dSGunnar Mills                        "boolean",
329*c6d7a45dSGunnar Mills                        "integer",
330*c6d7a45dSGunnar Mills                        "number",
331*c6d7a45dSGunnar Mills                        "null",
332*c6d7a45dSGunnar Mills                        "object",
333*c6d7a45dSGunnar Mills                        "string"
334*c6d7a45dSGunnar Mills                    ]
335*c6d7a45dSGunnar Mills                }
336*c6d7a45dSGunnar Mills            },
337*c6d7a45dSGunnar Mills            "properties": {
338*c6d7a45dSGunnar Mills                "target": {
339*c6d7a45dSGunnar Mills                    "description": "Link to invoke action",
340*c6d7a45dSGunnar Mills                    "format": "uri-reference",
341*c6d7a45dSGunnar Mills                    "type": "string"
342*c6d7a45dSGunnar Mills                },
343*c6d7a45dSGunnar Mills                "title": {
344*c6d7a45dSGunnar Mills                    "description": "Friendly action name",
345*c6d7a45dSGunnar Mills                    "type": "string"
346*c6d7a45dSGunnar Mills                }
347*c6d7a45dSGunnar Mills            },
348*c6d7a45dSGunnar Mills            "type": "object",
349*c6d7a45dSGunnar Mills            "versionAdded": "v1_3_0"
350*c6d7a45dSGunnar Mills        },
351*c6d7a45dSGunnar Mills        "ResetTriggersToDefaults": {
352*c6d7a45dSGunnar Mills            "additionalProperties": false,
353*c6d7a45dSGunnar Mills            "description": "The action to reset the triggers to factory defaults.",
354*c6d7a45dSGunnar Mills            "longDescription": "This action shall reset all entries found in the triggers collection to factory defaults.  This action may delete members of the triggers collection.",
355*c6d7a45dSGunnar Mills            "parameters": {},
356*c6d7a45dSGunnar Mills            "patternProperties": {
357*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
358*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
359*c6d7a45dSGunnar Mills                    "type": [
360*c6d7a45dSGunnar Mills                        "array",
361*c6d7a45dSGunnar Mills                        "boolean",
362*c6d7a45dSGunnar Mills                        "integer",
363*c6d7a45dSGunnar Mills                        "number",
364*c6d7a45dSGunnar Mills                        "null",
365*c6d7a45dSGunnar Mills                        "object",
366*c6d7a45dSGunnar Mills                        "string"
367*c6d7a45dSGunnar Mills                    ]
368*c6d7a45dSGunnar Mills                }
369*c6d7a45dSGunnar Mills            },
370*c6d7a45dSGunnar Mills            "properties": {
371*c6d7a45dSGunnar Mills                "target": {
372*c6d7a45dSGunnar Mills                    "description": "Link to invoke action",
373*c6d7a45dSGunnar Mills                    "format": "uri-reference",
374*c6d7a45dSGunnar Mills                    "type": "string"
375*c6d7a45dSGunnar Mills                },
376*c6d7a45dSGunnar Mills                "title": {
377*c6d7a45dSGunnar Mills                    "description": "Friendly action name",
378*c6d7a45dSGunnar Mills                    "type": "string"
379*c6d7a45dSGunnar Mills                }
380*c6d7a45dSGunnar Mills            },
381*c6d7a45dSGunnar Mills            "type": "object",
382*c6d7a45dSGunnar Mills            "versionAdded": "v1_3_0"
383*c6d7a45dSGunnar Mills        },
384*c6d7a45dSGunnar Mills        "SubmitTestMetricReport": {
385*c6d7a45dSGunnar Mills            "additionalProperties": false,
386*c6d7a45dSGunnar Mills            "description": "This action generates a metric report.",
387*c6d7a45dSGunnar Mills            "longDescription": "This action shall cause the event service to immediately generate the metric report as an alert event.  Then, this message should be sent to any appropriate event destinations.",
388*c6d7a45dSGunnar Mills            "parameters": {
389*c6d7a45dSGunnar Mills                "GeneratedMetricReportValues": {
390*c6d7a45dSGunnar Mills                    "description": "The contents of the `MetricReportValues` in the generated metric report.",
391*c6d7a45dSGunnar Mills                    "items": {
392*c6d7a45dSGunnar Mills                        "$ref": "#/definitions/MetricValue"
393*c6d7a45dSGunnar Mills                    },
394*c6d7a45dSGunnar Mills                    "longDescription": "This parameter shall contain the contents of the `MetricReportValues` array property in the generated metric report.",
395*c6d7a45dSGunnar Mills                    "requiredParameter": true,
396*c6d7a45dSGunnar Mills                    "type": "array",
397*c6d7a45dSGunnar Mills                    "versionAdded": "v1_1_0"
398*c6d7a45dSGunnar Mills                },
399*c6d7a45dSGunnar Mills                "MetricReportName": {
400*c6d7a45dSGunnar Mills                    "description": "The name of the metric report in generated metric report.",
401*c6d7a45dSGunnar Mills                    "longDescription": "This parameter shall contain the name of the generated metric report.",
402*c6d7a45dSGunnar Mills                    "requiredParameter": true,
403*c6d7a45dSGunnar Mills                    "type": "string"
404*c6d7a45dSGunnar Mills                },
405*c6d7a45dSGunnar Mills                "MetricReportValues": {
406*c6d7a45dSGunnar Mills                    "deprecated": "This property has been deprecated in favor of using the property `GeneratedMetricReportValues`.",
407*c6d7a45dSGunnar Mills                    "description": "The contents of the `MetricReportValues` array in the generated metric report.",
408*c6d7a45dSGunnar Mills                    "longDescription": "This parameter shall contain the contents of the `MetricReportValues` array property in the generated metric report.",
409*c6d7a45dSGunnar Mills                    "type": "string",
410*c6d7a45dSGunnar Mills                    "versionDeprecated": "v1_1_0"
411*c6d7a45dSGunnar Mills                }
412*c6d7a45dSGunnar Mills            },
413*c6d7a45dSGunnar Mills            "patternProperties": {
414*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
415*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
416*c6d7a45dSGunnar Mills                    "type": [
417*c6d7a45dSGunnar Mills                        "array",
418*c6d7a45dSGunnar Mills                        "boolean",
419*c6d7a45dSGunnar Mills                        "integer",
420*c6d7a45dSGunnar Mills                        "number",
421*c6d7a45dSGunnar Mills                        "null",
422*c6d7a45dSGunnar Mills                        "object",
423*c6d7a45dSGunnar Mills                        "string"
424*c6d7a45dSGunnar Mills                    ]
425*c6d7a45dSGunnar Mills                }
426*c6d7a45dSGunnar Mills            },
427*c6d7a45dSGunnar Mills            "properties": {
428*c6d7a45dSGunnar Mills                "target": {
429*c6d7a45dSGunnar Mills                    "description": "Link to invoke action",
430*c6d7a45dSGunnar Mills                    "format": "uri-reference",
431*c6d7a45dSGunnar Mills                    "type": "string"
432*c6d7a45dSGunnar Mills                },
433*c6d7a45dSGunnar Mills                "title": {
434*c6d7a45dSGunnar Mills                    "description": "Friendly action name",
435*c6d7a45dSGunnar Mills                    "type": "string"
436*c6d7a45dSGunnar Mills                }
437*c6d7a45dSGunnar Mills            },
438*c6d7a45dSGunnar Mills            "type": "object"
439*c6d7a45dSGunnar Mills        },
440*c6d7a45dSGunnar Mills        "TelemetryService": {
441*c6d7a45dSGunnar Mills            "additionalProperties": false,
442*c6d7a45dSGunnar Mills            "description": "The `TelemetryService` schema describes a telemetry service.  The telemetry service is used for collecting and reporting metric data within the Redfish service.",
443*c6d7a45dSGunnar Mills            "longDescription": "This resource contains a telemetry service for a Redfish implementation.",
444*c6d7a45dSGunnar Mills            "patternProperties": {
445*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
446*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
447*c6d7a45dSGunnar Mills                    "type": [
448*c6d7a45dSGunnar Mills                        "array",
449*c6d7a45dSGunnar Mills                        "boolean",
450*c6d7a45dSGunnar Mills                        "integer",
451*c6d7a45dSGunnar Mills                        "number",
452*c6d7a45dSGunnar Mills                        "null",
453*c6d7a45dSGunnar Mills                        "object",
454*c6d7a45dSGunnar Mills                        "string"
455*c6d7a45dSGunnar Mills                    ]
456*c6d7a45dSGunnar Mills                }
457*c6d7a45dSGunnar Mills            },
458*c6d7a45dSGunnar Mills            "properties": {
459*c6d7a45dSGunnar Mills                "@odata.context": {
460*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
461*c6d7a45dSGunnar Mills                },
462*c6d7a45dSGunnar Mills                "@odata.etag": {
463*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
464*c6d7a45dSGunnar Mills                },
465*c6d7a45dSGunnar Mills                "@odata.id": {
466*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
467*c6d7a45dSGunnar Mills                },
468*c6d7a45dSGunnar Mills                "@odata.type": {
469*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
470*c6d7a45dSGunnar Mills                },
471*c6d7a45dSGunnar Mills                "Actions": {
472*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/Actions",
473*c6d7a45dSGunnar Mills                    "description": "The available actions for this resource.",
474*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
475*c6d7a45dSGunnar Mills                },
476*c6d7a45dSGunnar Mills                "Description": {
477*c6d7a45dSGunnar Mills                    "anyOf": [
478*c6d7a45dSGunnar Mills                        {
479*c6d7a45dSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
480*c6d7a45dSGunnar Mills                        },
481*c6d7a45dSGunnar Mills                        {
482*c6d7a45dSGunnar Mills                            "type": "null"
483*c6d7a45dSGunnar Mills                        }
484*c6d7a45dSGunnar Mills                    ],
485*c6d7a45dSGunnar Mills                    "readonly": true
486*c6d7a45dSGunnar Mills                },
487*c6d7a45dSGunnar Mills                "Id": {
488*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
489*c6d7a45dSGunnar Mills                    "readonly": true
490*c6d7a45dSGunnar Mills                },
491*c6d7a45dSGunnar Mills                "LogService": {
492*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/LogService.json#/definitions/LogService",
493*c6d7a45dSGunnar Mills                    "description": "The link to a log service that the telemetry service uses.  This service can be a dedicated log service or a pointer to a log service under another resource, such as a manager.",
494*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a link to a resource of type `LogService` that this telemetry service uses.",
495*c6d7a45dSGunnar Mills                    "readonly": true
496*c6d7a45dSGunnar Mills                },
497*c6d7a45dSGunnar Mills                "MaxReports": {
498*c6d7a45dSGunnar Mills                    "description": "The maximum number of metric reports that this service supports.",
499*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the maximum number of metric reports that this service supports.",
500*c6d7a45dSGunnar Mills                    "readonly": true,
501*c6d7a45dSGunnar Mills                    "type": [
502*c6d7a45dSGunnar Mills                        "integer",
503*c6d7a45dSGunnar Mills                        "null"
504*c6d7a45dSGunnar Mills                    ]
505*c6d7a45dSGunnar Mills                },
506*c6d7a45dSGunnar Mills                "MetricDefinitions": {
507*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/MetricDefinitionCollection.json#/definitions/MetricDefinitionCollection",
508*c6d7a45dSGunnar Mills                    "description": "The link to the collection of metric definitions.",
509*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `MetricDefinitionCollection`.",
510*c6d7a45dSGunnar Mills                    "readonly": true
511*c6d7a45dSGunnar Mills                },
512*c6d7a45dSGunnar Mills                "MetricReportDefinitions": {
513*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/MetricReportDefinitionCollection.json#/definitions/MetricReportDefinitionCollection",
514*c6d7a45dSGunnar Mills                    "description": "The link to the collection of metric report definitions.",
515*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `MetricReportDefinitionCollection`.",
516*c6d7a45dSGunnar Mills                    "readonly": true
517*c6d7a45dSGunnar Mills                },
518*c6d7a45dSGunnar Mills                "MetricReports": {
519*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/MetricReportCollection.json#/definitions/MetricReportCollection",
520*c6d7a45dSGunnar Mills                    "description": "The link to the collection of metric reports.",
521*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `MetricReportCollection`.",
522*c6d7a45dSGunnar Mills                    "readonly": true
523*c6d7a45dSGunnar Mills                },
524*c6d7a45dSGunnar Mills                "MinCollectionInterval": {
525*c6d7a45dSGunnar Mills                    "description": "The minimum time interval between gathering metric data that this service allows.",
526*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the minimum time interval between gathering metric data that this service allows.",
527*c6d7a45dSGunnar Mills                    "pattern": "^P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?$",
528*c6d7a45dSGunnar Mills                    "readonly": true,
529*c6d7a45dSGunnar Mills                    "type": [
530*c6d7a45dSGunnar Mills                        "string",
531*c6d7a45dSGunnar Mills                        "null"
532*c6d7a45dSGunnar Mills                    ]
533*c6d7a45dSGunnar Mills                },
534*c6d7a45dSGunnar Mills                "Name": {
535*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
536*c6d7a45dSGunnar Mills                    "readonly": true
537*c6d7a45dSGunnar Mills                },
538*c6d7a45dSGunnar Mills                "Oem": {
539*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
540*c6d7a45dSGunnar Mills                    "description": "The OEM extension property.",
541*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
542*c6d7a45dSGunnar Mills                },
543*c6d7a45dSGunnar Mills                "ServiceEnabled": {
544*c6d7a45dSGunnar Mills                    "description": "An indication of whether this service is enabled.",
545*c6d7a45dSGunnar Mills                    "longDescription": "This property shall indicate whether this service is enabled.",
546*c6d7a45dSGunnar Mills                    "readonly": false,
547*c6d7a45dSGunnar Mills                    "type": [
548*c6d7a45dSGunnar Mills                        "boolean",
549*c6d7a45dSGunnar Mills                        "null"
550*c6d7a45dSGunnar Mills                    ],
551*c6d7a45dSGunnar Mills                    "versionAdded": "v1_2_0"
552*c6d7a45dSGunnar Mills                },
553*c6d7a45dSGunnar Mills                "Status": {
554*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
555*c6d7a45dSGunnar Mills                    "description": "The status and health of the resource and its subordinate or dependent resources.",
556*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain any status or health properties of the resource."
557*c6d7a45dSGunnar Mills                },
558*c6d7a45dSGunnar Mills                "SupportedCollectionFunctions": {
559*c6d7a45dSGunnar Mills                    "description": "The functions that can be performed over each metric.",
560*c6d7a45dSGunnar Mills                    "items": {
561*c6d7a45dSGunnar Mills                        "anyOf": [
562*c6d7a45dSGunnar Mills                            {
563*c6d7a45dSGunnar Mills                                "$ref": "#/definitions/CollectionFunction"
564*c6d7a45dSGunnar Mills                            },
565*c6d7a45dSGunnar Mills                            {
566*c6d7a45dSGunnar Mills                                "type": "null"
567*c6d7a45dSGunnar Mills                            }
568*c6d7a45dSGunnar Mills                        ]
569*c6d7a45dSGunnar Mills                    },
570*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the function to apply over the collection duration.",
571*c6d7a45dSGunnar Mills                    "readonly": true,
572*c6d7a45dSGunnar Mills                    "type": "array"
573*c6d7a45dSGunnar Mills                },
574*c6d7a45dSGunnar Mills                "SupportedOEMTelemetryDataTypes": {
575*c6d7a45dSGunnar Mills                    "description": "A list of supported OEM-defined telemetry data types.",
576*c6d7a45dSGunnar Mills                    "items": {
577*c6d7a45dSGunnar Mills                        "type": [
578*c6d7a45dSGunnar Mills                            "string",
579*c6d7a45dSGunnar Mills                            "null"
580*c6d7a45dSGunnar Mills                        ]
581*c6d7a45dSGunnar Mills                    },
582*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a list of supported OEM-defined telemetry data types.",
583*c6d7a45dSGunnar Mills                    "readonly": true,
584*c6d7a45dSGunnar Mills                    "type": "array",
585*c6d7a45dSGunnar Mills                    "versionAdded": "v1_4_0"
586*c6d7a45dSGunnar Mills                },
587*c6d7a45dSGunnar Mills                "SupportedTelemetryDataTypes": {
588*c6d7a45dSGunnar Mills                    "description": "A list of supported telemetry data types.",
589*c6d7a45dSGunnar Mills                    "items": {
590*c6d7a45dSGunnar Mills                        "anyOf": [
591*c6d7a45dSGunnar Mills                            {
592*c6d7a45dSGunnar Mills                                "$ref": "http://redfish.dmtf.org/schemas/v1/TelemetryData.json#/definitions/TelemetryDataTypes"
593*c6d7a45dSGunnar Mills                            },
594*c6d7a45dSGunnar Mills                            {
595*c6d7a45dSGunnar Mills                                "type": "null"
596*c6d7a45dSGunnar Mills                            }
597*c6d7a45dSGunnar Mills                        ]
598*c6d7a45dSGunnar Mills                    },
599*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a list of supported telemetry data types.",
600*c6d7a45dSGunnar Mills                    "readonly": true,
601*c6d7a45dSGunnar Mills                    "type": "array",
602*c6d7a45dSGunnar Mills                    "versionAdded": "v1_4_0"
603*c6d7a45dSGunnar Mills                },
604*c6d7a45dSGunnar Mills                "TelemetryData": {
605*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/TelemetryDataCollection.json#/definitions/TelemetryDataCollection",
606*c6d7a45dSGunnar Mills                    "description": "The link to the collection of data telemetry.",
607*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `TelemetryDataCollection`.",
608*c6d7a45dSGunnar Mills                    "readonly": true,
609*c6d7a45dSGunnar Mills                    "versionAdded": "v1_4_0"
610*c6d7a45dSGunnar Mills                },
611*c6d7a45dSGunnar Mills                "Triggers": {
612*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/TriggersCollection.json#/definitions/TriggersCollection",
613*c6d7a45dSGunnar Mills                    "description": "The link to the collection of triggers that apply to metrics.",
614*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `TriggersCollection`.",
615*c6d7a45dSGunnar Mills                    "readonly": true
616*c6d7a45dSGunnar Mills                }
617*c6d7a45dSGunnar Mills            },
618*c6d7a45dSGunnar Mills            "required": [
619*c6d7a45dSGunnar Mills                "@odata.id",
620*c6d7a45dSGunnar Mills                "@odata.type",
621*c6d7a45dSGunnar Mills                "Id",
622*c6d7a45dSGunnar Mills                "Name"
623*c6d7a45dSGunnar Mills            ],
624*c6d7a45dSGunnar Mills            "type": "object"
625*c6d7a45dSGunnar Mills        }
626*c6d7a45dSGunnar Mills    },
627*c6d7a45dSGunnar Mills    "language": "en",
628*c6d7a45dSGunnar Mills    "owningEntity": "DMTF",
629*c6d7a45dSGunnar Mills    "release": "2025.2",
630*c6d7a45dSGunnar Mills    "title": "#TelemetryService.v1_4_0.TelemetryService"
631*c6d7a45dSGunnar Mills}