{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-list-metric-values-response-schema.json",
  "title": "ListMetricValuesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-core-metric-values-api-openapi.yml#/components/schemas/ListMetricValuesResponse",
  "type": "object",
  "properties": {
    "metricDatumList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MetricDatum"
      },
      "description": "The data the thing reports for the metric during the specified time period."
    },
    "nextToken": {
      "type": "string",
      "description": "A token that can be used to retrieve the next set of results, or null if there are no additional results."
    }
  },
  "$defs": {
    "MetricDatum": {
      "type": "object",
      "properties": {
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time the metric value was reported."
        },
        "value": {
          "$ref": "#/$defs/MetricValue"
        }
      }
    },
    "MetricValue": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "description": "If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric."
        },
        "cidrs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric."
        },
        "ports": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric."
        },
        "number": {
          "type": "number",
          "description": "The numeral value of a metric."
        },
        "numbers": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "The numeral values of a metric."
        },
        "strings": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The string values of a metric."
        }
      }
    }
  }
}