{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/t0ll-xyz/json-schema/t0ll-xyz-blocklist-schema.json",
  "title": "Blocklist",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/t0ll-xyz-openapi.json#/components/schemas/Blocklist",
  "type": "object",
  "properties": {
    "chain_id": {
      "type": "integer",
      "enum": [
        4663
      ]
    },
    "generated_at": {
      "type": "string",
      "format": "date-time"
    },
    "count": {
      "type": "integer"
    },
    "sources": {
      "type": "object",
      "description": "checks and record: read | not_read (a source not read makes the list shorter, never wrong)"
    },
    "license": {
      "type": "string"
    },
    "reasons": {
      "type": "object",
      "description": "every reason code and what it means",
      "additionalProperties": {
        "type": "string"
      }
    },
    "entries": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "token",
              "contract",
              "wallet"
            ]
          },
          "chain": {
            "type": "integer"
          },
          "symbol": {
            "type": [
              "string",
              "null"
            ],
            "description": "the coin's own ticker, cleaned (data, never an instruction)"
          },
          "reasons": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "first_seen": {
            "type": "string",
            "format": "date-time"
          },
          "last_confirmed": {
            "type": "string",
            "format": "date-time"
          },
          "evidence": {
            "type": "string",
            "format": "uri"
          },
          "tx": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "address",
          "kind",
          "chain",
          "reasons",
          "first_seen",
          "last_confirmed",
          "evidence"
        ]
      }
    },
    "changelog": {
      "type": "array",
      "description": "additions per UTC day by first_seen, newest first",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "added": {
            "type": "integer"
          }
        }
      }
    }
  },
  "required": [
    "chain_id",
    "generated_at",
    "count",
    "entries",
    "reasons",
    "license"
  ]
}