{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customdomain-ai/json-schema/customdomain-ai-power-config-schema.json",
  "title": "PowerConfig",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customdomain-ai-power-api-openapi.yml#/components/schemas/PowerConfig",
  "type": "object",
  "required": [
    "connection_id",
    "domain",
    "powered",
    "www_redirect"
  ],
  "properties": {
    "connection_id": {
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "origin": {
      "type": "string",
      "description": "the URL the edge reverse-proxies to."
    },
    "powered": {
      "type": "boolean",
      "description": "true when an origin is registered."
    },
    "www_redirect": {
      "type": "boolean",
      "description": "serve an apex↔www redirect."
    },
    "redirect_to": {
      "type": "string",
      "description": "when set, the edge 301s the host here."
    },
    "root_path_access": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}