{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ksrnyx-top/json-schema/ksrnyx-top-post-v1-chat-completions-request-schema.json",
  "title": "PostV1ChatCompletionsRequest",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ksrnyx-top-openapi-generated.yml#/components/schemas/PostV1ChatCompletionsRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string"
    },
    "messages": {
      "type": "array",
      "description": "Array of message objects"
    },
    "messages[].role": {
      "type": "string",
      "description": "Role of the message sender"
    },
    "messages[].content": {
      "type": "string",
      "description": "Content of the message"
    }
  },
  "required": [
    "model",
    "messages",
    "messages[].role",
    "messages[].content"
  ]
}