java-faker icon indicating copy to clipboard operation
java-faker copied to clipboard

Simple generator for ID numbers

Open mikheil-aisitec opened this issue 1 year ago • 0 comments

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).

mikheil-aisitec avatar Feb 13 '24 13:02 mikheil-aisitec