{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tickerz-com/json-schema/tickerz-com-listing-kit-schema.json",
  "title": "ListingKit",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tickerz-com-openapi.json#/components/schemas/ListingKit",
  "type": "object",
  "required": [
    "ticker",
    "name",
    "counts",
    "unit",
    "period",
    "period_kind",
    "question",
    "strikes",
    "strikes_from",
    "settle_time_utc",
    "settle_rule",
    "tie_rule",
    "fallback",
    "precision",
    "grade",
    "rulebook",
    "source_url",
    "settlement_file",
    "mirror_file",
    "proof",
    "recount",
    "next_print_at",
    "paste",
    "license",
    "url"
  ],
  "properties": {
    "ticker": {
      "type": "string",
      "description": "The index, without the $"
    },
    "name": {
      "type": "string",
      "description": "The index's name"
    },
    "counts": {
      "type": "string",
      "description": "What the number counts"
    },
    "unit": {
      "type": "string",
      "description": "The unit of the level, plural"
    },
    "period": {
      "type": "string",
      "description": "The period the market is written on: the next UTC day, or the Saturday a week ends on, that has not begun",
      "format": "date"
    },
    "period_kind": {
      "type": "string",
      "enum": [
        "day",
        "week"
      ]
    },
    "question": {
      "type": "string",
      "description": "One sentence to paste. {strike} is left to fill with one of strikes"
    },
    "strikes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "number"
      },
      "description": "The 10th, 30th, 50th, 70th and 90th percentiles of the last 30 numbers as first published, linear between ranks, two significant digits, ascending. Equal strikes are listed once. Null under 14 of them"
    },
    "strikes_from": {
      "type": "object",
      "required": [
        "prints",
        "through"
      ],
      "properties": {
        "prints": {
          "type": "integer",
          "description": "Published numbers the strikes were read from, 30 at most"
        },
        "through": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "The newest of them"
        }
      }
    },
    "settle_time_utc": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the number for period is first published: the daily proof on the day after a daily period. Null for the weekly index, where settle_rule gives the window"
    },
    "settle_rule": {
      "type": "string",
      "description": "The number as first published, in column settlement_value of the settlement file settles the market. A later revision by the source never changes it"
    },
    "tie_rule": {
      "type": "string",
      "description": "A print equal to the strike resolves No"
    },
    "fallback": {
      "type": "string",
      "description": "What happens when the source is late or never lands, from the rulebook"
    },
    "precision": {
      "type": "string",
      "description": "The unit and the rounding, from the rulebook"
    },
    "grade": {
      "type": "string",
      "enum": [
        "candidate",
        "reference",
        "display"
      ]
    },
    "rulebook": {
      "type": "string",
      "description": "The rulebook version the words belong to"
    },
    "source_url": {
      "type": "string",
      "description": "The source a reader can check",
      "format": "uri"
    },
    "settlement_file": {
      "type": "string",
      "description": "GET /indices/{ticker}/history.csv",
      "format": "uri"
    },
    "mirror_file": {
      "type": "string",
      "description": "The same settlement file on the public mirror",
      "format": "uri"
    },
    "proof": {
      "type": "string",
      "description": "GET /indices/proof, the newest daily proof",
      "format": "uri"
    },
    "recount": {
      "type": [
        "object",
        "null"
      ],
      "description": "The commands that recount a print from the chain with the open repo. Null where no recount exists",
      "required": [
        "repo",
        "guide",
        "setup",
        "this_period",
        "newest_print"
      ],
      "properties": {
        "repo": {
          "type": "string",
          "description": "The open repo",
          "format": "uri"
        },
        "guide": {
          "type": "string",
          "description": "Its instructions for this index",
          "format": "uri"
        },
        "setup": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "this_period": {
          "type": "string",
          "description": "The command for the market's period, to run once it is complete"
        },
        "newest_print": {
          "type": [
            "string",
            "null"
          ],
          "description": "The command for the newest published number on file"
        }
      }
    },
    "next_print_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "The next daily proof run. Null while one is pending, and for the weekly index"
    },
    "paste": {
      "type": "string",
      "description": "The whole market as plain text, under 600 characters"
    },
    "license": {
      "type": "string",
      "description": "Showing the number is free. Settling real money on it is licensed, with the pricing page"
    },
    "url": {
      "type": "string",
      "description": "The List it section on the index page",
      "format": "uri"
    }
  }
}