Files
huly-platform/foundations/communication/example.json
T
Denis Bykhov 328a7dc269 Add 'foundations/communication/' from commit 'f65deaa24be43513d3be1bd89c40c7d7c91c8b9b'
git-subtree-dir: foundations/communication
git-subtree-mainline: 43fb903924
git-subtree-split: f65deaa24b
2025-11-26 22:57:25 +05: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
}
}
}
}
}
}