{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "american-default-mcp/v1/get_adi_composite_output.json", "title": "get_adi_composite output", "type": "object", "additionalProperties": false, "required": [ "schema_version", "quarter", "composite", "band", "band_label", "reading", "rank_in_history", "domains", "members", "methodology_url", "url", "citation", "as_of_date", "freshness_warning" ], "properties": { "schema_version": { "const": "v1" }, "quarter": { "type": "string", "pattern": "^[0-9]{4}-Q[1-4]$" }, "composite": { "type": "number", "minimum": 0, "maximum": 100 }, "band": { "type": "integer", "minimum": 1, "maximum": 5 }, "band_label": { "enum": [ "Minimal", "Low", "Typical", "High", "Severe" ] }, "reading": { "type": "string", "minLength": 1 }, "rank_in_history": { "type": "object", "additionalProperties": false, "required": [ "hazen_percentile", "reading" ], "properties": { "hazen_percentile": { "type": "number", "minimum": 0, "maximum": 100 }, "reading": { "type": "string", "minLength": 1 } } }, "domains": { "type": "object", "additionalProperties": false, "required": [ "delinquency", "default_legal", "debt_burden", "labor", "safety_net_buffer" ], "properties": { "delinquency": { "$ref": "#/$defs/domainScore" }, "default_legal": { "$ref": "#/$defs/domainScore" }, "debt_burden": { "$ref": "#/$defs/domainScore" }, "labor": { "$ref": "#/$defs/domainScore" }, "safety_net_buffer": { "$ref": "#/$defs/domainScore" } } }, "members": { "type": "object", "additionalProperties": { "type": "number", "minimum": 0, "maximum": 100 } }, "methodology_url": { "type": "string" }, "url": { "type": "string" }, "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" } } }, "as_of_date": { "type": [ "string", "null" ] }, "freshness_warning": { "type": "boolean" } }, "$defs": { "domainScore": { "type": "object", "additionalProperties": false, "required": [ "score", "members_present" ], "properties": { "score": { "type": "number", "minimum": 0, "maximum": 100 }, "members_present": { "type": "integer", "minimum": 1 } } } } }