Variants
View this section in the spec ↗The 2 TNID variant bits select how the 100 payload bits are read, as the version does for a UUID.
| TNID variant | Bits | Similar to | Payload |
|---|---|---|---|
| Variant 0 | 0b00 | UUIDv7 | 43-bit ms timestamp + 57 random bits; time-sortable |
| Variant 1 | 0b01 | UUIDv4 | 100 random bits |
| Variant 2 | 0b10 | Reserved | |
| Variant 3 | 0b11 | Reserved |
Reserved variants
No definition yet, so nothing to generate. Parsers SHOULD accept them, so TNIDs from a future spec version round-trip through older code. Treat the payload as opaque.
Which to use: Choosing a variant.