{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/entri/main/json-schema/entri-post-connect-async-request-schema.json",
  "title": "PostConnectAsyncRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/entri-openapi-generated.yml#/components/schemas/PostConnectAsyncRequest",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The ID of your application (set in the dashboard)"
    },
    "domain": {
      "type": "string",
      "description": "The domain that will have the DNS records configured, e.g. example.com"
    },
    "dnsRecords": {
      "type": "array",
      "description": "The DNS records you wish to configure for your users"
    },
    "subdomain": {
      "type": "string",
      "description": "The subdomain that will have the DNS records configured, e.g. www"
    },
    "wwwRedirect": {
      "type": "boolean",
      "description": "If true, Entri will automatically set the redirect from the bare domain to the www subdomain"
    }
  },
  "required": [
    "applicationId",
    "domain",
    "dnsRecords"
  ]
}