aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCharles Tapley Hoyt <[email protected]>2025-02-04 17:45:27 +0100
committerJohn MacFarlane <[email protected]>2025-02-05 21:28:56 -0800
commit1eed55f3915d16f8838c42da5eff7be73418fbc6 (patch)
tree8bd28546c559cf5a5007213633a6866134a0190b /data
parent3291605c9173ea10b747f0abf6e69bbe5363dadd (diff)
Add CRediT roles to JATS
Enable annotating author roles using the Contribution Role Taxonomy (CRediT) and export this information in conformant JATS Closes #10152. Co-Authored-By: Jez Cope <[email protected]>
Diffstat (limited to 'data')
-rw-r--r--data/templates/article.jats_publishing11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index 981f86762..d402b8bbd 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -109,6 +109,17 @@ $elseif(author.name)$
$else$
<string-name>$author$</string-name>
$endif$
+$for(author.roles)$
+$if(it.credit)$
+<role vocab="credit"$if(it.degree)$ degree-contribution="$it.degree$"$endif$
+ vocab-identifier="https://credit.niso.org/"
+ vocab-term-identifier="https://credit.niso.org/contributor-roles/$it.credit$/"
+ vocab-term="$it.credit-name$"
+>$if(it.name)$$it.name$$else$$it.credit-name$$endif$</role>
+$elseif(it.name)$
+<role>$it.name$</role>
+$endif$
+$endfor$
$if(author.email)$
<email>$author.email$</email>
$endif$