File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,19 @@ protected_header = {
4242 1 => -8, ; "alg": EdDSA
4343 3 => 30, ; "content type": Json
4444 "content encoding" => "br", ; payload content encoding, brotli compression
45- "type" => #6.37(bytes), ; UUID
46- "id" => #6.32780(bytes), ; ULID
47- "ver" => #6.32780(bytes), ; ULID
48- ? "ref" => #6.32780(bytes) / [#6.32780(bytes), #6.32780(bytes)], ; either ULID or [ULID, ULID]
49- ? "template" => #6.32780(bytes) / [#6.32780(bytes), #6.32780(bytes)], ; either ULID or [ULID, ULID]
50- ? "reply" => #6.32780(bytes) / [#6.32780(bytes), #6.32780(bytes)], ; either ULID or [ULID, ULID]
45+ "type" => UUID
46+ "id" => ULID
47+ "ver" => ULID
48+ ? "ref" => reference_type
49+ ? "template" => reference_type
50+ ? "reply" => reference_type
5151 ? "section" => text,
5252 ? "collabs" => [+any],
5353}
54+
55+ UUID = #6.37(bytes)
56+ ULID = #6.32780(bytes)
57+ reference_type = ULID / [ULID, ULID] ; either ULID or [ULID, ULID]
5458```
5559
5660### COSE payload
You can’t perform that action at this time.
0 commit comments