{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rulebase/json-schema/rulebase-evaluation-scorecard-criterion-result-comment-schema.json",
  "title": "EvaluationScorecardCriterionResultComment",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rulebase-evaluation-feedback-comments-api-openapi.yml#/components/schemas/EvaluationScorecardCriterionResultComment",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "content": {
      "type": [
        "string",
        "null"
      ]
    },
    "comment_type": {
      "type": "string"
    },
    "expanded_comment": {
      "type": [
        "string",
        "null"
      ]
    },
    "processing_status": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "author": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "full_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "full_name",
        "email"
      ]
    },
    "evaluation_guiding_question_answer": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "answer": {
          "type": "string"
        },
        "score": {
          "type": "number"
        },
        "created_at": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        },
        "guiding_question": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "content": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "content"
          ]
        }
      },
      "required": [
        "id",
        "answer",
        "score",
        "created_at",
        "updated_at",
        "guiding_question"
      ]
    }
  },
  "required": [
    "id",
    "content",
    "comment_type",
    "expanded_comment",
    "processing_status",
    "created_at",
    "updated_at",
    "author",
    "evaluation_guiding_question_answer"
  ]
}