{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bluenexus-ai/json-schema/bluenexus-ai-post-chat-completions-request-schema.json",
  "title": "PostChatCompletionsRequest",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/bluenexus-ai-openapi-generated.yml#/components/schemas/PostChatCompletionsRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string"
    },
    "messages": {
      "type": "array",
      "description": "Array of message objects with role and content."
    },
    "temperature": {
      "type": "number"
    },
    "max_tokens": {
      "type": "integer"
    },
    "stream": {
      "type": "boolean"
    },
    "top_p": {
      "type": "number"
    },
    "stop": {
      "type": "string"
    },
    "tools": {
      "type": "array"
    },
    "tool_choice": {
      "type": "string"
    },
    "response_format": {
      "type": "object"
    },
    "seed": {
      "type": "string"
    }
  },
  "required": [
    "model",
    "messages"
  ]
}