changedOutput schema / (root)
Previous value: -{
- "additionalProperties": false,
- "properties": {
- "asof": {
- "description": "Request time (UTC).",
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}Z$",
- "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"
- },
- "columns": {
- "description": "Row keys in TSV order.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "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"
- },
- "from": {
- "description": "First target date.",
- "type": "string"
- },
- "kind": {
- "const": "history",
- "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"
- },
- "n_rows": {
- "description": "Rows.",
- "type": "integer"
- },
- "notes": {
- "description": "Notes.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "place": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "cc": {
- "description": "Country code.",
- "type": "string"
- },
- "display": {
- "description": "Display name.",
- "type": "string"
- },
- "slug": {
- "description": "Place slug.",
- "type": "string"
- },
- "stn": {
- "description": "Primary station (ICAO).",
- "type": [
- "string",
- "null"
- ]
- },
- "tier": {
- "description": "core | demand | settle.",
- "type": "string"
- },
- "tz": {
- "description": "IANA time zone.",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "display",
- "tz",
- "cc",
- "tier"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The place (kind=daily, markets, or a place given for nbm/obs)."
- },
- "prod": {
- "description": "nbm: nbe | nbs.",
- "type": [
- "string",
- "null"
- ]
- },
- "product": {
- "description": "obs: CLI | METAR_R | ASOS.",
- "type": [
- "string",
- "null"
- ]
- },
- "rows": {
- "description": "As-issued rows; every row has origin (live | bf:<tool>) and, for runs, fetched_at; markets rows have served_at (the markets run that first served the values) and build (the deployed commit).",
- "items": {
- "additionalProperties": true,
- "required": [
- "origin"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "select": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "asof": {
- "type": [
- "string",
- "null"
- ]
- },
- "cycle": {
- "type": [
- "integer",
- "null"
- ]
- },
- "date": {
- "type": [
- "string",
- "null"
- ]
- },
- "lead": {
- "type": [
- "integer",
- "null"
- ]
- },
- "run": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The selection asked for (run, lead, cycle; history: asof; nbm: date)."
- },
- "stn": {
- "description": "Station (nbm, obs).",
- "type": [
- "string",
- "null"
- ]
- },
- "table": {
- "description": "History table (markets: what /api/v1/markets served, one row per change, CONTRACTS §43).",
- "enum": [
- "daily",
- "nbm",
- "obs",
- "markets"
- ]
- },
- "to": {
- "description": "Last target date.",
- "type": "string"
- },
- "units": {
- "description": "Units of the columns.",
- "type": "string"
- },
- "url": {
- "description": "The place page.",
- "type": [
- "string",
- "null"
- ]
- },
- "v": {
- "const": 1,
- "description": "Body version."
- },
- "view": {
- "description": "nbm: raw | day.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "v",
- "kind",
- "table",
- "asof",
- "from",
- "to",
- "n_rows",
- "columns",
- "rows",
- "units",
- "notes",
- "credits",
- "credit_keys",
- "credits_url"
- ],
- "type": "object"
-}New value: +null