{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Assessment package", "type": "object", "required": [ "engagement_id", "run_id", "package_version", "manifest" ], "properties": { "engagement_id": { "type": "string" }, "run_id": { "type": "string" }, "package_version": { "type": "string", "const": "1.0" }, "manifest": { "type": "object", "required": [ "package_version", "created_at", "critic_verdict", "discovery", "rate_card", "signoff", "parts", "absent_parts", "complete", "problems", "scorecard" ], "properties": { "package_version": { "type": "string" }, "engagement_id": { "type": [ "string", "null" ] }, "run_id": { "type": [ "string", "null" ] }, "execution_id": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "critic_verdict": { "type": [ "string", "null" ] }, "discovery": { "type": "object" }, "rate_card": { "type": "object" }, "models": { "type": "object" }, "agent_versions": { "type": "object" }, "signoff": { "type": "object", "required": [ "gate", "decision", "signed_off", "basis" ], "properties": { "gate": { "type": "string" }, "decision": { "type": "string" }, "signed_off": { "type": "array", "items": { "type": "string" } }, "basis": { "type": "string" } } }, "parts": { "type": "object", "additionalProperties": { "type": "object", "required": [ "sha256" ], "properties": { "sha256": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$" }, "items": { "type": "integer" } } } }, "absent_parts": { "type": "array", "items": { "type": "string" } }, "complete": { "type": "boolean" }, "problems": { "type": "array", "items": { "type": "string" } }, "scorecard": { "type": "object" } } }, "discovery": { "type": "object", "description": "cp1-assessment-intake-agent's output fields, copied unchanged." }, "plan": { "type": "object", "description": "cp1-assessment-planner-agent's output fields, copied unchanged." }, "profiles": { "type": "object", "description": "cp1-cloud-readiness-profiler-agent's output fields, copied unchanged." }, "risk": { "type": "object", "description": "cp1-migration-risk-scorer-agent's output fields, copied unchanged." }, "security": { "type": "object", "description": "cp1-security-posture-assessment-agent's output fields, copied unchanged." }, "dispositions": { "type": "object", "description": "cp1-disposition-tco-agent's output fields, copied unchanged." }, "critic": { "type": "object", "description": "cp1-assessment-critic-agent's output fields, copied unchanged." }, "register": { "type": "object", "required": [ "applications" ], "description": "One row per application, joined in code.", "properties": { "applications": { "type": "array", "items": { "type": "object", "required": [ "application_id", "disposition", "confidence", "signoff", "risk_score", "evidence_ref" ], "properties": { "signoff": { "enum": [ "signed_off", "not_required", "rejected", "not_disposed", "not_signed_off" ] } } } } } }, "gaps": { "type": "object", "required": [ "items" ], "description": "What Assessment had to do without, per application, worked out in code.", "properties": { "items": { "type": "array", "items": { "type": "object", "required": [ "application_id", "kind", "item", "effect", "reason", "fill_from" ], "properties": { "kind": { "enum": [ "coverage", "risk_factor", "readiness_signal", "profile", "confidence", "tco_input" ] } } } } } } } }