{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/DomainRecordRequest", "title": "DomainRecordRequest", "type": "object", "required": [ "type" ], "properties": { "type": { "type": "string", "enum": [ "A", "AAAA", "NS", "MX", "CNAME", "TXT", "SRV", "PTR", "CAA" ], "description": "The type of DNS record." }, "name": { "type": "string", "description": "The hostname or FQDN." }, "target": { "type": "string", "description": "The target value." }, "priority": { "type": "integer", "description": "The priority for MX and SRV records." }, "weight": { "type": "integer", "description": "The weight for SRV records." }, "port": { "type": "integer", "description": "The port for SRV records." }, "ttl_sec": { "type": "integer", "description": "The TTL in seconds." } } }