beta · event · 0.2.0
Community Comment accepted
A top-level Community Comment or direct reply was accepted.
Capability Domain: community-interaction
Reference identifier: community-comment-accepted
Schema ID: https://minicenter.otus.tw/events/community.comment.accepted.v1.schema.json
Delivery: Delivered at least once. Deduplicate by Domain Event envelope id and query the Comment API for authoritative current state.
Event schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://minicenter.otus.tw/events/community.comment.accepted.v1.schema.json",
"title": "Community Comment accepted",
"description": "A top-level Community Comment or direct reply was accepted.",
"type": "object",
"additionalProperties": false,
"required": [
"comment_id",
"parent_comment_id",
"resource_type",
"resource_id",
"kind",
"accepted_at"
],
"properties": {
"comment_id": {
"type": "string",
"format": "uuid"
},
"parent_comment_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"resource_type": {
"type": "string",
"maxLength": 120
},
"resource_id": {
"type": "string",
"maxLength": 255
},
"kind": {
"type": "string",
"enum": [
"top_level",
"reply"
]
},
"accepted_at": {
"type": "string",
"format": "date-time"
}
},
"x-documentation": true,
"x-reference-id": "community-comment-accepted",
"x-domain": "community-interaction",
"x-stability": "beta",
"x-delivery": "Delivered at least once. Deduplicate by Domain Event envelope id and query the Comment API for authoritative current state.",
"example": {
"comment_id": "51000000-0000-4000-8000-000000000002",
"parent_comment_id": "51000000-0000-4000-8000-000000000001",
"resource_type": "article",
"resource_id": "article-42",
"kind": "reply",
"accepted_at": "2026-09-11T02:00:00Z"
}
}
Example
{
"comment_id": "51000000-0000-4000-8000-000000000002",
"parent_comment_id": "51000000-0000-4000-8000-000000000001",
"resource_type": "article",
"resource_id": "article-42",
"kind": "reply",
"accepted_at": "2026-09-11T02:00:00Z"
}