Important
This repository is work in progress.
This repository contains forms to fill in the (pre scan) DPIA form.
The sources/
directory contains the speficications of the (Pre Scan) DPIA Forms and the logic
on how fields within the forms are related. Currently, only the DPIA is implemented. The DPIA.yaml
file contains the tasks within the DPIA, the DPIA_field_mapping.yaml
contains the way tasks are
related and the begrippenkader.yaml
contains glossary items.
The JSON-schema specification of sources/DPIA.yaml
and sources/DPIA_field_mapping.yaml
can be found
the schemas/
directory.
The Python script script/validate
can be used the validate the YAML's agains their schema. It can be
invoked, for example using UV, by
uv run --with jsonschema --with pyyaml script/validate --schema schemas/schema_DPIA.json --source sources/DPIA.yaml export --path form-app/src/assets/DPIA.json
This will validate the DPIA yaml and export it in JSON format to the specified file.
TODO
The DPIA form can be downloaded from here: DPIA form. This is a user interface to fill in the DPIA form. Because it is a standalone HTML file no installation is needed and it can be rendered in any browser.
The restrictions imposed on the project are that the form must be accessible without any installation or hosting. A standalone HTML file fulfills this requirement and was hence chosen as a suitable solution. Form definitions are declared in YAML format. A simple Vue 3 application then loads this YAML and renders the form.