{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vee3-io/json-schema/vee3-io-domains-add-dns-host-body-schema.json",
  "title": "DomainsAddDnsHostBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vee3-io-domains-api-openapi.yml#/components/schemas/DomainsAddDnsHostBody",
  "properties": {
    "host_name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Host Name"
    },
    "record_type": {
      "type": "string",
      "maxLength": 16,
      "minLength": 1,
      "title": "Record Type"
    },
    "address": {
      "type": "string",
      "maxLength": 1000,
      "minLength": 1,
      "title": "Address"
    },
    "ttl": {
      "type": "integer",
      "maximum": 60000.0,
      "minimum": 60.0,
      "title": "Ttl",
      "default": 1800
    },
    "mx_pref": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 65535.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Mx Pref"
    }
  },
  "type": "object",
  "required": [
    "host_name",
    "record_type",
    "address"
  ]
}