I ended up with this code which works fine now
#if NET9_0 // For Umbraco 15+
// Code specific to Umbraco 16
options.Validator = new ContentValueSetValidator(true,false,_publicAccessService,_scopeProvider);
#else
options.Validator = new ContentValueSetValidator(true,null,new[] { "forumPost" },null);
#endif