{
    "$ref": "#/definitions/IConfiguration",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "IConfiguration": {
            "defaultProperties": [],
            "properties": {
                "pull": {
                    "$ref": "#/definitions/IPullOptions"
                }
            },
            "type": "object"
        },
        "IPullOptions": {
            "defaultProperties": [],
            "properties": {
                "connection": {
                    "$ref": "#/definitions/MysqlConnectionOptions"
                },
                "index": {
                    "type": "boolean"
                },
                "interactive": {
                    "type": "boolean"
                },
                "output": {
                    "type": "string"
                }
            },
            "required": [
                "connection"
            ],
            "type": "object"
        },
        "MysqlConnectionOptions": {
            "defaultProperties": [],
            "properties": {
                "adapter": {
                    "enum": [
                        "mysql"
                    ],
                    "type": "string"
                },
                "connectTimeout": {
                    "type": "number"
                },
                "database": {
                    "type": "string"
                },
                "host": {
                    "type": "string"
                },
                "password": {
                    "type": "string"
                },
                "port": {
                    "type": "number"
                },
                "user": {
                    "type": "string"
                }
            },
            "required": [
                "adapter",
                "database",
                "host",
                "password",
                "user"
            ],
            "type": "object"
        }
    }
}