{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-domain-dns-record-schema.json",
  "title": "microsoft.graph.domainDnsRecord",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-domains-domaindnsrecord-api-openapi.yml#/components/schemas/microsoft.graph.domainDnsRecord",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "domainDnsRecord",
      "type": "object",
      "properties": {
        "isOptional": {
          "type": "boolean",
          "description": "If false, the customer must configure this record at the DNS host for Microsoft Online Services to operate correctly with the domain."
        },
        "label": {
          "type": "string",
          "description": "Value used when configuring the name of the DNS record at the DNS host."
        },
        "recordType": {
          "type": [
            "string",
            "null"
          ],
          "description": "Indicates what type of DNS record this entity represents. The value can be CName, Mx, Srv, or Txt."
        },
        "supportedService": {
          "type": "string",
          "description": "Microsoft Online Service or feature that has a dependency on this DNS record. Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune."
        },
        "ttl": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.",
          "format": "int32"
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  ],
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  }
}