A simple helper lib for validation of struct data