{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/walletlink-social/json-schema/walletlink-social-estimate-schema.json",
  "title": "Estimate",
  "description": "Counts only. No identities leave this endpoint.",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/walletlink-social-openapi.yaml#/components/schemas/Estimate",
  "type": "object",
  "required": [
    "requested",
    "in_index",
    "previously_checked_empty",
    "never_checked",
    "would_bill_estimate"
  ],
  "properties": {
    "requested": {
      "type": "integer",
      "description": "Distinct addresses after deduplication."
    },
    "in_index": {
      "type": "integer",
      "description": "Addresses holding at least one identity (X, Farcaster, ENS, Lens\nor GitHub).\n"
    },
    "previously_checked_empty": {
      "type": "integer",
      "description": "Addresses we checked and found bare. Resolving these is free and\nunlikely to find anything until the negative record ages out.\n"
    },
    "never_checked": {
      "type": "integer",
      "description": "Addresses the index has never seen. A plain `/batch` returns null\nfor these; a job resolves them against live sources.\n"
    },
    "would_bill_estimate": {
      "type": "object",
      "required": [
        "low",
        "high",
        "note"
      ],
      "properties": {
        "low": {
          "type": "integer",
          "description": "Exact for a `/batch` of this list today: addresses already\nholding an X handle or a Farcaster account.\n"
        },
        "high": {
          "type": "integer",
          "description": "`low` plus the never-checked addresses at the measured\noverall match rate. A band, not a quote; the chain decides\nthe real rate.\n"
        },
        "note": {
          "type": "string",
          "description": "How to read the band, with the measured basis."
        }
      }
    }
  }
}