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

Consider Shipping Newer JSONSchema Version

Open DavidArchibald opened this issue 2 years ago • 7 comments

As the README says:

YAML Language support uses JSON Schemas to understand the shape of a YAML file, including its value sets, defaults and descriptions. The schema support is shipped with JSON Schema Draft 7.

I would love to use features from a newer draft (specifically I'm looking at unevaluatedProperties though a lot of it is good). So shipping with the ability to use 2020-12 would be great! I tried looking around to see if there's any way to configure it to ship with a newer version or a reason why it would be, say, backwards incompatible and thus not implemented.

I tried searching the issues with the keyword jsonschema etc. so I hope this isn't a duplicate issue or answered somewhere obvious!

DavidArchibald avatar Feb 27 '22 19:02 DavidArchibald

This extension inherits JSON schema support from vscode-json-language-service. I think it is best to follow up on this issue or similar ones for this support.

gorkem avatar Feb 27 '22 23:02 gorkem

Thank you for the swift reply! My apologies I was unsure if it was an upstream issue or not so thank you for the clarification.

DavidArchibald avatar Feb 28 '22 22:02 DavidArchibald

The unevaluatedProperties seems to work in JSON schema but not in yaml schema... Any idea of the problem ?

RomuAdq avatar Dec 08 '22 13:12 RomuAdq

that issue has been fixed but this extension still does not seem to support unevaluatedProperties

DetachHead avatar Jun 15 '23 08:06 DetachHead