# Variable SubTaskSchema`Const`

SubTaskSchema: ZodObject<
{
id: ZodString;
parentTaskId: ZodString;
description: ZodString;
expectedOutput: ZodString;
dependencies: ZodArray<ZodString>;
priority: ZodEnum<
{ low: "low"; medium: "medium"; high: "high"; critical: "critical" },
>;
status: ZodEnum<
{
failed: "failed";
pending: "pending";
completed: "completed";
in_progress: "in_progress";
assigned: "assigned";
},
>;
assignedRole: ZodOptional<
ZodEnum<
{
custom: "custom";
orchestrator: "orchestrator";
code_expert: "code_expert";
architecture_expert: "architecture_expert";
security_expert: "security_expert";
documentation_expert: "documentation_expert";
testing_expert: "testing_expert";
devops_expert: "devops_expert";
research_expert: "research_expert";
pm_expert: "pm_expert";
ux_expert: "ux_expert";
infrastructure_expert: "infrastructure_expert";
},
>,
>;
complexity: ZodNumber;
requiredCapabilities: ZodArray<ZodString>;
},
$strip,
> = ...

Zod schema for SubTask.

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:208