# Variable WorkflowStepSchema`Const`

WorkflowStepSchema: ZodObject<
{
id: ZodString;
agent: 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";
infrastructure_expert: "infrastructure_expert";
thinker: "thinker";
worker: "worker";
verifier: "verifier";
},
>;
action: ZodString;
description: ZodOptional<ZodString>;
inputs: ZodDefault<ZodRecord<ZodString, ZodUnknown>>;
dependsOn: ZodOptional<ZodArray<ZodString>>;
parallel: ZodDefault<ZodOptional<ZodBoolean>>;
retries: ZodOptional<ZodNumber>;
timeout: ZodOptional<ZodNumber>;
condition: ZodOptional<ZodString>;
},
$strip,
> = ...

Workflow step schema.

- Defined in packages/nexus-agents/src/workflows/template-types.ts:131