@golemio/pid
Version:
Golemio PID Module
37 lines • 1.34 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TripStopsCacheDtoSchema = void 0;
// @ts-expect-error bcs of missing required statement for pattern properties
const tripStopsCacheDtoSchema = {
$schema: "http://json-schema.org/draft-04/schema#",
title: "IGtfsTripStopsCacheDto",
type: "object",
patternProperties: {
"^.*": {
type: "object",
properties: {
trip_stops: {
type: "array",
items: {
type: "object",
properties: {
stop_id: {
type: "string",
},
stop_sequence: {
type: "number",
},
cis: {
oneOf: [{ type: "number" }, { type: "null", nullable: true }],
},
},
required: ["stop_id", "stop_sequence", "cis"],
},
},
},
required: ["trip_stops"],
},
},
};
exports.TripStopsCacheDtoSchema = tripStopsCacheDtoSchema;
//# sourceMappingURL=TripStopsCacheDtoSchema.js.map