Open joncison opened 4 years ago
@hansioan this will go in as "rorid" (alongside "orcidid" and "gridid")
@joncison thanks , will also need a regex for this
Yup. Syntax is a leading 0 followed by 6 characters and a 2-digit checksum, see https://dev.ror.org/facts/
Will paste an XSD style regex here shortly ...
<xs:pattern value="0[0-9a-zA-Z]{6}[0-9]{2}"/>
@hansioan could you pls. paste a JSON style regex here? thanks. So I can update JSON schema + API usage guide.
@joncison I don't know about a JSON style regex, but in the backend I will add the regex:
^0[0-9a-zA-Z]{6}[0-9]{2}$
I've basically included the start character ^
and the end character $
i.e. alongside GRID id