{
    "additionalProperties": false,
    "description": "Generate phone number list",
    "properties": {
        "$schema": {
            "type": "string"
        },
        "$tool": {
            "const": "city-mobile-sections",
            "description": "Must be set to city-mobile-sections",
            "type": "string"
        },
        "column": {
            "description": "Column name.",
            "enum": [
                "province",
                "city"
            ]
        },
        "dist": {
            "description": "The output path (relative to the pwd).",
            "type": "string"
        },
        "driver": {
            "additionalProperties": false,
            "default": {},
            "description": "Typeorm driver.",
            "properties": {
                "database": {
                    "default": "phone",
                    "description": "Database name to connect to",
                    "type": "string"
                },
                "host": {
                    "default": "localhost",
                    "description": "Database host",
                    "type": "string"
                },
                "password": {
                    "default": "postgres",
                    "description": "Database password",
                    "type": "string"
                },
                "port": {
                    "default": 5432,
                    "description": "Database port",
                    "type": "integer"
                },
                "type": {
                    "default": "postgres",
                    "description": "Database type, sync with typeorm.DriverType",
                    "enum": [
                        "mysql",
                        "postgres",
                        "mariadb",
                        "sqlite",
                        "oracle",
                        "mssql",
                        "websql"
                    ],
                    "type": "string"
                },
                "username": {
                    "default": "postgres",
                    "description": "Database username",
                    "type": "string"
                }
            },
            "required": [
                "type",
                "host",
                "port",
                "username",
                "password",
                "database"
            ],
            "type": "object"
        },
        "value": {
            "description": "Column value.",
            "type": "string"
        }
    },
    "required": [
        "$tool",
        "dist",
        "column",
        "value",
        "driver"
    ],
    "title": "city-mobile-sections Config",
    "type": "object"
}