API reference@siftline/coreVariables
questionSchema
const questionSchema: ZodDiscriminatedUnion<[ZodObject<{
criteria: ZodRecord<ZodString, ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<JsonValue, unknown, $ZodTypeInternals<JsonValue, unknown>>>, ZodArray<ZodType<JsonValue, unknown, $ZodTypeInternals<JsonValue, unknown>>>]>>;
instructions: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<JsonValue, unknown, $ZodTypeInternals<JsonValue, unknown>>>, ZodArray<ZodType<JsonValue, unknown, $ZodTypeInternals<JsonValue, unknown>>>]>;
type: ZodLiteral<"choice">;
}, $strict>, ZodObject<{
criteria: ZodOptional<ZodObject<{
false: ZodOptional<ZodUnion<readonly [ZodString, ZodRecord<..., ...>, ZodArray<...>]>>;
true: ZodOptional<ZodUnion<readonly [ZodString, ZodRecord<..., ...>, ZodArray<...>]>>;
}, $strict>>;
instructions: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<JsonValue, unknown, $ZodTypeInternals<JsonValue, unknown>>>, ZodArray<ZodType<JsonValue, unknown, $ZodTypeInternals<JsonValue, unknown>>>]>;
type: ZodLiteral<"noul">;
}, $strict>, ZodObject<{
criteria: ZodTuple<[ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<JsonValue, unknown, $ZodTypeInternals<..., ...>>>, ZodArray<ZodType<JsonValue, unknown, $ZodTypeInternals<..., ...>>>]>, ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<JsonValue, unknown, $ZodTypeInternals<..., ...>>>, ZodArray<ZodType<JsonValue, unknown, $ZodTypeInternals<..., ...>>>]>], ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<JsonValue, unknown, $ZodTypeInternals<JsonValue, unknown>>>, ZodArray<ZodType<JsonValue, unknown, $ZodTypeInternals<JsonValue, unknown>>>]>>;
instructions: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<JsonValue, unknown, $ZodTypeInternals<JsonValue, unknown>>>, ZodArray<ZodType<JsonValue, unknown, $ZodTypeInternals<JsonValue, unknown>>>]>;
type: ZodLiteral<"score">;
}, $strict>], "type">;