{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reservoir/json-schema/reservoir-get-owners-v2-response-schema.json",
  "title": "getOwnersV2Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reservoir-owners-api-openapi.yml#/components/schemas/getOwnersV2Response",
  "type": "object",
  "properties": {
    "owners": {
      "$ref": "#/$defs/Model51"
    }
  },
  "$defs": {
    "Model49": {
      "type": "object",
      "properties": {
        "tokenCount": {
          "type": "string"
        },
        "onSaleCount": {
          "type": "string"
        },
        "floorAskPrice": {
          "$ref": "#/$defs/floorAskPrice"
        },
        "topBidValue": {
          "$ref": "#/$defs/topBidValue"
        },
        "totalBidValue": {
          "$ref": "#/$defs/topBidValue"
        }
      }
    },
    "Model50": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string"
        },
        "ownership": {
          "$ref": "#/$defs/Model49"
        }
      }
    },
    "Model51": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Model50"
      }
    },
    "amount": {
      "type": "object",
      "description": "Amount with fees & royalties included.",
      "properties": {
        "raw": {
          "type": "string",
          "pattern": "^-?[0-9]+$"
        },
        "decimal": {
          "type": "number"
        },
        "usd": {
          "type": "number"
        },
        "native": {
          "type": "number"
        }
      }
    },
    "currency": {
      "type": "object",
      "properties": {
        "contract": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{40}$"
        },
        "name": {
          "type": "string"
        },
        "symbol": {
          "type": "string"
        },
        "decimals": {
          "type": "number"
        },
        "chainId": {
          "type": "number"
        }
      }
    },
    "floorAskPrice": {
      "type": "object",
      "description": "Can return `null` if there is no Floor Ask",
      "properties": {
        "currency": {
          "$ref": "#/$defs/currency"
        },
        "amount": {
          "$ref": "#/$defs/amount"
        },
        "netAmount": {
          "$ref": "#/$defs/netAmount"
        }
      }
    },
    "netAmount": {
      "type": "object",
      "description": "Amount with fees & royalties removed.",
      "properties": {
        "raw": {
          "type": "string",
          "pattern": "^-?[0-9]+$"
        },
        "decimal": {
          "type": "number"
        },
        "usd": {
          "type": "number"
        },
        "native": {
          "type": "number"
        }
      }
    },
    "topBidValue": {
      "type": "object",
      "description": "Can return `null` if there are no bids",
      "properties": {
        "currency": {
          "$ref": "#/$defs/currency"
        },
        "amount": {
          "$ref": "#/$defs/amount"
        },
        "netAmount": {
          "$ref": "#/$defs/netAmount"
        }
      }
    }
  }
}