airbnb · Schema
Message
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The unique identifier of the message. |
| reservation_id | string | The identifier of the associated reservation. |
| sender_type | string | Whether the message was sent by the host or guest. |
| message | string | The text content of the message. |
| created_at | string | The timestamp when the message was sent. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/airbnb/refs/heads/main/json-schema/airbnb-message-schema.json",
"title": "Message",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the message."
},
"reservation_id": {
"type": "string",
"description": "The identifier of the associated reservation."
},
"sender_type": {
"type": "string",
"description": "Whether the message was sent by the host or guest.",
"enum": [
"host",
"guest"
]
},
"message": {
"type": "string",
"description": "The text content of the message."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "The timestamp when the message was sent."
}
}
}