{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateContact",
  "title": "UpdateContact",
  "type": "object",
  "properties": {
    "attributes": {
      "type": "object",
      "description": "Custom attribute values to update as key-value pairs.",
      "additionalProperties": true
    },
    "listIds": {
      "type": "array",
      "description": "IDs of lists to set for the contact.",
      "items": {
        "type": "integer",
        "format": "int64"
      }
    },
    "unlinkListIds": {
      "type": "array",
      "description": "IDs of lists to remove the contact from.",
      "items": {
        "type": "integer",
        "format": "int64"
      }
    },
    "emailBlacklisted": {
      "type": "boolean",
      "description": "Whether to blacklist the contact's email."
    },
    "smsBlacklisted": {
      "type": "boolean",
      "description": "Whether to blacklist the contact's phone for SMS."
    }
  }
}