{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/contabo/json-schema/contabo-update-dns-zone-record-request-schema.json",
  "title": "UpdateDnsZoneRecordRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/contabo-dns-api-openapi.yml#/components/schemas/UpdateDnsZoneRecordRequest",
  "type": "object",
  "properties": {
    "ttl": {
      "type": "number",
      "description": "TTL"
    },
    "prio": {
      "type": "number",
      "description": "Prio"
    },
    "type": {
      "type": "string",
      "description": "DNS record type",
      "enum": [
        "A",
        "AAAA",
        "CAA",
        "CNAME",
        "MX",
        "SRV",
        "TXT"
      ]
    },
    "data": {
      "type": "string",
      "minLength": 1,
      "description": "Data"
    },
    "port": {
      "type": "number",
      "description": "Port"
    },
    "weight": {
      "type": "number",
      "description": "Weight"
    },
    "flag": {
      "type": "number",
      "description": "Flag"
    },
    "tag": {
      "type": "string",
      "description": "Tag"
    }
  },
  "required": [
    "ttl",
    "prio",
    "type",
    "data"
  ]
}