xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/TelemetryData.v1_0_0.json (revision c6d7a45d427f9a6d9e761afcf305761dca60d7cf)
1*c6d7a45dSGunnar Mills{
2*c6d7a45dSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/TelemetryData.v1_0_0.json",
3*c6d7a45dSGunnar Mills    "$ref": "#/definitions/TelemetryData",
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                "Oem": {
27*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*c6d7a45dSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30*c6d7a45dSGunnar Mills                }
31*c6d7a45dSGunnar Mills            },
32*c6d7a45dSGunnar Mills            "type": "object"
33*c6d7a45dSGunnar Mills        },
34*c6d7a45dSGunnar Mills        "OemActions": {
35*c6d7a45dSGunnar Mills            "additionalProperties": true,
36*c6d7a45dSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
37*c6d7a45dSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
38*c6d7a45dSGunnar Mills            "patternProperties": {
39*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
41*c6d7a45dSGunnar Mills                    "type": [
42*c6d7a45dSGunnar Mills                        "array",
43*c6d7a45dSGunnar Mills                        "boolean",
44*c6d7a45dSGunnar Mills                        "integer",
45*c6d7a45dSGunnar Mills                        "number",
46*c6d7a45dSGunnar Mills                        "null",
47*c6d7a45dSGunnar Mills                        "object",
48*c6d7a45dSGunnar Mills                        "string"
49*c6d7a45dSGunnar Mills                    ]
50*c6d7a45dSGunnar Mills                }
51*c6d7a45dSGunnar Mills            },
52*c6d7a45dSGunnar Mills            "properties": {},
53*c6d7a45dSGunnar Mills            "type": "object"
54*c6d7a45dSGunnar Mills        },
55*c6d7a45dSGunnar Mills        "TelemetryData": {
56*c6d7a45dSGunnar Mills            "additionalProperties": false,
57*c6d7a45dSGunnar Mills            "description": "The `TelemetryData` schema represents bulk telemetry data from a device or service.",
58*c6d7a45dSGunnar Mills            "longDescription": "This resource shall represent bulk telemetry data in a Redfish implementation.",
59*c6d7a45dSGunnar Mills            "patternProperties": {
60*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
61*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
62*c6d7a45dSGunnar Mills                    "type": [
63*c6d7a45dSGunnar Mills                        "array",
64*c6d7a45dSGunnar Mills                        "boolean",
65*c6d7a45dSGunnar Mills                        "integer",
66*c6d7a45dSGunnar Mills                        "number",
67*c6d7a45dSGunnar Mills                        "null",
68*c6d7a45dSGunnar Mills                        "object",
69*c6d7a45dSGunnar Mills                        "string"
70*c6d7a45dSGunnar Mills                    ]
71*c6d7a45dSGunnar Mills                }
72*c6d7a45dSGunnar Mills            },
73*c6d7a45dSGunnar Mills            "properties": {
74*c6d7a45dSGunnar Mills                "@odata.context": {
75*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
76*c6d7a45dSGunnar Mills                },
77*c6d7a45dSGunnar Mills                "@odata.etag": {
78*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
79*c6d7a45dSGunnar Mills                },
80*c6d7a45dSGunnar Mills                "@odata.id": {
81*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
82*c6d7a45dSGunnar Mills                },
83*c6d7a45dSGunnar Mills                "@odata.type": {
84*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
85*c6d7a45dSGunnar Mills                },
86*c6d7a45dSGunnar Mills                "Actions": {
87*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/Actions",
88*c6d7a45dSGunnar Mills                    "description": "The available actions for this resource.",
89*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
90*c6d7a45dSGunnar Mills                },
91*c6d7a45dSGunnar Mills                "AdditionalData": {
92*c6d7a45dSGunnar Mills                    "description": "A Base64-encoded string of the associated telemetry data.",
93*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a Base64-encoded string, with padding characters, of the associated telemetry data.  The contents shall depend on the value of the `TelemetryDataType` property.  The length of the value should not exceed 4 KB.  Larger telemetry data payloads should omit this property and use the `AdditionalDataURI` property to reference the data.  If both `AdditionalData` and `AdditionalDataURI` are present, `AdditionalData` shall contain the Base64-encoding of the data retrieved from the URI specified by the `AdditionalDataURI` property.",
94*c6d7a45dSGunnar Mills                    "readonly": true,
95*c6d7a45dSGunnar Mills                    "type": "string"
96*c6d7a45dSGunnar Mills                },
97*c6d7a45dSGunnar Mills                "AdditionalDataSizeBytes": {
98*c6d7a45dSGunnar Mills                    "description": "The size of the data available at location specified by `AdditionalDataURI`.",
99*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the size of the data available at location specified by `AdditionalDataURI`:.",
100*c6d7a45dSGunnar Mills                    "readonly": true,
101*c6d7a45dSGunnar Mills                    "type": [
102*c6d7a45dSGunnar Mills                        "integer",
103*c6d7a45dSGunnar Mills                        "null"
104*c6d7a45dSGunnar Mills                    ]
105*c6d7a45dSGunnar Mills                },
106*c6d7a45dSGunnar Mills                "AdditionalDataURI": {
107*c6d7a45dSGunnar Mills                    "description": "The URI at which to access the associated telemetry data.",
108*c6d7a45dSGunnar Mills                    "format": "uri-reference",
109*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the URI at which to access the associated telemetry data, using the Redfish protocol and authentication methods.  If both `AdditionalData` and `AdditionalDataURI` are present, `AdditionalData` shall contain a Base64-encoded string, with padding characters, of the data retrieved from the URI specified by the `AdditionalDataURI` property.",
110*c6d7a45dSGunnar Mills                    "readonly": true,
111*c6d7a45dSGunnar Mills                    "type": "string"
112*c6d7a45dSGunnar Mills                },
113*c6d7a45dSGunnar Mills                "Description": {
114*c6d7a45dSGunnar Mills                    "anyOf": [
115*c6d7a45dSGunnar Mills                        {
116*c6d7a45dSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
117*c6d7a45dSGunnar Mills                        },
118*c6d7a45dSGunnar Mills                        {
119*c6d7a45dSGunnar Mills                            "type": "null"
120*c6d7a45dSGunnar Mills                        }
121*c6d7a45dSGunnar Mills                    ],
122*c6d7a45dSGunnar Mills                    "readonly": true
123*c6d7a45dSGunnar Mills                },
124*c6d7a45dSGunnar Mills                "Id": {
125*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
126*c6d7a45dSGunnar Mills                    "readonly": true
127*c6d7a45dSGunnar Mills                },
128*c6d7a45dSGunnar Mills                "Name": {
129*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
130*c6d7a45dSGunnar Mills                    "readonly": true
131*c6d7a45dSGunnar Mills                },
132*c6d7a45dSGunnar Mills                "OEMTelemetryDataType": {
133*c6d7a45dSGunnar Mills                    "description": "The OEM-defined type of telemetry data available in the `AdditionalData` property or retrieved from the URI specified by the `AdditionalDataURI` property.",
134*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the OEM-defined type of telemetry data available in the `AdditionalData` property or retrieved from the URI specified by the `AdditionalDataURI` property.  The value of this property should begin with the organization identifier.  This property shall be present if `TelemetryDataType` is `OEM`.",
135*c6d7a45dSGunnar Mills                    "readonly": true,
136*c6d7a45dSGunnar Mills                    "type": [
137*c6d7a45dSGunnar Mills                        "string",
138*c6d7a45dSGunnar Mills                        "null"
139*c6d7a45dSGunnar Mills                    ]
140*c6d7a45dSGunnar Mills                },
141*c6d7a45dSGunnar Mills                "Oem": {
142*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
143*c6d7a45dSGunnar Mills                    "description": "The OEM extension property.",
144*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."
145*c6d7a45dSGunnar Mills                },
146*c6d7a45dSGunnar Mills                "TelemetryDataType": {
147*c6d7a45dSGunnar Mills                    "anyOf": [
148*c6d7a45dSGunnar Mills                        {
149*c6d7a45dSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/TelemetryData.json#/definitions/TelemetryDataTypes"
150*c6d7a45dSGunnar Mills                        },
151*c6d7a45dSGunnar Mills                        {
152*c6d7a45dSGunnar Mills                            "type": "null"
153*c6d7a45dSGunnar Mills                        }
154*c6d7a45dSGunnar Mills                    ],
155*c6d7a45dSGunnar Mills                    "description": "The type of telemetry data available in the `AdditionalData` property or retrieved from the URI specified by the `AdditionalDataURI` property.",
156*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the type of telemetry data available in the `AdditionalData` property or retrieved from the URI specified by the `AdditionalDataURI` property.",
157*c6d7a45dSGunnar Mills                    "readonly": true
158*c6d7a45dSGunnar Mills                },
159*c6d7a45dSGunnar Mills                "Timestamp": {
160*c6d7a45dSGunnar Mills                    "description": "The date and time when the telemetry data was generated.",
161*c6d7a45dSGunnar Mills                    "format": "date-time",
162*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the time when the telemetry data was generated.",
163*c6d7a45dSGunnar Mills                    "readonly": true,
164*c6d7a45dSGunnar Mills                    "type": [
165*c6d7a45dSGunnar Mills                        "string",
166*c6d7a45dSGunnar Mills                        "null"
167*c6d7a45dSGunnar Mills                    ]
168*c6d7a45dSGunnar Mills                }
169*c6d7a45dSGunnar Mills            },
170*c6d7a45dSGunnar Mills            "required": [
171*c6d7a45dSGunnar Mills                "@odata.id",
172*c6d7a45dSGunnar Mills                "@odata.type",
173*c6d7a45dSGunnar Mills                "Id",
174*c6d7a45dSGunnar Mills                "Name"
175*c6d7a45dSGunnar Mills            ],
176*c6d7a45dSGunnar Mills            "type": "object"
177*c6d7a45dSGunnar Mills        }
178*c6d7a45dSGunnar Mills    },
179*c6d7a45dSGunnar Mills    "language": "en",
180*c6d7a45dSGunnar Mills    "owningEntity": "DMTF",
181*c6d7a45dSGunnar Mills    "release": "2025.2",
182*c6d7a45dSGunnar Mills    "title": "#TelemetryData.v1_0_0.TelemetryData"
183*c6d7a45dSGunnar Mills}