-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Pardon, this is the first time I've tried schema validation with any JSON linter
$ jsonlint examples/abox.json --validate schemas/2020-12-JSONSchema.json schemas/x3d-4.0-JSONSchema.json
File: examples/abox.json
Loading the JSON Schema failed:
Compiling the JSON Schema failed.
strict mode: unknown keyword: "$dynamicAnchor"
This appears to be relevant:
$ grep dynamicAnchor schemas/*
schemas/2020-12-JSONSchema.json: "$dynamicAnchor": "meta",
schemas/2020-12-JSONSchema.json: "$comment": ""$recursiveAnchor" has been replaced by "$dynamicAnchor".",
Other incantations I've tried:
$ jsonlint examples/abox.json --validate https://json-schema.org/draft/2020-12/schema schemas/x3d-4.0-JSONSchema.json
File: examples/abox.json
Loading the JSON Schema #1 failed: "https://json-schema.org/draft/2020-12/schema".
ENOENT: no such file or directory, open 'C:\Users\jcarl\x3dvalidate\https:\json-schema.org\draft\2020-12\schema'
$ jsonlint schemas/x3d-4.0-JSONSchema.json --validate https://json-schema.org/draft/2020-12/schema
File: schemas/x3d-4.0-JSONSchema.json
Loading the JSON Schema #1 failed: "https://json-schema.org/draft/2020-12/schema".
ENOENT: no such file or directory, open 'C:\Users\jcarl\x3dvalidate\https:\json-schema.org\draft\2020-12\schema'
$ jsonlint schemas/x3d-4.0-JSONSchema.json --validate schemas/2020-12-JSONSchema.json
File: schemas/x3d-4.0-JSONSchema.json
Loading the JSON Schema failed:
Compiling the JSON Schema failed.
strict mode: unknown keyword: "$dynamicAnchor"
Any help or updates would be great!
John