API reference@siftline/coreVariables
recipeSchema
const recipeSchema: ZodObject<{
format: ZodLiteral<1>;
model: ZodString;
name: ZodString;
questions: ZodRecord<ZodString, ZodDiscriminatedUnion<[ZodObject<{
criteria: ZodRecord<ZodString, ZodUnion<readonly [ZodString, ZodRecord<..., ...>, ZodArray<...>]>>;
instructions: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<..., ..., ...>>, ZodArray<ZodType<..., ..., ...>>]>;
type: ZodLiteral<"choice">;
}, $strict>, ZodObject<{
criteria: ZodOptional<ZodObject<{
false: ZodOptional<...>;
true: ZodOptional<...>;
}, $strict>>;
instructions: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<..., ..., ...>>, ZodArray<ZodType<..., ..., ...>>]>;
type: ZodLiteral<"noul">;
}, $strict>, ZodObject<{
criteria: ZodTuple<[ZodUnion<readonly [..., ..., ...]>, ZodUnion<readonly [..., ..., ...]>], ZodUnion<readonly [ZodString, ZodRecord<..., ...>, ZodArray<...>]>>;
instructions: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<..., ..., ...>>, ZodArray<ZodType<..., ..., ...>>]>;
type: ZodLiteral<"score">;
}, $strict>], "type">>;
reviewThreshold: ZodNumber;
version: ZodNumber;
}, $strict>;