{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-defender/json-schema/amazon-iot-device-defender-list-custom-metrics-response-schema.json",
  "title": "ListCustomMetricsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-custom-metrics-api-openapi.yml#/components/schemas/ListCustomMetricsResponse",
  "type": "object",
  "properties": {
    "metricNames": {
      "allOf": [
        {
          "$ref": "#/$defs/MetricNames"
        },
        {
          "description": " The name of the custom metric. "
        }
      ]
    },
    "nextToken": {
      "allOf": [
        {
          "$ref": "#/$defs/NextToken"
        },
        {
          "description": " A token that can be used to retrieve the next set of results, or <code>null</code> if there are no additional results. "
        }
      ]
    }
  },
  "$defs": {
    "MetricName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "MetricNames": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MetricName"
      }
    },
    "NextToken": {
      "type": "string"
    }
  }
}