changedOutput schema / (root)
Previous value: -{
- "additionalProperties": false,
- "properties": {
- "asof": {
- "description": "Response time (UTC); when the QA ran is qa_at.",
- "type": "string"
- },
- "build": {
- "description": "The running commit, 7 hex (dev off Tokay). With method, ties this body's numbers to the code and rules that made them (CONTRACTS §51).",
- "type": "string"
- },
- "checked": {
- "description": "Events checked, all rows (the denominator).",
- "type": "integer"
- },
- "credit_keys": {
- "description": "Their keys (/credits lists every line).",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "credits": {
- "description": "Credit strings to keep when you repeat numbers.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "credits_url": {
- "description": "The full credits page.",
- "type": "string"
- },
- "days": {
- "description": "Days covered (1-30).",
- "type": "integer"
- },
- "family": {
- "description": "Family asked for, or null for all.",
- "enum": [
- "high",
- "low",
- "rain",
- null
- ]
- },
- "kind": {
- "const": "receipts",
- "description": "Body kind."
- },
- "method": {
- "description": "Method id: the contract rules that made this body's numbers (blend-median-v1, rain-month-v5, markets-nbm-led-v4, receipts-qa-v1, history-as-issued-v3, status-readiness-v1). A rule change gives a new id, so equal ids mean the same method (CONTRACTS §51).",
- "type": "string"
- },
- "misses": {
- "description": "Every miss and not-checkable event.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "The event's date.",
- "type": [
- "string",
- "null"
- ]
- },
- "event": {
- "description": "Venue event id.",
- "type": [
- "string",
- "null"
- ]
- },
- "family": {
- "description": "high | low | rain.",
- "type": [
- "string",
- "null"
- ]
- },
- "line": {
- "description": "The miss in one line.",
- "type": "string"
- },
- "ours": {
- "description": "Our value.",
- "type": [
- "number",
- "string",
- "null"
- ]
- },
- "place": {
- "description": "City slug.",
- "type": [
- "string",
- "null"
- ]
- },
- "reason": {
- "description": "Machine-set reason (cli_corrected_after_settle, report_missing, ...).",
- "type": [
- "string",
- "null"
- ]
- },
- "result": {
- "description": "The venue's result.",
- "type": [
- "number",
- "string",
- "null"
- ]
- },
- "venue": {
- "description": "Venue.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "line"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "notes": {
- "description": "Sentences; always ends with \"No prices.\".",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "qa_at": {
- "description": "When the market QA last ran (UTC); null = never: nothing evaluated yet.",
- "type": [
- "string",
- "null"
- ]
- },
- "rows": {
- "description": "One row per product x rule version.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "checked": {
- "description": "Events checked.",
- "type": "integer"
- },
- "days": {
- "description": "Distinct checked event dates in the window (the body's `days` is the window).",
- "type": [
- "integer",
- "null"
- ]
- },
- "differs": {
- "description": "Misses; null until the claim minimum.",
- "type": [
- "integer",
- "null"
- ]
- },
- "last_date": {
- "description": "The newest checked event date; null when none (CONTRACTS §47).",
- "type": [
- "string",
- "null"
- ]
- },
- "match": {
- "description": "Matches; null until the product has the claim minimum of checked events.",
- "type": [
- "integer",
- "null"
- ]
- },
- "not_checkable": {
- "description": "Events we could not check (reason in the misses).",
- "type": "integer"
- },
- "product": {
- "description": "Settlement product.",
- "type": "string"
- },
- "rule_from": {
- "description": "The rule version: first date it applies.",
- "type": [
- "string",
- "null"
- ]
- },
- "shown": {
- "description": "True once match/differs may be shown (claim gate).",
- "type": "boolean"
- },
- "since": {
- "description": "First checked date.",
- "type": [
- "string",
- "null"
- ]
- },
- "venue_asof": {
- "anyOf": [
- {
- "additionalProperties": {
- "type": [
- "string",
- "null"
- ]
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "{venue: when groundhog last read its results (UTC)} for the venues behind this row; Kalshi: the last imported Kalshi file (none since 10/29, CONTRACTS §33)."
- }
- },
- "required": [
- "product",
- "checked",
- "not_checkable",
- "shown"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "state": {
- "description": "unvalidated = 0 checked (not a perfect score); below_claim = checked but no product has the claim minimum (match/differs null); reported = at least one product shows match/differs.",
- "enum": [
- "unvalidated",
- "below_claim",
- "reported"
- ]
- },
- "v": {
- "const": 1,
- "description": "Body version."
- },
- "venue": {
- "description": "Venue asked for, or null for both.",
- "enum": [
- "kalshi",
- "polymarket",
- null
- ]
- }
- },
- "required": [
- "v",
- "kind",
- "asof",
- "state",
- "checked",
- "days",
- "rows",
- "misses",
- "notes",
- "credits",
- "credit_keys",
- "credits_url"
- ],
- "type": "object"
-}New value: +null