added the ability to specify custom validators for things that can't be
schema validated