{
    "properties": {
        "nginx": {
            "properties": {
                "bridge": {
                    "default": false,
                    "description": "Whether to use BRIDGE networking mode for Docker container. By default, this is false and HOST mode networking is used.",
                    "type": "boolean"
                },
                "configUrl": {
                    "description": "URL to Nginx configuration that needs to be hosted (e.g., load balancing, reverse proxy, etc). Can NOT be combined with contentUrl or contentDir.",
                    "type": "string"
                },
                "contentDir": {
                    "description": "Path of directory, relative to sandbox, containing HTML code. Can NOT be combined with configUrl.",
                    "type": "string"
                },
                "contentUrl": {
                    "description": "URL of content that needs to be hosted. Can NOT be combined with configUrl.",
                    "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"
                },
                "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 application",
                    "type": "string"
                },
                "role": {
                    "default": "*",
                    "description": "Deploy nginx only on nodes with this role.",
                    "type": "string"
                }
            },
            "required": [
                "cpus",
                "mem",
                "instances",
                "name"
            ],
            "type": "object"
        }
    },
    "type": "object"
}