{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-esp-suppression-schema.json",
  "title": "esp_suppression",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customer-io-esp-suppression-api-openapi.yml#/components/schemas/esp_suppression",
  "x-scalar-ignore": true,
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "description": "The reason the addresses are suppressed.",
      "enum": [
        "bounces",
        "spam"
      ]
    },
    "suppressions": {
      "type": "array",
      "description": "The addresses suppressed in this category.",
      "items": {
        "type": "object",
        "properties": {
          "created": {
            "type": "integer",
            "format": "Unix timestamp",
            "description": "The timestamp (in seconds), when the ESP suppressed the address."
          },
          "email": {
            "type": "string",
            "description": "The email address that the ESP suppressed."
          },
          "reason": {
            "type": "string",
            "description": "The reason for the suppression, as [recorded by Mailgun](https://documentation.mailgun.com/en/latest/api-suppressions.html)."
          },
          "status": {
            "type": "string",
            "description": "The status code for the suppression, as [recorded by mailgun](https://documentation.mailgun.com/en/latest/api-suppressions.html). This is normally `550`."
          }
        }
      }
    }
  }
}