vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

List schema versions that you support

Open OnkelTem opened this issue 3 years ago • 3 comments

I added { $schema": "https://json-schema.org/draft/2020-12/schema" } to my schema and get this message:

Draft 2020-12 schemas are not yet fully supported

So what URI should I use instead?

The documentation only mentions this:

The schema support is shipped with JSON Schema Draft 7.

but it's not clear what it means or rather by what URL it's represented.

OnkelTem avatar Mar 25 '22 12:03 OnkelTem

The meta-schema URL is listed on the specification links. If you can issue a PR, I would be happy to review it.

gorkem avatar Mar 25 '22 21:03 gorkem

@gorkem I'd gladly help, but I'm not familiar with versioning of JSON Schema. I see several versions in the page you provided, not sure what they mean :(

OnkelTem avatar Mar 29 '22 10:03 OnkelTem