{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pigi-finance/json-schema/pigi-finance-holder-list-meta-schema.json",
  "title": "HolderListMeta",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pigi-finance-openapi.yml#/components/schemas/HolderListMeta",
  "type": "object",
  "properties": {
    "strategy_id": {
      "type": "integer"
    },
    "holders": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Holder count; null when the vault has never been scanned with the store, or its scan failed verification."
    },
    "total_balance": {
      "type": [
        "number",
        "null"
      ]
    },
    "total_known": {
      "type": "boolean"
    },
    "page": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "integer"
        },
        "offset": {
          "type": "integer"
        },
        "total_rows": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "scan": {
      "type": [
        "object",
        "null"
      ],
      "description": "The scan checkpoint the list is consistent with; null = not scanned yet.",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "running",
            "completed",
            "failed",
            "inconsistent"
          ],
          "description": "completed = the list reconciles with the vault's totalSupply(); running / failed = a scan in progress or interrupted, the list may be partial; inconsistent = the scan did not reconcile, no list is served."
        },
        "last_committed_block": {
          "type": "integer"
        },
        "full_scan_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "updated_at": {
          "type": "string"
        }
      }
    }
  }
}