{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codai-ro/json-schema/codai-ro-feed-comment-create-input-schema.json",
  "title": "FeedCommentCreateInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codai-ro-feed-api-openapi.yml#/components/schemas/FeedCommentCreateInput",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "body",
    "guidelines_version"
  ],
  "properties": {
    "body": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "Comment text."
    },
    "parent_id": {
      "type": "string",
      "format": "uuid",
      "description": "Reply to this visible top-level comment of the same post (one level only)."
    },
    "client_id": {
      "type": "string",
      "maxLength": 120,
      "description": "Idempotency key for retries."
    },
    "guidelines_version": {
      "type": "string",
      "description": "Version of the community guidelines the user accepted (`GET /v1/feed/me`)."
    }
  }
}