{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eusend-dev/json-schema/eusend-dev-import-suppressions-request-schema.json",
  "title": "ImportSuppressionsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eusend-dev-suppressions-api-openapi.yml#/components/schemas/ImportSuppressionsRequest",
  "type": "object",
  "required": [
    "emails"
  ],
  "additionalProperties": false,
  "properties": {
    "emails": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1000,
      "description": "Bare addresses, objects, or a mix — so a CSV column can be posted unreshaped.",
      "items": {
        "oneOf": [
          {
            "type": "string",
            "format": "email",
            "maxLength": 320
          },
          {
            "type": "object",
            "required": [
              "email"
            ],
            "additionalProperties": false,
            "properties": {
              "email": {
                "type": "string",
                "format": "email",
                "maxLength": 320
              },
              "reason": {
                "type": "string",
                "enum": [
                  "bounce",
                  "complaint",
                  "manual"
                ],
                "default": "manual"
              }
            }
          }
        ]
      }
    }
  }
}