Hi, Some comments below.
Am 31.08.23 um 19:56 schrieb Andrew Newton:
On Thu, Aug 31, 2023 at 1:05 PM Mario Loffredo <mario.loffr...@iit.cnr.it> wrote:AFAIU, the definition of a standard JSON data description language has been a controversial matter for long. To my knowledge, the only DDL published as RFC that could work is CDDL [RFC8610]. It was primarily created for CBOR but it works for JSON too.Mario basically summed up the issue. I was involved in trying to get the IETF to do something here but there was no movement. There were many reasons: 1. JSON Schema seemed to be a moving target.
Yes, indeed draft-bhutton-json-schema did not find any traction over last 2 years at IETF.
BUT, looking through references to this draft there are at least 2 active drafts that contain JSON Schema and even RFC 9457 with JSON Schema as non normative part.
From this perspective I don't think there will be any formal obstacles for this. JSON Schema or OpenAPI has a vast support in tools and speed up implementation a lot.
Also from this WG EPP RFC 5733 contains formal syntax as XML Schema.
Schema won't replace the conformance tools for sure, as not every constraint or relation can be covered with schema. But it makes it a lot of easier for the implementer to have a solid base for a conforming implementation.4. Schema languages give a false sense of conformance. Conformance tools are far more important.
Therefore the default position became "use CDDL".
Tooling for CDDL is like almost non existent and JSON seems to be 2nd class citizen in this specification. Do you really believe it would have a take off outside of CBOR?
Kind Regards, Pawel
OpenPGP_0xABB62115F7BCDB04.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ regext mailing list regext@ietf.org https://www.ietf.org/mailman/listinfo/regext