You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
@context must be "https://doi.org/10.5063/schema/codemeta-2.0", not ["https://doi.org/10.5063/schema/codemeta-2.0","http://schema.org"]
Fixed by removing the schema.org context, but this seems like an overly rigid validator in the codemeta-generator
"contributor" must be a (list of) Person/Organization object(s) or an URI, but is missing a type/@type.
`"copyrightHolder" must be a (list of) Person/Organization object(s) or an URI, but is missing a type/@type.
"funder" must be a (list of) Person/Organization object(s) or an URI, but is missing a type/@type.
Invalid URL in field "identifier": "10.5063/F1N877Z6"
Fixed by turning this into a DOI URL
Unknown field "sameAs" in "citation".
Fixed by removing the element, but this seems like it should work. Need to check the schema.
Several of these are due to being empty elements, so would be fixed by just not generating empty elements:
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.@context must be "https://doi.org/10.5063/schema/codemeta-2.0", not ["https://doi.org/10.5063/schema/codemeta-2.0","http://schema.org"]
"contributor" must be a (list of) Person/Organization object(s) or an URI, but is missing a type/@type.
"funder" must be a (list of) Person/Organization object(s) or an URI, but is missing a type/@type.
Invalid URL in field "identifier": "10.5063/F1N877Z6"
Unknown field "sameAs" in "citation".
Several of these are due to being empty elements, so would be fixed by just not generating empty elements:
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.
The text was updated successfully, but these errors were encountered: