A story from everyday administration

A channel is not a permission.
But it shows what is possible.

How a Record can declare further channels and functions alongside its mandatory access channel, so that people and systems know what is possible, without granting any access rights.

Deutsch English

Mr Berger just wants to know how far things are.

Mr Berger is converting the house of his late parents. He has been waiting for the building permit for weeks. Today Mr Berger calls Ms Roth, and the tension in his voice is easy to hear.

Mr Berger

He does not want a file or details. He wants to know whether his application is being processed and whether he can make commitments to the tradespeople.

Ms Roth

She sees the complete status in the specialist system. But she cannot simply show him everything: the application contains names, plans and opinions from third parties.

The dilemma: The Record is complete and protected. And yet there is a legitimate question that deserves a better answer than “I am not allowed to tell you anything”.

Every Record has a mandatory access channel.

In RWP, every DID document has exactly one binding access channel: the recordEndpoint. It is used to retrieve the complete Record.

The address in the DID document

The Record’s DID stays stable. Where the Record currently resides is stated in the DID document and can change without changing the identity.

Full access

The recordEndpoint returns the entire Record. Who may use it is decided by the system’s access rules, not by the address itself.

This remains unchanged. The recordEndpoint is still the only mandatory channel.

The DID document can offer more.

A DID document can now optionally contain a service block. It follows the structure defined in DID Core and describes further access channels that a resolver might offer.

A restricted view

An entry of type RWPPublicRecordAccess points to a reduced representation of the Record, for example for people without full access. What it shows is determined by the system.

A list of functions

An entry of type RWPFunctionRegistry shows in machine-readable form which operations are intended for this Record, for example retrieve, compare, validate or publish.

Voluntary

No system has to offer further channels. A system that does not remains conformant. The block is a MAY, not a requirement.

Other channels

Other type values are possible as well, for example a DIDComm channel. RWP does not prescribe a protocol.

An answer that does not reveal too much.

Ms Roth’s specialist system has set up a restricted view for building applications. It shows only what is intended for applicants: for example, the processing status.

What Mr Berger sees

The status of his application, without plans, third-party opinions or internal notes. That reassures him more than any evasive answer.

What Ms Roth gains

She does not have to choose between “show everything” and “say nothing”. The view is declared as a channel in the DID document.

What the view is not

It is not the complete Record. Its content cannot be checked against the recordHash and therefore must not be presented as a validated Record.

Responsibility remains

The system still decides who receives which view. An entry in the DID document grants no right.

The simple boundary: A service entry says that a channel exists. It does not say that anyone may use it.

Not every Record has to explain everything itself.

Which functions make sense for a Record depends on its type. A building application can be compared and validated. Another type might need a spell check or a word count.

The SchemaRecord as source

A SchemaRecord can optionally list in the field capabilities which functions are intended for Records of this type. It is the place where the type is defined anyway.

The resolver takes over

From this list, a resolver can populate the RWPFunctionRegistry entry for every Record of this type.

Maintained once, valid everywhere

The declaration lives at type level and is therefore versioned and traceable. It does not have to be repeated in every single Record.

Descriptive, not binding

The list states what a type supports. A resolver is not necessarily obliged to implement the named functions itself.

Look first, then act.

Ms Roth also uses a digital assistant that prepares tasks. Before it does anything, it can check in the DID document which functions are intended for a Record at all.

Discovery

The assistant resolves the DID and reads the function list. It sees whether, for example, “compare” or “validate” is available, without having to establish a connection first.

Caution

To the assistant, the information in the DID document is initially unverified input. A function with consequences, such as “publish”, is not simply triggered on its own.

Authorisation

Whether it may use such a function is decided by the access rules and the responsible person, not by the list.

The benefit

The assistant does not have to guess or try blindly. It knows what is intended and asks for everything else.

Important: Declaring a function is a pointer to availability. It replaces neither an authorisation nor a check of the response.

Channels come and go. The Record stays.

In autumn, Ms Roth’s system is extended. A new channel is added, an old one is removed. The Record itself stays exactly as it is.

Without a new version

service entries may be added, changed or removed at any time. They affect neither the identity nor the content of the Record and do not create a new Record version.

With a timestamp

Whenever something changes, updated in the DID document is adjusted. That keeps it visible that something has changed.

In the versionId

Where present, the service field is included in the versionId of the DID document. Changes can therefore be evidenced.

Not part of the Record hashes

The entries are not part of recordHash, versionHash or contentHash. The integrity of the Record is unaffected.

From a phone call to a clear path.

1. Question

Someone wants to know what is possible with a Record or how far it has progressed.

2. Resolve

The DID is resolved. The DID document names the recordEndpoint and, where present, further service entries.

3. Choose

Depending on role and access rules, the appropriate channel is chosen: the full Record, the restricted view or the function list.

4. Validate

Whoever receives the full Record validates it according to the familiar rules. A restricted view is not presented as a validated Record.