@FunctionalInterface interface Validator<in T, out R> : Serializable
abstract fun validate(data: T): R