{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/imageat-com/json-schema/imageat-com-chat-request-schema.json",
  "title": "ChatRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/imageat-com-openapi.yml#/components/schemas/ChatRequest",
  "type": "object",
  "required": [
    "model",
    "messages"
  ],
  "properties": {
    "model": {
      "type": "string"
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "tool_choice": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "object"
        }
      ]
    },
    "parallel_tool_calls": {
      "type": "boolean",
      "default": true
    },
    "reasoning": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "xhigh",
        "max"
      ]
    },
    "verbosity": {
      "type": "string"
    },
    "stream": {
      "type": "boolean",
      "default": false
    },
    "store": {
      "type": "boolean",
      "default": true
    }
  }
}