Where finalized is a variable-length list (of maximum size DEPOSIT_CONTRACT_DEPTH) containing the hashes defined in the Deposit Finalization Flow section
Therefore the API definitions should be corrected:
[ ] minItems should be 0
[ ] maxItems should be 32 (DEPOSIT_CONTRACT_DEPTH)
Looking at this API response object.
https://github.com/ethereum/beacon-APIs/blob/d2f846e0e0d551973253df4b5341655eddf92f1d/types/api.yaml#L3-L20
However, the EIP spec mentions the following:
Therefore the API definitions should be corrected:
cc @ethDreamer