validate: add support for both jsonschema v3 and old v2
continuous-integration/drone/pr Build is failing
Details