Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Person Identifier - Peruvian DNI #91

Closed
abollini opened this issue Oct 29, 2020 · 3 comments · Fixed by #148
Closed

Person Identifier - Peruvian DNI #91

abollini opened this issue Oct 29, 2020 · 3 comments · Fixed by #148
Labels

Comments

@abollini
Copy link
Contributor

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
Copy link
Collaborator

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
Copy link
Collaborator

I need to add the generic <Identifier> construct.

@jdvorak001
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants