{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/accounts-delete-shareholder-request-schema.json",
  "title": "DeleteShareholderRequest",
  "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"
  ]
}