{
    "properties": {
        "mysql": {
            "additionalProperties": false,
            "description": "MySQL service configuration properties",
            "properties": {
                "cpus": {
                    "default": 0.1,
                    "description": "CPU shares to allocate to each MySQL node.",
                    "minimum": 0.1,
                    "type": "number"
                },
                "database": {
                    "description": "The name of a database to be created on image startup, optional.",
                    "type": "string"
                },
                "host_volume": {
                    "default": "/tmp",
                    "description": "The location of a volume on the host to be used for persisting MySQL data. The final location will be derived from this value plus the name set in `name` (e.g. `/mnt/host_volume/mysql`). Note that this path must be the same on all DCOS agents.",
                    "type": "string"
                },
                "instances": {
                    "default": 1.0,
                    "description": "Number of instances we should have running by mesos.",
                    "minimum": 1.0,
                    "type": "number"
                },
                "mem": {
                    "default": 128.0,
                    "description": "Memory to allocate to each MySQL node.",
                    "minimum": 128.0,
                    "type": "number"
                },
                "root_password": {
                    "description": "Specifies the password that will be set for the MySQL root superuser account, required.",
                    "type": "string"
                }
            },
            "required": [
                "cpus",
                "mem",
                "instances",
                "host_volume",
                "root_password"
            ],
            "type": "object"
        },
        "service": {
            "description": "DC/OS service configuration properties",
            "properties": {
                "name": {
                    "default": "mysql",
                    "description": "The name of the MySQL service instance",
                    "type": "string"
                }
            },
            "type": "object"
        }
    },
    "type": "object"
}