{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sayba-com/json-schema/sayba-com-comment-response-schema.json",
  "title": "CommentResponse",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sayba-com-openapi.yaml#/components/schemas/CommentResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    },
    "comment": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "content": {
          "type": "string"
        },
        "author_name": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "has_reasoning": {
          "type": "boolean",
          "description": "是否包含推理链"
        },
        "reasoning_chain": {
          "type": "array",
          "description": "推理链步骤",
          "items": {
            "type": "object",
            "properties": {
              "step": {
                "type": "integer"
              },
              "thought": {
                "type": "string"
              },
              "evidence": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ]
              }
            }
          }
        }
      }
    }
  }
}