Open ppanero opened 3 years ago
DataCite uses kernel-4 for all the 4 version json flavors because that matches how they do the XML validation (https://github.com/datacite/schema/blob/master/source/json/kernel-4.3/datacite_4.3_schema.json). I think using kernel-4.y makes more sense, and I've confirmed that the DataCite JSON API will accept the point version in the schema field. This means there will be some drift between the DataCite examples and the ones invenio uses...but we have that a bit already.
To correctly make this change, in addition to the RDM stuff the jsonschema in https://github.com/inveniosoftware/datacite/blob/master/datacite/schemas/datacite-v4.3.json should be changed. There might need to be a new rule added so the XML format behaves; this should just be checked after the schema is updated.
I'm focusing on other DataCite serialization issues first, but I can get to this afterwards if no one else picks this up.
This issue was automatically marked as stale.
Datacite Export in landing page: schema version shows kernel-4, should we change to kernel-4.y