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"
+ },
+ "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"
+ },
+ "regime": {
+ "additionalProperties": false,
+ "description": "The regime the rows are for: the one asked for, else the regime of the last settled close.",
+ "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"
+ },
+ "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"
+ },
+ "rows": {
+ "description": "One row per published horizon: what the S&P 500 did in the 5 and 20 trading days after past readings in this regime.",
+ "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,
+ "minItems": 1,
+ "type": "array"
+ },
+ "settledRegime": {
+ "additionalProperties": false,
+ "description": "The regime of the last settled close, whose date is asOf.",
+ "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"
+ },
+ "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"
+ }
+ },
+ "required": [
+ "asOf",
+ "status",
+ "regime",
+ "settledRegime",
+ "rows",
+ "related",
+ "record",
+ "disclaimer",
+ "source"
+ ],
+ "type": "object"
+}