{ "name": "AIInterview", "type": "object", "properties": { "applicant_id": { "type": "string" }, "job_posting_id": { "type": "string" }, "applicant_name": { "type": "string" }, "job_title": { "type": "string" }, "status": { "type": "string", "enum": [ "scheduled", "in_progress", "completed", "cancelled" ], "default": "scheduled" }, "messages": { "type": "array", "description": "Full conversation transcript", "items": { "type": "object", "properties": { "role": { "type": "string", "enum": [ "ai", "candidate" ] }, "content": { "type": "string" }, "timestamp": { "type": "string" }, "response_time_seconds": { "type": "number" } } } }, "questions_asked": { "type": "number", "default": 0 }, "overall_interview_score": { "type": "number" }, "verdict": { "type": "string" }, "hire_recommendation": { "type": "string" }, "ai_flags": { "type": "array", "items": { "type": "string" }, "description": "Flags like AI-generated responses, suspiciously fast answers" }, "integrity_score": { "type": "number", "description": "0-100, higher = more likely authentic human responses" }, "category_scores": { "type": "object", "properties": { "communication": { "type": "number" }, "technical_fit": { "type": "number" }, "reliability": { "type": "number" }, "culture_fit": { "type": "number" }, "problem_solving": { "type": "number" } } }, "strengths": { "type": "array", "items": { "type": "string" } }, "concerns": { "type": "array", "items": { "type": "string" } }, "best_fit_roles": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "completed_at": { "type": "string" } }, "required": [ "applicant_id", "job_posting_id", "applicant_name", "job_title" ] }