{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vee3-io/json-schema/vee3-io-domain-tld-record-schema.json",
  "title": "DomainTldRecord",
  "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/DomainTldRecord",
  "properties": {
    "tld": {
      "type": "string",
      "title": "Tld"
    },
    "type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Type"
    },
    "level": {
      "type": "integer",
      "title": "Level"
    },
    "availability": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Availability"
    },
    "whois_server": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Whois Server"
    },
    "domains_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Domains Count"
    },
    "organization": {
      "anyOf": [
        {
          "$ref": "#/$defs/DomainTldOrganization"
        },
        {
          "type": "null"
        }
      ]
    },
    "created": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created"
    },
    "changed": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Changed"
    }
  },
  "type": "object",
  "required": [
    "tld",
    "level"
  ],
  "$defs": {
    "DomainTldOrganization": {
      "properties": {
        "organisation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Organisation"
        },
        "address": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Address"
        }
      },
      "type": "object",
      "title": "DomainTldOrganization"
    }
  }
}