{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-describe-custom-metric-response-schema.json",
  "title": "DescribeCustomMetricResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-core-custom-metric-api-openapi.yml#/components/schemas/DescribeCustomMetricResponse",
  "type": "object",
  "properties": {
    "metricName": {
      "type": "string",
      "description": "The name of the custom metric."
    },
    "metricArn": {
      "type": "string",
      "description": "The Amazon Resource Number (ARN) of the custom metric."
    },
    "metricType": {
      "type": "string",
      "enum": [
        "string-list",
        "ip-address-list",
        "number-list",
        "number"
      ],
      "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."
    },
    "displayName": {
      "type": "string",
      "description": "Field represents a friendly name in the console for the custom metric; doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated."
    },
    "creationDate": {
      "type": "string",
      "format": "date-time",
      "description": "The creation date of the custom metric in milliseconds since epoch."
    },
    "lastModifiedDate": {
      "type": "string",
      "format": "date-time",
      "description": "The time the custom metric was last modified in milliseconds since epoch."
    }
  }
}