{
    "properties": {
        "nginx": {
            "properties": {
                "bridge": {
                    "default": false,
                    "description": "Networking mode for Docker container. By default, it's false and HOST mode networking is used.",
                    "type": "boolean"
                },
                "contentDir": {
                    "description": "Path of directory, relative to sandbox, containing HTML code.",
                    "type": "string"
                },
                "contentUrl": {
                    "description": "URL of content that needs to be hosted.",
                    "type": "string"
                },
                "cpus": {
                    "default": 1,
                    "description": "CPU shares to allocate to each nginx instance.",
                    "minimum": 1,
                    "type": "number"
                },
                "instances": {
                    "default": 1,
                    "description": "Number of instances to run.",
                    "minimum": 1,
                    "type": "integer"
                },
                "marathon-uri": {
                    "default": "http://master.mesos:8080",
                    "description": "URI of Marathon instance",
                    "type": "string"
                },
                "maximumOverCapacity": {
                    "default": 0.2,
                    "description": "Maximum over capacity.",
                    "minimum": 0,
                    "type": "number"
                },
                "mem": {
                    "default": 1024.0,
                    "description": "Memory (MB) to allocate to each nginx task.",
                    "minimum": 256.0,
                    "type": "number"
                },
                "minimumHealthCapacity": {
                    "default": 0.5,
                    "description": "Minimum health capacity.",
                    "minimum": 0,
                    "type": "number"
                },
                "name": {
                    "default": "nginx",
                    "description": "Name for this Nginx instance",
                    "type": "string"
                },
                "role": {
                    "default": "*",
                    "description": "Deploy nginx only on nodes with this role.",
                    "type": "string"
                }
            },
            "required": [
                "cpus",
                "mem",
                "instances",
                "name"
            ],
            "type": "object"
        }
    },
    "type": "object"
}