[Cbor] CDDL vs. JSON Schema vs. JSL

Felipe Gasper <felipe@felipegasper.com> Sat, 05 September 2020 00:58 UTC

Return-Path: <felipe@felipegasper.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E10203A0F07 for <cbor@ietfa.amsl.com>; Fri, 4 Sep 2020 17:58:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=felipegasper.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mL5cr0gLO5gb for <cbor@ietfa.amsl.com>; Fri, 4 Sep 2020 17:58:20 -0700 (PDT)
Received: from web1.siteocity.com (web1.siteocity.com [67.227.147.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CEF013A0F04 for <cbor@ietf.org>; Fri, 4 Sep 2020 17:58:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=felipegasper.com; s=default; h=To:Date:Message-Id:Subject:Mime-Version: Content-Transfer-Encoding:Content-Type:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jARnbjFUrAxq6aDtGyz8X21i3ffHeoeO3Ji0d3zT6K0=; b=n0cxYZWs5dw62qx/DD9/5EhTZ3 6oHTDssGHKCstnkQN4oMTg7qg32nua/JU8dbCF0E2ktLKNqEmjbBnHdBpzxAYGstG3HrzX4GDNTg0 lK3HWWkkbdoVLQ6uhUFUBYSFX+ti5LVUv/KYNNMnEmFArTh2bpr4+eUYpOFVL+PqtUm6430CZjUzf FNatxmeyV4m/rJuFlqAVWe9S71EO73Q6kTlMv0u/JQQO3+4vCRBjlsVZUMwrOxYnpgcX2RXqzssFO nDIQR5GnQkFboQikLpZBVFyDLIpQAWcmtUazwEbCSu2gMNrn4pr5p4vXmuzzMevHXEBwQwWJydUhM Sx/Lc5OA==;
Received: from hou-4.nat.cptxoffice.net ([184.94.197.4]:64273 helo=[10.3.4.84]) by web1.siteocity.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from <felipe@felipegasper.com>) id 1kEMX5-00EN0N-BB for cbor@ietf.org; Fri, 04 Sep 2020 19:58:20 -0500
From: Felipe Gasper <felipe@felipegasper.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\))
Message-Id: <2FBDF9D8-F1BE-4AA9-9325-4B3F676950F0@felipegasper.com>
Date: Fri, 04 Sep 2020 20:58:49 -0400
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3445.104.15)
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - web1.siteocity.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - felipegasper.com
X-Get-Message-Sender-Via: web1.siteocity.com: authenticated_id: fgasper/from_h
X-Authenticated-Sender: web1.siteocity.com: felipe@felipegasper.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/gjmi2_fC5XWrvBDEi0KO_GZN_7o>
Subject: [Cbor] CDDL vs. JSON Schema vs. JSL
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2020 00:58:22 -0000

Hi all,

	There seem to be at least three emergent standards for describing JSON documents: CDDL (from this group) as well as JSON Schema and JSON Schema Language.

	Has anyone spent time comparing these three? I did some searching, but I haven’t found much. I’m assuming that folks here will incline toward recommending CDDL, but all the same I’d be curious to know trade-offs one way or another.

	Thank you!

cheers,
-Felipe Gasper
Ontario, Canada