{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/domainee-dev/json-schema/domainee-dev-registrar-dns-record-schema.json",
  "title": "RegistrarDnsRecord",
  "description": "A DNS record held at the registrar for a purchased domain.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/domainee-dev-openapi.json#/components/schemas/RegistrarDnsRecord",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "A",
        "AAAA",
        "CNAME",
        "MX",
        "TXT",
        "NS",
        "SRV",
        "URL",
        "URL301",
        "FRAME"
      ]
    },
    "name": {
      "type": "string",
      "maxLength": 255,
      "description": "Subdomain label; `@` for the apex."
    },
    "value": {
      "type": "string",
      "maxLength": 2048
    },
    "ttl": {
      "type": "integer",
      "minimum": 60,
      "maximum": 86400
    },
    "priority": {
      "type": "integer",
      "minimum": 0,
      "maximum": 65535,
      "description": "MX/SRV only."
    }
  },
  "required": [
    "type",
    "name",
    "value"
  ]
}