Archiving & Records Management
Overview
OpenRegister implements a complete records management and archiving system for Dutch government compliance. This covers MDTO-compliant archival metadata on objects, selectielijsten-based retention scheduling, automated destruction workflows with multi-step approval, legal hold management, destruction certificate generation, and e-Depot transfer (SIP packages) for permanent archival at the Nationaal Archief or a municipal e-Depot.
Standards Compliance
| Standard | Scope |
|---|---|
| Archiefwet 1995 | Statutory basis for government records retention |
| MDTO (Metagegevens Duurzaam Toegankelijke Overheidsinformatie) | Archival metadata XML schema |
| NEN 15489 | Records management principles, destruction workflows |
| NEN-ISO 16175-1:2020 | Principles and functional requirements for records in digital office environments |
| OAIS (ISO 14721) | Open Archival Information System — SIP/AIP/DIP packaging model |
| PRONOM | File format identification for MDTO bestandsformaat |
| WCAG AA | Accessibility for archivist-facing interfaces |
Archival Metadata (MDTO)
Every object in an archive-enabled schema carries MDTO-compliant fields in its retention property:
| MDTO Field | Object Field | Description |
|---|---|---|
archiefnominatie | retention.archiefnominatie | vernietigen or blijvend_bewaren |
archiefstatus | retention.archiefstatus | nog_te_archiveren, gearchiveerd, overgedragen |
bewaartermijn | retention.bewaartermijn | ISO 8601 duration (e.g., P5Y, P20Y) |
archiefactiedatum | retention.archiefactiedatum | Calculated date for archival action |
classificatie | retention.classificatie | Selectielijst category code |
toelichting | retention.toelichting | Free-text explanation |
Schema Archive Configuration
Schemas can define defaults so all new objects start with correct archival metadata:
{
"archive": {
"enabled": true,
"defaultNominatie": "vernietigen",
"defaultBewaartermijn": "P5Y",
"purgeAfter": "P10Y"
}
}
When a new object is created in this schema, retention is automatically populated with archiefnominatie: "vernietigen", archiefstatus: "nog_te_archiveren", bewaartermijn: "P5Y", and archiefactiedatum calculated as creation date + 5 years.
Retention Lifecycle
nog_te_archiveren → [archiefactiedatum reached] → destruction list OR e-Depot transfer
↓
gearchiveerd / overgedragen
Archiefactiedatum Calculation (Afleidingswijzen)
The archiefactiedatum is calculated using configurable afleidingswijzen (derivation methods):
| Afleidingswijze | Calculation |
|---|---|
aanmaakdatum + bewaartermijn | Creation date + retention period |
wijzigingsdatum + bewaartermijn | Last modification date + retention period |
einddatum + bewaartermijn | Object's end date + retention period |
vaste_datum | Fixed absolute date |
| Custom Twig expression | Evaluated at runtime |
The destruction date follows its source date
The destruction date (archiefactiedatum) is recalculated on every save in which its source date changed. The source depends on the schema's derivation method:
| Method | Source that is watched |
|---|---|
ander_datumkenmerk | sourceDateProperty on the record |
eigenschap | bronEigenschap on the record |
afgehandeld, termijn | closureField on the record |
Relation methods (gerelateerde_zaak, hoofdzaak, zaakobject, ingangsdatum_besluit, vervaldatum_besluit) | sourceRelation on the record, and sourceRelationProperty on the related record |
- A source date that appears after the record was created sets the destruction date. A record that has no nomination yet gets the schema's
defaultNominatieat the same moment. - A corrected source date moves the destruction date.
- A cleared source date clears the destruction date, and the audit trail records
archival.destruction_date_removedwith the old date. This applies to the methods without a fallback (ander_datumkenmerkand the relation methods);afgehandeld,termijnandeigenschapfall back to the creation date as before.
When a record's date that other records read through a relation changes, those records follow in a background job (RelatedRetentionRecalculationJob). For example, a contact person schema with sourceRelation: client and sourceRelationProperty: relationshipEndedAt gets a new destruction date for every contact of a client whose end date was set, corrected or cleared. The client's own save is not slowed down, and repeated saves of one client queue the job once.
Destruction Workflow
Automated Destruction Scheduling
DestructionCheckJob (a TimedJob) runs daily and:
- Scans for objects where
retention.archiefactiedatum< today ANDretention.archiefnominatie=vernietigen - Excludes objects with active legal holds (
retention.legalHold.active= true) - Creates a destruction list object in the archival register containing references to all eligible objects
- Notifies the designated archivist(s)
Destruction List Workflow
A destruction list is itself a register object that passes through a configurable approval workflow:
| Step | Actor | Action |
|---|---|---|
| 1 | System | Generate destruction list with object references |
| 2 | Archivist | Review list, remove objects that should not be destroyed |
| 3 | Archivist | Approve destruction list |
| 4 | Manager | Counter-sign (optional, configurable) |
| 5 | System | Execute destruction (soft delete → physical purge) |
| 6 | System | Generate destruction certificate |
Each step is tracked with timestamps, actor identities, and audit trail entries.
Destruction Certificate
After execution, the system generates a destruction certificate containing:
- List of destroyed objects (UUID, title, schema, register)
archiefactiedatumandbewaartermijnper object- Selectielijst categories
- Approval chain (names, timestamps, signatures)
- Total count and data volume destroyed
- Certificate UUID and timestamp
Legal Hold Management
Objects can be placed under legal hold to prevent destruction:
POST /api/objects/{register}/{schema}/{id}/legal-hold
{
"reason": "Lopende bezwaarprocedure",
"heldBy": "juridisch-team",
"expiresAt": "2027-01-01"
}
Objects with active legal holds are excluded from destruction lists. Legal holds appear in audit trail and MDTO metadata.
Frozen records cannot be deleted
A frozen record (POST /api/objects/{register}/{schema}/{id}/freeze) refuses every change to its data, and it refuses deletion too. A DELETE on a frozen record answers 409 with a message that names who froze it and since when:
409 Conflict
{
"error": "This record is locked by Anna de Vries since 2026-10-30. Unlock it before deleting it.",
"errors": { "code": "object-frozen", "frozenBy": "anna", "frozenAt": "2026-10-30T09:12:00+00:00" }
}
The refusal holds on every delete path: the single delete, the bulk delete and a cascade. A cascade that reaches a frozen record is refused as a whole. To delete the record, unfreeze it first (DELETE /api/objects/{register}/{schema}/{id}/freeze).
A lifecycle state can freeze the record on entry
A state in the schema's lifecycle can declare that entering it freezes the record, so the data stops changing when the phase closes, without anybody clicking Freeze:
"x-openregister-lifecycle": {
"field": "status",
"states": {
"vastgesteld": { "freezesObject": true }
}
}
When a transition moves a record into vastgesteld, the record is frozen with state set to vastgesteld, by set to the user who made the move (or system for an automatic one), and a freeze entry on the audit trail. A record that is already frozen keeps its first freeze. freezesObject must be true or false; any other value is refused when the schema is saved. A state block with "enabled": false freezes nothing. Unfreezing works as for a manual freeze.
e-Depot Transfer
MDTO XML Generation
Each object selected for e-Depot transfer generates MDTO-compliant XML:
<mdto:informatieobject xmlns:mdto="https://www.nationaalarchief.nl/mdto">
<identificatie>
<identificatiekenmerk>550e8400-e29b-41d4-a716-446655440000</identificatiekenmerk>
<identificatiebron>OpenRegister/meldingen-register</identificatiebron>
</identificatie>
<naam>Geluidsoverlast Kerkstraat 12</naam>
<waardering>vernietigen</waardering>
<bewaartermijn>P5Y</bewaartermijn>
<archiefvormer>Gemeente Voorbeeld</archiefvormer>
<bestand>
<naam>bijlage.pdf</naam>
<omvang>204800</omvang>
<bestandsformaat>fmt/276</bestandsformaat>
<checksum>
<checksumAlgoritme>SHA-256</checksumAlgoritme>
<checksumWaarde>abc123...</checksumWaarde>
</checksum>
</bestand>
</mdto:informatieobject>
The XML is validated against the MDTO XSD schema before inclusion in any SIP package.
Which MDTO elements the export carries
The export writes MDTO-XML 1.0.1. The tables follow the order of the XSD. An optional element is written only when the record or its schema supplies a value; the export never writes an empty element.
informatieobject
| Element | In the export | Where the value comes from |
|---|---|---|
identificatie | Always | The object's UUID, with the organisation as the source |
naam | Always | The object's name |
aggregatieniveau | When declared | x-openregister-archival.aggregationLevel (Archief, Serie, Dossier, Archiefstuk) |
classificatie | When known | The record's classification |
trefwoord | Left out | |
omschrijving | When known | The record's description |
raadpleeglocatie | Left out | |
dekkingInTijd | When declared and set on the record | x-openregister-archival.temporalCoverage, naming the properties that hold the start and end |
dekkingInRuimte | Left out | |
taal | Left out | |
event | When there is history | The record's events, with the responsible actor when it is known |
waardering | Always (required) | The archiefnominatie: Blijvend te bewaren, Tijdelijk te bewaren, or Nader te bepalen |
bewaartermijn | When known | The retention period and the disposal date |
informatiecategorie | When known | The selectielijst category |
isOnderdeelVan | When a containing record lists this one | The records that reference this one and whose schema's x-openregister-archival.containment property lists it as a part |
bevatOnderdeel | When declared and set on the record | x-openregister-archival.containment, naming the relation property that holds the parts ("containment": "onderdelen"); a part named only by id gets the name of the record it points at |
heeftRepresentatie | One per file | The files packaged with the record |
aanvullendeMetagegevens | Left out | |
gerelateerdInformatieobject | Left out | |
archiefvormer | Always (required) | The organisation name in the OpenRegister settings |
betrokkene | When declared and set on the record | x-openregister-archival.parties, naming the properties that hold a party; the property name is the relation type |
activiteit | Left out | |
beperkingGebruik | Always (required) | The declared useRestriction, else an active legal hold (type Overig), else "Nader te bepalen" |
bestand (one document per file)
| Element | In the export | Where the value comes from |
|---|---|---|
identificatie | Always | The file's id |
naam | Always | The file name |
omvang | Always | The size in bytes |
bestandsformaat | Always | The PRONOM format |
checksum | Always | Algorithm, value and the date it was computed |
URLBestand | Left out | Files travel inside the SIP package |
isRepresentatieVan | Always | The record the file belongs to |
The export refuses a record without a UUID, a name, an appraisal or a
retention period, and an instance without an organisation identifier. It writes
no document with a missing required value. The one required element with a
default is beperkingGebruik: when nothing is declared and no legal hold is
active, it carries "Nader te bepalen" and the transfer logs a warning for that
record, so an archivist can see which records still need a use restriction.
SIP Package Assembly
Objects approved for transfer are packaged into SIP (Submission Information Package) archives per OAIS (ISO 14721):
- Self-contained ZIP archive
- Contains: MDTO XML metadata per object, all associated content files, a manifest with checksums
- Suitable for ingest by the Nationaal Archief or any OAIS-compliant e-Depot
Transfer Workflow API
GET /api/archival/eligible List objects eligible for archival
POST /api/archival/transfer-list Create a transfer list
GET /api/archival/transfer-list/{id} Get transfer list status
POST /api/archival/transfer-list/{id}/approve Approve transfer list
GET /api/archival/sip/{id} Download SIP package (ZIP)
GET /api/archival/destruction-lists List destruction lists
POST /api/archival/destruction-lists/{id}/approve Approve destruction
GET /api/archival/certificates/{id} Download destruction certificate
GEMMA Component Alignment
| GEMMA Component | How OpenRegister supports it |
|---|---|
| Archiefregistratiecomponent | Object archival metadata (MDTO), retention tracking |
| Archiefbeheercomponent | Destruction workflows, legal holds, selectielijsten |
| Archiefportaalcomponent | e-Depot transfer (SIP packages), transfer lists |
Related Features
- Object Storage & Lifecycle — archival metadata lives on objects; soft delete underpins destruction
- Content Versioning & Audit Trail — audit trail required for destruction evidence
- Access Control (RBAC) — archivists and managers have specific roles in workflows
- Workflow Automation — destruction approval workflows run via n8n