Skip to content

[RWP] Rename DID method from did:rwp to did:rec and register it in the W3C DID Extensions registry #60

Open

Description

@Jenziner

Proposed change

  1. Replace the DID method name rwp with rec throughout the specification. A Record DID then has the form did:rec:<namespace>:<record-id> instead of did:rwp:<namespace>:<record-id>. The method-specific identifier structure remains unchanged.
  2. Update all affected parts of the specification:
    • Chapter 4 (Record Identity), including DID Format (4.2), globally resolvable DIDs (4.3), locally scoped DIDs (4.4) and additional segments (4.6).
    • Section 3.6 (Resolver Requirements) and the resolver role definition in Section 1.5 ("resolves did:rwp identifiers").
    • All examples, ABNF/regex patterns, JSON/JSON-LD samples and test vectors.
  3. State explicitly in the specification that RWP defines the DID method rec. The protocol name (RWP) and the method name (rec) are intentionally distinct.
  4. Prepare a registration of the method in the [W3C DID Extensions registry](https://www.w3.org/TR/did-extensions/) by pull request to w3c/did-extensions, adding methods/rec.json:
{
  "name": "rec",
  "status": "registered",
  "verifiableDataRegistry": "RecordWeb",
  "contactName": "Nik Jenzer",
  "contactEmail": "[email protected]",
  "contactWebsite": "https://recordweb.org",
  "specification": "https://recordweb.github.io/rwp/"
}
  1. Submit the registration PR only after the DID format chapter is stable. The specification link must point to a stable, citable location.
  2. Add a note to the changelog that did:rwp was used in early drafts and is superseded. No backward-compatibility layer is required because there is no production deployment.

Rationale

  • Identified object, not protocol. The method name appears in every DID. It should name what is identified (the Record) and not the protocol that defines it. A protocol can be revised or versioned, while archival identifiers are meant to persist for decades.
  • Persistence. A DID containing a project or protocol name couples long-lived identifiers to a name that may change. rec is a stable domain term.
  • Timing. There is no productive implementation of RWP. Changing the method name now costs no migration. Later, every issued DID, link and resolver would be affected.
  • Compliance with DID Core rules. rec is lowercase alphanumeric, which is valid for method names, and is short, within the recommended length of five characters or fewer. The method name should be unique and avoid overly generic terms.
  • Availability checked. On 20 November 2026 no methods/rec.json or methods/rwp.json existed in w3c/did-extensions, and no related pull requests were found. A GitHub code search for did:rec: found no existing DID method of that name. The registry is non-authoritative, so this reduces but does not exclude the risk of a collision.
  • Low ambiguity. Recording and receiving are activities that produce a Record, so they are not competing meanings. "Recommendation" has no associated DID method and is considered a minor risk.
  • Anchoring the registration. Registering the method makes it discoverable for implementers and resolver authors. Tracking it in this issue ensures the specification rename and the registry entry stay in sync.
  • Trade-off accepted. The method name no longer matches the protocol brand (RWP). This is documented in the specification, and the benefit of long-term identifier stability outweighs it.

Impact on RWC (concept explainer)

undefined

Impact on home (general documentation)

undefined

Call for Consensus

  • This change requires a Call for Consensus (CfC) before merging.
  • This is purely editorial and does not change normative meaning (CfC may be skipped; Editors will confirm).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions