bio-tools / biotoolsSchema

biotoolsSchema : Tool description data model for computational tools in life sciences
Creative Commons Attribution Share Alike 4.0 International
36 stars 12 forks source link

Add support for FundRef IDs #114

Open joncison opened 5 years ago

joncison commented 5 years ago

see https://www.crossref.org/services/funder-registry/

equivalent to orcidid in <credit> element

joncison commented 4 years ago

cc @jvanheld @hmenager this could be a graceful way to handle funder credits IFB catalogue / bio.tools?

@hansioan I add it to the list to consider for 3.3.0 milestone

joncison commented 4 years ago

@hansioan this will go in as "fundrefid" (alongside "orcidid" and "gridid")

hansioan commented 4 years ago

@joncison thanks, I guess we also need a regex for this

joncison commented 4 years ago

@hansioan I've searched for ages trying to find a syntax or guidelines ... I think a FundRef ID == "Funder ID" is just an ID of an entry in Crossref that happens to be a funder. In which case I think the DOI syntax applies. See https://www.crossref.org/education/member-setup/constructing-your-dois/ and https://www.crossref.org/education/member-setup/constructing-your-dois/tips-for-creating-a-doi-suffix/.

So let's go with that ?

joncison commented 4 years ago

Digging a bit further @hansioan, it's a DOI that has to have the prefix 10.13039, see https://dx.doi.org/10.13039

So the regex: <xs:pattern value="10\.13039/[\[\]&lt;&gt;A-Za-z0-9:;\)\(_/.-]+"/>

joncison commented 4 years ago

@hansioan could you pls. paste a JSON style regex here? thanks. So I can update JSON schema + API usage guide.

hansioan commented 4 years ago

@joncison Based on the above regex you provided and what we currently have for DOIs in general, the final regex I will use is: ^10\.13039\/[-\.\[\]<>_;\(\)\/:a-zA-Z0-9]+$