citation-file-format / cffconvert

Command line program to validate and convert CITATION.cff files.
Apache License 2.0
100 stars 28 forks source link

Author email address is not transferred #285

Closed led02 closed 1 year ago

led02 commented 2 years ago

When applying cffconvert in a new project, I realized that the author email addresses are not transferred (e.g., to codemeta).

E.g., if you have the following CITATION.cff:

cff-version: 1.2.0
title: Test File
message: See the bug
type: software
authors:
  - given-names: Michael
    family-names: Meinel
    email: michael.meinel@dlr.de

Running cffconvert -f codemeta results in the following codemeta.json:

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "author": [
    {
      "@type": "Person",
      "familyName": "Meinel",
      "givenName": "Michael"
    }
  ],
  "name": "Test File"
}

The email address is not transferred but I would expect to have a field email in the author[0] node.

jspaaks commented 2 years ago

Hi Michael, Indeed it seems like that should be included, thanks for reporting.

Reference: https://schema.org/email

sdruskat commented 1 year ago

@jspaaks I'm working on this now, as we need it for https://github.com/hermes-hmc/workflow.