changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "asOf": {
+ "description": "The trading session this response describes (YYYY-MM-DD, US Eastern).",
+ "format": "date",
+ "type": "string"
+ },
+ "disclaimer": {
+ "const": "For informational purposes only. Not investment advice.",
+ "description": "Always the same sentence.",
+ "type": "string"
+ },
+ "marketStatus": {
+ "description": "Where the US session is: before the open, during it, between the close and the settle, or settled.",
+ "enum": [
+ "pre-open",
+ "intraday",
+ "settling",
+ "settled"
+ ],
+ "type": "string"
+ },
+ "reading": {
+ "additionalProperties": false,
+ "properties": {
+ "percentile": {
+ "description": "The reading: a percentile rank from 0 (most risk-off) to 100 (most risk-on), one decimal.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "regime": {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "description": "The regime, as a stable key.",
+ "enum": [
+ "risk_off",
+ "mildly_off",
+ "neutral",
+ "mildly_on",
+ "risk_on"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "description": "The regime, as the card prints it.",
+ "enum": [
+ "RISK-OFF",
+ "MILDLY OFF",
+ "NEUTRAL",
+ "MILDLY ON",
+ "RISK-ON"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "The regime, in sentence case.",
+ "enum": [
+ "Risk-Off",
+ "Mildly Off",
+ "Neutral",
+ "Mildly On",
+ "Risk-On"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "label",
+ "name"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "percentile",
+ "regime"
+ ],
+ "type": "object"
+ },
+ "record": {
+ "additionalProperties": false,
+ "description": "The public, hash-linked record of the daily settled regime reading: its percentile and its regime label. It covers nothing else in this response: not the stress gate, stock or coin figures, the scorecard, or a live intraday reading. The same on every response.",
+ "properties": {
+ "covers": {
+ "const": "the daily settled regime reading",
+ "description": "The reading it covers: the percentile and the regime label of each daily settled reading, and nothing else in this response.",
+ "type": "string"
+ },
+ "ledger": {
+ "const": "https://regimecard.com/api/ledger",
+ "description": "Every entry as JSON, each with the hash of the entry before it.",
+ "format": "uri",
+ "type": "string"
+ },
+ "note": {
+ "const": "Each settled regime reading is added to a public, hash-linked record the day it is published; a correction is a new entry, never an edit.",
+ "description": "The same facts in one plain sentence.",
+ "type": "string"
+ },
+ "verify": {
+ "const": "https://regimecard.com/verify",
+ "description": "The page that explains the hash chain and checks every entry in the browser.",
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "verify",
+ "ledger",
+ "covers",
+ "note"
+ ],
+ "type": "object"
+ },
+ "related": {
+ "description": "The other paid routes: for each, its path, the question it answers and its price per call. Each is a separate call.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "path": {
+ "description": "The route's path on this origin.",
+ "type": "string"
+ },
+ "per": {
+ "description": "What the price is for: one call, or each covered symbol of one call.",
+ "enum": [
+ "call",
+ "covered symbol"
+ ],
+ "type": "string"
+ },
+ "priceUsd": {
+ "description": "The price in US dollars, paid in USDC.",
+ "type": "string"
+ },
+ "question": {
+ "description": "The question the route answers.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "question",
+ "priceUsd",
+ "per"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "research": {
+ "additionalProperties": false,
+ "description": "A published Regime Card study of the current regime. Present only when one exists for it.",
+ "properties": {
+ "title": {
+ "description": "The study's title.",
+ "type": "string"
+ },
+ "url": {
+ "description": "The study on regimecard.com.",
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "url"
+ ],
+ "type": "object"
+ },
+ "scorecard": {
+ "additionalProperties": false,
+ "description": "The scorecard row for the regime of the last settled close, which can differ from the live reading's regime.",
+ "properties": {
+ "asOf": {
+ "description": "The session of the scorecard's newest reading.",
+ "format": "date",
+ "type": "string"
+ },
+ "regime": {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "description": "The regime, as a stable key.",
+ "enum": [
+ "risk_off",
+ "mildly_off",
+ "neutral",
+ "mildly_on",
+ "risk_on"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "description": "The regime, as the card prints it.",
+ "enum": [
+ "RISK-OFF",
+ "MILDLY OFF",
+ "NEUTRAL",
+ "MILDLY ON",
+ "RISK-ON"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "The regime, in sentence case.",
+ "enum": [
+ "Risk-Off",
+ "Mildly Off",
+ "Neutral",
+ "Mildly On",
+ "Risk-On"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "label",
+ "name"
+ ],
+ "type": "object"
+ },
+ "rows": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "badOutcomePct": {
+ "description": "A bad outcome for the horizon: the return the S&P 500 did worse than one time in ten, in percent.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "horizon": {
+ "description": "The look-ahead: 5 or 20 trading days.",
+ "enum": [
+ "5d",
+ "20d"
+ ],
+ "type": "string"
+ },
+ "readings": {
+ "description": "How many daily readings fell in this regime.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "roseSharePct": {
+ "description": "How often the S&P 500 rose over the horizon after a reading in this regime, in percent of readings.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "timesEntered": {
+ "description": "How many separate times the market entered this regime.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "typicalReturnPct": {
+ "description": "The S&P 500's typical (median) return over the horizon after a reading in this regime, in percent.",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "horizon",
+ "readings",
+ "timesEntered",
+ "typicalReturnPct",
+ "roseSharePct",
+ "badOutcomePct"
+ ],
+ "type": "object"
+ },
+ "maxItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "regime",
+ "asOf",
+ "rows"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "settled": {
+ "additionalProperties": false,
+ "properties": {
+ "asOf": {
+ "description": "The trading session of this reading (YYYY-MM-DD, US Eastern).",
+ "format": "date",
+ "type": "string"
+ },
+ "percentile": {
+ "description": "The reading: a percentile rank from 0 (most risk-off) to 100 (most risk-on), one decimal.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "regime": {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "description": "The regime, as a stable key.",
+ "enum": [
+ "risk_off",
+ "mildly_off",
+ "neutral",
+ "mildly_on",
+ "risk_on"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "description": "The regime, as the card prints it.",
+ "enum": [
+ "RISK-OFF",
+ "MILDLY OFF",
+ "NEUTRAL",
+ "MILDLY ON",
+ "RISK-ON"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "The regime, in sentence case.",
+ "enum": [
+ "Risk-Off",
+ "Mildly Off",
+ "Neutral",
+ "Mildly On",
+ "Risk-On"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "label",
+ "name"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "asOf",
+ "percentile",
+ "regime"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "const": "https://regimecard.com",
+ "description": "Where the reading is published.",
+ "type": "string"
+ },
+ "status": {
+ "description": "\"live\": computed during the session and still provisional. \"settled\": final for its session.",
+ "enum": [
+ "live",
+ "settled"
+ ],
+ "type": "string"
+ },
+ "stress": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "description": "The three components, by category name. Names and states only.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "description": "The component.",
+ "enum": [
+ "credit",
+ "volatility",
+ "rates"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Its category name.",
+ "enum": [
+ "Credit",
+ "Volatility",
+ "Rates"
+ ],
+ "type": "string"
+ },
+ "state": {
+ "description": "Its state.",
+ "enum": [
+ "Clear",
+ "Confirmed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "state"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "minItems": 3,
+ "type": "array"
+ },
+ "confirmed": {
+ "description": "How many of the three components are confirmed.",
+ "maximum": 3,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "stale": {
+ "description": "True when the gate has not been recomputed on schedule.",
+ "type": "boolean"
+ },
+ "state": {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "description": "The gate's state, as a key.",
+ "enum": [
+ "calm",
+ "elevated",
+ "stressed"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "The gate's state.",
+ "enum": [
+ "Calm",
+ "Elevated",
+ "Stressed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "name"
+ ],
+ "type": "object"
+ },
+ "summary": {
+ "description": "The count in words: \"All clear\", or \"N of 3 confirmed\".",
+ "type": "string"
+ },
+ "total": {
+ "const": 3,
+ "description": "Always 3.",
+ "type": "integer"
+ },
+ "updatedAt": {
+ "description": "When the gate was last computed (UTC).",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "confirmed",
+ "total",
+ "summary",
+ "components",
+ "updatedAt",
+ "stale"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "updatedAt": {
+ "description": "When this reading was last computed (UTC). Null when it is the settled reading.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "asOf",
+ "status",
+ "marketStatus",
+ "reading",
+ "updatedAt",
+ "settled",
+ "stress",
+ "scorecard",
+ "related",
+ "record",
+ "disclaimer",
+ "source"
+ ],
+ "type": "object"
+}