{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aivikings-ai/json-schema/aivikings-ai-domain-quote-schema.json",
  "title": "DomainQuote",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aivikings-ai-openapi.json#/components/schemas/DomainQuote",
  "properties": {
    "domain": {
      "type": "string",
      "title": "Domain"
    },
    "tld": {
      "type": "string",
      "title": "Tld"
    },
    "currency": {
      "type": "string",
      "title": "Currency"
    },
    "first_year_price": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "First Year Price"
    },
    "minimum_registration_years": {
      "type": "integer",
      "maximum": 10.0,
      "minimum": 1.0,
      "title": "Minimum Registration Years",
      "default": 1
    },
    "maximum_registration_years": {
      "type": "integer",
      "maximum": 10.0,
      "minimum": 1.0,
      "title": "Maximum Registration Years",
      "default": 10
    },
    "minimum_registration_price": {
      "type": "string",
      "title": "Minimum Registration Price"
    },
    "standard_registration_price": {
      "type": "string",
      "title": "Standard Registration Price"
    },
    "promo_registration_price": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Promo Registration Price"
    },
    "transfer_price": {
      "type": "string",
      "title": "Transfer Price"
    },
    "renewal_price": {
      "type": "string",
      "title": "Renewal Price"
    },
    "promo_active": {
      "type": "boolean",
      "title": "Promo Active",
      "default": false
    },
    "is_premium": {
      "type": "boolean",
      "title": "Is Premium",
      "default": false
    },
    "registration_prices": {
      "items": {
        "$ref": "#/$defs/RegistrationPrice"
      },
      "type": "array",
      "title": "Registration Prices"
    },
    "pricing_rule": {
      "type": "string",
      "title": "Pricing Rule"
    },
    "source": {
      "type": "string",
      "title": "Source"
    },
    "stale": {
      "type": "boolean",
      "title": "Stale",
      "default": false
    },
    "cached_at": {
      "type": "string",
      "format": "date-time",
      "title": "Cached At"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Expires At"
    }
  },
  "type": "object",
  "required": [
    "domain",
    "tld",
    "currency",
    "minimum_registration_price",
    "standard_registration_price",
    "transfer_price",
    "renewal_price",
    "registration_prices",
    "pricing_rule",
    "source",
    "cached_at",
    "expires_at"
  ],
  "$defs": {
    "RegistrationPrice": {
      "properties": {
        "period_years": {
          "type": "integer",
          "maximum": 10.0,
          "minimum": 1.0,
          "title": "Period Years"
        },
        "price": {
          "type": "string",
          "title": "Price"
        }
      },
      "type": "object",
      "required": [
        "period_years",
        "price"
      ],
      "title": "RegistrationPrice"
    }
  }
}