Concise Binary Object Representation Maintenance and Extensions (cbor) Internet Drafts


      
 Packed CBOR
 
 draft-ietf-cbor-packed-12.txt
 Date: 02/03/2024
 Authors: Carsten Bormann, Mikolai Guetschow
 Working Group: Concise Binary Object Representation Maintenance and Extensions (cbor)
The Concise Binary Object Representation (CBOR, RFC 8949 == STD 94) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation. CBOR does not provide any forms of data compression. CBOR data items, in particular when generated from legacy data models, often allow considerable gains in compactness when applying data compression. While traditional data compression techniques such as DEFLATE (RFC 1951) can work well for CBOR encoded data items, their disadvantage is that the receiver needs to decompress the compressed form to make use of the data. This specification describes Packed CBOR, a simple transformation of a CBOR data item into another CBOR data item that is almost as easy to consume as the original CBOR data item. A separate decompression step is therefore often not required at the receiver. // The present version (-12) updates the IANA "Values for Tag // Numbers" table, sorting it and cleaning up the "Data Item" column.
 Concise Binary Object Representation (CBOR) Tags for Time,Duration,and Period
 
 draft-ietf-cbor-time-tag-12.txt
 Date: 30/10/2023
 Authors: Carsten Bormann, Ben Gamari, Henk Birkholz
 Working Group: Concise Binary Object Representation Maintenance and Extensions (cbor)
The Concise Binary Object Representation (CBOR, RFC 8949) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation. In CBOR, one point of extensibility is the definition of CBOR tags. RFC 8949 defines two tags for time: CBOR tag 0 (RFC3339 time as a string) and tag 1 (POSIX time as int or float). Since then, additional requirements have become known. The present document defines a CBOR tag for time that allows a more elaborate representation of time, as well as related CBOR tags for duration and time period. This document is intended as the reference document for the IANA registration of the CBOR tags defined. // (This cref will be removed by the RFC editor:) The present // revision (–12) addresses the IESG reviews.
 CBOR Extended Diagnostic Notation (EDN): Application-Oriented Literals,ABNF,and Media Type
 
 draft-ietf-cbor-edn-literals-08.txt
 Date: 01/02/2024
 Authors: Carsten Bormann
 Working Group: Concise Binary Object Representation Maintenance and Extensions (cbor)
The Concise Binary Object Representation, CBOR (STD 94, RFC 8949), defines a "diagnostic notation" in order to be able to converse about CBOR data items without having to resort to binary data. This document specifies how to add application-oriented extensions to the diagnostic notation. It then defines two such extensions for text representations of epoch-based date/times and of IP addresses and prefixes (RFC 9164). A few further additions close some gaps in usability. To facilitate tool interoperation, this document specifies a formal ABNF definition for extended diagnostic notation (EDN) that accommodates application- oriented literals.
 More Control Operators for CDDL
 
 draft-ietf-cbor-cddl-more-control-04.txt
 Date: 28/03/2024
 Authors: Carsten Bormann
 Working Group: Concise Binary Object Representation Maintenance and Extensions (cbor)
The Concise Data Definition Language (CDDL), standardized in RFC 8610, provides "control operators" as its main language extension point. RFCs have added to this extension point both in an application-specific and a more general way. The present document defines a number of additional generally applicable control operators for text conversion (Bytes, Integers, JSON, Printf-style formatting) and for an operation on text.
 Updates to the CDDL grammar of RFC 8610
 
 draft-ietf-cbor-update-8610-grammar-04.txt
 Date: 02/03/2024
 Authors: Carsten Bormann
 Working Group: Concise Binary Object Representation Maintenance and Extensions (cbor)
The Concise Data Definition Language (CDDL), as defined in RFC 8610 and RFC 9165, provides an easy and unambiguous way to express structures for protocol messages and data formats that are represented in CBOR or JSON. The present document updates RFC 8610 by addressing errata and making other small fixes for the ABNF grammar defined for CDDL there.
 CDDL Module Structure
 
 draft-ietf-cbor-cddl-modules-02.txt
 Date: 04/03/2024
 Authors: Carsten Bormann, Brendan Moran
 Working Group: Concise Binary Object Representation Maintenance and Extensions (cbor)
