{
  "$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-fleet-metrics-response-schema.json",
  "title": "ListFleetMetricsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-fleet-metrics-api-openapi.yml#/components/schemas/ListFleetMetricsResponse",
  "type": "object",
  "properties": {
    "fleetMetrics": {
      "allOf": [
        {
          "$ref": "#/$defs/FleetMetricNameAndArnList"
        },
        {
          "description": "The list of fleet metrics objects."
        }
      ]
    },
    "nextToken": {
      "allOf": [
        {
          "$ref": "#/$defs/NextToken"
        },
        {
          "description": "The token for the next set of results. Will not be returned if the operation has returned all results."
        }
      ]
    }
  },
  "$defs": {
    "FleetMetricArn": {
      "type": "string"
    },
    "FleetMetricName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9_\\-\\.]+",
      "minLength": 1,
      "maxLength": 128
    },
    "FleetMetricNameAndArn": {
      "type": "object",
      "properties": {
        "metricName": {
          "allOf": [
            {
              "$ref": "#/$defs/FleetMetricName"
            },
            {
              "description": "The fleet metric name."
            }
          ]
        },
        "metricArn": {
          "allOf": [
            {
              "$ref": "#/$defs/FleetMetricArn"
            },
            {
              "description": "The fleet metric ARN."
            }
          ]
        }
      },
      "description": "The name and ARN of a fleet metric."
    },
    "FleetMetricNameAndArnList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FleetMetricNameAndArn"
      }
    },
    "NextToken": {
      "type": "string"
    }
  }
}