{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-core/refs/heads/main/json-schema/iot-core-describe-custom-metric-response-schema.json", "title": "DescribeCustomMetricResponse", "description": "DescribeCustomMetricResponse schema", "type": "object", "properties": { "metricName": { "allOf": [ { "$ref": "#/components/schemas/MetricName" }, { "description": " The name of the custom metric. " } ] }, "metricArn": { "allOf": [ { "$ref": "#/components/schemas/CustomMetricArn" }, { "description": " The Amazon Resource Number (ARN) of the custom metric. " } ] }, "metricType": { "allOf": [ { "$ref": "#/components/schemas/CustomMetricType" }, { "description": "
The type of the custom metric.
The type number only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.