{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reservoir/json-schema/reservoir-get-tokens-floor-ask-v4-response-schema.json",
  "title": "getTokensFloorAskV4Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reservoir-events-api-openapi.yml#/components/schemas/getTokensFloorAskV4Response",
  "type": "object",
  "properties": {
    "events": {
      "$ref": "#/$defs/Model329"
    },
    "continuation": {
      "type": "string",
      "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
    }
  },
  "$defs": {
    "Model214": {
      "type": "object",
      "properties": {
        "contract": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{40}$",
          "x-convert": {
            "case": "lower"
          }
        },
        "tokenId": {
          "type": "string",
          "pattern": "^-?[0-9]+$"
        }
      }
    },
    "Model312": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number"
        },
        "kind": {
          "type": "string",
          "enum": [
            "new-order",
            "expiry",
            "sale",
            "cancel",
            "balance-change",
            "approval-change",
            "bootstrap",
            "revalidation",
            "reprice"
          ]
        },
        "previousPrice": {
          "type": "number"
        },
        "txHash": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{64}$",
          "x-convert": {
            "case": "lower"
          }
        },
        "txTimestamp": {
          "type": "number",
          "description": "Time when added on the blockchain."
        },
        "createdAt": {
          "type": "string",
          "description": "Time when added to indexer"
        }
      }
    },
    "Model327": {
      "type": "object",
      "properties": {
        "orderId": {
          "type": "string"
        },
        "maker": {
          "type": "string",
          "pattern": "^0x[a-fA-F0-9]{40}$",
          "x-convert": {
            "case": "lower"
          }
        },
        "nonce": {
          "type": "string",
          "pattern": "^-?[0-9]+$"
        },
        "price": {
          "$ref": "#/$defs/price"
        },
        "validFrom": {
          "type": "number"
        },
        "validUntil": {
          "type": "number"
        },
        "source": {
          "$ref": "#/$defs/source"
        },
        "dynamicPricing": {
          "$ref": "#/$defs/dynamicPricing"
        },
        "isDynamic": {
          "type": "boolean"
        }
      }
    },
    "Model328": {
      "type": "object",
      "properties": {
        "token": {
          "$ref": "#/$defs/Model214"
        },
        "floorAsk": {
          "$ref": "#/$defs/Model327"
        },
        "event": {
          "$ref": "#/$defs/Model312"
        }
      }
    },
    "Model329": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Model328"
      }
    },
    "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"
        }
      }
    },
    "dynamicPricing": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "dutch",
            "pool"
          ]
        },
        "data": {
          "$ref": "#/$defs/metadata"
        }
      }
    },
    "metadata": {
      "type": "object"
    },
    "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"
        }
      }
    },
    "price": {
      "type": "object",
      "properties": {
        "currency": {
          "$ref": "#/$defs/currency"
        },
        "amount": {
          "$ref": "#/$defs/amount"
        },
        "netAmount": {
          "$ref": "#/$defs/netAmount"
        }
      }
    },
    "source": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "domain": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "icon": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    }
  }
}