elifesciences / elife-crossref-xml-generation

Crossref deposit of journal articles
MIT License
4 stars 3 forks source link

Set ORCID tag authenticated attr to explicit value #130

Closed gnott closed 2 years ago

gnott commented 2 years ago

The default authenticated value of an <ORCID> tag in the Crossref schema is false, however this library was setting it to true for every ORCID value, because for eLIfe articles up until now they were all authenticated.

Changing it here so by default the @authenticated attribute will be excluded from the output, if a Contributor has a True or False value for its orcid_authenticated property then the Crossref deposit will have the appropriate @authenticated attribute value.

This can be considered a breaking change compared to the functionality of previous elifecrossref versions, so for eLife we must change the workflow to set the value on each Contributor when invoking this library to keep sending authenticated="true" in the Crossref deposit.