{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cspriceapi-com/json-schema/cspriceapi-com-float-ranged-v2-prices-response-schema.json",
  "title": "FloatRangedV2PricesResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cspriceapi-com-float-ranged-api-openapi.yml#/components/schemas/FloatRangedV2PricesResponse",
  "allOf": [
    {
      "$ref": "#/$defs/BaseWrapper"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FloatRangedV2Item"
          }
        },
        "source": {
          "type": "string",
          "enum": [
            "Float Ranged"
          ]
        }
      },
      "required": [
        "data"
      ]
    }
  ],
  "$defs": {
    "BaseWrapper": {
      "type": "object",
      "description": "Envelope fields returned by every `GET /v1/prices/*` response.",
      "properties": {
        "source": {
          "type": "string",
          "description": "Human-readable marketplace identifier."
        },
        "requestor": {
          "type": "string",
          "format": "email",
          "description": "Email address associated with the API key making the call."
        },
        "plan": {
          "type": "string",
          "description": "Plan of the API key (e.g. `free`, `pro`, `enterprise`)."
        },
        "timestamp": {
          "allOf": [
            {
              "$ref": "#/$defs/UpdatedAt"
            }
          ],
          "description": "Server time when this response was produced."
        }
      },
      "required": [
        "source",
        "timestamp"
      ]
    },
    "DecimalString": {
      "type": "string",
      "description": "Fixed-point decimal value serialized as a string (preserves precision\nacross languages). Parse with an arbitrary-precision decimal library;\ndo **not** parse as a native float.\n",
      "pattern": "^-?\\d+(\\.\\d+)?$"
    },
    "FloatRangedV2Item": {
      "type": "object",
      "description": "Float-range filtered listing snapshot (v2).",
      "properties": {
        "market_hash_name": {
          "type": "string"
        },
        "float_range": {
          "type": "string",
          "description": "Float-range bucket/filter."
        },
        "phase": {
          "$ref": "#/$defs/Phase"
        },
        "fade": {
          "type": [
            "number",
            "null"
          ],
          "description": "Fade percentage for Fade skins (e.g. `81.7`). `null` for non-Fade\nitems.\n"
        },
        "count": {
          "type": [
            "integer",
            "null"
          ]
        },
        "price_rmb": {
          "allOf": [
            {
              "$ref": "#/$defs/DecimalString"
            }
          ],
          "nullable": true,
          "description": "Lowest listing price in CNY (RMB) for this float range."
        },
        "updated_at": {
          "$ref": "#/$defs/UpdatedAt"
        }
      },
      "required": [
        "market_hash_name",
        "float_range",
        "phase",
        "updated_at"
      ]
    },
    "Phase": {
      "type": [
        "string",
        "null"
      ],
      "description": "Doppler phase, normalised to English. Empty string or `null` for\nnon-phase items.\n"
    },
    "UpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO-8601 UTC timestamp (millisecond precision)."
    }
  }
}