At the time of writing, the Concise Data Definition Language (CDDL) is defined by RFC 8610 and RFC 9165. The latter has used the extension point provided in RFC 8610, the _control operator_. As CDDL is being used in larger projects, the need for features has become known that cannot be easily mapped into this single extension point. The present document defines a backward- and forward-compatible way to add a module structure to CDDL.
 CBOR Common Deterministic Encoding (CDE)
 
 draft-ietf-cbor-cde-02.txt
 Date: 03/03/2024
 Authors: Carsten Bormann
 Working Group: Concise Binary Object Representation Maintenance and Extensions (cbor)
CBOR (STD 94, RFC 8949) defines "Deterministically Encoded CBOR" in its Section 4.2, providing some flexibility for application specific decisions. To facilitate Deterministic Encoding to be offered as a selectable feature of generic encoders, the present document defines a CBOR Common Deterministic Encoding (CDE) Profile that can be shared by a large set of applications with potentially diverging detailed requirements. This document also introduces the concept of Application Profiles, which are layered on top of the CBOR CDE Profile and can address more application specific requirements. Application Profiles are defined in separate documents.


data-group-menu-data-url="/group/groupmenu.json"> Skip to main content

Concise Binary Object Representation Maintenance and Extensions (cbor)

WG Name Concise Binary Object Representation Maintenance and Extensions
Acronym cbor
Area Applications and Real-Time Area (art)
State Active
Charter charter-ietf-cbor-03 Approved
Document dependencies
Additional resources CBOR playground
Collection of CBOR content
Document repositories
Zulip Stream
Personnel Chairs Barry Leiba, Christian Amsüss
Area Director Orie Steele
Mailing list Address cbor@ietf.org
To subscribe https://www.ietf.org/mailman/listinfo/cbor
Archive https://www.ietf.org/mail-archive/web/cbor/current/maillist.html
Chat Room address https://zulip.ietf.org/#narrow/stream/cbor

Charter for Working Group

Concise Binary Object Representation (CBOR, RFC 7049) extends the
JavaScript Object Notation (JSON, RFC 8259) data interchange format to
include binary data and an extensibility model, using a binary
representation format that is easy to parse correctly. It has been
picked up by a number of IETF efforts (e.g., CORE, ANIMA GRASP) as a
message format.

The CBOR working group has updated RFC 7049 to deal with existing
errata, and the new version, draft-ietf-cbor-7049bis, is in the RFC
Editor queue to become an Internet Standard.

Similar to the way ABNF (RFC 5234/7405) can be used to describe the set
of valid messages in a text representation, it is useful for protocol
specifications to use a description format for the data in CBOR-encoded
messages. The Concise Data Definition Language (CDDL) is such a
description technique that has already been used in CORE, ANIMA, CDNI,
and efforts outside the IETF.

CDDL has been published as RFC 8610. While this specification has been
completed, several new features were raised during the update process
that were not included, in order not to delay publication, and to allow
publication in the Standards Track. One example of such a feature is the
ability to combine multiple CDDL files together using a mechanism other
than manually concatenating them together for processing. The working
group will collect these features as well as other features that are
raised by users of CDDL, evaluate their utility and, where warranted,
progress them either in a standalone document or as part of a new
edition of the specification.

The working group will define the approach to further evolving CDDL as a
sequence of editions, which might also add further extension points,
probably as part of the introduction of the next edition of the CDDL
base specification. The body of existing specifications that make use of
CDDL is considered precious, and the WG will set out not to damage their
value.

The working group will evaluate the necessity of providing advice and
guidance for developers using CBOR and CDDL. It is currently expected
that this would be done using a Wiki of some type. This work would not
be expected to be published by the IETF as an RFC.

There are a number of additional CBOR tagged types and CBOR related
media type specifications that are currently adopted by the working
group, are work items in other working groups, or exist as individual
submissions. Additionally, there are expected to be other such documents
that will come to the attention of the working group. In some cases, the
working group expects to adopt and publish these proposals, and for
those the working group will evaluate them individually and decide about
adoption and milestones. Proposals that are deemed to be out of scope
for the working group, for example because they are too narrow in
purpose, may still be published as individual submissions or in another
groups if there is a specific need. The CBOR group will review these
proposals on request.