{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-functions/json-schema/microsoft-azure-functions-static-site-custom-domain-overview-armresource-schema.json",
  "title": "StaticSiteCustomDomainOverviewARMResource",
  "description": "Static Site Custom Domain Overview ARM resource.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-functions-static-sites-api-openapi.yml#/components/schemas/StaticSiteCustomDomainOverviewARMResource",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/StaticSiteCustomDomainOverviewARMResourceProperties",
      "description": "StaticSiteCustomDomainOverviewARMResource resource specific properties",
      "x-ms-client-flatten": true
    },
    "kind": {
      "type": "string",
      "description": "Kind of resource."
    }
  },
  "allOf": [
    {
      "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
    }
  ],
  "$defs": {
    "CustomDomainStatus": {
      "type": "string",
      "description": "The status of the custom domain",
      "enum": [
        "RetrievingValidationToken",
        "Validating",
        "Adding",
        "Ready",
        "Failed",
        "Deleting",
        "Unhealthy"
      ],
      "x-ms-enum": {
        "name": "CustomDomainStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "RetrievingValidationToken",
            "value": "RetrievingValidationToken"
          },
          {
            "name": "Validating",
            "value": "Validating"
          },
          {
            "name": "Adding",
            "value": "Adding"
          },
          {
            "name": "Ready",
            "value": "Ready"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Deleting",
            "value": "Deleting"
          },
          {
            "name": "Unhealthy",
            "value": "Unhealthy"
          }
        ]
      }
    },
    "StaticSiteCustomDomainOverviewARMResourceProperties": {
      "type": "object",
      "description": "StaticSiteCustomDomainOverviewARMResource resource specific properties",
      "properties": {
        "domainName": {
          "type": "string",
          "description": "The domain name for the static site custom domain.",
          "readOnly": true
        },
        "createdOn": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time on which the custom domain was created for the static site.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CustomDomainStatus",
          "description": "The status of the custom domain",
          "readOnly": true
        },
        "validationToken": {
          "type": "string",
          "description": "The TXT record validation token",
          "readOnly": true
        },
        "errorMessage": {
          "type": "string",
          "readOnly": true
        }
      }
    }
  }
}