# Variable SafetyTestCaseSchema`Const`

SafetyTestCaseSchema: ZodObject<
{
id: ZodString;
name: ZodString;
description: ZodString;
input: ZodString;
expectedOutcome: ZodEnum<
{
escalate: "escalate";
refuse: "refuse";
caution: "caution";
clarify: "clarify";
proceed: "proceed";
detect: "detect";
},
>;
riskLevel: ZodEnum<
{ low: "low"; medium: "medium"; high: "high"; critical: "critical" },
>;
tags: ZodReadonly<ZodArray<ZodString>>;
context: ZodOptional<ZodString>;
},
$strip,
> = ...

Zod schema for SafetyTestCase validation.

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