{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptodataapi-com/json-schema/cryptodataapi-com-short-term-price-response-schema.json",
  "title": "ShortTermPriceResponse",
  "description": "Short-term BTC price momentum metrics.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cryptodataapi-com-market-data-api-openapi.yml#/components/schemas/ShortTermPriceResponse",
  "properties": {
    "symbol": {
      "type": "string",
      "title": "Symbol",
      "default": "BTC"
    },
    "current_price": {
      "type": "number",
      "title": "Current Price"
    },
    "ma_20": {
      "type": "number",
      "title": "Ma 20"
    },
    "pct_from_20ma": {
      "type": "number",
      "title": "Pct From 20Ma"
    },
    "roc_5d_pct": {
      "type": "number",
      "title": "Roc 5D Pct"
    },
    "consecutive_green_4h": {
      "type": "integer",
      "title": "Consecutive Green 4H"
    },
    "consecutive_red_4h": {
      "type": "integer",
      "title": "Consecutive Red 4H"
    },
    "rsi_14": {
      "title": "Rsi 14",
      "type": [
        "number",
        "null"
      ]
    },
    "price_change_1h_pct": {
      "title": "Price Change 1H Pct",
      "type": [
        "number",
        "null"
      ]
    },
    "price_change_4h_pct": {
      "title": "Price Change 4H Pct",
      "type": [
        "number",
        "null"
      ]
    },
    "price_change_24h_pct": {
      "title": "Price Change 24H Pct",
      "type": [
        "number",
        "null"
      ]
    },
    "momentum_score": {
      "type": "integer",
      "title": "Momentum Score"
    }
  },
  "type": "object",
  "required": [
    "current_price",
    "ma_20",
    "pct_from_20ma",
    "roc_5d_pct",
    "consecutive_green_4h",
    "consecutive_red_4h",
    "momentum_score"
  ]
}