codemetar icon indicating copy to clipboard operation
codemetar copied to clipboard

Should codemeta_validate be extended to validate a collection?

Open maelle opened this issue 7 years ago • 2 comments

Currently codemeta_validate can only assess a JSON or a file corresponding to one codemeta.json. Should it be extended to validate, say, a file like the rOpenSci corpus presented in https://ropensci.github.io/codemetar/articles/D-codemeta-parsing.html?

maelle avatar May 07 '18 08:05 maelle

Good point! Yup, I should give that a go. Note that validation is an intentionally more fuzzy concept in JSON-LD than it is with json schema or xml schema; because tools consuming JSON-LD will (or at least should) generally be more robust to variations in the input JSON-LD (e.g. it's okay to use additional terms that aren't part of the namespace; they don't break anything, they just get ignored by an any application that isn't interested in them).

cboettig avatar May 08 '18 05:05 cboettig

When it's repaired, the codemeta.json of all rOpenSci packages might be a good use case for this. 😺

maelle avatar Nov 06 '18 14:11 maelle