[ORII-94]
introduce generic type validator