{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LdapObject",
  "title": "LdapObject",
  "type": "object",
  "required": [
    "enabled",
    "serverAddress",
    "serverPort",
    "commSecurityType",
    "bindDn",
    "bindPw",
    "baseDn",
    "primaryEmailAttribute",
    "alternateEmailAttribute"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Sets the values needed to enable use of the LDAP service on the phone."
    },
    "serverAddress": {
      "type": "string",
      "example": "localhost",
      "description": "Sets the values needed to enable use of the LDAP service on the phone."
    },
    "serverPort": {
      "type": "number",
      "example": 8080,
      "description": "Sets the values needed to enable use of the LDAP service on the phone."
    },
    "commSecurityType": {
      "$ref": "#/components/schemas/CommSecurityType",
      "description": "Indicates the selection of the protocol for LDAP service on the phone."
    },
    "bindDn": {
      "type": "string",
      "example": "bindDn",
      "description": "Sets the values needed to enable use of the LDAP service on the phone."
    },
    "bindPw": {
      "type": "string",
      "example": "bindPw",
      "description": "Sets the values needed to enable use of the LDAP service on the phone."
    },
    "baseDn": {
      "type": "string",
      "example": "baseDn",
      "description": "Sets the values needed to enable use of the LDAP service on the phone."
    },
    "primaryEmailAttribute": {
      "type": "string",
      "example": "primaryEmailAttribute",
      "description": "Sets the values needed to enable use of the LDAP service on the phone."
    },
    "alternateEmailAttribute": {
      "type": "string",
      "example": "alternateEmailAttribute",
      "description": "Sets the values needed to enable use of the LDAP service on the phone."
    }
  }
}