There are several fields in the schema that take urls, which are defined using a string data type, and informally described as taking a url. Consider if TRAPI wants to define a dedicated URL type as it does for CURIE- which would allow additional constraint and validation on values.
Also, there is no regex pattern defined for the CURIE type - which could be useful for validation of fields taking curies.
There are several fields in the schema that take urls, which are defined using a string data type, and informally described as taking a url. Consider if TRAPI wants to define a dedicated
URLtype as it does forCURIE- which would allow additional constraint and validation on values.Also, there is no regex pattern defined for the
CURIEtype - which could be useful for validation of fields taking curies.