beta · event · 0.2.0
Community Comment edited
A top-level Community Comment or direct reply received a new immutable text revision.
Capability Domain: community-interaction
Reference identifier: community-comment-edited
Schema ID: https://minicenter.otus.tw/events/community.comment.edited.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.edited.v1.schema.json",
"title": "Community Comment edited",
"description": "A top-level Community Comment or direct reply received a new immutable text revision.",
"type": "object",
"additionalProperties": false,
"required": [
"comment_id",
"parent_comment_id",
"resource_type",
"resource_id",
"revision",
"edited_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
},
"revision": {
"type": "integer",
"minimum": 2
},
"edited_at": {
"type": "string",
"format": "date-time"
}
},
"x-documentation": true,
"x-reference-id": "community-comment-edited",
"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-000000000001",
"parent_comment_id": null,
"resource_type": "article",
"resource_id": "article-42",
"revision": 2,
"edited_at": "2026-09-12T02:00:00Z"
}
}
Example
{
"comment_id": "51000000-0000-4000-8000-000000000001",
"parent_comment_id": null,
"resource_type": "article",
"resource_id": "article-42",
"revision": 2,
"edited_at": "2026-09-12T02:00:00Z"
}