Do not allow free-form text in EntityReference fields
Closed this issue · 0 comments
The description of the creator_id
slot states:
Identifies the persons or groups responsible for the creation of the mapping. […] Recommended to be a (pipe-separated) list of ORCIDs or otherwise identifying URLs, but any identifying string (such as name and affiliation) is permissible.
This seems to allow the use of free-form non-identifiers (e.g. “A.U. Thor, Institute of Imprecise Mappings, Shangri-La”). I believe this should not be allowed. If all that is available to “identify” the creator of a mapping is such a string, it should go to the creator_label
slot instead.
creator_id
is supposed to be an EntityReference
, which itself should be a uriorcurie
. The documentation should not encourage mapping creators to fill that field with a value that does not match that range.
(As an aside: the “(pipe-separated)“ also has nothing do to here, in my opinion. It’s a serialisation issue, which does not belong in a description of the model.)