{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/rulebase/main/json-schema/rulebase-qa-agent-evaluation-scorecard-criterion-result-schema.json",
  "title": "QaAgentEvaluationScorecardCriterionResult",
  "x-generated": "2026-10-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rulebase-openapi.json#/components/schemas/QaAgentEvaluationScorecardCriterionResult",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "knowledge_base_answer": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "score": {
      "type": "number"
    },
    "max_score": {
      "type": [
        "number",
        "null"
      ]
    },
    "weight": {
      "type": "number"
    },
    "agent_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "scorecard_criterion_id": {
      "type": "string"
    },
    "scorecard_criterion_scoring_type": {
      "type": "string"
    },
    "scorecard_criterion_description": {
      "type": [
        "string",
        "null"
      ]
    },
    "scorecard_criterion_weight": {
      "type": "number"
    },
    "scorecard_criterion_max_score": {
      "type": [
        "number",
        "null"
      ]
    },
    "scorecard_criterion_score_options": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "type": "number"
          }
        },
        "required": [
          "id",
          "label",
          "type",
          "value"
        ]
      }
    },
    "selected_score_option": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "value": {
          "type": "number"
        }
      },
      "required": [
        "id",
        "label",
        "type",
        "value"
      ]
    },
    "selected_justification_option": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "content": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "type",
        "content"
      ]
    },
    "guiding_question_answers": {
      "type": "array",
      "items": {
        "type": "object",
        "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"
        ]
      }
    },
    "comments": {
      "type": "array",
      "items": {
        "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"
        ]
      }
    },
    "knowledge_base_citations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "citation_index": {
            "type": "integer"
          },
          "citation_type": {
            "type": "string",
            "enum": [
              "feedback",
              "knowledge_base_document"
            ]
          },
          "knowledge_base_document_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "reference_evaluation_source_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "reference_criterion_result_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "reference_conversation_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "reference_conversation_external_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "citation_index",
          "citation_type",
          "knowledge_base_document_id",
          "reference_evaluation_source_type",
          "reference_criterion_result_id",
          "reference_conversation_id",
          "reference_conversation_external_id"
        ]
      }
    },
    "check_results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "result": {
            "type": "string"
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "knowledge_base_answer": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "scorecard_criterion_check_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "check_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "criterion_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "conversation_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "conversation_external_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "work_item_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          },
          "work_item_external_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "agent_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "selected_justification_option": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "content": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "type",
              "content"
            ]
          },
          "knowledge_base_citations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "citation_index": {
                  "type": "integer"
                },
                "citation_type": {
                  "type": "string"
                },
                "knowledge_base_document_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "human_feedback_type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "human_feedback_conversation_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "human_feedback_agent_evaluation_scorecard_criterion_result_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status_incident_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status_incident_title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status_incident_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "heading_path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "quote_exact": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "citation_index",
                "citation_type",
                "knowledge_base_document_id",
                "human_feedback_type",
                "human_feedback_conversation_id",
                "human_feedback_agent_evaluation_scorecard_criterion_result_id",
                "status_incident_id",
                "status_incident_title",
                "status_incident_url",
                "heading_path",
                "quote_exact"
              ]
            }
          },
          "files": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "filename": {
                  "type": "string"
                },
                "content_type": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "url",
                "filename",
                "content_type"
              ]
            }
          }
        },
        "required": [
          "id",
          "result",
          "summary",
          "knowledge_base_answer",
          "created_at",
          "updated_at",
          "scorecard_criterion_check_id",
          "check_description",
          "criterion_name",
          "conversation_id",
          "conversation_external_id",
          "work_item_id",
          "work_item_external_id",
          "agent_name",
          "selected_justification_option",
          "knowledge_base_citations",
          "files"
        ]
      }
    },
    "qa_evaluation_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "scorecard_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "conversation_id": {
      "type": "string"
    },
    "conversation_external_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "conversation_external_created_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "agent_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "children": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "knowledge_base_answer": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "score": {
            "type": "number"
          },
          "max_score": {
            "type": [
              "number",
              "null"
            ]
          },
          "weight": {
            "type": "number"
          },
          "agent_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "scorecard_criterion_id": {
            "type": "string"
          },
          "scorecard_criterion_scoring_type": {
            "type": "string"
          },
          "scorecard_criterion_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "scorecard_criterion_weight": {
            "type": "number"
          },
          "scorecard_criterion_max_score": {
            "type": [
              "number",
              "null"
            ]
          },
          "scorecard_criterion_score_options": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "value": {
                  "type": "number"
                }
              },
              "required": [
                "id",
                "label",
                "type",
                "value"
              ]
            }
          },
          "selected_score_option": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "type": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "value": {
                "type": "number"
              }
            },
            "required": [
              "id",
              "label",
              "type",
              "value"
            ]
          },
          "selected_justification_option": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "content": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "type",
              "content"
            ]
          },
          "guiding_question_answers": {
            "type": "array",
            "items": {
              "type": "object",
              "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"
              ]
            }
          },
          "comments": {
            "type": "array",
            "items": {
              "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"
              ]
            }
          },
          "knowledge_base_citations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "citation_index": {
                  "type": "integer"
                },
                "citation_type": {
                  "type": "string",
                  "enum": [
                    "feedback",
                    "knowledge_base_document"
                  ]
                },
                "knowledge_base_document_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reference_evaluation_source_type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reference_criterion_result_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reference_conversation_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reference_conversation_external_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "citation_index",
                "citation_type",
                "knowledge_base_document_id",
                "reference_evaluation_source_type",
                "reference_criterion_result_id",
                "reference_conversation_id",
                "reference_conversation_external_id"
              ]
            }
          },
          "check_results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "result": {
                  "type": "string"
                },
                "summary": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "knowledge_base_answer": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "created_at": {
                  "type": "string"
                },
                "updated_at": {
                  "type": "string"
                },
                "scorecard_criterion_check_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "check_description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "criterion_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "conversation_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "conversation_external_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "work_item_id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "work_item_external_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "agent_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "selected_justification_option": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "content": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "type",
                    "content"
                  ]
                },
                "knowledge_base_citations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "citation_index": {
                        "type": "integer"
                      },
                      "citation_type": {
                        "type": "string"
                      },
                      "knowledge_base_document_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "human_feedback_type": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "human_feedback_conversation_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "human_feedback_agent_evaluation_scorecard_criterion_result_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status_incident_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status_incident_title": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "status_incident_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "heading_path": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "quote_exact": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "citation_index",
                      "citation_type",
                      "knowledge_base_document_id",
                      "human_feedback_type",
                      "human_feedback_conversation_id",
                      "human_feedback_agent_evaluation_scorecard_criterion_result_id",
                      "status_incident_id",
                      "status_incident_title",
                      "status_incident_url",
                      "heading_path",
                      "quote_exact"
                    ]
                  }
                },
                "files": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "filename": {
                        "type": "string"
                      },
                      "content_type": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "url",
                      "filename",
                      "content_type"
                    ]
                  }
                }
              },
              "required": [
                "id",
                "result",
                "summary",
                "knowledge_base_answer",
                "created_at",
                "updated_at",
                "scorecard_criterion_check_id",
                "check_description",
                "criterion_name",
                "conversation_id",
                "conversation_external_id",
                "work_item_id",
                "work_item_external_id",
                "agent_name",
                "selected_justification_option",
                "knowledge_base_citations",
                "files"
              ]
            }
          },
          "qa_evaluation_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "scorecard_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "conversation_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "conversation_external_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "conversation_external_created_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "agent_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "children": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "knowledge_base_answer": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "created_at": {
                  "type": "string"
                },
                "updated_at": {
                  "type": "string"
                },
                "score": {
                  "type": "number"
                },
                "max_score": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "weight": {
                  "type": "number"
                },
                "agent_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "scorecard_criterion_id": {
                  "type": "string"
                },
                "scorecard_criterion_scoring_type": {
                  "type": "string"
                },
                "scorecard_criterion_description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "scorecard_criterion_weight": {
                  "type": "number"
                },
                "scorecard_criterion_max_score": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "scorecard_criterion_score_options": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "type": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "type",
                      "value"
                    ]
                  }
                },
                "selected_score_option": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "value": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "id",
                    "label",
                    "type",
                    "value"
                  ]
                },
                "selected_justification_option": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "content": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "type",
                    "content"
                  ]
                },
                "guiding_question_answers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "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"
                    ]
                  }
                },
                "comments": {
                  "type": "array",
                  "items": {
                    "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"
                    ]
                  }
                },
                "knowledge_base_citations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "citation_index": {
                        "type": "integer"
                      },
                      "citation_type": {
                        "type": "string",
                        "enum": [
                          "feedback",
                          "knowledge_base_document"
                        ]
                      },
                      "knowledge_base_document_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reference_evaluation_source_type": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reference_criterion_result_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reference_conversation_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reference_conversation_external_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "citation_index",
                      "citation_type",
                      "knowledge_base_document_id",
                      "reference_evaluation_source_type",
                      "reference_criterion_result_id",
                      "reference_conversation_id",
                      "reference_conversation_external_id"
                    ]
                  }
                },
                "check_results": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "result": {
                        "type": "string"
                      },
                      "summary": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "knowledge_base_answer": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "created_at": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string"
                      },
                      "scorecard_criterion_check_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "check_description": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "criterion_name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "conversation_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "conversation_external_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "work_item_id": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "work_item_external_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "agent_name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "selected_justification_option": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          },
                          "content": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "type",
                          "content"
                        ]
                      },
                      "knowledge_base_citations": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "citation_index": {
                              "type": "integer"
                            },
                            "citation_type": {
                              "type": "string"
                            },
                            "knowledge_base_document_id": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "human_feedback_type": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "human_feedback_conversation_id": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "human_feedback_agent_evaluation_scorecard_criterion_result_id": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "status_incident_id": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "status_incident_title": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "status_incident_url": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "heading_path": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "quote_exact": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "citation_index",
                            "citation_type",
                            "knowledge_base_document_id",
                            "human_feedback_type",
                            "human_feedback_conversation_id",
                            "human_feedback_agent_evaluation_scorecard_criterion_result_id",
                            "status_incident_id",
                            "status_incident_title",
                            "status_incident_url",
                            "heading_path",
                            "quote_exact"
                          ]
                        }
                      },
                      "files": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "filename": {
                              "type": "string"
                            },
                            "content_type": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "url",
                            "filename",
                            "content_type"
                          ]
                        }
                      }
                    },
                    "required": [
                      "id",
                      "result",
                      "summary",
                      "knowledge_base_answer",
                      "created_at",
                      "updated_at",
                      "scorecard_criterion_check_id",
                      "check_description",
                      "criterion_name",
                      "conversation_id",
                      "conversation_external_id",
                      "work_item_id",
                      "work_item_external_id",
                      "agent_name",
                      "selected_justification_option",
                      "knowledge_base_citations",
                      "files"
                    ]
                  }
                },
                "qa_evaluation_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "scorecard_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "conversation_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "conversation_external_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "conversation_external_created_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "agent_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "reason",
                "knowledge_base_answer",
                "created_at",
                "updated_at",
                "score",
                "max_score",
                "weight",
                "agent_id",
                "scorecard_criterion_id",
                "scorecard_criterion_scoring_type",
                "scorecard_criterion_description",
                "scorecard_criterion_weight",
                "scorecard_criterion_max_score",
                "scorecard_criterion_score_options",
                "selected_score_option",
                "selected_justification_option",
                "guiding_question_answers",
                "comments",
                "knowledge_base_citations",
                "check_results",
                "qa_evaluation_id",
                "scorecard_id",
                "conversation_id",
                "conversation_external_id",
                "conversation_external_created_at",
                "agent_name"
              ]
            }
          }
        },
        "required": [
          "id",
          "reason",
          "knowledge_base_answer",
          "created_at",
          "updated_at",
          "score",
          "max_score",
          "weight",
          "agent_id",
          "scorecard_criterion_id",
          "scorecard_criterion_scoring_type",
          "scorecard_criterion_description",
          "scorecard_criterion_weight",
          "scorecard_criterion_max_score",
          "scorecard_criterion_score_options",
          "selected_score_option",
          "selected_justification_option",
          "guiding_question_answers",
          "comments",
          "knowledge_base_citations",
          "check_results",
          "qa_evaluation_id",
          "scorecard_id",
          "conversation_id",
          "conversation_external_id",
          "conversation_external_created_at",
          "agent_name",
          "children"
        ]
      }
    },
    "customer_names": {
      "type": "string"
    },
    "conversation_evaluation_summary": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "reason",
    "knowledge_base_answer",
    "created_at",
    "updated_at",
    "score",
    "max_score",
    "weight",
    "agent_id",
    "scorecard_criterion_id",
    "scorecard_criterion_scoring_type",
    "scorecard_criterion_description",
    "scorecard_criterion_weight",
    "scorecard_criterion_max_score",
    "scorecard_criterion_score_options",
    "selected_score_option",
    "selected_justification_option",
    "guiding_question_answers",
    "comments",
    "knowledge_base_citations",
    "check_results",
    "qa_evaluation_id",
    "scorecard_id",
    "conversation_id",
    "conversation_external_id",
    "conversation_external_created_at",
    "agent_name",
    "children",
    "customer_names",
    "conversation_evaluation_summary"
  ]
}