@tmlmobilidade/types
Version:
43 lines (42 loc) • 1.42 kB
TypeScript
import { z } from 'zod';
export declare const GtfsTMLStopTimesSchema: z.ZodObject<{
arrival_time: z.ZodString;
continuous_drop_off: z.ZodOptional<z.ZodString>;
continuous_pickup: z.ZodOptional<z.ZodString>;
departure_time: z.ZodString;
drop_off_type: z.ZodOptional<z.ZodString>;
pickup_type: z.ZodOptional<z.ZodString>;
shape_dist_traveled: z.ZodNumber;
stop_headsign: z.ZodOptional<z.ZodString>;
stop_id: z.ZodString;
stop_sequence: z.ZodNumber;
timepoint: z.ZodString;
trip_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
trip_id: string;
stop_id: string;
arrival_time: string;
departure_time: string;
shape_dist_traveled: number;
stop_sequence: number;
timepoint: string;
continuous_drop_off?: string | undefined;
continuous_pickup?: string | undefined;
drop_off_type?: string | undefined;
pickup_type?: string | undefined;
stop_headsign?: string | undefined;
}, {
trip_id: string;
stop_id: string;
arrival_time: string;
departure_time: string;
shape_dist_traveled: number;
stop_sequence: number;
timepoint: string;
continuous_drop_off?: string | undefined;
continuous_pickup?: string | undefined;
drop_off_type?: string | undefined;
pickup_type?: string | undefined;
stop_headsign?: string | undefined;
}>;
export type GtfsTMLStopTimes = z.infer<typeof GtfsTMLStopTimesSchema>;