Skip to main content

Identity classes and openness tiers

Version: V2
View Markdown

Not every identifier is equally strong. An ISBN is unique because a registration agency guarantees it. A hash of a band's name is shared by every band with that name. The specification makes this difference explicit by assigning every scheme to exactly one identity class. The class belongs to the scheme, so every IID in a scheme has the same class, and anyone reading int:gen1:… can see that it is a weak claim. IID spec §3.1

The three classes​

ClassSource of identityUniquenessSchemes
A — registered authorityAn external registry assigns the identifier and guarantees its uniqueness.Collision-free by construction.15
B — intrinsic natural keyThe entity carries its own unique, verifiable identity, such as an address, a URL or the digest of its bytes.Guaranteed by mathematics or protocol. These keys cannot be revoked or discontinued.10
C — derived composite keyA hash of the few facts available, using a recipe.Collisions are expected and intended.1 (gen1)

IID spec §3.2

Class A​

A Class A identifier borrows authority from an institution that already established identity: ISBN for book editions, ISRC for recordings, LEI for legal entities, ORCID for researchers. int:isbn:9780684832722 names exactly one book edition. Class A

Class B​

A Class B identifier needs no registry because the thing is unique by nature. An Ethereum address is the account. A content digest identifies a file's exact bytes, so changing one pixel produces a different identifier. Class B

Class C​

A Class C identifier is weak by construction and the specification says so. It identifies the set of facts it was derived from, not the entity. Two bands called Nirvana, known only by name, receive the same gen1 identifier. That is correct behavior: the identifier accurately records that the evidence could not tell them apart. A stronger identifier supplied later resolves the ambiguity through an equivalence claim. Class C

Applications that display entities should show users the difference between Class A or B and Class C. A product surface can mark a registry-backed entry differently from a best guess.

Openness tiers​

Within Class A, each scheme also has an openness tier. The tier describes licensing and access, not quality. IID spec §3.3

TierMeaningSchemes
T1Open standard. The format can be validated offline, typically through a check digit.isbn, isrc, iswc, isni, orcid, lei, gtin, doi, eidr
T2Community registry with open data.wd, mbid, olid, tmdb, podcastguid
T3Proprietary registry with a closed dataset.imdb

Class B and Class C schemes have no tier. Every Class B scheme can be validated offline by construction.

Within Class A, T1 and T2 schemes must rank above T3 schemes in an identity ladder. For a film, wd ranks above tmdb, which ranks above imdb. TMDB and IMDb both work, but an identifier that nobody outside one company can verify is a weaker foundation for a public knowledge graph. A tier change is a MINOR release and affects only identifiers minted afterwards. IID spec §3.3.1 · IID spec §3.3.2

DOI validation

The DOI scheme is listed as T1, but a DOI has no check digit. Its validation is shape-only. DOI scheme

Compare the classes​

PropertyClass AClass BClass C
Collisions possibleNoNoYes, by design
Can be validated offlineT1 onlyYesYes (shape only)
Can be a bare P0 anchorIf the scheme is unambiguously typedIf the scheme is unambiguously typedNever

IID spec §3.4

A bare P0 anchor stores only the IID text as atom data. That requires a scheme whose value alone tells you the entity type. An ISRC always names a recording. A Wikidata QID can name a person, a film or a city, so its atom needs at least P1 context. See Representation profiles. IID spec §7.3

Rank identifiers in a ladder​

Classes and tiers determine the order of rungs in every identity ladder. IID spec §3.5

  1. Class A ranks above Class B, which ranks above Class C.
  2. Within Class A, T1 and T2 rank above T3.
  3. Within the same class and tier, the more precise identifier ranks higher. For a recording, isrc ranks above mbid.
  4. Among gen1 recipes, the recipe with more fields ranks higher.

The same order elects the canonical member when several atoms are accepted as the same entity: higher class first, then the higher rung, then the earliest mint, then the lowest atom ID. IID spec §8.3

Applies to V2 · @0xintuition/iid-spec 0.1.0