{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reservoir/json-schema/reservoir-get-attributes-all-v4-response-schema.json",
  "title": "getAttributesAllV4Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reservoir-attributes-api-openapi.yml#/components/schemas/getAttributesAllV4Response",
  "type": "object",
  "properties": {
    "attributes": {
      "$ref": "#/$defs/Model432"
    }
  },
  "$defs": {
    "Model428": {
      "type": "object",
      "description": "Returned only for attributes with less than 10k tokens",
      "properties": {
        "currency": {
          "$ref": "#/$defs/currency"
        },
        "amount": {
          "$ref": "#/$defs/amount"
        },
        "netAmount": {
          "$ref": "#/$defs/netAmount"
        }
      }
    },
    "Model429": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "Case sensitive"
        },
        "count": {
          "type": "number"
        },
        "floorAskPrice": {
          "$ref": "#/$defs/Model428"
        }
      },
      "required": [
        "value"
      ]
    },
    "Model430": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Model429"
      }
    },
    "Model431": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "Case sensitive"
        },
        "attributeCount": {
          "type": "number",
          "description": "Number of possible attribute kinds"
        },
        "kind": {
          "type": "string",
          "enum": [
            "string",
            "number",
            "date",
            "range"
          ]
        },
        "minRange": {
          "type": "number"
        },
        "maxRange": {
          "type": "number"
        },
        "values": {
          "$ref": "#/$defs/Model430"
        }
      },
      "required": [
        "key",
        "kind"
      ]
    },
    "Model432": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Model431"
      }
    },
    "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"
        }
      }
    },
    "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"
        }
      }
    }
  }
}