{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/comp-ai/json-schema/comp-ai-update-comment-dto-schema.json",
  "title": "UpdateCommentDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comp-ai-comments-api-openapi.yml#/components/schemas/UpdateCommentDto",
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "Updated content of the comment",
      "maxLength": 2000
    },
    "contextUrl": {
      "type": "string",
      "description": "Optional URL of the page where the comment was updated, used for deep-linking in notifications",
      "maxLength": 2048
    },
    "userId": {
      "type": "string",
      "description": "User ID of the comment author (required for API key auth, ignored for JWT auth)"
    }
  },
  "required": [
    "content"
  ]
}