Markdown Version | Session Recording

Session Date/Time: 08 Feb 2023 15:00

CBOR

Summary

This CBOR working group meeting focused on two main technical topics: the development of a CBOR Path specification and a proposed module/import system for CDDL 2.0. For CBOR Path, the discussion centered on extending JSON Path to support CBOR's unique data model (bytes, non-string map keys, tags) and an initial Rust implementation that uses structured CBOR for path definition. The primary agenda item was a detailed presentation and discussion of a "spike" implementation for CDDL 2.0 module features, including include and import directives, namespacing (as clause), and mechanisms for resolving external CDDL (e.g., from RFCs, IANA registries, Internet Drafts). The proposed approach involves a CDDL 2.0 processor that transpiles to CDDL 1.0 for backward compatibility and inspectability. Participants were encouraged to experiment with the prototype and provide feedback.

Key Discussion Points

CBOR Path

CDDL 2.0 Module/Import Spike

The presentation detailed a prototype implementation in the cdsc tool to address three core requirements for CDDL 2.0:

  1. Constructing CDDL from Multiple Files: Allowing developers to organize large CDDL projects across several files, treating each file as a module.
  2. Referencing Existing CDDL as a Library: Enabling selective import of specific rules from established CDDL specifications (e.g., from RFCs) without including the entire document.
  3. Namespacing: Providing a mechanism to prevent rule name collisions when combining CDDL from various sources.

Decisions and Action Items

Decisions

Action Items

Next Steps