Skip to content

Commit

Permalink
collection must have at least one entry
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Fossati <[email protected]>
  • Loading branch information
thomas-fossati committed Nov 25, 2024
1 parent 941d98e commit 7a3c4a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions draft-ietf-rats-msg-wrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ The CMW collection ({{fig-cddl-collection}}) is defined as a CBOR map or JSON ob
The position of a `cmw` entry in the `cmw-collection` is not significant.
Labels can be strings (or integers in the CBOR serialization) that serve as a mnemonic for different conceptual messages in the collection.

A collection MUST have at least one CMW entry.

The `"__cmwc_t"` key is reserved for associating an optional type to the overall collection and MUST NOT be used for a label.
The collection type is either a Uniform Resource Identifier (URI) or an object identifier (OID).
The OID is always absolute and never relative.
Expand Down

0 comments on commit 7a3c4a4

Please sign in to comment.