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

Json schema validation #15

Open
ericjeangirard opened this issue Nov 22, 2023 · 2 comments
Open

Json schema validation #15

ericjeangirard opened this issue Nov 22, 2023 · 2 comments

Comments

@ericjeangirard
Copy link

Hello

Is there any json schema (similar to this kind of simple one https://github.com/dataesr/bso-parser-html/blob/main/project/server/main/schema.json ) that could be used to easily validate json data to be cerif-core compliant, without calling external services ?

if not, can we help somehow ?

thanks

@jdvorak001
Copy link
Member

jdvorak001 commented Nov 27, 2023

Hello @ericjeangirard , thank you for your question.

Our first instinct is to start from what we already produce and transform that into what is needed. So if we have the OWL ontology (currently being developed in the tools branch), we would look into ways of transforming that into a JSON schema. A quick search on the web gives me https://github.com/arhs/owl2json-schema, but we don't have a direct experience with it. Would you perhaps be willing to try that out?

@jdvorak001
Copy link
Member

Another approach would involve the Metadata Schema and Crosswalk Registry under development in the FAIRCORE4EOSC project: once a metadata schema (in any format, so OWL in our case) is registered, a user could ask for its alternative representation in another supported format.

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

No branches or pull requests

2 participants