{
    "properties": {
        "settings": {
            "properties": {
                "host": {
                    "default": "localhost",
                    "type": "string"
                },
                "port": {
                    "default": 27017,
                    "type": "integer"
                },
                "secret": {
                    "minlength": 20,
                    "type": "string"
                }
            },
            "required": [
                "host",
                "port",
                "secret"
            ]
        }
    },
    "required": [
        "settings"
    ],
    "title": "DBSettings",
    "type": "object"
}