UNPKG

@tmlmobilidade/types

Version:
47 lines (46 loc) 1.24 kB
import { z } from 'zod'; /** * Fare attributes row for GTFS v29 * Note: fare_attributes is not in standard GTFS types package */ export declare const GtfsTMLFareAttributesSchema: z.ZodObject<{ agency_id: z.ZodString; currency_type: z.ZodString; fare_id: z.ZodString; payment_method: z.ZodNumber; price: z.ZodNumber; transfers: z.ZodNumber; }, "strip", z.ZodTypeAny, { agency_id: string; currency_type: string; fare_id: string; payment_method: number; price: number; transfers: number; }, { agency_id: string; currency_type: string; fare_id: string; payment_method: number; price: number; transfers: number; }>; /** * Fare rules row for GTFS v29 * Note: fare_rules is not in standard GTFS types package */ export declare const GtfsTMLFareRulesSchema: z.ZodObject<{ agency_id: z.ZodString; fare_id: z.ZodString; route_id: z.ZodString; }, "strip", z.ZodTypeAny, { agency_id: string; route_id: string; fare_id: string; }, { agency_id: string; route_id: string; fare_id: string; }>; export type GtfsTMLFareAttributes = z.infer<typeof GtfsTMLFareAttributesSchema>; export type GtfsTMLFareRules = z.infer<typeof GtfsTMLFareRulesSchema>;