Variable correctionEventSchemaConst
correctionEventSchema: ZodDiscriminatedUnion<
[
ZodObject<
{
at: ZodISODateTime;
correction: ZodString;
correctionId: ZodString;
note: ZodString;
passageId: ZodString;
quote: ZodString;
sessionId: ZodOptional<ZodString>;
type: ZodLiteral<"correction.added">;
},
$strip,
>,
ZodObject<
{
at: ZodISODateTime;
clarificationId: ZodString;
passageId: ZodString;
question: ZodString;
quote: ZodString;
type: ZodLiteral<"clarification.asked">;
},
$strip,
>,
ZodObject<
{
answer: ZodString;
at: ZodISODateTime;
clarificationId: ZodString;
type: ZodLiteral<"clarification.answered">;
},
$strip,
>,
],
"type",
> = ...
Events in
corrections.jsonl: your corrections to the material, and your answers to "what does this mean?".