{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://heartcortex.ai/schemas/1.0/ask-request.schema.json",
  "title": "Ask request",
  "type": "object",
  "required": ["question"],
  "properties": {
    "question": { "type": "string", "minLength": 1, "maxLength": 8000 },
    "allowProposals": { "description": "Whether the answer may include proposed actions.", "type": "boolean", "default": false },
    "output": { "$ref": "reason-request.schema.json#/properties/output" },
    "maxCostUsd": { "type": "number", "minimum": 0 }
  }
}
