changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": {},
+ "properties": {
+ "as_of": {
+ "description": "Newest section date, YYYY-MM-DD",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "disclaimer": {
+ "type": "string"
+ },
+ "sections": {
+ "additionalProperties": {},
+ "description": "Only the requested sections are present",
+ "properties": {
+ "fear_greed": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "indicators": {
+ "description": "{<indicator>: {score, rating}}"
+ },
+ "previous_1_month": {
+ "description": "0-100, higher = greedier",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "previous_1_week": {
+ "description": "0-100, higher = greedier",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "previous_close": {
+ "description": "0-100, higher = greedier",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "rating": {
+ "description": "extreme fear | fear | neutral | greed | extreme greed",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "score": {
+ "description": "0-100, higher = greedier",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "as_of",
+ "score",
+ "previous_close",
+ "previous_1_week",
+ "previous_1_month",
+ "rating"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "error": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "news": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "categorized": {
+ "description": "AI-written, by theme"
+ },
+ "stale": {
+ "description": "True = today's analysis not generated yet; an earlier one is served",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "strategies": {
+ "description": "AI-written; informational, not advice"
+ },
+ "summary": {
+ "description": "AI-written"
+ }
+ },
+ "required": [
+ "as_of",
+ "stale"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "error": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "rotation": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "interpretation": {
+ "description": "AI-written"
+ },
+ "market_cycle": {
+ "description": "{currentPhase, confidence, description}"
+ },
+ "rotations": {
+ "description": "Active and potential rotations"
+ },
+ "sector_analysis": {
+ "description": "Sectors by leading / improving / weakening / lagging"
+ }
+ },
+ "required": [
+ "as_of"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "error": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "sectors": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sector_average": {
+ "description": "{score, rating}"
+ },
+ "sectors": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "previous_1_month": {
+ "description": "0-100, higher = greedier",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "previous_1_week": {
+ "description": "0-100, higher = greedier",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "previous_close": {
+ "description": "0-100, higher = greedier",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "rating": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "score": {
+ "description": "0-100, higher = greedier",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "sector": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "sector",
+ "score",
+ "previous_close",
+ "previous_1_week",
+ "previous_1_month",
+ "rating"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "stale": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "as_of",
+ "stale",
+ "sectors"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "error": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "summary": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "closing": {
+ "description": "AI-written prose"
+ },
+ "key_news": {
+ "description": "AI-written, typically [{headline, details}]"
+ },
+ "opening": {
+ "description": "AI-written prose"
+ },
+ "recommendations": {
+ "description": "AI-written; informational, not advice"
+ },
+ "sector_highlights": {
+ "description": "AI-written"
+ }
+ },
+ "required": [
+ "as_of"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "error": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "as_of",
+ "sections",
+ "disclaimer"
+ ],
+ "type": "object"
+}