{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/credo-ai/json-schema/credo-ai-comment-thread-create-request-schema.json",
  "title": "CommentThreadCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/credo-ai-comment-threads-api-openapi.yml#/components/schemas/CommentThreadCreateRequest",
  "properties": {
    "data": {
      "description": "",
      "properties": {
        "attributes": {
          "properties": {
            "content": {
              "description": "",
              "type": "string"
            },
            "parent_entity_control_id": {
              "description": "parent entity control id",
              "type": "string"
            },
            "parent_entity_review_id": {
              "description": "parent entity review id",
              "type": "string"
            },
            "parent_q_section_id": {
              "description": "parent question section id",
              "type": "string"
            },
            "resource_id": {
              "description": "resource id",
              "type": "string"
            },
            "resource_type": {
              "description": "resource type",
              "enum": [
                "review_action",
                "evidence_requirement",
                "control",
                "question",
                "none"
              ],
              "type": "string"
            }
          },
          "required": [
            "content"
          ],
          "type": "object"
        },
        "type": {
          "description": "The JSON-API resource type",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}