datacite / schema

DataCite Metadata Schema Repository
https://schema.datacite.org
44 stars 16 forks source link

Schema 4.5 #119

Closed KellyStathis closed 1 year ago

KellyStathis commented 1 year ago

Purpose

Update to schema version 4.5.

Approach

Directory structure

Open Questions and Pre-Merge TODOs

Learning

Types of changes

Reviewer, please remember our guidelines:

KellyStathis commented 1 year ago

I think the /specs for 4.5 are missing. This is basically testing the XSD against examples. Check the specs folder, that is missing. Test are important and show we are being through in the revision and assure backwards compatibility. But one needs the examples to run the specs.

Thanks for this @kjgarza. I can provide the examples shortly, but I'm not sure how to update the .rb tests themselves. I think this might need to fall under the 4.5 implementation.

As a note, we will also be changing the examples and reducing the number of full examples that are maintained by the MWG (see: https://github.com/datacite/metadata-wg/discussions/15)

kjgarza commented 1 year ago

I think if you duplicate the whole folder and change the references to 4.5 you would at least cover backwards compatibility and the new elements and properties will be the only that will need extra work

KellyStathis commented 1 year ago

@kjgarza Most of the example files are changing and some are being removed, so I think it will need a little more work to update than just changing references—unless we want to point back to some of the 4.4 examples for testing against the 4.5 schema?

KellyStathis commented 1 year ago

I added to the "open questions and pre-merge todos" the question about bug fixes. I think of these, https://github.com/datacite/datacite/issues/1709 is the most feasible because RelatedItem (and this bug) was only introduced in 4.4. The other two have existed for longer and we need to ensure changes are backwards compatible.