"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RopidGTFSCisStops = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
const datasourceJsonSchema = {
    type: "array",
    items: {
        $ref: "#/$defs/Item",
    },
    $defs: {
        Item: {
            type: "object",
            properties: {
                altIdosName: { type: "string" },
                cis: { type: "integer" },
                id: { type: "string" },
                jtskX: { type: "number" },
                jtskY: { type: "number" },
                lat: { type: "number" },
                lon: { type: "number" },
                platform: { type: "string" },
                wheelchairAccess: { type: "string" },
                zone: { type: "string" },
            },
            required: ["id"],
        },
    },
};
const outputJsonSchema = {
    type: "array",
    items: {
        $ref: "#/$defs/Item",
        $defs: {
            Item: {
                type: "object",
                properties: {
                    alt_idos_name: { type: "string" },
                    cis: { type: "integer" },
                    id: { type: "string" },
                    jtsk_x: { type: "number" },
                    jtsk_y: { type: "number" },
                    lat: { type: "number" },
                    lon: { type: "number" },
                    platform: { type: "string" },
                    wheelchair_access: { type: "string" },
                    zone: { type: "string" },
                },
                required: ["cis"],
            },
        },
    },
};
const outputSequelizeAttributes = {
    alt_idos_name: sequelize_1.DataTypes.STRING,
    cis: sequelize_1.DataTypes.INTEGER,
    id: {
        primaryKey: true,
        type: sequelize_1.DataTypes.STRING,
    },
    jtsk_x: sequelize_1.DataTypes.DOUBLE,
    jtsk_y: sequelize_1.DataTypes.DOUBLE,
    lat: sequelize_1.DataTypes.DOUBLE,
    lon: sequelize_1.DataTypes.DOUBLE,
    platform: sequelize_1.DataTypes.STRING,
    wheelchair_access: sequelize_1.DataTypes.STRING,
    zone: sequelize_1.DataTypes.STRING,
};
exports.RopidGTFSCisStops = {
    name: "RopidGTFSCisStops",
    datasourceJsonSchema,
    outputJsonSchema,
    outputSequelizeAttributes,
    pgTableName: "ropidgtfs_cis_stops",
};
//# sourceMappingURL=RopidGTFSCisStops.js.map