# Variable CollaborationConfigSchema`Const`

CollaborationConfigSchema: ZodObject<
{
sessionId: ZodString;
pattern: ZodEnum<
{
review: "review";
parallel: "parallel";
consensus: "consensus";
sequential: "sequential";
reflexion: "reflexion";
aegean: "aegean";
"self-refine": "self-refine";
"self-debug": "self-debug";
},
>;
experts: ZodArray<ZodString>;
task: ZodObject<
{
id: ZodString;
description: ZodString;
context: ZodRecord<ZodString, ZodUnknown>;
constraints: ZodOptional<
ZodObject<
{
maxDuration: ZodOptional<ZodNumber>;
maxTokens: ZodOptional<ZodNumber>;
outputFormat: ZodOptional<
ZodEnum<{ json: "json"; text: "text"; markdown: "markdown" }>,
>;
allowedTools: ZodOptional<ZodArray<ZodString>>;
},
$strip,
>,
>;
priority: ZodOptional<ZodNumber>;
},
$strip,
>;
timeout: ZodOptional<ZodNumber>;
minVotes: ZodOptional<ZodNumber>;
requireUnanimous: ZodOptional<ZodBoolean>;
maxRetries: ZodOptional<ZodNumber>;
},
$strip,
> = ...

Zod schema for CollaborationConfig.

- Defined in packages/nexus-agents/src/agents/collaboration/collaboration-schemas.ts:45