# Variable ConsensusMetricsSchema`Const`

ConsensusMetricsSchema: ZodObject<
{
totalProposals: ZodNumber;
approvedProposals: ZodNumber;
rejectedProposals: ZodNumber;
timedOutProposals: ZodNumber;
averageDurationMs: ZodNumber;
averageVotesPerProposal: ZodNumber;
algorithmUsage: ZodRecord<
ZodEnum<
{
simple_majority: "simple_majority";
supermajority: "supermajority";
unanimous: "unanimous";
proof_of_learning: "proof_of_learning";
opinion_wise: "opinion_wise";
higher_order: "higher_order";
},
>,
ZodNumber,
>;
},
$strip,
> = ...

Consensus metrics schema.

- Defined in packages/nexus-agents/src/consensus/types-core.ts:355