{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tweetfeed-live/json-schema/tweetfeed-live-trends-document-schema.json",
  "title": "TrendsDocument",
  "description": "Trends analytics document. Loosely typed here - see\nhttps://tweetfeed.live/trends/ for the human-readable rendering.\n",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tweetfeed-live-openapi.yml#/components/schemas/TrendsDocument",
  "type": "object",
  "properties": {
    "daily": {
      "type": "object",
      "description": "31 days of totals plus a per-IOC-type breakdown (url/domain/ip/\nsha256/md5), used for the rolling 30-day volume chart.\n"
    },
    "movers": {
      "type": "object",
      "description": "Current vs previous 7-day tag counts, ranked by change magnitude.",
      "properties": {
        "current_range": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "description": "First and last UTC day of the current 7-day window."
        },
        "previous_range": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date"
          },
          "description": "First and last UTC day of the 7 days before it."
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "tag": {
                "type": "string"
              },
              "count": {
                "type": "integer",
                "description": "IOCs with this tag in the current window."
              },
              "previous": {
                "type": "integer",
                "description": "IOCs with this tag in the previous window."
              },
              "delta": {
                "type": "integer",
                "description": "count minus previous."
              },
              "pct": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent change; null when previous is 0 (new tag)."
              },
              "tweets": {
                "type": "integer",
                "description": "Distinct source tweets behind `count` (since 2026-11-11).\nA large swing with `tweets: 1` is one report, not a trend.\n"
              },
              "previous_tweets": {
                "type": "integer",
                "description": "Distinct source tweets behind `previous`."
              },
              "reporters": {
                "type": "integer",
                "description": "Distinct reporting accounts behind `count` (a counter; no handles)."
              },
              "previous_reporters": {
                "type": "integer",
                "description": "Distinct reporting accounts behind `previous`."
              }
            }
          }
        }
      }
    },
    "tlds": {
      "type": "object",
      "description": "Top TLDs among malicious domains from the last 30 days."
    },
    "novelty": {
      "type": "object",
      "description": "Share of this week's distinct IOC values that are new versus\nrecurring.\n"
    }
  }
}