{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "additionalProperties": false, "properties": { "schema_version": { "const": 2 }, "target_language": { "type": "string", "minLength": 1, "maxLength": 50 }, "course_version": { "const": "a1-v2" }, "facts_version": { "type": "integer", "minimum": 0 }, "summary": { "type": "string", "minLength": 1, "maxLength": 6000 }, "recommended_module_id": { "type": "string", "minLength": 1, "maxLength": 200 }, "modules": { "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "module_id": { "type": "string", "minLength": 1, "maxLength": 200 }, "strengths": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 1000 }, "maxItems": 12 }, "weaknesses": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 1000 }, "maxItems": 12 }, "recommendation": { "type": "string", "minLength": 1, "maxLength": 2000 }, "reason": { "type": "string", "minLength": 1, "maxLength": 2000 }, "evidence_ids": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 200 }, "maxItems": 30 }, "ready_for_completion": { "type": "boolean" } }, "required": [ "module_id", "strengths", "weaknesses", "recommendation", "reason", "evidence_ids", "ready_for_completion" ] }, "maxItems": 7, "minItems": 7 } }, "required": [ "schema_version", "target_language", "course_version", "facts_version", "summary", "recommended_module_id", "modules" ] }