{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "EmailRecipient",
  "description": "EmailRecipient schema from Palo Alto Networks Email DLP API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/email-dlp-api-email-recipient-schema.json",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "Recipient email address."
    },
    "type": {
      "type": "string",
      "enum": [
        "to",
        "cc",
        "bcc"
      ],
      "description": "Recipient type indicating address field."
    },
    "delivery_status": {
      "type": "string",
      "enum": [
        "delivered",
        "blocked",
        "quarantined",
        "pending"
      ],
      "description": "Delivery status of the message to this recipient."
    }
  }
}
