inab / benchmarking-data-model

OpenEBench Benchmarking Data Model repository
Creative Commons Attribution Share Alike 4.0 International
2 stars 7 forks source link

URIs validation in data link #103

Open lcodo opened 5 years ago

lcodo commented 5 years ago

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 commented 3 years ago

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?

jmfernandez commented 1 year ago

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