From 5041cf0623ff3979e7cb2f4a599bf1d9a91311fb Mon Sep 17 00:00:00 2001
From: Maximilian Moser <maximilian.moser@tuwien.ac.at>
Date: Mon, 10 Mar 2025 23:59:45 +0100
Subject: [PATCH] Omit "version" from deposit form defaults

* missing version fields are handled by the UIJSONSerializer by
  constructing a string of the shape "v{version_index}"
* the "metadata" service component removes both the "version" and
  "publication_date" fields from new versions of records
* experience shows that users rarely put in explicit values for the
  version field, which creates inconsistency
---
 invenio_config_tuw/config.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/invenio_config_tuw/config.py b/invenio_config_tuw/config.py
index 2dc98ad..b913ac4 100644
--- a/invenio_config_tuw/config.py
+++ b/invenio_config_tuw/config.py
@@ -228,7 +228,6 @@ APP_RDM_DEPOSIT_FORM_DEFAULTS = {
     "resource_type": {
         "id": "dataset",
     },
-    "version": "1.0.0",
     "description": "<h2>A primer on your dataset's description (to be edited)</h2><p>The influence of proper documentation on the reusability for research data should not be underestimated!<br>In order to help others understand how to interpret and reuse your data, we provide you with a few questions to help you structure your dataset's description (though please don't feel obligated to stick to them):</p><h3>Context and methodology</h3><ul><li>What is the research domain or project in which this dataset was created?</li><li>Which purpose does this dataset serve?</li><li>How was this dataset created?</li></ul><h3>Technical details</h3><ul><li>What is the structure of this dataset? Do the folders and files follow a certain naming convention?</li><li>Is any specific software required to open and work with this dataset?</li><li>Are there any additional resources available regarding the dataset, e.g. documentation, source code, etc.?</li></ul><h3>Further details</h3><ul><li>Is there anything else that other people may need to know when they want to reuse the dataset?</li></ul>",  # noqa
 }
 
-- 
GitLab