Interface and some implementations of input data validators.