{
    "properties": {
        "openldap-admin": {
            "description": "OpenLDAP Admin service configuration properties",
            "properties": {
                "cpus": {
                    "default": 0.1,
                    "description": "CPU shares to allocate to each OpenLDAP node.",
                    "minimum": 0.1,
                    "type": "number"
                },
                "ldap_host": {
                    "default": "openldap",
                    "description": "The name of the OpenLDAP instance to connect to.",
                    "type": "string"
                },
                "ldap_host_port": {
                    "default": 389,
                    "description": "The port where the OpenLDAP server is listening on. Defaults to 389",
                    "type": "number"
                },
                "mem": {
                    "default": 128.0,
                    "description": "Memory to allocate to each OpenLDAP node.",
                    "minimum": 128.0,
                    "type": "number"
                },
                "name": {
                    "default": "openldap-admin",
                    "description": "Package name.",
                    "type": "string"
                },
                "port": {
                    "default": 11389,
                    "description": "Port number to be used for external clear web traffic",
                    "type": "number"
                },
                "port_https": {
                    "default": 11636,
                    "description": "Port number to be used for external secure web traffic",
                    "type": "number"
                },
                "version": {
                    "default": "0.1",
                    "description": "Package version.",
                    "type": "string"
                },
                "virtual_host": {
                    "default": "phpldapadmin.example.org",
                    "description": "Virtual host to be used to publish the UI",
                    "type": "string"
                }
            },
            "required": [
                "cpus",
                "mem"
            ],
            "type": "object"
        },
        "service": {
            "description": "DC/OS service configuration properties",
            "properties": {
                "name": {
                    "default": "openldap-admin",
                    "description": "The name of the OpenLDAP Admin service instance",
                    "type": "string"
                }
            },
            "type": "object"
        }
    }
}