openaire / guidelines-cris-managers

OpenAIRE Guidelines for CRIS Managers based on CERIF-XML
https://openaire-guidelines-for-cris-managers.readthedocs.io/
6 stars 16 forks source link

Person Identifier - Peruvian DNI #91

Closed abollini closed 1 year ago

abollini commented 3 years ago

Which is the best approach to support the Peruvian DNI? https://www.perutelegraph.com/glossary-terms-peru/dni-peru-s-national-id-card should we add a new specific element or should we introduce a generic National Identifier with an attribute that allow to specify the country where such identifier apply? this would allow other national system to reuse this element without the need to extend the vocabulary again and again

jdvorak001 commented 3 years ago

We (@abollini, @chenejac, @jdvorak001) discussed several options: (1) Add explicit XML element (possibly with a regexp constraint). (2) Extend the CERIF IdentifierTypes vocabulary with a specific item for the Peruvian DNI. (3) Rely on an external authority to provide URIs to identify the type of the identifier. Wikidata seems to be a good candidate here. It would be https://www.wikidata.org/wiki/Q5797148 for the Peruvian DNI.

We agreed on option (3) as the most scalable and flexible one, and mention this explicitly in the documentation and illustrate it in an example. For this we need to add the generic <Identifier> construct in the XML Schema.

jdvorak001 commented 1 year ago

I need to add the generic <Identifier> construct.

jdvorak001 commented 1 year ago

Adding the generic <Identifier> with the following description:

A generic identifier, to be used only if your identifier does not fit in any of the above specific identifier types. This in particular applies to various national and service-specific identifiers that can be relevant in some interchange scenarios.