Raw schema
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Domain name in this deSEC account, e.g. example.com (see desec_list_domains)."
},
"subname": {
"description": "Subname relative to the domain: \"www\", \"_443._tcp.www\", \"*\" for a wildcard. Empty or \"@\" = the zone apex. Never the full name.",
"type": "string",
"maxLength": 178
},
"type": {
"type": "string",
"enum": [
"A",
"AAAA",
"CAA",
"CNAME",
"HTTPS",
"LOC",
"MX",
"NAPTR",
"NS",
"OPENPGPKEY",
"PTR",
"SMIMEA",
"SPF",
"SRV",
"SSHFP",
"SVCB",
"TLSA",
"TXT",
"URI"
],
"description": "Record type (uppercase). DNSSEC types and SOA are managed by deSEC and cannot be written."
},
"ttl": {
"type": "integer",
"minimum": 1,
"maximum": 86400,
"description": "TTL in seconds, at most 86400. Not below the domain's minimum_ttl (usually 3600): deSEC rejects lower values."
},
"records": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4000
},
"description": "Record contents in zone-file format, at least one (an empty list would delete the RRset and is refused). Names need a trailing dot (\"10 mx.example.com.\"), TXT needs quotes (\"\\\"v=spf1 -all\\\"\")."
}
},
"required": [
"domain",
"type",
"ttl",
"records"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}