@tmlmobilidade/types
Version:
11 lines (10 loc) • 635 B
TypeScript
import { z } from 'zod';
/**
* Represents the type of vehicle or service provided by a GTFS Route.
* This type is used to categorize the route based on the mode of transportation it represents.
* Each route type corresponds to a specific mode of transit, such as bus, subway, ferry, etc.
* The values are defined according to the GTFS specification.
*/
export declare const GtfsRouteTypeValues: readonly ["0", "1", "2", "3", "4", "5", "6", "7", "11", "12"];
export declare const GtfsRouteTypeSchema: z.ZodEnum<["0", "1", "2", "3", "4", "5", "6", "7", "11", "12"]>;
export type GtfsRouteType = z.infer<typeof GtfsRouteTypeSchema>;