{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/jev-agent/main/json-schema/jev-agent-post-v1-decisions-request-schema.json",
  "title": "PostV1DecisionsRequest",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/jev-agent-openapi-generated.yml#/components/schemas/PostV1DecisionsRequest",
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "The input text or user messages (may include images)."
    },
    "questions": {
      "type": "array",
      "description": "Array of question objects."
    },
    "questions.type": {
      "type": "string",
      "description": "One of \"predicate\", \"choice\", or \"score\"."
    },
    "questions.name": {
      "type": "string",
      "description": "Identifier for the question."
    },
    "questions.instructions": {
      "type": "string",
      "description": "Instructions for the model."
    },
    "questions.choices": {
      "type": "array",
      "description": "For \"choice\" type, list of possible options."
    },
    "questions.choices.value": {
      "type": "string",
      "description": "Value of a choice option."
    }
  },
  "required": [
    "input",
    "questions",
    "questions.type",
    "questions.name",
    "questions.instructions",
    "questions.choices.value"
  ]
}