Appearance
@grabm/abm / Variable: conditionedJourneySchema
ts
const conditionedJourneySchema: ZodObject<{
activityId: ZodString;
departureMinute: ZodNumber;
destinationFacilityId: ZodString;
id: ZodString;
initialObservation: ZodOptional<ZodLiteral<true>>;
mode: ZodString;
originFacilityId: ZodString;
scope: ZodEnum<{
entry: "entry";
exit: "exit";
internal: "internal";
through: "through";
}>;
sourcePrimaryMode: ZodOptional<ZodString>;
sourcePurpose: ZodOptional<ZodString>;
sourceRevisionId: ZodString;
vehicleContribution: ZodEnum<{
not-applicable: "not-applicable";
source-driver: "source-driver";
source-passenger-unknown: "source-passenger-unknown";
}>;
}, $strict>;Opt-in externally supplied journeys. Source clocks and modes are inputs, never independent predictions. Local routing still determines completion.