{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/docupanda/json-schema/docupanda-analyze-data-request-schema.json",
  "title": "AnalyzeDataRequest",
  "description": "Asyncronous request for the Analyze Data endpoint\n    ",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/docupanda-analysis-api-openapi.yml#/components/schemas/AnalyzeDataRequest",
  "properties": {
    "documentIds": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Document IDs",
      "description": "List of document IDs to analyze. If both dataset and documentIds are provided, we take the intersection of the two."
    },
    "dataset": {
      "type": "string",
      "title": "Dataset",
      "description": "Dataset which defines what documents are included in the analysis. If both dataset and documentIds are provided, we take the intersection of the two."
    },
    "schemaId": {
      "type": "string",
      "title": "Schema ID",
      "description": "Unique identifier of the schema to be used for the analysis. If provided, only those documents with a valid standardization under this schema will be included in the analysis."
    },
    "questions": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Questions",
      "description": "List of questions to be answered."
    },
    "instructions": {
      "type": "string",
      "title": "Instructions",
      "description": "Global instructions to provide additional guidelines or context to the AI when answering the questions."
    }
  },
  "type": "object",
  "required": [
    "questions"
  ]
}