Validation on stream