{
    "additionalProperties": false,
    "properties": {
        "openvpn": {
            "properties": {
                "admin_port": {
                    "default": 5000,
                    "description": "TCP port to bind to.",
                    "minimum": 1,
                    "type": "integer"
                },
                "cpus": {
                    "default": 0.01,
                    "description": "CPU shares to allocate to each openvpn instance.",
                    "minimum": 0.01,
                    "type": "number"
                },
                "framework-name": {
                    "default": "openvpn",
                    "description": "openvpn framework name",
                    "type": "string"
                },
                "instances": {
                    "default": 1,
                    "description": "Number of openvpn instances to run.",
                    "minimum": 1,
                    "type": "integer"
                },
                "mem": {
                    "default": 128.0,
                    "description": "Memory (MB) to allocate to each openvpn task.",
                    "minimum": 64.0,
                    "type": "number"
                },
                "ovpn_password": {
                    "default": "",
                    "description": "OpenVPN REST interface password",
                    "minimum": 1,
                    "type": "string"
                },
                "ovpn_username": {
                    "default": "admin",
                    "description": "OpenVPN REST interface username",
                    "minimum": 1,
                    "type": "string"
                },
                "server_port": {
                    "default": 1194,
                    "description": "UDP port to bind to.",
                    "minimum": 1,
                    "type": "integer"
                }
            },
            "type": "object"
        }
    },
    "type": "object"
}