{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-mail-settings-bounce-purge-schema.json",
  "title": "Mail Settings: Bounce Purge",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendgrid-mail-settings-api-openapi.yml#/components/schemas/MailSettingsBouncePurge",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Indicates if the Bounce Purge mail setting is enabled."
    },
    "soft_bounces": {
      "description": "The number of days after which SendGrid will purge all contacts from your soft bounces suppression lists.",
      "type": [
        "integer",
        "null"
      ]
    },
    "hard_bounces": {
      "description": "The number of days after which SendGrid will purge all contacts from your hard bounces suppression lists.",
      "type": [
        "integer",
        "null"
      ]
    }
  }
}