Raw schema
{
"type": "object",
"properties": {
"zone_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The DNS Zone ID."
},
"record_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The DNS record ID."
},
"type": {
"type": "string",
"enum": [
"A",
"AAAA",
"CNAME",
"TXT",
"MX",
"Redirect",
"Flatten",
"PullZone",
"SRV",
"CAA",
"PTR",
"Script",
"NS",
"SVCB",
"HTTPS",
"TLSA"
],
"description": "Record type."
},
"name": {
"type": "string",
"maxLength": 255,
"description": "Record name relative to the zone; empty string for the apex, e.g. 'www'."
},
"value": {
"type": "string",
"maxLength": 4096,
"description": "Record value, e.g. an IP for A, a hostname for CNAME, text for TXT."
},
"ttl": {
"description": "TTL in seconds.",
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"priority": {
"description": "Priority (MX, SRV).",
"type": "integer",
"minimum": 0,
"maximum": 65535
},
"weight": {
"description": "Weight (SRV, weighted records).",
"type": "integer",
"minimum": 0,
"maximum": 65535
},
"port": {
"description": "Port (SRV).",
"type": "integer",
"minimum": 0,
"maximum": 65535
},
"flags": {
"description": "Flags (CAA).",
"type": "integer",
"minimum": 0,
"maximum": 255
},
"tag": {
"description": "Tag (CAA), e.g. 'issue'.",
"type": "string",
"maxLength": 255
},
"pull_zone_id": {
"description": "Pull Zone ID, for type PullZone.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"accelerated": {
"description": "Route the record through the CDN (CDN acceleration).",
"type": "boolean"
},
"disabled": {
"description": "Keep the record but stop serving it.",
"type": "boolean"
},
"comment": {
"description": "Free-text note on the record.",
"type": "string",
"maxLength": 1024
}
},
"required": [
"zone_id",
"record_id",
"type",
"name",
"value"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}