json_schema icon indicating copy to clipboard operation
json_schema copied to clipboard

Add support for Draft 2020-12

Open heynan0 opened this issue 2 years ago • 2 comments

Specification

http://json-schema.org/specification-links.html#2020-12

Identifier

{ "$schema": "https://json-schema.org/draft/2020-12/schema" }

Reference (based on this):

The identifier for Draft 2019-09 is https://json-schema.org/draft/2019-09/schema.

https://json-schema.org/understanding-json-schema/reference/schema.html#id4

heynan0 avatar Sep 09 '22 21:09 heynan0

This is definitely a good idea, but to be honest, I'm not sure that I'll get around to it — I'm not using this project anymore, and there are better maintained JSON schema packages out there where people can go to get more modern versions of the spec.

brandur avatar Sep 11 '22 23:09 brandur

For people looking, there is also this gem that is up to date and support the recent draft:

https://github.com/davishmcclurg/json_schemer

sandstrom avatar Dec 04 '23 18:12 sandstrom