Skip to main content
v2026.1714 entries · CC-BY 4.0

Machine-readable encoding

CRediT in JATS XML

JATS 1.2+ supports CRediT natively. Reference markup, attribute conventions, and JATS4R-aligned best practice.

The <role> element

Since JATS 1.2 (2018), CRediT has a fully-specified encoding using the <role> element on each contributor.

Full author with CRediT roles
xml
<contrib-group>
  <contrib contrib-type="author">
    <name>
      <surname>Zhang</surname>
      <given-names>San</given-names>
    </name>
    <contrib-id contrib-id-type="orcid">0000-0001-2345-6789</contrib-id>
    <role vocab="credit"
          vocab-identifier="https://casrai.org/credit"
          vocab-term="Conceptualization"
          vocab-term-identifier="https://casrai.org/credit/roles/conceptualization"/>
    <role vocab="credit"
          vocab-identifier="https://casrai.org/credit"
          vocab-term="Software"
          vocab-term-identifier="https://casrai.org/credit/roles/software"
          specific-use="lead"/>
    <role vocab="credit"
          vocab-identifier="https://casrai.org/credit"
          vocab-term="Writing - original draft"
          vocab-term-identifier="https://casrai.org/credit/roles/writing-original-draft"
          specific-use="supporting"/>
  </contrib>
</contrib-group>

Attribute conventions

  • vocab="credit" — fixed string identifying the vocabulary
  • vocab-identifier — root URL of the vocabulary (https://casrai.org/credit)
  • vocab-term — human-readable role name (must match canonical wording)
  • vocab-term-identifier — stable per-role URL at casrai.org/credit
  • specific-use — optional degree-of-contribution: lead, equal, or supporting

Reference: the JATS4R recommendation

JATS4R (the JATS-Recommendation working group, NISO-hosted) publishes the authoritative best-practice document for CRediT in JATS. Implementers should follow the JATS4R recommendation in full.

All 14 role identifiers

Use these URIs as vocab-term-identifier values:

Canonical CRediT URIs
text
https://casrai.org/credit/roles/conceptualization
https://casrai.org/credit/roles/data-curation
https://casrai.org/credit/roles/formal-analysis
https://casrai.org/credit/roles/funding-acquisition
https://casrai.org/credit/roles/investigation
https://casrai.org/credit/roles/methodology
https://casrai.org/credit/roles/project-administration
https://casrai.org/credit/roles/resources
https://casrai.org/credit/roles/software
https://casrai.org/credit/roles/supervision
https://casrai.org/credit/roles/validation
https://casrai.org/credit/roles/visualization
https://casrai.org/credit/roles/writing-original-draft
https://casrai.org/credit/roles/writing-review-editing

Adopted by research universities worldwide

University of Cambridge logoColumbia University logoUniversity of Edinburgh logoHarvard University logoMassachusetts Institute of Technology logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoUniversity of Cambridge logoColumbia University logoUniversity of Edinburgh logoHarvard University logoMassachusetts Institute of Technology logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logo
  • University of Cambridge logo
  • Columbia University logo
  • University of Edinburgh logo
  • Harvard University logo
  • Massachusetts Institute of Technology logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo

View CASRAI adoption →