{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fatheron-dev/json-schema/fatheron-dev-register-acquire-request-schema.json",
  "title": "RegisterAcquireRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fatheron-dev-openapi.json#/components/schemas/RegisterAcquireRequest",
  "properties": {
    "domain": {
      "type": "string",
      "maxLength": 253,
      "minLength": 3,
      "title": "Domain"
    },
    "profile_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Profile Id"
    },
    "pack_id": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "title": "Pack Id"
    },
    "registrar": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Registrar"
    },
    "registration_years": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 10.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Registration Years"
    },
    "whois_privacy": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Whois Privacy"
    },
    "auto_renew": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Auto Renew"
    },
    "ns_mode": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "push_fh",
            "registrar_dns"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Ns Mode"
    },
    "custom_flags": {
      "anyOf": [
        {
          "$ref": "#/$defs/CustomPackFlags"
        },
        {
          "type": "null"
        }
      ]
    },
    "authorize": {
      "type": "boolean",
      "title": "Authorize",
      "default": false
    },
    "syndicate_venues": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 8,
      "title": "Syndicate Venues"
    },
    "purchase_via": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "connected",
            "platform"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Purchase Via"
    }
  },
  "type": "object",
  "required": [
    "domain",
    "pack_id"
  ],
  "$defs": {
    "CustomPackFlags": {
      "properties": {
        "for_sale": {
          "type": "boolean",
          "title": "For Sale",
          "default": false
        },
        "park": {
          "type": "boolean",
          "title": "Park",
          "default": false
        },
        "email": {
          "type": "boolean",
          "title": "Email",
          "default": false
        }
      },
      "type": "object",
      "title": "CustomPackFlags"
    }
  }
}