instacart · Schema
ChatMessage
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The unique identifier for the message. |
| sender | string | Who sent the message. |
| body | 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": "#/components/schemas/ChatMessage",
"title": "ChatMessage",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier for the message."
},
"sender": {
"type": "string",
"enum": [
"customer",
"shopper"
],
"description": "Who sent the message."
},
"body": {
"type": "string",
"description": "The text content of the message."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "The timestamp when the message was sent."
}
}
}