Merge pull request #3438 from kgaillot/schema2
Deprecate validate-with unset, set to unknown schema, or set to "none"