chain validator class