{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argyle/refs/heads/main/json-schema/clientuserupdaterequest.json",
  "title": "ClientUserUpdateRequest",
  "type": "object",
  "description": "Request body for updating a client user.",
  "properties": {
    "first_name": {
      "type": "string",
      "description": "User first name."
    },
    "last_name": {
      "type": "string",
      "description": "User last name."
    },
    "email": {
      "type": "string",
      "description": "User email address."
    },
    "phone_number": {
      "type": "string",
      "description": "User phone number."
    },
    "ssn": {
      "type": "string",
      "description": "User Social Security number."
    },
    "address": {
      "$ref": "#/components/schemas/ClientAddress"
    },
    "birth_date": {
      "$ref": "#/components/schemas/ClientBirthDate"
    },
    "external_metadata": {
      "type": "object",
      "description": "Additional metadata for internal workflows.",
      "additionalProperties": true
    },
    "open_banking": {
      "$ref": "#/components/schemas/ClientOpenBanking"
    },
    "external_id": {
      "type": "string",
      "nullable": true,
      "description": "External identifier for your internal mapping."
    }
  }
}