diff --git a/validators.js b/validators.js index be72793..52a34dc 100644 --- a/validators.js +++ b/validators.js @@ -297,10 +297,12 @@ module.exports = async function valivators(draftUri, draftVersion) { name: "@exodus/schemasafe", setup: function(schema) { return schemasafe.validator(schema, { + // some tests are ill-formed on a purpose, we disable bail-out on those to check the actual behavior allowUnusedKeywords: true, + allowUnreachable: true, includeErrors: true, schemas: refs, - $schemaDefault: "https://json-schema.org/draft-06/schema", + $schemaDefault: draftUri, }); }, test: function(instance, json, schema) {