{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dotsy-ai/json-schema/dotsy-ai-add-custom-domain-request-schema.json",
  "title": "AddCustomDomainRequest",
  "description": "Send `hosts` (or `host`). One of them is required.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dotsy-ai-domains-api-openapi.yml#/components/schemas/AddCustomDomainRequest",
  "type": "object",
  "properties": {
    "hosts": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "One or two hostnames. Two is only valid as an apex and its `www` together (they share one connect session). Takes precedence over `host`."
    },
    "host": {
      "type": "string",
      "description": "A single hostname — the same as `hosts: [host]`."
    }
  }
}