{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-test-metric-filter-response-schema.json",
  "title": "TestMetricFilterResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-metric-filter-api-openapi.yml#/components/schemas/TestMetricFilterResponse",
  "type": "object",
  "properties": {
    "matches": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MetricFilterMatchRecord"
      },
      "description": "The matched events."
    }
  },
  "$defs": {
    "MetricFilterMatchRecord": {
      "type": "object",
      "properties": {
        "eventNumber": {
          "type": "integer",
          "description": "The event number."
        },
        "eventMessage": {
          "type": "string",
          "description": "The raw event data."
        },
        "extractedValues": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The values extracted from the event data by the filter."
        }
      }
    }
  }
}