# Variable FeedbackRoutingDecisionSchema`Const`

FeedbackRoutingDecisionSchema: ZodObject<
{
id: ZodUUID;
timestamp: ZodISODateTime;
query: ZodString;
routerType: ZodEnum<
{
quality: "quality";
topsis: "topsis";
linucb: "linucb";
preference: "preference";
cascade: "cascade";
},
>;
selectedModel: ZodString;
selectedTier: ZodOptional<ZodEnum<{ strong: "strong"; weak: "weak" }>>;
armIndex: ZodOptional<ZodNumber>;
banditContext: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
queryFeatures: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
ucbScore: ZodOptional<ZodNumber>;
confidence: ZodOptional<ZodNumber>;
traceId: ZodString;
domain: ZodOptional<ZodString>;
},
$strip,
> = ...

Zod schema for routing decision.

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:94