{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/t0ll-xyz/json-schema/t0ll-xyz-check-schema.json",
  "title": "Check",
  "description": "The Toll check. Fields the chain did not answer are null or listed in `unread`, never zero.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/t0ll-xyz-openapi.json#/components/schemas/Check",
  "type": "object",
  "properties": {
    "token": {
      "type": "string"
    },
    "sym": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "supply": {
      "type": "number"
    },
    "pad": {
      "type": [
        "object",
        "null"
      ],
      "description": "The launchpad"
    },
    "launch": {
      "type": [
        "object",
        "null"
      ],
      "description": "Launch block, age_s, creator, dev, pair, tax_bps, bundle (wallets exempt from the opening tax), exempt, socials. THE MAKER is `dev` when present, else `creator`: on a launch sent through a contract (via_contract true) `creator` is that contract and `dev` the wallet that sent it (the `dev.addr` of the answer). devIsService true (unlike ChainCheck): `service` is { wallet, why, launches_24h }, the shared launch wallet, contract or paymaster that sent it, and `dev` is the creator fee share's owner or \"\" when the launch names nobody, never the service's own address."
    },
    "curve": {
      "type": [
        "object",
        "null"
      ],
      "description": "The bonding curve: buyers, progress, graduated, snipers, snipe_pct, dev_sold_pct, flagged"
    },
    "dev": {
      "type": [
        "object",
        "null"
      ],
      "description": "The maker's record: launches, pons_launches, graduated, partial"
    },
    "holdings": {
      "type": "object",
      "description": "dev_pct, burned_pct, dev_locked"
    },
    "pools": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "market": {
      "type": [
        "object",
        "null"
      ],
      "description": "From DexScreener"
    },
    "flags": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "good": {
            "type": "boolean"
          },
          "text": {
            "type": "string"
          },
          "note": {
            "type": "boolean"
          },
          "now": {
            "type": "boolean",
            "description": "true: a finding of the Now section (who holds it now)"
          },
          "when": {
            "type": "string",
            "enum": [
              "launch",
              "now"
            ],
            "description": "A fact fixed at launch, or the state now. Counted in tally.launch or tally.now."
          }
        }
      }
    },
    "tally": {
      "$ref": "#/$defs/Tallies"
    },
    "watch": {
      "type": "object",
      "description": "A Robinhood Chain coin only: a one-tap Telegram watch for the user. Opening telegram puts the coin on Toll's Telegram bot, which sends a message when this coin's check moves between clear, careful and against, with what changed; 3 coins free.",
      "properties": {
        "telegram": {
          "type": "string",
          "format": "uri",
          "description": "https://t.me/t0ll_bot?start=w_<token without 0x>_a"
        }
      }
    },
    "unread": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "head": {
      "type": "integer",
      "description": "The block it was read at"
    },
    "history": {
      "type": [
        "object",
        "null"
      ],
      "description": "Coins that launched like this one (Robinhood Chain): of the scored launches of the last 30 days whose bundle %, sniper % and dev buckets match this coin's, the share dead within 24 h and the share that graduated. History about other coins, never a forecast. Absent when fewer than 25 matched or it was not read in time.",
      "properties": {
        "level": {
          "type": "string",
          "enum": [
            "all",
            "no_dev",
            "bundle"
          ],
          "description": "Which buckets matched: all three, bundle + snipers, or bundle only"
        },
        "n": {
          "type": "integer",
          "description": "Coins matched"
        },
        "dead_pct": {
          "type": "integer",
          "description": "% dead within 24 h (rugged or dead)"
        },
        "grad_pct": {
          "type": "integer",
          "description": "% graduated"
        },
        "matched": {
          "type": "string",
          "description": "The buckets in words, e.g. \"bundle 5–15%, snipers under 1%\""
        }
      }
    },
    "now": {
      "type": [
        "object",
        "null"
      ],
      "description": "Who holds it now. Read: { pending: false, unread (parts not read), unread_words, covered (the hours of trading read), sellers?, facts? }. facts: lines that are facts, not findings (the top 10 as people, the top 10's share outside the launch curve, what the launch wallets sold): never counted in the findings tally. Still reading: { pending: true }; to an MCP caller also retry_s (seconds until asking again) and busy: true when the read was refused by a rate limit rather than started.",
      "properties": {
        "pending": {
          "type": "boolean"
        },
        "unread": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "unread_words": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "covered": {
          "type": [
            "string",
            "null"
          ]
        },
        "facts": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "retry_s": {
          "type": "integer",
          "description": "MCP only, with pending: when to ask again"
        },
        "busy": {
          "type": "boolean",
          "description": "MCP only, with pending: refused by a rate limit, not started"
        }
      }
    }
  },
  "additionalProperties": true,
  "$defs": {
    "Tallies": {
      "type": "object",
      "description": "The findings counted twice over: at launch (facts fixed at launch: bundles, the first seconds, the dev's launch buy and record, fee routes as deployed) and now (who holds it now, what the dev holds or sold, liquidity, the last 24 h). combined = launch + now, the same count as before. A side with nothing read is null (not read), never zeros. Added 2026-10-28 beside the old fields; nothing else changed.",
      "properties": {
        "launch": {
          "oneOf": [
            {
              "$ref": "#/$defs/Tally"
            },
            {
              "type": "null"
            }
          ]
        },
        "now": {
          "oneOf": [
            {
              "$ref": "#/$defs/Tally"
            },
            {
              "type": "null"
            }
          ]
        },
        "combined": {
          "$ref": "#/$defs/Tally"
        }
      },
      "required": [
        "launch",
        "now",
        "combined"
      ]
    },
    "Tally": {
      "type": "object",
      "properties": {
        "against": {
          "type": "integer"
        },
        "careful": {
          "type": "integer"
        },
        "clear": {
          "type": "integer"
        }
      },
      "required": [
        "against",
        "careful",
        "clear"
      ]
    }
  }
}