{
    "additionalProperties": false,
    "properties": {
        "openvpn-admin": {
            "additionalProperties": false,
            "properties": {
                "cpus": {
                    "default": 0.01,
                    "description": "CPU shares to allocate to each openvpn instance.",
                    "minimum": 0.01,
                    "type": "number"
                },
                "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"
                }
            },
            "required": [
                "cpus",
                "mem",
                "instances"
            ],
            "type": "object"
        },
        "service": {
            "additionalProperties": false,
            "properties": {
                "name": {
                    "default": "openvpn-admin",
                    "description": "openvpn service name",
                    "type": "string"
                }
            },
            "required": [
                "name"
            ],
            "type": "object"
        }
    },
    "required": [
        "openvpn-admin",
        "service"
    ],
    "type": "object"
}