{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-app-service/json-schema/microsoft-azure-app-service-static-site-custom-domain-overview-armresource-schema.json",
  "title": "StaticSiteCustomDomainOverviewARMResource",
  "description": "Static Site Custom Domain Overview ARM resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-app-service-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": "#/$defs/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"
          }
        ]
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "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
        }
      }
    }
  }
}