1; Copied from https://datatracker.ietf.org/doc/html/rfc8610#appendix-D 2; The entries that are commented out are handled natively in the zcbor script. 3 4; any = # 5; uint = #0 6; nint = #1 7; int = uint / nint 8; bstr = #2 9bytes = bstr 10; tstr = #3 11text = tstr 12tdate = #6.0(tstr) 13time = #6.1(number) 14number = int / float 15biguint = #6.2(bstr) 16bignint = #6.3(bstr) 17bigint = biguint / bignint 18integer = int / bigint 19unsigned = uint / biguint 20decfrac = #6.4([e10: int, m: integer]) 21bigfloat = #6.5([e2: int, m: integer]) 22eb64url = #6.21(any) 23eb64legacy = #6.22(any) 24eb16 = #6.23(any) 25encoded-cbor = #6.24(bstr) 26uri = #6.32(tstr) 27b64url = #6.33(tstr) 28b64legacy = #6.34(tstr) 29regexp = #6.35(tstr) 30mime-message = #6.36(tstr) 31cbor-any = #6.55799(any) 32; float16 = #7.25 33; float32 = #7.26 34; float64 = #7.27 35; float16-32 = float16 / float32 36; float32-64 = float32 / float64 37; float = float16-32 / float64 38; false = #7.20 39; true = #7.21 40; bool = false / true 41; nil = #7.22 42null = nil 43; undefined = #7.23 44