cuid icon indicating copy to clipboard operation
cuid copied to clipboard

Question: could we register a cuid: URI scheme, or URN scheme?

Open melvincarvalho opened this issue 4 years ago • 1 comments

Question

Might it be useful to register cuids to give them one higher level of scope at web scale?

Examples

It could look like

cuid:ckxls1y3900009yrx442e23rf

Or

urn:cuid:ckxls1y3900009yrx442e23rf

This doesnt handle slugs but would work for a full cuid

Similar Use

This would be similar to:

https://en.wikipedia.org/wiki/Universally_unique_identifier#Format

Which has

urn:uuid:123e4567-e89b-12d3-a456-426655440000

Benefits and Motivation

This has the benefit of being able to be put in a database full of different items identified in different ways, and able to tell what is what

Before registration, simply coming to a consensus of what it would look like would probably be enough to get implementations going

Motivation: I'd like to start using cuids together with linked objects where using a global URI is encouraged

melvincarvalho avatar Dec 25 '21 12:12 melvincarvalho

I'd be happy to support this process, but I don't have time to champion a scheme standard for it.

ericelliott avatar Aug 11 '22 00:08 ericelliott

The original Cuid specification is now deprecated in favor of Cuid2.

ericelliott avatar Dec 31 '22 03:12 ericelliott