# Variable EvaluationCriterionSchema`Const`

EvaluationCriterionSchema: ZodObject<
{
id: ZodString;
name: ZodString;
description: ZodString;
type: ZodEnum<
{
binary: "binary";
threshold: "threshold";
scaled: "scaled";
categorical: "categorical";
},
>;
weight: ZodNumber;
passThreshold: ZodOptional<ZodNumber>;
categories: ZodOptional<ZodReadonly<ZodArray<ZodString>>>;
},
$strip,
> = ...

Zod schema for EvaluationCriterion validation.

- Defined in packages/nexus-agents/src/security/safety-bench/safety-schemas.ts:137