{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/duve/main/json-schema/duve-get-openapi-v1-reservations-links-response-schema.json",
  "title": "GetOpenapiV1ReservationsLinksResponse",
  "x-generated": "2026-10-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/duve-openapi-generated.yml#/components/schemas/GetOpenapiV1ReservationsLinksResponse",
  "type": "object",
  "properties": {
    "guestApp": {
      "type": "string",
      "description": "URL to the guest app"
    },
    "chatLink": {
      "type": "string",
      "description": "URL to the chat"
    },
    "onlineCheckInLink": {
      "type": "string",
      "description": "URL to the online check‑in page"
    },
    "chatLastMessage": {
      "type": "object",
      "description": "Details of the last chat message"
    },
    "chatLastMessage.body": {
      "type": "string",
      "description": "Plain text of the message content"
    },
    "chatLastMessage.author": {
      "type": "string",
      "description": "Name of the author of the message"
    },
    "chatLastMessage.authorType": {
      "type": "string",
      "description": "Type of author (user for guest, admin for host)"
    },
    "chatLastMessage.time": {
      "type": "string",
      "description": "Timestamp of the message"
    },
    "chatLastMessage.sentVia": {
      "type": "string",
      "description": "Channel the message was sent via"
    },
    "chatLastMessage.hasAttachment": {
      "type": "boolean",
      "description": "Whether the message has an attachment"
    },
    "chatLastMessage.seen": {
      "type": "boolean",
      "description": "Seen status of the last message"
    }
  }
}