Intuition Identifier
The Intuition Identifier (IID) is an identifier you compute rather than request. Take the facts you have about a thing, run them through the published procedure and you get a string such as int:isbn:9780684832722. Anyone else with the same facts gets the same string, without a registry to ask and without coordinating with you. The specification states the requirement directly: two independent actors working from the same facts must derive byte-identical identifiers. IID spec §0.1
The IID is the identity layer of Intuition. It decides how atoms are named so that contributions from independent applications converge on the same entity instead of scattering across near-duplicates. It is published as a standalone, MIT-licensed specification because any system that accepts descriptions of the world from more than one source has the same problem. Specification repository
Anatomy of an IID
Every IID has three parts separated by the first two colons.
| Part | Example | Meaning |
|---|---|---|
| Prefix | int | Always int. It marks the string as an Intuition Identifier. |
| Scheme | isbn | The registered kind of identifier. The scheme owns the rules for valid values and their canonical spelling. |
| Value | 9780684832722 | The canonical value. A generic parser treats it as opaque, even when it contains further colons. |
| IID | What it names |
|---|---|
int:isbn:9780684832722 | One edition of one book, through a registered authority |
int:wd:Q25188 | The film Inception, through its Wikidata item |
int:caip10:eip155:1:0xd8da6bf26964af9d7eed9e03e53415d37aa96045 | An Ethereum account, through its own address |
int:gen1:movie:r4:fb681afe7d438cad73ae90a70f1cc55a | The facts "Inception, 2010" for a movie, derived because no stronger identifier was supplied |
The strength of each identifier is visible in its scheme. A registry-backed ISBN and a hash derived from a title are both valid IIDs. Only the first is unique by construction. IID spec §3.2
Design principles
The specification rests on five tenets. Every rule in the later chapters follows from one of them. IID spec §0.3
- Hashing does not create identity. A hash preserves whatever uniqueness its input had. Hashing the name "Nirvana" yields one string for every band with that name.
- Ambiguity must be honest. When the facts cannot tell two things apart, their identifiers collide. The specification never invents a disambiguator.
- Identity inputs are intrinsic. An identifier never includes the free-text name of a related entity, such as an album's artist.
- Canonicalization is pure and offline. No network, clock, locale, configuration or randomness. Lookups such as following redirects belong to enrichment, before derivation.
- Rules are frozen and versions are additive. A ratified rule is never edited. Improvements ship as new schemes or a new derivation version.
The specification governs identity, not interpretation. It fixes which string names a thing. Which vocabulary an application maps that thing into, and how it renders or reasons about it, stays with each application. IID spec §0.2
How the IID fits into Intuition
An IID names an entity. An atom stores bytes, and its atom ID is derived from all of those bytes. A bare anchor atom stores only the IID text. A richer atom embeds the same IID inside a JSON payload. Both carry one IID, but they have different atom IDs. Compare IIDs to find atoms about the same entity, and compare atom IDs to find the same atom. See The Intuition Identifier and Representation profiles.
An IID is a claim of identity, not a certificate. Anyone can create an atom carrying any IID, including the wrong ISBN for a book. Correctness is established above this layer, the same way as every other claim in Intuition: through attestation and stake. IID spec §0.4
Deterministic identifiers collapse most duplicates automatically. Two correct identifiers from different schemes, such as a Wikidata item and an ISNI for the same band, still produce two atoms. A sameAs claim joins them, and applications decide which claims to accept. See sameAs and identity linking. IID spec §8.2
Explore the specification
| You want to… | Read |
|---|---|
| Parse, validate or compare an IID | Grammar and comparison |
| Understand why some identifiers are stronger than others | Identity classes and openness tiers |
| Normalize text before hashing | NORM-1 normalization |
| Derive an identifier when no registry covers the thing | The gen1 scheme |
| Look up the rules for one scheme | Scheme catalog |
| Choose which identifier to mint for an entity type | Entity types and identity ladders |
| Test an implementation against the published vectors | Conformance and test vectors |
| Propose a scheme, a ladder change or a fix | Governance and contributing |
The concept pages show the same rules applied to Intuition data. Schemes and canonical form, The identity ladder, Representation profiles and The IID registry each work through a recording example.
Chapter map
Each chapter of the canonical specification has a home in these docs.
| Chapter | Topic | Covered in |
|---|---|---|
| §0 Overview | Purpose, scope, tenets, the core claim | This page |
| §1 Conformance | Conformance classes, versioning, stability | Conformance and test vectors |
| §2 Grammar | Syntax, parsing, comparison | Grammar and comparison |
| §3 Identity classes | Classes A, B and C, openness tiers | Identity classes |
| §4 Normalization | The frozen NORM-1 algorithm | NORM-1 normalization |
| §5 Identity ladders | Selecting the identifier for an entity | Entity types and identity ladders |
| §6 gen1 | Derived identifiers | The gen1 scheme |
| §7 Representation profiles | How much data travels with the IID | Representation profiles |
| §8 Equivalence | Clustering and canonical election | sameAs and identity linking |
| §9 Registry governance | Admission, the freeze rule, change process | Governance and contributing |
Status and implementations
The specification is at version 0.1.0, Draft. The grammar, the class system, NORM-1, gen1 and the representation profiles are stable and in production use within Intuition. Scheme canonicalization rules are frozen under the freeze rule. The specification has not been submitted to a standards body. IID spec §1.6
@0xintuition/iid is the TypeScript reference implementation. It validates, canonicalizes and derives IIDs, and every published test vector runs against it. @0xintuition/iid-spec packages the specification text and registry data for code. The packaged copy carries pre-publication amendments, which the scheme catalog describes. These pages follow the canonical repository at the pinned revision in the release manifest. Implementations
Applies to V2 · @0xintuition/iid-spec 0.1.0 · @0xintuition/iid 0.1.1