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

URIs validation in data link #103

Open
lcodo opened this issue Apr 26, 2019 · 2 comments
Open

URIs validation in data link #103

lcodo opened this issue Apr 26, 2019 · 2 comments
Assignees
Milestone

Comments

@lcodo
Copy link
Contributor

lcodo commented Apr 26, 2019

Could be possible to implement a validator for the URIs in data link?
Now it is set as "format:uri", yet it's not further validated for checking the URI type (curie, data, etc).
Also, would be worthy validating URI's resolution against some resolvers like identifiers.org or other more domain specific ("https://dev-openebench.bsc.es/api/scientific/idsolv)

@jmfernandez
Copy link
Member

jmfernandez commented Jul 8, 2021

FAIRTracks Validator https://github.com/fairtracks/fairtracks_validator/tree/master/python , which is an evolution of the extended JSON validator https://github.com/inab/extended-json-schema-validators/tree/master/python , implements an extension capable of CURIE validation using the regex patterns declared at https://identifiers.org . Thinking on 2.0.x branch, where should these restrictions / checks be added?

@lcodo lcodo modified the milestones: 2.0.x, later Jul 10, 2023
@jmfernandez
Copy link
Member

The only way to assure that would be that both the python implementation and server REST API check those link. Postponed to later

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

4 participants