{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "american-default-mcp/v1/get_indicator_output.json", "title": "get_indicator output", "type": "object", "additionalProperties": false, "required": [ "schema_version", "status", "slug", "branded_name", "name", "unit", "frequency", "direction", "source", "source_url", "url", "citation", "as_of_date", "freshness_warning" ], "properties": { "schema_version": {"const": "v1"}, "status": {"enum": ["ok", "awaiting_population"]}, "slug": {"type": "string", "minLength": 1}, "branded_name": {"type": "string"}, "name": {"type": "string"}, "unit": {"type": "string"}, "frequency": {"type": "string"}, "direction": {"type": "string"}, "category": {"type": ["string", "null"]}, "latest_value": {"type": ["number", "null"]}, "latest_period": {"type": ["string", "null"]}, "source": {"type": "string"}, "source_url": {"type": "string"}, "url": {"type": "string", "format": "uri"}, "aggregates": { "type": ["object", "null"], "properties": { "period_averages": {"type": "object"}, "extremes": {"type": "object"}, "sustained_runs": {"type": "array"} } }, "prose": { "type": ["object", "null"], "properties": { "headline": {"type": ["string", "null"]}, "card_context": {"type": ["string", "null"]}, "card_verdict": {"type": ["string", "null"]} } }, "citation": {"$ref": "#/$defs/citation"}, "as_of_date": {"type": ["string", "null"]}, "freshness_warning": {"type": "boolean"} }, "$defs": { "citation": { "type": "object", "additionalProperties": false, "required": ["newscopy", "apa", "mla", "chicago", "source_attribution"], "properties": { "newscopy": {"type": "string"}, "apa": {"type": "string"}, "mla": {"type": "string"}, "chicago": {"type": "string"}, "source_attribution": {"type": "string"} } } } }