Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should codemeta_validate be extended to validate a collection? #156

Open
maelle opened this issue May 7, 2018 · 2 comments
Open

Should codemeta_validate be extended to validate a collection? #156

maelle opened this issue May 7, 2018 · 2 comments
Assignees

Comments

@maelle
Copy link
Member

maelle commented May 7, 2018

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?

@cboettig
Copy link
Member

cboettig commented May 8, 2018

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).

@maelle
Copy link
Member Author

maelle commented Nov 6, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants