{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tweetfeed-live/json-schema/tweetfeed-live-ioc-schema.json",
  "title": "Ioc",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tweetfeed-live-openapi.yml#/components/schemas/Ioc",
  "type": "object",
  "required": [
    "date",
    "user",
    "type",
    "value",
    "tags",
    "tweet"
  ],
  "properties": {
    "date": {
      "type": "string",
      "description": "Publication timestamp of the tweet that reported the IOC, UTC,\nformat `YYYY-MM-DD HH:MM:SS`. It is the tweet's own publication\ntime as given by the source feed, not the moment the pipeline\ningested it (the pipeline polls every 15 minutes, so the two are\nnormally minutes apart).\n\nWhen the reporting tweet is a quote-tweet, the IOC is extracted\nfrom the QUOTED tweet but stamped with the QUOTING tweet's time,\nso that a re-share lands in the day it was re-shared. `user` and\n`tweet` then point at the quoted tweet while `date` points at\nthe quoting one, and `date` can be much newer than the tweet the\nIOC first appeared in.\n"
    },
    "user": {
      "type": "string",
      "description": "Twitter/X handle of the reporting researcher (no leading `@`)."
    },
    "type": {
      "type": "string",
      "enum": [
        "url",
        "domain",
        "ip",
        "sha256",
        "md5"
      ],
      "description": "IOC type."
    },
    "value": {
      "type": "string",
      "description": "The IOC value itself. URLs/domains are emitted refanged (the original\ntweet may have defanged them with `[.]` or `hxxp` - the pipeline\nnormalises to refanged form on emit). File hashes are lowercase hex.\nDefanged instead when the request carries `?defang=1`; hashes are\nunaffected either way (no `.` to defang).\n"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Tag labels (typically include the IOC category - `phishing`, `malware`,\n`ransomware`, etc. - plus malware-family or threat-actor labels when\napplicable). Current taxonomy: 95 tags. Full list at\nhttps://tweetfeed.live/tags/.\n"
    },
    "tweet": {
      "type": "string",
      "format": "uri",
      "description": "URL of the tweet that reported the IOC."
    },
    "ai": {
      "type": [
        "object",
        "null"
      ],
      "description": "Optional per-IOC AI enrichment, mirroring the `ai` object `GET\n/v1/ioc` returns. Present only once the value's own enrichment\njob has covered it; absent (not `null`) otherwise.\n",
      "properties": {
        "threat_type": {
          "type": "string"
        },
        "family": {
          "type": "string",
          "description": "Malware family, when identified. Omitted when unknown."
        }
      }
    },
    "net": {
      "type": [
        "object",
        "null"
      ],
      "description": "Optional per-IOC network metadata, mirroring the `net` object\n`GET /v1/ioc` returns. `ip`-type IOCs only.\n",
      "properties": {
        "org": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      }
    }
  }
}