Skip to content

Commit

Permalink
docs: add section on schema changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed Oct 21, 2020
1 parent 7b92757 commit 9bb6f19
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 14 additions & 0 deletions CHANGES.rst
@@ -1,5 +1,19 @@
Changes
=======
Version v1.1.0 (TBD):

- Adds full support for DataCite Metadata Schema v4.2 XML generation.
- Uses Official DataCite JSON Schema, which has the following notable changes
from the previous schema:

- Uses "identifiers" which is a combination of the XML "identifier" and
"alternativeIdentifiers" elements
- "creatorName" is now "name"
- "contributorName" is now "name"
- "affiliations" is now "affiliation" (is still an array)
- There is no longer a funder identifier object (the identifier and type are just
elements)

Version v1.0.1 (released 2018-03-08):

- Fixes schema location url for DataCite v4.1
Expand Down
2 changes: 0 additions & 2 deletions datacite/schema42.py
Expand Up @@ -64,8 +64,6 @@ def identifiers(path, values):
alt = ''
doi = ''
for value in values:
print(value['identifierType'])
print(value['identifierType'] == 'DOI')
if value['identifierType'] == 'DOI':
if doi != '':
# Don't know what to do with two DOIs
Expand Down

0 comments on commit 9bb6f19

Please sign in to comment.