Skip to content

Commit

Permalink
strictSchema to false
Browse files Browse the repository at this point in the history
  • Loading branch information
rwblair committed Oct 3, 2024
1 parent 0a2530b commit 5198196
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bids-validator/validators/json/json.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import utils from '../../utils'
import Ajv from 'ajv'
const ajv = new Ajv({ allErrors: true })
import addFormats from "ajv-formats"
const ajv = new Ajv({ allErrors: true, strictSchema: false })
addFormats(ajv)
ajv.addMetaSchema(require('ajv/lib/refs/json-schema-draft-06.json'))
ajv.addSchema(require('./schemas/common_definitions.json'))
const Issue = utils.issues.Issue
Expand Down

0 comments on commit 5198196

Please sign in to comment.