{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/corebee-ai/json-schema/corebee-ai-conversation-create-schema.json",
  "title": "ConversationCreate",
  "description": "Provide contact_id, or any of contact_email / contact_phone / contact_name to resolve or auto-create the contact.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/corebee-ai-conversations-api-openapi.yml#/components/schemas/ConversationCreate",
  "type": "object",
  "properties": {
    "contact_id": {
      "type": "string",
      "format": "uuid"
    },
    "channel_id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "integer",
      "enum": [
        0,
        1,
        2,
        3
      ],
      "default": 0
    },
    "assignee_id": {
      "type": "string",
      "format": "uuid"
    },
    "priority": {
      "type": "integer"
    },
    "contact_email": {
      "type": "string",
      "format": "email"
    },
    "contact_phone": {
      "type": "string"
    },
    "contact_name": {
      "type": "string"
    }
  }
}