Repository navigation
Description
Context
RWT 0.0.1 now defines shared terms for RecordWeb reports. It distinguishes a role (a responsibility of an implementation) from a function (an operation a component performs), and defines these pairs:
| Subject | Role (provides) | Function (resolves) |
|---|---|---|
| Namespace | namespace provider | namespace resolution by a namespace resolver |
| DID | DID provider | DID resolution by a DID resolver |
RWT also states that a DID resolver is not an RWP role. RWP 0.0.17 is not yet consistent with this. The inconsistencies below were found while drafting a Community Report on namespace handling.
Findings
1. The "resolver" role (§1.5, §3.6) conflicts with RWT
§1.5 defines the role resolver as resolving did:rwp identifiers and returning DID documents. §3.6 says an implementation "claiming the resolver role MUST provide a DID resolver". In RWT terms:
- the role is a DID provider (serves DID documents and retains every DID document version while the DID is resolvable);
- the DID resolver is a component, not a role.
Proposed change: rename the role resolver to DID provider in §1.5, §3.6 (title "Resolver Requirements" included), §15.4 (capability table, role claims), §16.x and the index. Keep "DID resolver" for the component or function. Reference RWT for the definition instead of redefining it.
2. "Namespace resolver" is used with a different meaning (§16.1)
§16.1 says "Namespace resolvers are federated; each resolver knows its own namespace and can route resolution requests for unknown namespaces to peer resolvers". That describes a DID provider. In RWT, the namespace resolver is the component that determines the DID provider responsible for a namespace (namespace resolution).
§16.2.3 additionally uses "GNR Resolver" for the component that queries the GNR, which is the RWT namespace resolver.
Proposed change:
- §16.1: replace "namespace resolvers" with "DID providers" where the DID-document-serving component is meant.
- §16.2.3 and §16.2.5: use "namespace resolver" for the client function and "namespace resolution" for the operation.
- Check whether "ResolveNamespace" (§16.2.8) should stay as an operation name; it is consistent with RWT.
3. GNR role is not named in RWT terms (§16.2)
§16.2.1 states that the GNR is not a DID resolver and does not participate in Record access. RWT defines the namespace provider as the role that supplies the information for namespace resolution and provides neither DID documents nor Records.
Proposed change: state in §16.2.1 that the GNR network fulfils the namespace provider role (for globally resolvable namespaces only), and link to RWT.
4. Terms that RWP redefines locally (§1.5)
§1.5 defines producer, custodian, consumer, source-adapter, attester, verifier and the resolver role. RWT 0.0.1 defines the same terms (producer, custodian, consumer, source adapter, attester, verifier). RWP should reference RWT and keep only the RFC 2119 requirements. Also check:
- spelling: "source-adapter" (RWP) vs "source adapter" (RWT; both accepted as link text);
- the sentence "A role describes a responsibility. It does not imply that an implementation fulfils requirements outside its claimed profiles, roles, or exercised capabilities" is identical in RWT; keep it in one place only.
5. Ontology prefix inconsistency
RWP uses the prefix rw: for https://w3id.org/recordweb/ontology# (e.g. §2.2, §8.3, §9.2, §10.2, §12.2, §13.2, §14.2). RWT §6 announces rwo: for the RecordWeb ontology.
Proposed change: decide on one prefix, align RWP, RWT and the ontology (RWO), and note the decision in the RWT "Machine-readable representation" section.
6. Terms used in RWP but not yet defined in RWT (candidates)
- global (resolvable) namespace / locally scoped namespace (§4.3, §4.4)
- Global Namespace Registry (GNR) and Global Namespace Identifier (§16.2)
- DID and DID document (§3.1)
- resolvability (used throughout §3.6, §4.1)
- RecordWeb Trust Association, RecordWeb namespace, trust anchor (§16.4)
- retention policy (
metadata.governance.retentionPolicy, §5.2) - Record owner (
metadata.governance.owner, §5.2), to be clearly distinguished from any namespace-level responsibility
Not proposed for RWT: "namespace owner" and "operator". They are not needed in RWP and remain in the Community Report until they occur in further reports.
Acceptance criteria
- RWP uses "DID provider" for the role previously called "resolver" (§1.5, §3.6, §15.x, §16.x, index).
- "Namespace resolver" and "namespace resolution" are used only in the RWT sense.
- §16.2.1 identifies the GNR network as namespace provider.
- Role and shared terms in §1.5 are replaced by references to RWT where the definition is identical.
- One ontology prefix is used in RWP, RWT and RWO.
- Open candidate terms (finding 6) are recorded as separate RWT issues or explicitly rejected.
- RWP version bump follows §1.4 (the role rename is an incompatible change in wording, so decide MAJOR vs. MINOR while RWP is below 1.0).
Notes
This is a terminology alignment only. No change to protocol behaviour is intended.
Activity