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.
A story from everyday administration
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.
Scene 1 · A phone call
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.
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.
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”.
Scene 2 · The one safe route
In RWP, every DID document has exactly one binding access channel: the recordEndpoint. It is used to retrieve the complete Record.
The Record’s DID stays stable. Where the Record currently resides is stated in the DID document and can change without changing the identity.
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.
Scene 3 · Further channels, voluntary
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.
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.
An entry of type RWPFunctionRegistry shows in machine-readable form which operations are intended for this Record, for example retrieve, compare, validate or publish.
No system has to offer further channels. A system that does not remains conformant. The block is a MAY, not a requirement.
Other type values are possible as well, for example a DIDComm channel. RWP does not prescribe a protocol.
Scene 4 · For Mr Berger
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.
The status of his application, without plans, third-party opinions or internal notes. That reassures him more than any evasive answer.
She does not have to choose between “show everything” and “say nothing”. The view is declared as a channel in the DID document.
It is not the complete Record. Its content cannot be checked against the recordHash and therefore must not be presented as a validated Record.
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.
Scene 5 · Functions belong to the type
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.
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.
From this list, a resolver can populate the RWPFunctionRegistry entry for every Record of this type.
The declaration lives at type level and is therefore versioned and traceable. It does not have to be repeated in every single Record.
The list states what a type supports. A resolver is not necessarily obliged to implement the named functions itself.
Scene 6 · The digital assistant
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.
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.
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.
Whether it may use such a function is decided by the access rules and the responsible person, not by the list.
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.
Scene 7 · What may change
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.
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.
Whenever something changes, updated in the DID document is adjusted. That keeps it visible that something has changed.
versionId
Where present, the service field is included in the versionId of the DID document. Changes can therefore be evidenced.
The entries are not part of recordHash, versionHash or contentHash. The integrity of the Record is unaffected.
Scene 8 · The story as a sequence
Someone wants to know what is possible with a Record or how far it has progressed.
The DID is resolved. The DID document names the recordEndpoint and, where present, further service entries.
Depending on role and access rules, the appropriate channel is chosen: the full Record, the restricted view or the function list.
Whoever receives the full Record validates it according to the familiar rules. A restricted view is not presented as a validated Record.