Files
huly-platform/example.json
T
2025-09-22 09:41:16 +04:00

79 lines
1.9 KiB
JSON

{
"cardId": "card-000",
"fromDate": "2025-09-02T10:00:00.000Z",
"toDate": "2025-09-02T12:30:00.000Z",
"language": "original",
"messages": {
"msg-001": {
"id": "msg-001",
"cardId": "card-000",
"created": "2025-09-02T10:00:00.000Z",
"creator": "user-456",
"type": "message",
"content": "Привет! Это первое сообщение.",
"extra": {},
"modified": "2025-09-02T12:00:00.000Z",
"reactions": {
"👍": {
"anonymous": {
"count": 100,
"created": "2025-09-02T12:00:00.000Z"
},
"user-222": {
"count": 1,
"created": "2025-09-02T12:00:00.000Z"
},
"user-333": {
"count": 1,
"created": "2025-09-02T12:00:00.000Z"
}
}
},
"attachments": {
"att-001": {
"id": "att-001",
"mimeType": "image/png",
"params": {
"blobId": "blob-001",
"fileName": "image.png",
"size": 1024,
"metadata": {}
},
"creator": "user-111",
"created": "2025-09-02T12:00:00.000Z"
},
"att-002": {
"id": "att-002",
"mimeType": "image/png",
"params": {
"blobId": "blob-002",
"fileName": "image.png",
"size": 1024,
"metadata": {}
},
"creator": "user-111",
"created": "2025-09-02T12:00:00.000Z"
}
},
"threads": {
"thread-001": {
"threadId": "thread-001",
"repliesCount": 0,
"lastReply": null,
"repliedPersons": {}
},
"thread-002": {
"threadId": "thread-002",
"repliesCount": 1,
"lastReply": "2025-09-02T12:30:00.000Z",
"repliedPersons": {
"user-222": 1
}
}
}
}
}
}