{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/quandoo/refs/heads/main/json-structure/quandoo-public-partner-api-reservation-enquiry-message-list-structure.json",
  "name": "ReservationEnquiryMessageList",
  "description": "ReservationEnquiryMessageList schema from Quandoo Public Partner API",
  "type": "object",
  "properties": {
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "senderType": {
            "type": "string",
            "enum": [
              "MERCHANT",
              "CUSTOMER"
            ]
          },
          "message": {
            "type": "string"
          },
          "creationDate": {
            "type": "datetime",
            "description": "The date the review created on. Format: yyyy-MM-ddTHH:mm:ssZ"
          }
        }
      }
    }
  }
}