{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "market_date": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }, "risk_level": { "type": "string", "enum": [ "LOW", "MEDIUM", "HIGH", "EXTREME" ] }, "findings": { "type": "array", "items": { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "TREND", "ANOMALY", "RISK", "ATTRIBUTION" ] }, "summary": { "type": "string", "minLength": 1 }, "refs": { "type": "array", "items": { "type": "string", "pattern": "^[0-9a-f]{64}$" } } }, "required": [ "kind", "summary", "refs" ], "additionalProperties": false } }, "forecast_refs": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "generated_at": { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$" } }, "required": [ "id", "market_date", "risk_level", "findings", "forecast_refs", "generated_at" ], "additionalProperties": false, "$id": "https://vpp-ai-platform/contracts/situation_report.json", "title": "SituationReport" }