-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Adding 'isAdhaar' as a Validator #2027
Comments
I would suggest implementing this as a locale in |
Sure, just one doubt though. Since we already have a locale for the indian region identity (which is not the same as adhaar) how would we include this new identity? or what locale would we choose? |
I think adding it as a separate "locale" (not stricly a real locale, but I suppose it's justified when multiple standards exist within the same locale) is the cleanest option. |
I just looked into it, and according to the PR where it was added, the existing identity card validator in the |
Take a look at the test cases to see what it validates: validator.js/test/validators.js Lines 5222 to 5235 in 86a07ba
|
Thanks braaar, this seems it; I'll close this issue. There are a couple of more identifications I'd like to add to this, which I'll open in the next few issues :) |
Hey guys, I need permission to add a validator for a popular Indian identity card, called the "Adhaar Card"
What is an Adhaar Number?
According to UIDAI -- Aadhaar number is a 12-digit random number issued by the UIDAI (“Authority”) to the residents of India after satisfying the verification process laid down by the Authority. Any individual, irrespective of age and gender, who is a resident of India, may voluntarily enrol to obtain Aadhaar number.
The rules for an adhaar number are as follows
The text was updated successfully, but these errors were encountered: