{
    "properties": {
        "networking": {
            "description": "Networking-related configuration properties for Minio on DC/OS.",
            "properties": {
                "https-redirect": {
                    "default": false,
                    "description": "Whether Marathon-lb should redirect HTTP traffic to HTTPS.",
                    "type": "boolean"
                },
                "public-agent": {
                    "description": "The IP address of the public agent configure for integration with Marathon-lb.Remove the leading http:// and the trailing / from the IP. ",
                    "type": "string"
                }
            },
            "required": [
                "public-agent"
            ],
            "type": "object"
        },
        "service": {
            "description": "Minio DC/OS service properties",
            "properties": {
                "cpus": {
                    "default": 1,
                    "description": "CPU shares to allocate to each service instance.",
                    "minimum": 0.5,
                    "type": "number"
                },
                "mem": {
                    "default": 2048,
                    "description": "Memory to allocate to each service instance.",
                    "minimum": 2048,
                    "type": "number"
                },
                "name": {
                    "default": "minio",
                    "description": "Name of this service instance",
                    "type": "string"
                }
            },
            "required": [
                "name",
                "cpus",
                "mem"
            ],
            "type": "object"
        },
        "storage": {
            "description": "Storage configuration for Minio's application and config on DC/OS",
            "properties": {
                "persistent-volume": {
                    "description": "Persistent volumes configuration (local volumes) are created on the machine with the hostname specified and Marathon will attempt to re-launch the task on the same machine. Note that if the machine is lost, your data may also be lost.",
                    "properties": {
                        "host-volume": {
                            "default": "export",
                            "description": "The location of a volume on the host to be used to persist Minio configuration and data.",
                            "type": "string"
                        }
                    },
                    "type": "object"
                },
                "pinned-hostname": {
                    "description": "An optional DC/OS agent hostname to run this Minio instance on (e.g. 10.0.0.1). If this is not specified then the task may relaunch on another node than the one it originally ran on.",
                    "type": "string"
                }
            },
            "required": [
                "persistent-volume"
            ],
            "type": "object"
        }
    }
}