{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adanos-market-sentiment-api/json-schema/adanos-market-sentiment-api-crypto-trending-token-schema.json",
  "title": "CryptoTrendingToken",
  "description": "Trending crypto token summary.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adanos-market-sentiment-api-reddit-crypto-api-openapi.yml#/components/schemas/CryptoTrendingToken",
  "properties": {
    "symbol": {
      "type": "string",
      "title": "Symbol",
      "description": "Token symbol"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "Token name"
    },
    "buzz_score": {
      "type": "number",
      "maximum": 100.0,
      "minimum": 0.0,
      "title": "Buzz Score",
      "description": "Buzz score (0-100)"
    },
    "trend": {
      "type": "string",
      "enum": [
        "rising",
        "falling",
        "stable"
      ],
      "title": "Trend",
      "description": "Activity momentum over the current 3 UTC days vs previous 3 UTC days using mentions, upvotes and subreddit breadth; not price movement. For `from`/`to`, anchors at `to` (or now when `to` is today)."
    },
    "mentions": {
      "type": "integer",
      "title": "Mentions",
      "description": "Attributed mention count, including inherited thread-context mentions"
    },
    "unique_posts": {
      "type": "integer",
      "title": "Unique Posts",
      "description": "Unique Reddit post count"
    },
    "subreddit_count": {
      "type": "integer",
      "title": "Subreddit Count",
      "description": "Unique subreddit count"
    },
    "sentiment_score": {
      "type": "number",
      "maximum": 1.0,
      "minimum": -1.0,
      "title": "Sentiment Score",
      "description": "Average sentiment score"
    },
    "bullish_pct": {
      "type": "integer",
      "maximum": 100.0,
      "minimum": 0.0,
      "title": "Bullish Pct",
      "description": "Bullish mention percentage"
    },
    "bearish_pct": {
      "type": "integer",
      "maximum": 100.0,
      "minimum": 0.0,
      "title": "Bearish Pct",
      "description": "Bearish mention percentage"
    },
    "total_upvotes": {
      "type": "integer",
      "title": "Total Upvotes",
      "description": "Total upvotes from attributed mentions"
    },
    "trend_history": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "Trend History",
      "description": "Daily buzz scores (oldest to newest). Length follows the resolved period, with a minimum of 7 values."
    }
  },
  "type": "object",
  "required": [
    "symbol",
    "buzz_score",
    "trend",
    "mentions",
    "unique_posts",
    "subreddit_count",
    "sentiment_score",
    "bullish_pct",
    "bearish_pct",
    "total_upvotes"
  ]
}