News for hackers. Stuff that matters.
Re:JSON with Commas and Comments by q3k on Tuesday February 23, 2021 @06:09AM (#26235966)
The JSON schema ecosystem is a mess. json-schema.org is one thing, openapi is another (it uses an 'extended subset' of json-schema.org, which is another way of saying 'incompatible'), there’s also typeschema, and a bunch of other pet projects.

There is no official JSON schema RFC, there is no official linking between json-schema.org and the JSON RFC. There is no push to make every language that supports JSON to also support a JSON schema system.

Finally, there isn't even a guarantee that all human-readable JSON document specifications can be expressed within a JSON schema in any sensible way.

Re:JSON with Commas and Comments by devj on Tuesday February 23, 2021 @08:47AM (#26237157)
OpenAPI 3.1 which was released recently, uses JSONSchema 2020-12 as the primary schema format. The incompatibilities has been completely resolved as of today.
Re:JSON with Commas and Comments by majkinetor on Tuesday February 23, 2021 @12:25PM (#26240006)
XML schema is joy ?