ropensci / codemetar

an R package for generating and working with codemeta
https://docs.ropensci.org/codemetar
66 stars 21 forks source link

codemeta validation issues #290

Open mbjones opened 4 years ago

mbjones commented 4 years ago

I used codemetar 0.1.8 to generate a codemta.json file from the codyn package repository at https://github.com/NCEAS/codyn. I then pasted this codemeta.json file into the CodeMeta Generator at https://codemeta.github.io/codemeta-generator/ and clicked 'Import', which showed the following validation errors, which I fixed one at a time. These problems could either be the codemetar or codemeta-generator not handling things correctly, I'm not sure which.

Several of these are due to being empty elements, so would be fixed by just not generating empty elements:

  "contributor": {},
  "copyrightHolder": {},
  "funder": {},

Getting agreement for the 0.1.9 release between the R tool and the codemeta-generator would help promote adoption. We might want to file an issue at https://github.com/codemeta/codemeta-generator/issues.

cboettig commented 4 years ago

@mbjones thanks for catching and reporting these, all great points.

The @context and the sameAs issue would both be solved if we added http://schema.org into the codemeta schema.

maelle commented 4 years ago

@cboettig I've now changed the milestone to 0.2.0.

Is there any news on the codemeta schema side of things?