PersonafileSpecification
On this page1. Purpose2. Boundary: Headers vs. Body3. Abstract Identity-<Channel> Header Rule4. Normative Example (Real Estate + Web3 + Social)5. Upper-Layer Bidirectional Convergence & Verification Model6. Renderer & Browser Security Allowlist7. Design Simplicity Note (Composition Over Header Inheritance)

Personafile Identity and Standard URI Headers Specification


1. Purpose

A PERSONAFILE/1.0 document serves as the single canonical root of a persona across the Internet of Personas (IoP) — bridging web origins (PersonaSite), voice/messaging channels (PersonaPhone), physical locations, social profiles, and Web3 assets/identities (PersonaToken).

Instead of hardcoding a closed list of platform-specific header names, this specification defines one abstract, extensible optional header pattern (Identity-<Channel>) for standard URIs inside the PERSONAFILE/1.0 envelope (--- block).


2. Boundary: Headers vs. Body

All Identity-* headers are strictly optional and backward-compatible with PERSONAFILE/1.0 parsers that preserve custom Key: Value headers.


3. Abstract Identity-<Channel> Header Rule

Any optional envelope header whose key starts with Identity- (case-insensitive) declares one or more external identity or channel URIs (comma-separated):

Identity-<Channel>: <URI>[, <URI>...]

3.1 Common Identity-* Channel Conventions (Non-Normative)

Example Header Typical URI Schemes / Format Purpose
Identity-Website https:, http: Primary web origin / PersonaSite home
Identity-Email mailto: (RFC 6068) Primary email contact
Identity-Phone tel: (RFC 3966), sms: (RFC 5724) Primary PersonaPhone / voice / SMS endpoint
Identity-Location geo: (RFC 5870) Physical coordinates (geo:lat,lng;u=meters)
Identity-Wallet ethereum: (EIP-681), bitcoin: (BIP-21), solana: Primary Web3 payment / wallet URI
Identity-Token CAIP-19 asset ID (eip155:.../erc20:..., .../erc721:...) or https: Associated coin, token, or NFT (PersonaToken)
Identity-Social https:, acct: (RFC 7565), at: (ATProto) Social network profiles
Identity-DID did: (did:web:, did:pkh:, did:key:) Decentralized Identifiers

4. Normative Example (Real Estate + Web3 + Social)

PERSONAFILE/1.0
---
Persona-ID: realestate:paris:apt-42
Name: Studio Marais — Rue des Rosiers
Identity-Website: https://marais-living.personasite.com
Identity-Email: mailto:visit@marais-living.personasite.com
Identity-Phone: tel:+33142685500
Identity-Location: geo:48.8575,2.3584;u=15
Identity-Wallet: ethereum:0x71C7656EC7ab88b098defB751B7401B5f6d8976F@1
Identity-Token: eip155:137/erc721:0x1234567890abcdef1234567890abcdef12345678/42
Identity-Social: https://github.com/marais-living, acct:marais@mastodon.social
Identity-DID: did:web:marais-living.personasite.com, did:pkh:eip155:1:0x71C7656EC7ab88b098defB751B7401B5f6d8976F
---
# About this property
Bright **32 m² studio** on the 3rd floor, 2 minutes from Saint-Paul metro.

5. Upper-Layer Bidirectional Convergence & Verification Model

Verification lives in the upper Browser / Verifier / Runtime layer — NOT in the Personafile file parser. Just as HTML parsers do not verify TLS certificates, PERSONAFILE/1.0 parsers remain stateless and simply expose Identity-* URIs as untrusted claims.

All Identity-* URIs follow one uniform bidirectional rule — there is no special case for websites, phones, wallets, or social profiles.

A URI inside an Identity-* header is a self-declared forward claim (Personafile -> URI). An upper-layer verifier marks it Verified only when resolving that URI/channel independently points back to the same canonical Personafile (URI -> Canonical Personafile). Otherwise it remains Claimed (unverified).

5.1 Transport Examples (Same Rule, Different Transports)

Transport Forward Claim (Identity-*) Reverse Proof (toward Canonical Personafile)
Web / Social (https:, acct:, at:) Identity-Website: or Identity-Social: /.well-known/personafile or profile/page links back to the canonical Personafile (or Identity-Website)
Email (mailto:) Identity-Email: mailto:hi@example.com DNS TXT _personafile.example.com (or domain Personafile) references the canonical Personafile
Phone (tel: / sms:) Identity-Phone: tel:+33142685500 PersonaPhone directory / signed carrier record resolves +33142685500 to the canonical Personafile
Web3 (Wallet, Token, did:pkh:) Identity-Wallet: / Identity-Token: / Identity-DID: On-chain tokenURI / contract metadata or EIP-191/EIP-712 wallet signature attests the canonical Personafile

5.2 Verification Rules

  1. Default untrusted: Parsers and renderers MUST NOT treat Claimed headers as verified identity.
  2. Bidirectional agreement: An upper-layer verifier may display a Verified badge for any Identity-* URI only when both directions match (Personafile -> URI and URI -> Canonical Personafile).
  3. Origin check: When a Personafile is fetched over HTTP(S), upper-layer browsers should check whether the serving origin matches Identity-Website (or another declared https: Identity-* URI) to detect unauthorized copy-paste hosting.
  4. Convergence: Regardless of whether a user starts from a URL, a phone number, a social handle, or a Web3 token/wallet, verified reverse pointers converge on the same canonical Personafile.

6. Renderer & Browser Security Allowlist

When projecting Identity-* URI headers into clickable UI links (e.g., in HtmlRenderer or PersonaBrowser), renderers MUST:

  1. Validate each URI against an explicit scheme allowlist:
    • https:, http:, mailto:, tel:, sms:, geo:, ethereum:, bitcoin:, solana:, did:, acct:, at:
  2. Reject and neutralize unsafe or executable schemes (javascript:, data:, vbscript:, file:) by omitting the link or replacing href with #.
  3. Escape all rendered attribute values and visible labels against HTML injection.

7. Design Simplicity Note (Composition Over Header Inheritance)

To keep PERSONAFILE/1.0 headers minimal and stateless, v0.1 does not introduce From: (template inheritance) or mandatory Previous: version chains. Persona reuse and composition use existing sandboxed <pf:embed> elements defined in Personafile_Renderer_PFOM_Specification_0.1.md.