Ga naar hoofdinhoud

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​

StandardScope
Archiefwet 1995Statutory basis for government records retention
MDTO (Metagegevens Duurzaam Toegankelijke Overheidsinformatie)Archival metadata XML schema
NEN 15489Records management principles, destruction workflows
NEN-ISO 16175-1:2020Principles and functional requirements for records in digital office environments
OAIS (ISO 14721)Open Archival Information System — SIP/AIP/DIP packaging model
PRONOMFile format identification for MDTO bestandsformaat
WCAG AAAccessibility for archivist-facing interfaces

Archival Metadata (MDTO)​

Every object in an archive-enabled schema carries MDTO-compliant fields in its retention property:

MDTO FieldObject FieldDescription
archiefnominatieretention.archiefnominatievernietigen or blijvend_bewaren
archiefstatusretention.archiefstatusnog_te_archiveren, gearchiveerd, overgedragen
bewaartermijnretention.bewaartermijnISO 8601 duration (e.g., P5Y, P20Y)
archiefactiedatumretention.archiefactiedatumCalculated date for archival action
classificatieretention.classificatieSelectielijst category code
toelichtingretention.toelichtingFree-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):

AfleidingswijzeCalculation
aanmaakdatum + bewaartermijnCreation date + retention period
wijzigingsdatum + bewaartermijnLast modification date + retention period
einddatum + bewaartermijnObject's end date + retention period
vaste_datumFixed absolute date
Custom Twig expressionEvaluated 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:

MethodSource that is watched
ander_datumkenmerksourceDateProperty on the record
eigenschapbronEigenschap on the record
afgehandeld, termijnclosureField 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 defaultNominatie at 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_removed with the old date. This applies to the methods without a fallback (ander_datumkenmerk and the relation methods); afgehandeld, termijn and eigenschap fall 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:

  1. Scans for objects where retention.archiefactiedatum < today AND retention.archiefnominatie = vernietigen
  2. Excludes objects with active legal holds (retention.legalHold.active = true)
  3. Creates a destruction list object in the archival register containing references to all eligible objects
  4. Notifies the designated archivist(s)

Destruction List Workflow​

A destruction list is itself a register object that passes through a configurable approval workflow:

StepActorAction
1SystemGenerate destruction list with object references
2ArchivistReview list, remove objects that should not be destroyed
3ArchivistApprove destruction list
4ManagerCounter-sign (optional, configurable)
5SystemExecute destruction (soft delete → physical purge)
6SystemGenerate 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)
  • archiefactiedatum and bewaartermijn per object
  • Selectielijst categories
  • Approval chain (names, timestamps, signatures)
  • Total count and data volume destroyed
  • Certificate UUID and timestamp

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

ElementIn the exportWhere the value comes from
identificatieAlwaysThe object's UUID, with the organisation as the source
naamAlwaysThe object's name
aggregatieniveauWhen declaredx-openregister-archival.aggregationLevel (Archief, Serie, Dossier, Archiefstuk)
classificatieWhen knownThe record's classification
trefwoordLeft out
omschrijvingWhen knownThe record's description
raadpleeglocatieLeft out
dekkingInTijdWhen declared and set on the recordx-openregister-archival.temporalCoverage, naming the properties that hold the start and end
dekkingInRuimteLeft out
taalLeft out
eventWhen there is historyThe record's events, with the responsible actor when it is known
waarderingAlways (required)The archiefnominatie: Blijvend te bewaren, Tijdelijk te bewaren, or Nader te bepalen
bewaartermijnWhen knownThe retention period and the disposal date
informatiecategorieWhen knownThe selectielijst category
isOnderdeelVanWhen a containing record lists this oneThe records that reference this one and whose schema's x-openregister-archival.containment property lists it as a part
bevatOnderdeelWhen declared and set on the recordx-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
heeftRepresentatieOne per fileThe files packaged with the record
aanvullendeMetagegevensLeft out
gerelateerdInformatieobjectLeft out
archiefvormerAlways (required)The organisation name in the OpenRegister settings
betrokkeneWhen declared and set on the recordx-openregister-archival.parties, naming the properties that hold a party; the property name is the relation type
activiteitLeft out
beperkingGebruikAlways (required)The declared useRestriction, else an active legal hold (type Overig), else "Nader te bepalen"

bestand (one document per file)

ElementIn the exportWhere the value comes from
identificatieAlwaysThe file's id
naamAlwaysThe file name
omvangAlwaysThe size in bytes
bestandsformaatAlwaysThe PRONOM format
checksumAlwaysAlgorithm, value and the date it was computed
URLBestandLeft outFiles travel inside the SIP package
isRepresentatieVanAlwaysThe 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 ComponentHow OpenRegister supports it
ArchiefregistratiecomponentObject archival metadata (MDTO), retention tracking
ArchiefbeheercomponentDestruction workflows, legal holds, selectielijsten
Archiefportaalcomponente-Depot transfer (SIP packages), transfer lists