{"openapi":"3.0.1","info":{"title":"Uqudo ID API","contact":{"email":"hello@uqu.do"},"version":"1.0"},"servers":[{"url":"https://id.uqudo.io"}],"tags":[{"name":"lookup","description":"Lookup API"}],"paths":{"/api/v2/id/lookup/zaf/id":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupSouthAfricaId","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.zaf.id.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.zaf.id.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/uga/voter/id":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupUgandaVoterId","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.uga.id.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.uga.id.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/uae/id":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupUaeId","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.uae.id.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.uae.id.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/nga/voter/id":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupNigeriaVoterId","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.nga.voterId.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.nga.voterId.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/nga/nin":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupNigeriaNIN","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.nga.nin.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.nga.nin.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/nga/dl":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupNigeriaDl","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.nga.dl.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.nga.dl.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/nga/bvn":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupNigeriaBVN","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.nga.bvn.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.nga.bvn.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/ken/id":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupKenyaId","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.ken.id.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.ken.id.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/ind/pan":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupIndiaPan","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.ind.pan.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.ind.pan.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/ind/id":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupIndiaId","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.ind.id.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.ind.id.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/ind/id/otp":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupIndiaIdOtp","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.ind.id.OTPInput"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.ind.id.OTPOutput"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/gha/voter/id":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupGhanaVoterId","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.gha.voterId.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.gha.voterId.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/gha/ssnit":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupGhanaSocialSecurityCard","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.gha.ssnit.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.gha.ssnit.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/gha/passport":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupPassport","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.PassportInput"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.gha.passport.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}},"/api/v2/id/lookup/gha/dl":{"post":{"tags":["lookup"],"description":"Government database lookup API","operationId":"lookupGhanaDrivingLicense","parameters":[{"name":"Authorization","in":"header","description":"Bearer token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.gha.dl.Input"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lookup.gha.dl.Output"}}}},"400":{"description":"Bad Request: Missing required input or invalid format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupOperationError"}}}},"401":{"description":"Unauthorized: No valid access token has been provided"},"403":{"description":"Forbidden: Access token doesn't have permission to use the requested feature"},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error: Unexpected error"},"503":{"description":"Service unavailable: Government database not available"}}}}},"components":{"schemas":{"lookup.zaf.id.Input":{"required":["identityNumber"],"type":"object","properties":{"identityNumber":{"minLength":1,"type":"string"}}},"lookup.zaf.id.Output":{"type":"object","properties":{"faceImage":{"type":"string","description":"Base64 encoded face image of the user"},"identityNumber":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"maidenName":{"type":"string"},"smartCardIssued":{"type":"string"},"issueDate":{"type":"string"},"issueDateFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"idCardDate":{"type":"string"},"idCardDateFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"idBookDate":{"type":"string"},"idBookDateFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"idSequenceNumber":{"type":"string"},"deadIndicator":{"type":"string"},"dateOfDeath":{"type":"string"},"dateOfDeathFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"identityNumberBlocked":{"type":"string"},"maritalStatus":{"type":"string"},"dateOfMarriage":{"type":"string"},"dateOfMarriageFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"onHANIS":{"type":"string"},"onNPR":{"type":"string"},"countryOfBirth":{"type":"string"},"placeOfBirth":{"type":"string"}}},"LookupOperationError":{"type":"object","properties":{"error":{"type":"string","description":"Error Code","enum":["INVALID_INPUT","ID_NOT_FOUND","UNEXPECTED_ERROR","SERVICE_UNAVAILABLE","TOO_MANY_REQUESTS"]},"message":{"type":"string","description":"Error Message if any. Can be null"}}},"lookup.uga.id.Input":{"required":["documentNumber","firstName","lastName"],"type":"object","properties":{"documentNumber":{"minLength":1,"type":"string"},"firstName":{"minLength":1,"type":"string"},"lastName":{"minLength":1,"type":"string"}}},"lookup.uga.id.Output":{"type":"object","properties":{"documentNumber":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"gender":{"type":"string"},"village":{"type":"string"},"policeDistrict":{"type":"string"},"federalElections":{"type":"string"},"subCounty":{"type":"string"},"religion":{"type":"string"},"pollingStation":{"type":"string"},"firstNameMatch":{"type":"boolean"},"lastNameMatch":{"type":"boolean"}}},"lookup.uae.id.Input":{"required":["dateOfBirth","identityNumber","nationalityCode"],"type":"object","properties":{"identityNumber":{"minLength":1,"type":"string"},"dateOfBirth":{"minLength":1,"pattern":"\\d{4}-\\d{2}-\\d{2}","type":"string","description":"yyyy-MM-dd"},"nationalityCode":{"type":"string","description":"ISO 3166-1 alpha-3 format","enum":["ABW","AFG","AGO","AIA","ALA","ALB","AND","ARE","ARG","ARM","ASM","ATA","ATF","ATG","AUS","AUT","AZE","BDI","BEL","BEN","BES","BFA","BGD","BGR","BHR","BHS","BIH","BLM","BLR","BLZ","BMU","BOL","BRA","BRB","BRN","BTN","BVT","BWA","CAF","CAN","CCK","CHE","CHL","CHN","CIV","CMR","COD","COG","COK","COL","COM","CPV","CRI","CUB","CUW","CXR","CYM","CYP","CZE","DEU","DJI","DMA","DNK","DOM","DZA","ECU","EGY","ERI","ESH","ESP","EST","ETH","FIN","FJI","FLK","FRA","FRO","FSM","GAB","GBR","GEO","GGY","GHA","GIB","GIN","GLP","GMB","GNB","GNQ","GRC","GRD","GRL","GTM","GUF","GUM","GUY","HKG","HMD","HND","HRV","HTI","HUN","IDN","IMN","IND","IOT","IRL","IRN","IRQ","ISL","ISR","ITA","JAM","JEY","JOR","JPN","KAZ","KEN","KGZ","KHM","KIR","KNA","KOR","KWT","LAO","LBN","LBR","LBY","LCA","LIE","LKA","LSO","LTU","LUX","LVA","MAC","MAF","MAR","MCO","MDA","MDG","MDV","MEX","MHL","MKD","MLI","MLT","MMR","MNE","MNG","MNP","MOZ","MRT","MSR","MTQ","MUS","MWI","MYS","MYT","NAM","NCL","NER","NFK","NGA","NIC","NIU","NLD","NOR","NPL","NRU","NZL","OMN","PAK","PAN","PCN","PER","PHL","PLW","PNG","POL","PRI","PRK","PRT","PRY","PSE","PYF","QAT","REU","ROU","RUS","RWA","SAU","SDN","SEN","SGP","SGS","SHN","SJM","SLB","SLE","SLV","SMR","SOM","SPM","SRB","SSD","STP","SUR","SVK","SVN","SWE","SWZ","SXM","SYC","SYR","TCA","TCD","TGO","THA","TJK","TKL","TKM","TLS","TON","TTO","TUN","TUR","TUV","TWN","TZA","UGA","UKR","UMI","URY","USA","UZB","VAT","VCT","VEN","VGB","VIR","VNM","VUT","WLF","WSM","YEM","ZAF","ZMB","ZWE"]}}},"lookup.uae.id.Output":{"type":"object","properties":{"identityNumber":{"type":"string"},"nationalityCode":{"type":"string","description":"ISO 3166-1 alpha-3 format","enum":["ABW","AFG","AGO","AIA","ALA","ALB","AND","ARE","ARG","ARM","ASM","ATA","ATF","ATG","AUS","AUT","AZE","BDI","BEL","BEN","BES","BFA","BGD","BGR","BHR","BHS","BIH","BLM","BLR","BLZ","BMU","BOL","BRA","BRB","BRN","BTN","BVT","BWA","CAF","CAN","CCK","CHE","CHL","CHN","CIV","CMR","COD","COG","COK","COL","COM","CPV","CRI","CUB","CUW","CXR","CYM","CYP","CZE","DEU","DJI","DMA","DNK","DOM","DZA","ECU","EGY","ERI","ESH","ESP","EST","ETH","FIN","FJI","FLK","FRA","FRO","FSM","GAB","GBR","GEO","GGY","GHA","GIB","GIN","GLP","GMB","GNB","GNQ","GRC","GRD","GRL","GTM","GUF","GUM","GUY","HKG","HMD","HND","HRV","HTI","HUN","IDN","IMN","IND","IOT","IRL","IRN","IRQ","ISL","ISR","ITA","JAM","JEY","JOR","JPN","KAZ","KEN","KGZ","KHM","KIR","KNA","KOR","KWT","LAO","LBN","LBR","LBY","LCA","LIE","LKA","LSO","LTU","LUX","LVA","MAC","MAF","MAR","MCO","MDA","MDG","MDV","MEX","MHL","MKD","MLI","MLT","MMR","MNE","MNG","MNP","MOZ","MRT","MSR","MTQ","MUS","MWI","MYS","MYT","NAM","NCL","NER","NFK","NGA","NIC","NIU","NLD","NOR","NPL","NRU","NZL","OMN","PAK","PAN","PCN","PER","PHL","PLW","PNG","POL","PRI","PRK","PRT","PRY","PSE","PYF","QAT","REU","ROU","RUS","RWA","SAU","SDN","SEN","SGP","SGS","SHN","SJM","SLB","SLE","SLV","SMR","SOM","SPM","SRB","SSD","STP","SUR","SVK","SVN","SWE","SWZ","SXM","SYC","SYR","TCA","TCD","TGO","THA","TJK","TKL","TKM","TLS","TON","TTO","TUN","TUR","TUV","TWN","TZA","UGA","UKR","UMI","URY","USA","UZB","VAT","VCT","VEN","VGB","VIR","VNM","VUT","WLF","WSM","YEM","ZAF","ZMB","ZWE"]},"cardNumber":{"type":"string"},"dateOfBirth":{"type":"string"},"dateOfBirthFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"issueDate":{"type":"string"},"issueDateFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"dateOfExpiry":{"type":"string"},"dateOfExpiryFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"}}},"lookup.nga.voterId.Input":{"required":["dateOfBirth","firstName","identityNumber","lastName"],"type":"object","properties":{"identityNumber":{"minLength":1,"type":"string"},"dateOfBirth":{"minLength":1,"pattern":"[0-9]{4}-[0-9]{2}-[0-9]{2}","type":"string","description":"yyyy-MM-dd"},"lastName":{"minLength":1,"type":"string"},"firstName":{"minLength":1,"type":"string"}}},"lookup.nga.voterId.Output":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"identityNumber":{"type":"string"},"gender":{"type":"string"},"fullName":{"type":"string"},"occupation":{"type":"string"},"pollingUnitCode":{"type":"string"}}},"lookup.nga.nin.Input":{"required":["firstName","lastName","nin"],"type":"object","properties":{"nin":{"minLength":1,"type":"string"},"firstName":{"minLength":1,"type":"string"},"lastName":{"minLength":1,"type":"string"}}},"lookup.nga.nin.Output":{"type":"object","properties":{"faceImage":{"type":"string","description":"Base64 encoded face image of the user"},"identityNumber":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"dateOfBirth":{"type":"string"},"dateOfBirthFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"gender":{"type":"string"},"phone":{"type":"string"},"address":{"type":"string"},"state":{"type":"string"},"localGovernmentArea":{"type":"string"}}},"lookup.nga.dl.Input":{"required":["dateOfBirth","licenseNumber"],"type":"object","properties":{"licenseNumber":{"minLength":1,"type":"string"},"dateOfBirth":{"minLength":1,"pattern":"[0-9]{4}-[0-9]{2}-[0-9]{2}","type":"string","description":"yyyy-MM-dd"}}},"lookup.nga.dl.Output":{"type":"object","properties":{"faceImage":{"type":"string","description":"Base64 encoded face image of the user"},"licenseNumber":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"dateOfBirth":{"type":"string"},"dateOfBirthFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"dateOfExpiry":{"type":"string"},"dateOfExpiryFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"gender":{"type":"string"}}},"lookup.nga.bvn.Input":{"required":["bvn","firstName","lastName"],"type":"object","properties":{"bvn":{"minLength":1,"type":"string"},"firstName":{"minLength":1,"type":"string"},"lastName":{"minLength":1,"type":"string"}}},"lookup.nga.bvn.Output":{"type":"object","properties":{"faceImage":{"type":"string","description":"Base64 encoded face image of the user"},"bankVerificationNumber":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"phone":{"type":"string"},"dateOfBirth":{"type":"string"},"dateOfBirthFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"gender":{"type":"string"}}},"lookup.ken.id.Input":{"required":["identityNumber"],"type":"object","properties":{"identityNumber":{"minLength":1,"type":"string"}}},"lookup.ken.id.Output":{"type":"object","properties":{"placeOfBirth":{"type":"string"},"firstName":{"type":"string"},"serialNumber":{"type":"string"},"citizenship":{"type":"string"},"issueDate":{"type":"string"},"issueDateFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"middleName":{"type":"string"},"lastName":{"type":"string"},"address":{"type":"string"},"gender":{"type":"string"}}},"lookup.ind.pan.Input":{"required":["documentNumber"],"type":"object","properties":{"documentNumber":{"minLength":1,"type":"string"}}},"lookup.ind.pan.Output":{"type":"object","properties":{"fullName":{"type":"string"},"documentNumber":{"type":"string"},"fatherName":{"type":"string"}}},"lookup.ind.id.Input":{"required":["documentNumber","otp","requestId"],"type":"object","properties":{"otp":{"minLength":1,"type":"string"},"documentNumber":{"minLength":1,"type":"string"},"requestId":{"minLength":1,"type":"string"}}},"lookup.ind.id.Output":{"type":"object","properties":{"faceImage":{"type":"string","description":"Base64 encoded face image of the user"},"fullName":{"type":"string"},"dateOfBirth":{"type":"string"},"dateOfBirthFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"gender":{"type":"string"},"address":{"type":"string"},"documentNumber":{"type":"string"},"fatherName":{"type":"string"},"husbandName":{"type":"string"},"relativeName":{"type":"string"}}},"lookup.ind.id.OTPInput":{"required":["documentNumber"],"type":"object","properties":{"documentNumber":{"minLength":1,"type":"string"}}},"lookup.ind.id.OTPOutput":{"type":"object","properties":{"requestId":{"type":"string"}}},"lookup.gha.voterId.Input":{"required":["fullName","voterId"],"type":"object","properties":{"voterId":{"minLength":1,"type":"string"},"fullName":{"minLength":1,"type":"string"}}},"lookup.gha.voterId.Output":{"type":"object","properties":{"faceImage":{"type":"string","description":"Base64 encoded face image of the user"},"documentNumber":{"type":"string"},"fullName":{"type":"string"},"fullNameMatch":{"type":"boolean"},"gender":{"type":"string"},"pollingStation":{"type":"string"},"registrationDate":{"type":"string"},"registrationDateFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"}}},"lookup.gha.ssnit.Input":{"required":["dateOfBirth","fullName","socialSecurityNumber"],"type":"object","properties":{"socialSecurityNumber":{"minLength":1,"type":"string"},"fullName":{"minLength":1,"type":"string"},"dateOfBirth":{"minLength":1,"pattern":"[0-9]{4}-[0-9]{2}-[0-9]{2}","type":"string","description":"yyyy-MM-dd"}}},"lookup.gha.ssnit.Output":{"type":"object","properties":{"faceImage":{"type":"string","description":"Base64 encoded face image of the user"},"socialSecurityNumber":{"type":"string"},"fullName":{"type":"string"},"dateOfBirth":{"type":"string"},"dateOfBirthFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"serialNumber":{"type":"string"},"gender":{"type":"string"},"fullNameMatch":{"type":"boolean"},"dateOfBirthMatch":{"type":"boolean"}}},"lookup.PassportInput":{"required":["dateOfBirth","documentNumber","firstName","lastName","middleName"],"type":"object","properties":{"documentNumber":{"minLength":1,"type":"string"},"firstName":{"minLength":1,"type":"string"},"lastName":{"minLength":1,"type":"string"},"middleName":{"minLength":1,"type":"string"},"dateOfBirth":{"minLength":1,"pattern":"[0-9]{4}-[0-9]{2}-[0-9]{2}","type":"string","description":"yyyy-MM-dd"}}},"lookup.gha.passport.Output":{"type":"object","properties":{"faceImage":{"type":"string","description":"Base64 encoded face image of the user"},"documentNumber":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"middleName":{"type":"string"},"dateOfBirth":{"type":"string"},"dateOfBirthFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"gender":{"type":"string"},"issueDate":{"type":"string"},"issueDateFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"dateOfExpiry":{"type":"string"},"dateOfExpiryFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"placeOfBirth":{"type":"string"},"placeOfIssue":{"type":"string"},"firstNameMatch":{"type":"boolean"},"lastNameMatch":{"type":"boolean"},"middleNameMatch":{"type":"boolean"},"dateOfBirthMatch":{"type":"boolean"}}},"lookup.gha.dl.Input":{"required":["dateOfBirth","fullName","licenseNumber"],"type":"object","properties":{"licenseNumber":{"minLength":1,"type":"string"},"fullName":{"minLength":1,"type":"string"},"dateOfBirth":{"minLength":1,"pattern":"[0-9]{4}-[0-9]{2}-[0-9]{2}","type":"string","description":"yyyy-MM-dd"}}},"lookup.gha.dl.Output":{"type":"object","properties":{"faceImage":{"type":"string","description":"Base64 encoded face image of the user"},"licenseNumber":{"type":"string"},"fullName":{"type":"string"},"dateOfBirth":{"type":"string"},"dateOfBirthFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"dateOfExpiry":{"type":"string"},"dateOfExpiryFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"issueDate":{"type":"string"},"issueDateFormatted":{"type":"string","description":"ISO-8601 format yyyy-MM-dd"},"certificateDate":{"type":"string"},"pin":{"type":"string"},"fullNameMatch":{"type":"boolean"},"dateOfBirthMatch":{"type":"boolean"}}}}}}