Lambda Event Body Validation

Is there a good practise to validate incomming event body?

Checking it by ifs isn’t good idea in my opinion.

If (!body.title) throw It just feels bad.

hi there, can you give us a little bit more information please? is this related to edge handlers? what is the end goal you are trying to accomplish? thanks!