Browse Community Interaction

beta · event · 0.2.0

Community Comment removed

A top-level Community Comment or direct reply became a tombstone.

Capability Domain: community-interaction

Reference identifier: community-comment-removed

Schema ID: https://minicenter.otus.tw/events/community.comment.removed.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

Event schema
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://minicenter.otus.tw/events/community.comment.removed.v1.schema.json",
    "title": "Community Comment removed",
    "description": "A top-level Community Comment or direct reply became a tombstone.",
    "type": "object",
    "additionalProperties": false,
    "required": [
        "comment_id",
        "parent_comment_id",
        "resource_type",
        "resource_id",
        "removed_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
        },
        "removed_at": {
            "type": "string",
            "format": "date-time"
        }
    },
    "x-documentation": true,
    "x-reference-id": "community-comment-removed",
    "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",
        "removed_at": "2026-09-14T02:00:00Z"
    }
}

Example

Event example
{
    "comment_id": "51000000-0000-4000-8000-000000000001",
    "parent_comment_id": null,
    "resource_type": "article",
    "resource_id": "article-42",
    "removed_at": "2026-09-14T02:00:00Z"
}