Identity classes and openness tiers
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
| Class | Source of identity | Uniqueness | Schemes |
|---|---|---|---|
| A — registered authority | An external registry assigns the identifier and guarantees its uniqueness. | Collision-free by construction. | 15 |
| B — intrinsic natural key | The 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 key | A hash of the few facts available, using a recipe. | Collisions are expected and intended. | 1 (gen1) |
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
| Tier | Meaning | Schemes |
|---|---|---|
| T1 | Open standard. The format can be validated offline, typically through a check digit. | isbn, isrc, iswc, isni, orcid, lei, gtin, doi, eidr |
| T2 | Community registry with open data. | wd, mbid, olid, tmdb, podcastguid |
| T3 | Proprietary 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
The DOI scheme is listed as T1, but a DOI has no check digit. Its validation is shape-only. DOI scheme
Compare the classes
| Property | Class A | Class B | Class C |
|---|---|---|---|
| Collisions possible | No | No | Yes, by design |
| Can be validated offline | T1 only | Yes | Yes (shape only) |
| Can be a bare P0 anchor | If the scheme is unambiguously typed | If the scheme is unambiguously typed | Never |
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
- Class A ranks above Class B, which ranks above Class C.
- Within Class A, T1 and T2 rank above T3.
- Within the same class and tier, the more precise identifier ranks higher. For a recording,
isrcranks abovembid. - Among
gen1recipes, 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
Related
- Scheme catalog shows the class and typing of every scheme.
- The gen1 scheme explains how a Class C identifier is derived.
- Schemes and canonical form compares the classes for recording data.
Applies to V2 · @0xintuition/iid-spec 0.1.0