{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/osintverse-com/json-schema/osintverse-com-search-quote-response-schema.json",
  "title": "SearchQuoteResponse",
  "description": "Price of a search and whether the active wallet can pay for it. Never charges.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/osintverse-com-api-openapi.json#/components/schemas/SearchQuoteResponse",
  "properties": {
    "provider": {
      "type": "string",
      "title": "Provider"
    },
    "input_type": {
      "type": "string",
      "title": "Input Type"
    },
    "count": {
      "type": "integer",
      "title": "Count"
    },
    "premium": {
      "type": "boolean",
      "title": "Premium"
    },
    "available": {
      "type": "boolean",
      "title": "Available",
      "description": "False when the provider is turned off; such a search would be rejected."
    },
    "unit_cost_usd": {
      "type": "string",
      "title": "Unit Cost Usd"
    },
    "total_cost_usd": {
      "type": "string",
      "title": "Total Cost Usd"
    },
    "balance_usd": {
      "type": "string",
      "title": "Balance Usd",
      "description": "Current balance of the wallet the API key bills."
    },
    "sufficient_balance": {
      "type": "boolean",
      "title": "Sufficient Balance"
    },
    "shortfall_usd": {
      "type": "string",
      "title": "Shortfall Usd",
      "description": "How much to top up before the search can run; 0.00 when sufficient."
    },
    "top_up_url": {
      "type": "string",
      "title": "Top Up Url"
    }
  },
  "type": "object",
  "required": [
    "provider",
    "input_type",
    "count",
    "premium",
    "available",
    "unit_cost_usd",
    "total_cost_usd",
    "balance_usd",
    "sufficient_balance",
    "shortfall_usd",
    "top_up_url"
  ]
}