diff --git a/swh/deposit/tests/api/test_checks.py b/swh/deposit/tests/api/test_checks.py
--- a/swh/deposit/tests/api/test_checks.py
+++ b/swh/deposit/tests/api/test_checks.py
@@ -162,6 +162,38 @@
""",
),
+ (
+ "codemeta-date-month",
+ # Allowed by ISO8601, therefore by schema:Date, but not by xsd:date
+ f"""\
+
+ some url
+ some id
+ nar
+ no one
+ 2020-12
+ 2020-12
+ 2020-12
+ {PROVENANCE_XML}
+
+ """,
+ ),
+ (
+ "codemeta-date-year",
+ # Allowed by ISO8601, therefore by schema:Date, but not by xsd:date
+ f"""\
+
+ some url
+ some id
+ nar
+ no one
+ 2020
+ 2020
+ 2020
+ {PROVENANCE_XML}
+
+ """,
+ ),
(
"codemeta-datetimes",
# technically, only Date is allowed for datePublished; but we allow DateTime
diff --git a/swh/deposit/xsd/codemeta.xsd b/swh/deposit/xsd/codemeta.xsd
--- a/swh/deposit/xsd/codemeta.xsd
+++ b/swh/deposit/xsd/codemeta.xsd
@@ -16,8 +16,18 @@
+
+
+
+
+
-
+