{
    "properties": {
        "restreamer": {
            "properties": {
                "logger_level": {
                    "default": 3,
                    "description": "Logger Level",
                    "type": "integer"
                },
                "password": {
                    "default": "datarhei",
                    "description": "Password",
                    "type": "string"
                },
                "snapshot_refresh_interval": {
                    "default": 60,
                    "description": "Interval to create a new Snapshot (in seconds)",
                    "type": "integer"
                },
                "username": {
                    "default": "admin",
                    "description": "Username",
                    "type": "string"
                }
            },
            "required": [
                "username",
                "password",
                "logger_level",
                "snapshot_refresh_interval"
            ],
            "type": "object"
        },
        "service": {
            "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"
                },
                "cpus": {
                    "default": 1,
                    "description": "CPU shares to allocate to each Restreamer 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 Restreamer task.",
                    "minimum": 256.0,
                    "type": "number"
                },
                "minimumHealthCapacity": {
                    "default": 0.5,
                    "description": "Minimum health capacity.",
                    "minimum": 0,
                    "type": "number"
                },
                "name": {
                    "default": "restreamer",
                    "description": "Name for this Restreamer application",
                    "type": "string"
                },
                "role": {
                    "default": "*",
                    "description": "Deploy Restreamer only on nodes with this role.",
                    "type": "string"
                }
            },
            "required": [
                "name",
                "instances",
                "cpus",
                "mem"
            ],
            "type": "object"
        }
    },
    "type": "object"
}