{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mantic/json-schema/mantic-create-conversation-request-schema.json",
  "title": "CreateConversationRequest",
  "description": "Body for ``POST /webapp/conversations``.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mantic-conversations-api-openapi.yml#/components/schemas/CreateConversationRequest",
  "properties": {
    "context_kind": {
      "type": "string",
      "enum": [
        "general",
        "question"
      ],
      "title": "Context Kind",
      "default": "general"
    },
    "context_entity_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Context Entity Id"
    }
  },
  "type": "object"
}