Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ Versioning follows [Semantic Versioning](https://semver.org/).

---

## [0.0.10] – 2026-10-22

Implemented CfC 10 outcomes. See
Citizen autonomy:
- [RWC#5](https://github.com/recordweb/rwc/issues/5)

## [0.0.9] – 2026-10-06

Implemented CfC 8 outcomes. See
Expand Down
28 changes: 15 additions & 13 deletions chapters/accountability-trust.bs
Original file line number Diff line number Diff line change
Expand Up @@ -87,27 +87,29 @@ The principle is simple: when a [=Case=] is finalised, its [=Merkle root=] (and
The Hyperledger anchor is an option, not an obligation.


## The Optional Pod: Solid as Citizen-Controlled Storage ## {#optional-solid}
## The Issued Copy: Proof Without Dependence ## {#section-issuedcopy}

For situations in which a [=Record=] or [=Case=] belongs not to an authority but to a citizen (as the subject, recipient, or rights-holder) RecordWeb offers a second optional extension: delivery and storage of [=Records=] in a Solid Pod [[SOLID]].
A finalized Record stays where it originated. This does not mean that the addressee of a Record's content has to trust the issuing system indefinitely. A DID document alone proves only that something existed and that it must have a certain hash. If the issuer no longer delivers the content, or presents different content, that proof is of little use to the person who relies on it.

Solid is a W3C-based protocol that enables individuals to store their own data in a personal online data store (a *Pod*), fully under their own control. Applications and institutions may read from or write to a Pod only with explicit, revocable consent. The citizen is not the recipient of a copy, the citizen is the **owner of the original**.
RecordWeb therefore distinguishes the Record from the **Issued Copy**. The term is borrowed from classical archival practice: an *Ausfertigung* is the version of a document that has actually left the issuer for the addressee, as distinct from the version the issuer retains. Typical examples are an identity card, a certificate, or a deed.

The principle for RecordWeb is straightforward: when an authority finalises a [=Record=] that concerns a specific citizen, it may (with the citizen's consent) deliver that [=Record=] directly into the citizen's Pod. The [=Record=] retains its DID, its [=version graph=], and its cryptographic integrity. What changes is the storage location: the authority's system and the citizen's Pod both hold a reference to the same immutable, permanently addressable object.
**Issuance.** When an issuer decides to hand out content, it decides which Version and which Representation are issued. This is often not the primary Representation: the working format may be a word-processing document, while the document handed out is a PDF. The issuance is itself documented in the Record: it produces a new finalized Version that contains exactly the issued Representation and a block describing the issuance (date, optionally the addressee, a validity period, and a reason). This Version is signed like any other.

Typical use cases for citizen-held Records include:
**Issued Copy.** The Issued Copy is the serialisation of this one Version, including its proofs, as a self-contained artifact. It is not a Record. It has no DID of its own, because a DID needs a resolver, and the Issued Copy is meant to work without one. It has no version graph and no state.

- A driving licence issued by the road traffic authority
- A medical image (X-ray, MRI) delivered by a hospital
- A residence registration confirmation issued by the municipality
- A building permit delivered to the applicant
- A diploma or professional certification
**What it achieves.**
- The holder can prove that the issuer issued exactly this content, without the issuer's cooperation. The issuer cannot later claim to have issued something else, because the issued Version is part of its own Record and carries its signature.
- The artifact can be bound to an addressee or be a bearer artifact. A share certificate that does not name a person is one example. In practice, binding to an addressee will be common, but RecordWeb does not require it.
- An Issued Copy can be verified without access to the issuing system, provided the verifier trusts the key that signed it.

In each case, the citizen can present the [=Record=] to any third party (an employer, an insurer, a foreign authority) who can independently verify its authenticity via the DID and the cryptographic hash, without querying the issuing authority. The authority's system remains authoritative; the citizen's Pod holds a provable, portable copy.
**What it does not achieve.**
- It does not prove that the person presenting it is the addressee. This is a matter for the check in the situation at hand.
- It does not prove that the issuance is still valid. A validity period limits this risk, but an issuance cannot be revoked in an offline setting. This is comparable to a lost identity card: the replacement leaves two in circulation until the first one expires.
- It does not replace the Record. The issuer's Record remains the authoritative institutional object.

Note: The Solid Pod option complements, not replaces, the authority's own record keeping. The issuing authority retains the [=Record=] in its own RecordWeb system. The Pod delivery is an additional output, a citizen-facing endpoint for Records whose primary subject is the individual.
An Issued Copy is typically, but not necessarily, an outgoing Record. An outgoing Record can also be a report sent by e-mail without any issuance.

The Solid Pod anchor is an option, not an obligation. It requires the citizen to have a Pod and to have granted the relevant authority write access. The RecordWeb specification provides a `delivery-target` field in the optional [=metadata=] extension block for this purpose.
**Solid Pod and Nanopublications.** The addressee holds an independently verifiable artifact locally, and its backup is the addressee's own choice. RecordWeb therefore does not define Solid Pod or Nanopublications integration.


## Trust Through Transparent Governance and Publication ## {#section-accountability-trust}
Expand Down
18 changes: 17 additions & 1 deletion chapters/the-record.bs
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,16 @@ This taxonomy describes conceptual purposes. It is not a mandatory implementatio

## The Three Components of a Record ## {#section-record-components}

Every [=Record=] in RecordWeb consists of three inseparable components: its <dfn>identity</dfn>, its <dfn>payload</dfn>, and its <dfn>metadata</dfn>.
Every [=Record=] in RecordWeb consists of four inseparable components: its <dfn>identity</dfn>, its <dfn>payload</dfn>, its <dfn>metadata</dfn>, and its <dfn>integrity evidence</dfn>.

**[=Identity=]** is what makes the [=Record=] unambiguous. Globally, permanently, and without a foreign register. Every [=Record=] carries a unique identifier that identifies it across system boundaries, organisational boundaries, and time boundaries. This identifier is entirely independent of the [=Record=]'s physical storage location.

**The [=payload=]** is the actual content, the information that the [=Record=] carries. A [=payload=] always follows a schema defined for its Record type. The schema is the contract between the [=Record=] and the system. A [=Record=] can carry multiple payload representations of the same information: a working format in [=draft=] state and a long-term format in [=finalized=] state.

**[=Metadata=]** are the dimensions along which a [=Record=] can be found, linked, and classified. They describe the [=Record=] from the outside without needing to know its content. The minimum set is deliberately kept small: type, timestamp, responsible parties, state, provenance references, classification, and a free tag field.

**[=Integrity evidence=]** is the hash value that makes any change to the Record detectable. Beyond it, each finalized Version carries one or more proofs, which allow the Version to be verified independently [issued copy](#section-issuedcopy).


## Type and Schema: The Record's Contract ## {#record-type-schema}

Expand Down Expand Up @@ -101,3 +103,17 @@ A citizen submits an application for a building permit.

**In RecordWeb:** the application is captured as a [=Record=] of the type *building-permit-application*. Its schema specifies which fields must be present: parcel number, applicant, description of the construction project, date. The [=Record=] immediately receives a unique identity. Once fully captured, it is finalised. From that moment on, it is immutable, but accessible, linkable, and discoverable for all involved.


## Transit: The Direction of a Record ## {#section-record-transit}

Alongside type and state, a Record carries a third, independent classification: its **transit**. The type describes what a Record is, the state describes its maturity, and the transit describes its direction relative to the namespace in which it was created.

The classification originates in classical records management, which distinguishes incoming, internal, and outgoing records (in German practice: Eingang, Verarbeitung, Ausgang).

- A Record with transit **incoming** is created in a namespace upon receipt of information that originates outside it. A physiotherapist who captures an X-ray image brought by a patient creates such a Record. It is a copy of externally originated information, and its origin is stated explicitly as a provenance reference.
- A Record with transit **internal** is intended for use within the namespace. It is not meant to be handed out or published.
- A Record with transit **outgoing** is intended to leave the namespace. A decision handed to its addressee, a report sent by e-mail, or an [issued copy](#section-issuedcopy) are examples.

Transit is metadata, not identity. It does not change the DID, the type, or the state of a Record. It reflects the circumstances of the Record's origin and is declared when the Record is created. The legal consequences of a classification are not defined by RecordWeb.

The provenance reference of an incoming Record builds on the same idea as the source-provenance statement in [Source Integration](#chapter-sourceintegration): it names where information came from without claiming more than is known. The normative requirements are defined in RWP.
29 changes: 29 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ Annex A: Glossary {#glossary}
<dt>Finalisation</dt>
<dd>The explicit act by which a [=Record=] draft is converted into a binding, immutable version. Only finalised versions MAY be the target of a hard link. Finalisation is a human decision, documented with [=record owner=] and timestamp.</dd>

<dt>Issuance</dt>
<dd>The act by which an issuer hands out content, documented in the Record as a finalized Version with an issuance block.</dd>

<dt>Issued Copy</dt>
<dd>A self-contained artifact that contains exactly one issued Version including its proofs. It is not a Record, has no DID, and can be verified without access to the issuing system.</dd>

<dt>Merkle root</dt>
<dd>A cryptographic value calculated from the hash values of a set of [=Records=] that uniquely represents the aggregate state of that set. The [=Case=] [=Merkle root=] represents the state of a complete [=Case=] at a specific point in time.</dd>

Expand All @@ -224,6 +230,9 @@ Annex A: Glossary {#glossary}
<dt>State transition</dt>
<dd>A change of the state of a [=Record=], for example from [=draft=] to [=finalized=]. In RecordWeb, "archiving" is a [=state transition=], not a system migration.</dd>

<dt>Transit</dt>
<dd>The direction of a Record relative to its namespace: incoming, internal, or outgoing.</dd>

<dt>Version graph</dt>
<dd>The entirety of all versions of a [=Record=] and their linkages. Every node is an immutable snapshot; every edge describes a provenance relationship. The [=version graph=] is a [=Directed Acyclic Graph (DAG)=]: directed (from old to new), acyclic (no cycles). It contains [=branches=] and merges.</dd>
</dl>
Expand Down Expand Up @@ -264,10 +273,30 @@ Annex B: Relationship to Existing Standards {#annex-standards}
<tr>
<td>[[DIDCOMM-DISCOVER-FEATURES]]</td>
<td>Complementary. A DIDComm channel can be declared as a service entry; Discover Features can negotiate protocol details at runtime once a connection exists. It does not replace declaration at resolution time.</td>
</tr>
<tr>
<td>ISO/IEC 18013-5</td>
<td>Proximity presentation of mobile driving licences. For such situations the issuer can issue a compact Representation. RecordWeb does not define the transport.</td>
</tr>
<tr>
<td>OpenID4VCI / OpenID4VP</td>
<td>Protocols for issuing and presenting credentials. RecordWeb does not specify how an Issued Copy is transferred to or presented by a holder. These protocols can serve that purpose. RecordWeb defines when and why an artifact is issued, and what it proves.</td>
</tr>
<tr>
<td>[[PROVO]]</td>
<td>PROV-O would be used as serialisation format for RecordWeb lineage documentation to establish interoperability with PROV-O-compatible systems.</td>
</tr>
<tr>
<td>W3C VC Data Model 2.0</td>
<td>An Issued Copy is functionally adjacent to a Verifiable Credential: a signed artifact that a holder presents to a verifier. RecordWeb does not require the VC data model and does not define a VC encoding. An implementation MAY map an Issued Copy to a VC where that serves its purpose.</td>
</tr>
<tr>
<td>W3C VC Data Integrity 1.0</td>
<td>RecordWeb uses the Data Integrity proof structure for the proofs of finalized Versions (see RWP).</td>
</tr>
</tbody>
</table>

RecordWeb is complementary to the Verifiable Credentials ecosystem and does not compete with it. The Record remains the authoritative institutional object, addressed via a DID and retained at its place of origin. The Verifiable Credentials model has no equivalent, since a credential has no origin system it is bound to. Conversely, how an issued artifact is transferred and presented is a concern the credential ecosystem addresses.

Where the receiving party has to retain the content, for example because the payload is too large for a proximity presentation or because the receiving party is itself an institution, RecordWeb does not introduce a transfer protocol. The receiving party creates its own Record with transit *incoming* and an explicit provenance reference. The holder's device does not act as a RecordWeb node.
Loading