{
    "properties": {
        "credentials": {
            "description": "Credentials to authenticate with Minio server",
            "properties": {
                "access-key": {
                    "default": "minio",
                    "description": "Access Key",
                    "type": "string"
                },
                "secret-key": {
                    "default": "minio123",
                    "description": "Secret Key",
                    "type": "string"
                }
            },
            "type": "object"
        },
        "networking": {
            "description": "Networking properties for Minio on DC/OS",
            "properties": {
                "https-redirect": {
                    "default": false,
                    "description": "If true Marathon-LB redirects HTTP traffic to HTTPS",
                    "type": "boolean"
                },
                "service-port": {
                    "description": "Minio service port",
                    "type": "number"
                }
            },
            "required": [
                "service-port"
            ],
            "type": "object"
        },
        "service": {
            "description": "Service properties for Minio on DC/OS",
            "properties": {
                "cpus": {
                    "default": 1,
                    "description": "CPU shares to allocate to service instance",
                    "minimum": 0.5,
                    "type": "number"
                },
                "mem": {
                    "default": 2048,
                    "description": "Memory to allocate to service instance",
                    "minimum": 2048,
                    "type": "number"
                },
                "name": {
                    "description": "Name of this service instance",
                    "type": "string"
                }
            },
            "required": [
                "name",
                "cpus",
                "mem"
            ],
            "type": "object"
        },
        "storage": {
            "description": "Storage properties for Minio on DC/OS",
            "properties": {
                "config-size": {
                    "description": "Size of config volume in MiB",
                    "type": "number"
                },
                "data-size": {
                    "description": "Size of data volume in MiB",
                    "type": "number"
                }
            },
            "required": [
                "data-size",
                "config-size"
            ],
            "type": "object"
        }
    }
}