Syntax
Fide ID identifier syntax and core rules for the did:fide method.
Fide ID Shape: did:fide:0x{entityType}{referenceType}{referenceFingerprint}
- MUST be exactly 51 characters long.
The method-specific-id MUST be 0x{entityType}{referenceType}{referenceFingerprint}.
Valid Entity Type and Reference Type codes, and entity-specific constraints on their use, are defined by the Fide Vocabulary.
Normative Dependencies
- This specification is normative for identifier syntax and validation mechanics.
- Fide Vocabulary is normative for valid entity types, valid reference types, and allowed entity-type/reference-type combinations.
Prefix
Declares that the identifier is a DID using the Fide method namespace.
- MUST start with
did:fide:0xin compliance with DID.
Entity Type
Defines what kind of entity is being identified.
- MUST use a valid 2-character hexadecimal Fide Entity Type Code.
Reference Type
Defines what kind of Reference Identifier the identifier is derived from.
- MUST use a valid 2-character hexadecimal Fide Reference Type Code.
Reference Fingerprint
Defines the fingerprint the Reference Identifier is derived from.
- MUST derive by UTF-8 encoding the Reference Identifier, hashing it with SHA-256, and using the first 36 hexadecimal characters.
Reference Identifier
Defines the identifier value used as the reference input.
- MUST be a string identifier.
- MUST match the declared Reference Type.
- SHOULD uniquely identify the declared Entity Type when interpreted with the declared Reference Type.
Avoid Ambiguous References
If a public identifier could validly refer to multiple distinct entities you may want to model separately, it SHOULD NOT be reused for all of them. Use a more specific public identifier when available, or define a declared or derived entity when you need a more precise referent than the public identifier can uniquely provide.
Multiple Valid Fide IDs
A single Fide ID SHOULD identify one entity, but a single entity can still have multiple valid Fide IDs when it can be identified by multiple valid Reference Identifiers.