{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/accounts-delete-shareholder-request-structure.json",
  "description": "DeleteShareholderRequest schema from Adyen API",
  "type": "object",
  "properties": {
    "accountHolderCode": {
      "description": "The code of the Account Holder from which to delete the Shareholders.",
      "type": "string"
    },
    "shareholderCodes": {
      "description": "The code(s) of the Shareholders to be deleted.",
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "accountHolderCode",
    "shareholderCodes"
  ],
  "name": "DeleteShareholderRequest"
}