Skip to content

[RWP] DID Document: define an RWP JSON-LD context for RWP-specific properties #54

Open

Description

@Jenziner

Proposed change

  1. Define and publish an RWP context and vocabulary at a stable URL under the
    recordweb.github.io domain.
  2. Require @context to be an array: the DID v1 context, the Data Integrity context and the
    RWP context.
  3. Ensure the versionId calculation is not affected: RFC 8785 canonicalises the JSON as
    given, independent of the context.
  4. Add the contexts to the DID document examples, the JSON schema (Annex A) and 4.4.

Rationale

The DID document (4.3) is delivered as JSON-LD (4.4) with the single context
https://www.w3.org/ns/did/v1. RWP-specific properties (recordEndpoint, currentVersion,
previousVersionId, and the RWP service types) are not defined in any context. A JSON-LD
processor drops undefined terms when expanding the document, so these properties are not
part of the expanded graph and cannot be verified or queried as linked data.

Problem

  • The DID v1 context is protected and does not define the RWP terms.
  • The Data Integrity proof (introduced in issue 42, aligned with 19.4) requires the Data
    Integrity context in the DID document @context.
  • The RWP service types (RWPPublicRecordAccess, RWPRecordReferrers,
    RWPFunctionRegistry) have no defined vocabulary.

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