fastify/fast-json-stringify

Support of JSON Schema draft 2020-12

fidgi opened this issue ยท 4 comments

fidgi commented

Prerequisites

  • I have written a descriptive issue title
  • 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

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

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.

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.