{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/datagrout-ai/json-schema/datagrout-ai-post-conclusions-request-schema.json",
  "title": "PostConclusionsRequest",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/datagrout-ai-openapi-generated.yml#/components/schemas/PostConclusionsRequest",
  "type": "object",
  "properties": {
    "questions": {
      "type": "object",
      "description": "Keyed questions with goals or plain language"
    },
    "require": {
      "type": "array",
      "description": "Battery ids to use"
    },
    "records": {
      "type": "object",
      "description": "Facts as records shaped by the battery’s input schema"
    },
    "facts": {
      "type": "array",
      "description": "Typed facts"
    },
    "reference": {
      "type": "string",
      "description": "Reference to earlier response"
    },
    "rules": {
      "type": "array",
      "description": "Prolog clauses for this request only"
    },
    "namespace": {
      "type": "string",
      "description": "Memory to draw conclusions from"
    },
    "explain": {
      "type": "boolean",
      "description": "Add base facts each answer rests on"
    }
  },
  "required": [
    "questions"
  ]
}