{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-transactional-whats-app-get-whatsapp-event-report-response-200-schema.json",
  "title": "Transactional WhatsApp_getWhatsappEventReport_Response_200",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-transactionalwhatsapp-api-openapi.yml#/components/schemas/Transactional_WhatsApp_getWhatsappEventReport_Response_200",
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WhatsappStatisticsEventsGetResponsesContentApplicationJsonSchemaEventsItems"
      }
    }
  },
  "$defs": {
    "WhatsappStatisticsEventsGetResponsesContentApplicationJsonSchemaEventsItems": {
      "type": "object",
      "properties": {
        "body": {
          "type": "string",
          "description": "Text of the reply (will be there only in case of `reply` event with text)"
        },
        "contactNumber": {
          "type": "string",
          "format": "mobile",
          "description": "WhatsApp Number with country code. Example, 85264318721"
        },
        "date": {
          "type": "string",
          "description": "UTC date-time on which the event has been generated"
        },
        "event": {
          "$ref": "#/$defs/WhatsappStatisticsEventsGetResponsesContentApplicationJsonSchemaEventsItemsEvent",
          "description": "Event which occurred"
        },
        "mediaUrl": {
          "type": "string",
          "format": "url",
          "description": "Url of the media reply (will be there only in case of `reply` event with media)"
        },
        "messageId": {
          "type": "string",
          "description": "Message ID which generated the event"
        },
        "reason": {
          "type": "string",
          "description": "Reason for the event (will be there in case of `error` and `soft-bounce` events)"
        },
        "senderNumber": {
          "type": "string",
          "format": "mobile",
          "description": "WhatsApp Number with country code. Example, 85264318721"
        }
      },
      "required": [
        "contactNumber",
        "date",
        "event",
        "messageId",
        "senderNumber"
      ],
      "title": "WhatsappStatisticsEventsGetResponsesContentApplicationJsonSchemaEventsItems"
    },
    "WhatsappStatisticsEventsGetResponsesContentApplicationJsonSchemaEventsItemsEvent": {
      "type": "string",
      "enum": [
        "sent",
        "delivered",
        "read",
        "error",
        "unsubscribe",
        "reply",
        "soft-bounce"
      ],
      "description": "Event which occurred",
      "title": "WhatsappStatisticsEventsGetResponsesContentApplicationJsonSchemaEventsItemsEvent"
    }
  }
}