{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-document-question-answers-result-schema.json",
  "title": "DocumentQuestionAnswersResult",
  "description": "Result of performing a document question answering operation",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-analyze-api-openapi.yml#/components/schemas/DocumentQuestionAnswersResult",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if the operation was completed successfully, or false otherwise",
      "type": "boolean"
    },
    "ConfidenceScore": {
      "format": "double",
      "description": "Confidence score between 0.0 and 1.0 where values above 0.8 indicate high confidence",
      "type": "number"
    },
    "AnswerResults": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DocumentQuestionAnswerItem"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "DocumentQuestionAnswerItem": {
      "description": "Answer to an input question",
      "type": "object",
      "properties": {
        "QuestionId": {
          "description": "ID of the input question",
          "type": "string"
        },
        "AnswerValue": {
          "description": "Answer response value, formatted as a string, for this question.  Boolean questions will return YES or NO.",
          "type": "string"
        },
        "AnswerRationale": {
          "description": "Rationale explaining why this answer was given",
          "type": "string"
        },
        "ConfidenceScore": {
          "format": "double",
          "description": "Confidence score between 0.0 and 1.0 where values above 0.8 indicate high confidence",
          "type": "number"
        }
      },
      "additionalProperties": false
    }
  }
}