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