Pupil is a multi-purpose validation library for JavaScript and PHP that supports deeply nested validation rules.