return core validator class for sanitisation