fast-json-stringify icon indicating copy to clipboard operation
fast-json-stringify copied to clipboard

Support of JSON Schema draft 2020-12

Open fidgi opened this issue 1 year ago • 4 comments

Prerequisites

  • [X] I have written a descriptive issue title
  • [X] I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

Support of JSON Schema draft 2020-12 in addition to JSON Schema draft 7

Motivation

The goal is to use JSON Schema from an OpenAPI 3.1.x specification that is aligned with JSON Schema draft 2020-12

Example

No response

fidgi avatar Jun 11 '23 14:06 fidgi

@ivan-tymoshenko @Uzlopak wdyt?

mcollina avatar Jun 12 '23 09:06 mcollina

Let's start with the differences between these two formats that matter for fast-json-stringify.

ivan-tymoshenko avatar Jun 12 '23 09:06 ivan-tymoshenko

We'd have to go through the following release notes for draft 8/2019-09 and then draft 9/2020-12 if I'm not mistaken. It lays out breaking changes and most appear to be relevant to fast-json-stringify from what I can tell.

I'd love some more help on how to proceed with supporting these drafts.

stijnklomp avatar Apr 13 '24 22:04 stijnklomp

If it's just different syntax for this and we can support both, just send PR for that. If the behavior of something was changed, then open an issue and we can discuss it.

mcollina avatar Apr 14 '24 10:04 mcollina