CustomerDataNgVotingCard
Extends CustomerDataDto: the object also contains its base fields (country, documentType, firstName, lastName and the optional customerId), which are not repeated below. The fields listed here are specific to this country and document type.
The middle name(s): the given names that follow the first one. The first space or comma ends the first name ("AMINA, ZAINAB" or "AMINA ZAINAB" -> middle name "ZAINAB"), a hyphen does not ("ADA-OBI, ZAINAB" -> first name "ADA-OBI", middle name "ZAINAB"). Optional: sending all the given names together in firstName is also accepted. On the card the given names follow the surname ("EZE, CHIOMA GRACE" -> middle name "GRACE"). Every word is fuzzy-matched individually against the OCR. Never fails the match: a middle name the document does not show is reported as not matching in the breakdown, without rejecting the document.
The Voter Identification Number, e.g. "INC2200000014076811". Spaces are stripped, so the grouped print ("INC2 2000 0001 4076 811") is also accepted.
The serial number as printed on the back (e.g. "41973169"), WITHOUT the "A" prefix of the vertical front print. Spaces are stripped.
The polling unit code with dashes (e.g. "32-15-07-025"). Spaces are stripped; the dashes are meaningful and stay.
Send "M"/"F"; the card prints the full word (GENDER MALE/FEMALE).
Possible values: [F, M]
The residential address as printed on the card. Every word is fuzzy-matched individually.
As printed (e.g. "OTHER", "TRADER"); may be multi-word.
birthDate object
The date of birth, printed DD-MM-YYYY
- MOD1
- MOD2
Unix timestamp in milliseconds
Date string, ISO 8601 recommended (e.g. 1995-04-29)
registrationDate object
DATE OF REG., printed month-first: "APR 13,2022".
- MOD1
- MOD2
Unix timestamp in milliseconds
Date string, ISO 8601 recommended (e.g. 1995-04-29)
DELIM line: state, LGA and ward (e.g. "RIVERS OBIO/AKPOR RUMUOKORO"). EXTRACTION-ONLY: deliberately not verified β the line is OCR-fragile (a real specimen misread IJERO as WERO), and locality is already verifiable through address and code. Present in the DTO so Document Analysis extracts it in parsed form.
BATCH. value (e.g. "A/32-15-07-025/18"). EXTRACTION-ONLY, not verified.
{
"middleName": "string",
"vin": "string",
"serialNumber": "string",
"code": "string",
"sex": "F",
"address": "string",
"occupation": "string",
"birthDate": 0,
"registrationDate": 0,
"delimitation": "string",
"batchNumber": "string"
}