{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-inbound-parsing-get-inbound-email-events-by-uuid-response-200-schema.json",
  "title": "Inbound Parsing_getInboundEmailEventsByUuid_Response_200",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-inboundparsing-api-openapi.yml#/components/schemas/Inbound_Parsing_getInboundEmailEventsByUuid_Response_200",
  "type": "object",
  "properties": {
    "attachments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InboundEventsUuidGetResponsesContentApplicationJsonSchemaAttachmentsItems"
      },
      "description": "List of attachments of the email. This will be present only after the processing is done."
    },
    "deliveredAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Date when email was delivered successfully to the client’s webhook"
    },
    "logs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InboundEventsUuidGetResponsesContentApplicationJsonSchemaLogsItems"
      },
      "description": "List of events/logs that describe the lifecycle of the email on the Brevo platform"
    },
    "messageId": {
      "type": "string",
      "description": "Value of the Message-ID header. This will be present only after the processing is done."
    },
    "receivedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Date when email was received on SMTP relay"
    },
    "recipient": {
      "type": "string",
      "format": "email",
      "description": "Recipient’s email address"
    },
    "sender": {
      "type": "string",
      "format": "email",
      "description": "Sender’s email address"
    },
    "subject": {
      "type": "string",
      "description": "Value of the Subject header. This will be present only after the processing is done."
    }
  },
  "$defs": {
    "InboundEventsUuidGetResponsesContentApplicationJsonSchemaAttachmentsItems": {
      "type": "object",
      "properties": {
        "contentId": {
          "type": "string",
          "description": "value of the Content-ID header of the attachment."
        },
        "contentLength": {
          "type": "integer",
          "description": "size of the attachment in bytes"
        },
        "contentType": {
          "type": "string",
          "description": "value of the Content-Type header of the attachment"
        },
        "name": {
          "type": "string",
          "description": "filename specified in the Content-Disposition header of the attachment"
        }
      },
      "title": "InboundEventsUuidGetResponsesContentApplicationJsonSchemaAttachmentsItems"
    },
    "InboundEventsUuidGetResponsesContentApplicationJsonSchemaLogsItems": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "format": "date-time",
          "description": "Date of the event"
        },
        "type": {
          "$ref": "#/$defs/InboundEventsUuidGetResponsesContentApplicationJsonSchemaLogsItemsType",
          "description": "Type of the event"
        }
      },
      "title": "InboundEventsUuidGetResponsesContentApplicationJsonSchemaLogsItems"
    },
    "InboundEventsUuidGetResponsesContentApplicationJsonSchemaLogsItemsType": {
      "type": "string",
      "enum": [
        "received",
        "processed",
        "webhookFailed",
        "webhookDelivered"
      ],
      "description": "Type of the event",
      "title": "InboundEventsUuidGetResponsesContentApplicationJsonSchemaLogsItemsType"
    }
  }
}