{
    "properties": {
        "mariadb": {
            "additionalProperties": false,
            "description": "MariaDB service configuration properties",
            "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 MariaDB node.",
                    "minimum": 1,
                    "type": "number"
                },
                "database": {
                    "description": "Optionally create a MariaDB database.",
                    "properties": {
                        "name": {
                            "description": "The name of a database to be created on image startup, optional.",
                            "type": "string"
                        },
                        "password": {
                            "description": "The password for a user to be created with superuser access to this database only., optional.",
                            "type": "string"
                        },
                        "username": {
                            "description": "The username of a user to be created with superuser access to this database only, optional.",
                            "type": "string"
                        }
                    },
                    "type": "object"
                },
                "host_volume": {
                    "default": "/tmp",
                    "description": "The location of a volume on the host to be used for persisting MariaDB data. The final location will be derived from this value plus the name set in `name` (e.g. `/mnt/host_volume/mariadb`). Note that this path must be the same on all DCOS agents.",
                    "type": "string"
                },
                "mem": {
                    "default": 1024.0,
                    "description": "Memory to allocate to each MariaDB node.",
                    "minimum": 1024.0,
                    "type": "number"
                },
                "root_password": {
                    "description": "Specifies the password that will be set for the MariaDB root superuser account, required.",
                    "type": "string"
                }
            },
            "required": [
                "cpus",
                "mem",
                "bridge",
                "host_volume"
            ],
            "type": "object"
        },
        "service": {
            "description": "DC/OS service configuration properties",
            "properties": {
                "name": {
                    "default": "mariadb",
                    "description": "The name of the MariaDB service instance",
                    "type": "string"
                }
            },
            "type": "object"
        }
    },
    "type": "object"
}