{
    "properties": {
        "portworx": {
            "additionalProperties": false,
            "description": "PX configuration properties",
            "properties": {
                "api_port": {
                    "default": 9001,
                    "description": "API access port",
                    "type": "integer"
                },
                "cmdargs": {
                    "default": "-a",
                    "description": "Command args for Portworx.  See http://docs.portworx.com/run-with-docker.html#run-px",
                    "type": "string"
                },
                "cpus": {
                    "default": 1.0,
                    "description": "CPU shares to allocate to each Marathon instance.",
                    "minimum": 0.0,
                    "type": "number"
                },
                "framework-name": {
                    "default": "portworx",
                    "description": "The name of the framework. Until this is configurable, please do not change this from it's default value.",
                    "type": "string"
                },
                "headers_dir": {
                    "default": "/lib/modules",
                    "description": "Directory location for system headers.  Use /lib/modules for CoreOS, or /usr/src for other distros",
                    "type": "string"
                },
                "instances": {
                    "default": 3,
                    "description": "Number of PX instances to run.",
                    "minimum": 3,
                    "type": "integer"
                },
                "mem": {
                    "default": 2048.0,
                    "description": "Memory (MB) to allocate to each Marathon task.",
                    "minimum": 2048.0,
                    "type": "number"
                }
            },
            "required": [
                "cmdargs",
                "headers_dir",
                "api_port",
                "instances"
            ]
        },
        "service": {
            "description": "DC/OS service configuration properties",
            "properties": {
                "name": {
                    "default": "portworx",
                    "description": "Name of this service instance.",
                    "type": "string"
                }
            },
            "type": "object"
        }
    }
}