jameswinglmi

Results 4 comments of jameswinglmi

Here is an example of the (faulty) validation code being generated by the library for a schema with type=string, format=date-time or format=date, ***and*** formatMinimum specified (presumably it does the same...

The workaround I used for now was to set the version explicitly in `package.json` dependencies (`"ajv-formats": "2.0.1"`), and then delete `node_modules` folder and the `package-lock.json` file, and recreate them with...

The workaround from @krystof-k looks great, except I have a recursive glob: `ajv validate --spec=draft2020 -r "./**/*.json" -s "./subschemas/structures/branch.json" -d "file.json"` So, I think that would exclude my targeted filename...

In fact I had failed to enable extended glob patters with ` shopt -s extglob`. But that was really the ancillary issue. The use case is the recursion, in that...