{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adro1b33/main/json-schema/adro1b33-comment-content-request-node-schema.json",
  "title": "CommentContentRequestNode",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adro1b33-comments-api-openapi.yml#/components/schemas/CommentContentRequestNode",
  "oneOf": [
    {
      "$ref": "#/$defs/CommentTextRequestNode"
    },
    {
      "$ref": "#/$defs/CommentMentionRequestNode"
    }
  ],
  "$defs": {
    "CommentMentionRequestNode": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "mention"
          ],
          "type": "string",
          "description": "* `mention` - mention",
          "x-spec-enum-id": "9b68383fda6100b7"
        },
        "userId": {
          "type": "integer",
          "minimum": 1
        },
        "displayText": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "userId"
      ]
    },
    "CommentTextRequestNode": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "text"
          ],
          "type": "string",
          "description": "* `text` - text",
          "x-spec-enum-id": "db74f2b3b2995084"
        },
        "text": {
          "type": "string"
        }
      },
      "required": [
        "text",
        "type"
      ]
    }
  }
}