Oh. Then I was talking ignorantly. I thought the mod would only allow roguelike classes. But, yeah, instead it just ADDS a bunch.
OK, so if you look at No Rivtech Guns, or any item blacklister mod, it includes a line “type”: “ITEM_BLACKLIST”. Perhaps the first thing to do is try “type”: “PROFESSION_BLACKLIST”
Then you would look at professions.json to get the names ("ident"s) of each target profession, such as Bionic Prepper, which is called bionic_prepper, and you would list those idents in the mod file.
And really, I’m just guessing here.