What you're looking for is "$or matching" [source].
Your code should look like this:
"detail": {
"$or": [
{
"bucket": {"name": "dest-bucket"}
},{
"bucket": {"name": "second-dest-bucket"}
}
]
}