Variable DirectionStepSchemaConst
DirectionStepSchema: ZodObject<
{
distance: ZodNumber;
instruction: ZodDiscriminatedUnion<
[
ZodObject<{ type: ZodLiteral<"depart"> }, $strip>,
ZodObject<
{
direction: ZodEnum<
{
left: "left";
right: "right";
sharp_left: "sharp_left";
sharp_right: "sharp_right";
slight_left: "slight_left";
slight_right: "slight_right";
},
>;
type: ZodLiteral<"turn">;
},
$strip,
>,
ZodObject<{ type: ZodLiteral<"continue"> }, $strip>,
ZodObject<
{ street: ZodNullable<ZodString>; type: ZodLiteral<"cross"> },
$strip,
>,
ZodObject<{ type: ZodLiteral<"arrive"> }, $strip>,
],
"type",
>;
landmark: ZodNullable<ZodString>;
onto: ZodNullable<ZodString>;
path_index: ZodNumber;
},
$strip,
> = ...
A single turn by turn instruction and where it applies.