Validation helpers / middleware for Tin Can statements