{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FMP Crypto Quote Schema",
  "description": "Schema for FMP Crypto Quote endpoint",
  "version": "1.0.0",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "symbol": {
        "type": "string",
        "description": "Cryptocurrency symbol (e.g., BTCUSD)"
      },
      "name": {
        "type": "string",
        "description": "Cryptocurrency name"
      },
      "price": {
        "type": "number",
        "description": "Current price"
      },
      "changesPercentage": {
        "type": "number",
        "description": "Price change percentage"
      },
      "change": {
        "type": "number",
        "description": "Price change"
      },
      "dayLow": {
        "type": "number",
        "description": "Day's low price"
      },
      "dayHigh": {
        "type": "number",
        "description": "Day's high price"
      },
      "yearHigh": {
        "type": "number",
        "description": "52-week high"
      },
      "yearLow": {
        "type": "number",
        "description": "52-week low"
      },
      "marketCap": {
        "type": ["number", "null"],
        "description": "Market capitalization"
      },
      "priceAvg50": {
        "type": ["number", "null"],
        "description": "50-day average price"
      },
      "priceAvg200": {
        "type": ["number", "null"],
        "description": "200-day average price"
      },
      "volume": {
        "type": ["number", "null"],
        "description": "Trading volume"
      },
      "avgVolume": {
        "type": ["number", "null"],
        "description": "Average volume"
      },
      "exchange": {
        "type": "string",
        "description": "Exchange"
      },
      "open": {
        "type": ["number", "null"],
        "description": "Opening price"
      },
      "previousClose": {
        "type": ["number", "null"],
        "description": "Previous closing price"
      },
      "timestamp": {
        "type": ["number", "null"],
        "description": "Unix timestamp"
      }
    },
    "required": ["symbol", "name", "price"]
  }
}
