Entity types and identity ladders
An identity ladder tells you which identifier to mint for a kind of thing. Each entity type declares one ladder: an ordered list of rungs, strongest first. You mint from the highest rung whose facts you have and that produces a valid value. The registry ratifies 36 entity types. IID spec §5.1
Select an identifier
Walk the rungs in order and stop at the first one that fires. IID spec §5.2
- For a scheme rung, extract the raw value from its source field. If the value is missing, or the scheme's canonicalization rejects it, skip to the next rung. Otherwise return
int:<scheme>:<value>. - For a
gen1rung, apply NORM-1 to every recipe field. If any field is missing or empty, skip to the next rung. Otherwise derive thegen1IID. - If no rung fires, return nothing. The specification never invents an identifier.
An invalid value skips its rung rather than failing the derivation. Selection is deterministic, including which rung is chosen. Rung order follows the class and tier ranking.
Exactly one IID is embedded in an atom's data at mint: the primary. Other identifiers you know about travel as sameAs evidence in the payload or as later equivalence claims. If you discover a stronger identifier after minting, mint a new atom with it and link the two. Never rewrite the existing atom. IID spec §5.3 · IID spec §5.4
Identify the right level
Each entity type states what it identifies. Two entities at different levels must never be merged, even when they share a title. IID spec §5.5
- A
bookis the work. An ISBN names one edition, so editions of the same work are linked through equivalence. - Music has three levels:
music-groupfor the artist,music-albumfor the release group andmusic-recordingfor one recorded performance. A composition is identified by ISWC and is a different entity from its recordings. - A
company, abrand, alocal-businessand its premises are four separate types. softwarenames a package without its version.
Scope belongs inside an identifier only when the child has no identity apart from its container. A podcast feed item is scoped to its feed through rssitem. A restaurant is not scoped by its chain. IID spec §5.5.1
A rung never uses the name of a related entity, a value that depends on the observer, time or source, personal data as a disambiguator, or anything that needs a network lookup. A person's date of birth never enters an identity hash. IID spec §5.6
Entity type registry
Scheme rungs read from the entity's sameAs identifiers unless a source is shown. gen1 rungs show their frozen tag and recipe fields. A tag names a recipe permanently and is not its position in the ladder. Entity-type registry · Machine-readable registry
Entity
| Entity type | Identifies | Ladder, strongest first |
|---|---|---|
person | An individual human | isni › wd › olid › gen1 r4 (givenName, familyName) › gen1 r5 (givenName) |
company | A legal entity | wd › url › gen1 r4 (name) |
brand | A brand as a concept (instance businesses are local-business atoms) | wd › gen1 r2 (name) |
local-business | One business at one place (instance level) | wd › gen1 r2 (name, geo7) › gen1 r4 (name) |
location | A named place or coordinate point | wd › geo › gen1 r3 (name) |
event | An event occurrence | wd › url › gen1 r3 (name, startDate) › gen1 r4 (name) |
thing | Anything not covered by a specific entity type (weakest IDs by design) | wd › url › gen1 r3 (name) |
Creative work
| Entity type | Identifies | Ladder, strongest first |
|---|---|---|
book | The work; isbn identifies editions, bridged via equivalence | isbn › olid › wd › gen1 r3 (name) |
article | An article | doi › url › gen1 r3 (headline) |
news-article | A news story as published (URL-anchored) | url › url from sameAs › gen1 r2 (headline, datePublished) › gen1 r3 (headline) |
dataset | A dataset (version lineage out of ID scope) | doi › url › gen1 r3 (name) |
defined-term | A term within a term set | termset › gen1 r2 (name) |
review | One review of one subject (relational entity) | url |
comment | One comment on one subject (relational entity) | url |
Media
| Entity type | Identifies | Ladder, strongest first |
|---|---|---|
image | An image — byte identity first; url is a mutable manifestation fallback | hash › url › gen1 r3 (name) |
video-object | A video — byte identity first; platform URLs are manifestation fallbacks | hash › url from contentUrl › url from sameAs › gen1 r3 (name) |
movie | A film (work level) | wd › tmdb › imdb › gen1 r4 (name, yearPublished) › gen1 r5 (name) |
tv-series | The series (seasons and episodes are not modeled) | wd › tmdb › imdb › gen1 r4 (name, startYear) › gen1 r5 (name) |
music-group | An artist/band public identity | isni › mbid › wd › gen1 r4 (name) |
music-album | The release-group (the album as a work) | mbid › wd › gen1 r4 (name) |
music-recording | The recording (isrc level; compositions are iswc territory) | isrc › mbid › gen1 r3 (name) |
podcast-series | The show (feed level) | podcastguid from the feed's declared tag › podcastguid derived from the feed URL › url › gen1 r3 (name) |
podcast-episode | One feed item (manifestation) — the episode-work is the equivalence cluster over feed items | rssitem › url › gen1 r3 (name, datePublished) › gen1 r4 (name) |
Product
| Entity type | Identifies | Ladder, strongest first |
|---|---|---|
product | The product model (not individual units) | gtin › gen1 r2 (name) |
service | A service offering | url › gen1 r2 (name) |
Web
| Entity type | Identifies | Ladder, strongest first |
|---|---|---|
web-page | A page at a canonical URL | url |
web-site | A site (origin level) | url |
job-posting | One posting | url › gen1 r2 (title, datePosted) › gen1 r3 (title) |
social-media-account | An account on a platform (the person behind it is a separate atom) | acct strong form (platform user ID) › acct weak form (@handle) |
social-media-posting | One post | url › gen1 r2 (textHash) |
Blockchain
| Entity type | Identifies | Ladder, strongest first |
|---|---|---|
ethereum-account | An EOA/keypair (pinned to eip155:1 — one keypair across all EVM chains) | caip10 |
ethereum-erc20 | A token asset on a chain | caip19 |
ethereum-smart-contract | A deployed contract | caip10 |
Software
| Entity type | Identifies | Ladder, strongest first |
|---|---|---|
software | The package/project, version-free | purl › url › gen1 r3 (name) |
software-application | An end-user application | url › gen1 r4 (name) |
mobile-application | A mobile app per store ecosystem | appid › url › gen1 r3 (name, operatingSystem) |
Eight types have no gen1 fallback: review, comment, web-page, web-site, social-media-account, ethereum-account, ethereum-erc20 and ethereum-smart-contract. Without one of their identifiers, derivation returns nothing. The registry once included aggregate-rating. It was withdrawn and is modeled as a claim instead.
Open proposals
Several ladders have documented gaps waiting for a contributor. See Governance and contributing to pick one up.
| Entity type | Proposal |
|---|---|
movie, tv-series | Add an eidr rung above tmdb. |
software-application | Add purl and appid rungs above url. |
review | Add a gen1 recipe over the reviewed item's IID and a hash of the review body, once IID-typed reference fields exist. |
comment | Add a gen1 recipe over the subject's IID, a text hash and the creation date, once IID-typed reference fields exist. |
local-business | Capture latitude and longitude so the geo7 rung can fire. |
social-media-account | Capture platformUserId more widely so the strong acct form is available. |
The ladder order can change in a MINOR release, but existing identifiers never change, because rung tags are frozen. The registry describes how to name entities. It does not prescribe an ontology for applications that consume them. IID spec §1.5.1
Related
- The identity ladder walks the recording ladder with three catalog rows.
- Classifications shows how a classification selects the fields to collect and the ladder to use.
- Creation profiles builds atom data from a classification.
Applies to V2 · @0xintuition/iid-ladder 0.1.1 · @0xintuition/classifications 0.1.1