[Cbor] New CDDL control operator proposal: .iana

Carsten Bormann <cabo@tzi.org> Fri, 25 June 2021 11:14 UTC

Return-Path: <cabo@tzi.org>
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 BB9683A122C for <cbor@ietfa.amsl.com>; Fri, 25 Jun 2021 04:14:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_FAIL=0.001, SPF_HELO_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 JMdc1aVbHDXM for <cbor@ietfa.amsl.com>; Fri, 25 Jun 2021 04:13:56 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8AD853A1229 for <cbor@ietf.org>; Fri, 25 Jun 2021 04:13:56 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GBDsF1W4Gz2xHl; Fri, 25 Jun 2021 13:13:53 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <162461931475.18754.14012039070104235662@ietfa.amsl.com>
Date: Fri, 25 Jun 2021 13:13:52 +0200
X-Mao-Original-Outgoing-Id: 646312432.489989-7445137a3e9fe8ba7c83e1890df1de38
Content-Transfer-Encoding: quoted-printable
Message-Id: <01B1C5C9-4E65-4911-A59F-05AB48CB497E@tzi.org>
References: <162461931475.18754.14012039070104235662@ietfa.amsl.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/QfeBU3kA_sSFBLVumrFkwq-F8sE>
Subject: [Cbor] New CDDL control operator proposal: .iana
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: Fri, 25 Jun 2021 11:14:01 -0000

I have submitted a new version of the CDDL freezer document, which suggests a new control operator: .iana, to enable referencing IANA registries in models [1].

I think we’ll need some discussions with IANA to make this really useful in practice, but the overall direction should be visible from the proposal.

(BTW, there also is a fleeting mention of a possible .iregexp [2].)

Grüße, Carsten


[1]: https://www.ietf.org/archive/id/draft-bormann-cbor-cddl-freezer-08.html#name-iana-references

[2]: https://www.ietf.org/archive/id/draft-bormann-cbor-cddl-freezer-08.html#section-4.1-4


> Name:		draft-bormann-cbor-cddl-freezer
> Revision:	08
> Title:		A feature freezer for the Concise Data Definition Language (CDDL)
> Document date:	2021-06-25
> Group:		Individual Submission
> Pages:		11
> Status:         https://datatracker.ietf.org/doc/draft-bormann-cbor-cddl-freezer/
> Html:           https://www.ietf.org/archive/id/draft-bormann-cbor-cddl-freezer-08.html
> Diff:           https://www.ietf.org/rfcdiff?url2=draft-bormann-cbor-cddl-freezer-08
> 
> Abstract:
>   In defining the Concise Data Definition Language (CDDL), some
>   features have turned up that would be nice to have.  In the interest
>   of completing this specification in a timely manner, the present
>   document was started to collect nice-to-have features that did not
>   make it into the first RFC for CDDL, RFC 8610.
> 
>   It is now time to discuss thawing some of the concepts discussed
>   here.  A number of additional proposals have been added.