{
    "properties": {
        "openldap": {
            "description": "OpenLDAP service configuration properties",
            "properties": {
                "additional_modules": {
                    "description": "Comma-separated list of modules to load.",
                    "type": "string"
                },
                "additional_schemas": {
                    "description": "Loads additional schemas provided in the slapd package.",
                    "type": "string"
                },
                "admin_password": {
                    "default": "admin",
                    "description": "Administrator password. Defaults to 'admin'.",
                    "type": "string"
                },
                "config_password": {
                    "default": "password",
                    "description": "Allows password protected access to the dn=config branch. This helps to reconfigure the server without interruption. Defaults to 'password'",
                    "type": "string"
                },
                "cpus": {
                    "default": 0.3,
                    "description": "CPU shares to allocate to each OpenLDAP node.",
                    "minimum": 0.3,
                    "type": "number"
                },
                "domain": {
                    "default": "example.org",
                    "description": "LDAP domain. Defaults to example.org",
                    "type": "string"
                },
                "force_reconfigure": {
                    "default": false,
                    "description": "Reconfigure the service after the image has been initialized. Defaults to FALSE",
                    "type": "boolean"
                },
                "host_volume": {
                    "default": "/tmp",
                    "description": "The location of a volume on the host to be used for persisting OpenLDAP data. The final location will be derived from this value plus the name set in `name` (e.g. `/mnt/host_volume/openldap`). Note that this path must be the same on all DCOS agents. Required.",
                    "type": "string"
                },
                "mem": {
                    "default": 128.0,
                    "description": "Memory to allocate to each OpenLDAP node.",
                    "minimum": 128.0,
                    "type": "number"
                },
                "name": {
                    "default": "openldap",
                    "description": "Package name.",
                    "type": "string"
                },
                "organization": {
                    "default": "example",
                    "description": "Organization name.",
                    "type": "string"
                },
                "port": {
                    "default": 10389,
                    "description": "Port number to be used for clear communication",
                    "type": "number"
                },
                "version": {
                    "default": "2.4.40",
                    "description": "Package version.",
                    "type": "string"
                },
                "virtual_host": {
                    "default": "ldap.example.org",
                    "description": "Virtual Host URL to be used in the external load balancer. Modify as per your installation.",
                    "type": "string"
                }
            },
            "required": [
                "name",
                "cpus",
                "mem"
            ],
            "type": "object"
        },
        "service": {
            "description": "DC/OS service configuration properties",
            "properties": {
                "name": {
                    "default": "openldap",
                    "description": "The name of the OpenLDAP service instance",
                    "type": "string"
                }
            },
            "type": "object"
        }
    }
}