"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.RopidGTFSOisMapping = void 0;
const sequelize_1 = __importDefault(require("@golemio/core/dist/shared/sequelize"));
const datasourceJsonSchema = {
    type: "array",
    items: {
        $ref: "#/$defs/Item",
    },
    $defs: {
        Item: {
            type: "object",
            properties: {
                ois: {
                    type: "number",
                },
                node: {
                    type: "number",
                },
                name: {
                    type: "string",
                },
            },
            required: ["ois", "node", "name"],
        },
    },
};
const outputJsonSchema = datasourceJsonSchema;
const outputSequelizeAttributes = {
    ois: {
        primaryKey: true,
        type: sequelize_1.default.INTEGER,
    },
    node: {
        type: sequelize_1.default.INTEGER,
        allowNull: false,
    },
    name: {
        type: sequelize_1.default.STRING(255),
        allowNull: false,
    },
};
exports.RopidGTFSOisMapping = {
    name: "RopidGTFSOisMapping",
    datasourceJsonSchema,
    outputJsonSchema,
    outputSequelizeAttributes,
    pgTableName: "ropidgtfs_ois",
};
//# sourceMappingURL=RopidGTFSOisMapping.js.map