{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sber/json-schema/sber-post-v2-chat-completions-request-schema.json",
  "title": "PostV2ChatCompletionsRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/sber-openapi-generated.yml#/components/schemas/PostV2ChatCompletionsRequest",
  "type": "object",
  "properties": {
    "messages": {
      "type": "array"
    },
    "model": {
      "type": "string"
    },
    "attachments": {
      "type": "array",
      "description": "Список идентификаторов файлов для обработки"
    },
    "model_options": {
      "type": "object",
      "description": "Объект с опциями модели, включая parallel_tool_calls для параллельной работы с функциями"
    },
    "content": {
      "type": "string",
      "description": "Текст сообщения в кодировке UTF8"
    }
  },
  "required": [
    "messages",
    "model"
  ]
}