# Variable ReasoningTreeSchema`Const`

ReasoningTreeSchema: ZodObject<
{
id: ZodString;
forestId: ZodString;
rootId: ZodString;
state: ZodEnum<
{
completed: "completed";
growing: "growing";
paused: "paused";
abandoned: "abandoned";
},
>;
overallScore: ZodNumber;
explorationPriority: ZodNumber;
hypothesis: ZodString;
statistics: ZodObject<
{
totalNodes: ZodNumber;
activeNodes: ZodNumber;
maxDepth: ZodNumber;
avgQualityScore: ZodNumber;
avgConfidence: ZodNumber;
conclusionCount: ZodNumber;
totalTokensUsed: ZodNumber;
avgBranchingFactor: ZodNumber;
},
$strip,
>;
createdAt: ZodNumber;
updatedAt: ZodNumber;
},
$strip,
> = ...

Schema for ReasoningTree validation (partial, excludes Map for JSON).

- Defined in packages/nexus-agents/src/agents/reasoning/forest-tree-types.ts:205