{% extends 'ddm/admin/base.html' %} {% block page_title %}Data Donation Overview{% endblock %} {% block main_heading %}Data Donation Overview{% endblock %} {% block main_body %}

Data donations from participants are collected through File Uploaders. Each file uploader is associated with a set of Donation Instructions and one or multiple Donation Blueprints.

File Uploaders can either be configured to expect a single file as a donation (e.g., one JSON file) or to expect a ZIP container as a donation.
If a File Uploader expects a single file, one Donation Blueprint can be associated to this uploader.
If a File Uploader expects a ZIP container, one or multiple Donation Blueprints can be associated to this uploader.

A Donation Blueprint defines how the data contained in a single file (e.g., in a .json or a .csv file) will be validated and extracted.
If a Donation Blueprint is assigned to a ZIP File Uploader, an additional file path must be provided that defines where the file is located within the ZIP container. The validation and extraction logic will then be applied to all files in a ZIP container that match this file path.

File Uploader Configuration
{% for uploader in file_uploaders %} {% empty %} {% endfor %}
Index File Uploader Upload Type Instructions Associated Blueprints
{{ uploader.index }} {{ uploader.name }} (Edit | Delete) {{ uploader.upload_type }} Edit Instructions
    {% for blueprint in uploader.donationblueprint_set.all %}
  • {{ blueprint.name }} (Edit | Delete)
  • {% empty %} No associated Blueprints {% endfor %}
You have yet to create a File Uploader for this project.
+  Create new File Uploader +  Create new Donation Blueprint
Unassociated Donation Blueprints
{% for blueprint in lonely_blueprints %} {% empty %} {% endfor %}
Name
{{ blueprint.name }} Edit | Delete
No unassociated Donation Blueprints.
+  Create new Donation Blueprint
🠐 Back
{% endblock %} {% block breadcrumbs %} Projects / "{{ project.name|truncatechars:15 }}" Project / Data Donation Overview {% endblock %}