Here, we introduce the Leiden DMP template, with all its fields, but in programmatic form. Easier to create, update, version-control, and compile to any required output format — even .docx, if anyone still insists on Microsoft Word.
Richard Karlsson Linnér · Universiteit Leiden · 13 November 2026
This programmatic template was developed to comply with all applicable data management requirements, from international down to institutional: Science Europe Practical Guide to the International Alignment of RDM (2021) · Netherlands Code of Conduct for Research Integrity · AVG/GDPR · Leiden University Data Management Regulations · Leiden Law School Research Data Protocol (2025). It adds programmatic features to the already comprehensive Leiden DMP and produces the same outputs: PDF, HTML, plain text, and Word if needed. By reproducing the v4.3 template exactly, it should be fully compliant with University policy.
Source: Zenodo
The Leiden University DMP template v4.3. The front page already looks programmatic: fields have IDs (0.1, 0.5, 0.12), a label, and a typed value.
But Word struggles with:
.docx or .pdf files. How do you line-by-line review what changed between versions? How do you easily produce a trace of how a field changed over time?.docx footer holds data to manage: a version number and a date (v. 4.3 / 20231124). This researcher has received DPIA and other templates where the footer version was already broken against the filename version. The double versioning also violates the single source of truth principle (SSOT; cf. Hunt & Thomas, The Pragmatic Programmer, 1999).~$ lock files, autoformat, spellcheck. Most has little to do with data management. A worldwide Office 365 outage today revealed another reason why DMPs should not be locked into a Microsoft Office format.Overall, Word struggles with the principle of a DMP as a living, accurate document: one that collects data continuously from various programmatic sources and that remains up to date.
Copy-paste, copy-waste
Much of this information has to be hand-copied from one system to another. Researchers can handle tedium, but this is a buzzkill even by academic standards, especially for those who already work programmatically to avoid error-prone hand-copying. Hand-copying from one system to another is what keeps admin employed; for a researcher, it is a substitute for the actual research.
And once copied, the values no longer track the source. The programmatic version is easily updated on demand from the source.
Nothing changes for the DMP: same template, same fields, same information. But for a power user, this workflow will make the information more relevant, more up to date, and easier to verify. Thus, it improves compliance. Who is this for? Researchers with programmatic data flows or high-performance computing experience. They are used to structuring and describing data, but not inside a fixed template form. Here, e.g., every field carries a schema ID, a type, and validation rules. The Markdown source on the left compiles to a styled PDF that matches the Word template. On the right, the DMP data as JSON: flat keys, one row per DMP, loadable as a data frame.
| 0. Administrative details | ||
| 0.1 | Contact | Dr. A. de Vries a.de.vries@law.leidenuniv.nl |
| 0.3 | Project | Veni: The labor market consequences of unexpected health shocks |
| 0.5 | Duration | 01-01-2025 – 31-12-2027 |
| 0.12 | Personal data | ☑ I collect personal data and I will contact the privacy officer. |
| 1. Data collection | ||
| 1.1 | Existing data? | ☑ Publicly available ☑ Other: CBS microdata |
| 1.6 | Data size |
Raw: 5 GB (CBS RA) Output: 50 MB Synthetic: 200 MB |
Every field number in the form (0.1, 0.5, 1.1) maps to a key in the JSON. Both are derived from a single YAML schema (SSOT): one source defines the template, the form, and the validation rules.
The researcher understands the project, makes decisions, and writes explanations. The machine collects, transforms, validates, formats, versions, and aggregates.
The DMP carries its own status field, and Git records every change. At each transition, make freeze produces a dated PDF for institutional archival.
When a paper is published, it gets an archival-mode DMP: the full planning template obscures that end state with N/A fields, scrubbed sections, and empty rows, which looks incomplete. For this programmatic template, we have developed an archival version that better matches the end stage of a project, focused on replication, archival, and future-proofing, while preventing disclosure of project internals and remaining fully publishable. Ultimately, it is the proof that the project is closed and all code and data are FAIR. Example: "Where will you store the data?" becomes "Where was the data deposited?" The archival record documents what actually happened, alongside the original plan.
What this enables at scale
Same template, same fields. One is a text file.
For now, the Markdown version reads “This version was created using the Markdown Edition.”
Want to know more or see it in action? r.karlsson.linner@law.leidenuniv.nl