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

Simple generator for ID numbers #772

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikheil-aisitec
Copy link

Hi,

In some instances, id_number.valid does not need to have much logic. So, in addition of having separate classes like SvSEIdNumber, we suggest supporting expressions like below too:
id_number:
valid: ['0##########', '1##########' ]

E.g., in Georgia it's safe to just produce 11-digit random number for testing purposes, since there is no exact algorithm known for these 11-digit numbers anyway and usually nobody makes any assumption regarding these digits. What we know for sure is that it can start with zero too, number does not contain any personal data, it has check digit with unknown algorithm and so on (Source: Order of the Minister of Justice, https://matsne.gov.ge/ka/document/view/1435931 - in Georgian).

…e.g. in Georgia it's sufficient to have 11-digit random number)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant