{
/* ── Core identifiers ─────────────────────────── */
"actionId": "act_ab12cd",
"type": "id_verification",
"status": "completed", // accepted | processing | completed | errored
"metadata": {
"userId": "usr_789",
"loanAppId": "loan_456"
},
/* ── Parsed ID fields ─────────────────────────── */
"document": {
"documentId": "doc_55e",
"type": "driver_license", // driver_license | passport | state_id
"issuingCountry":"US",
"issuingState": "CA",
"number": "D1234567",
"firstName": "ALEX",
"lastName": "SMITH",
"dob": "1993-07-02",
"expiration": "2031-07-02",
"address": {
"street": "1234 Market St",
"city": "San Francisco",
"state": "CA",
"postal": "94103",
"country": "US"
},
"validated": true, // ✅ authenticity & expiry passed
"validationMessage": ""
},
/* ── Selfie / Face-match (optional) ───────────── */
"biometrics": { // omitted if requireSelfie=false
"faceMatchScore": 0.92, // 0-1 (≥ 0.80 = match)
"livenessCheck": "passed" // passed | failed | unavailable
},
/* ── Raw artifacts ───────────────────────────── */
"images": {
"frontUrl": "https://files.getomni.ai/ids/doc_55e_front.jpg",
"backUrl": "https://files.getomni.ai/ids/doc_55e_back.jpg",
"selfieUrl": "https://files.getomni.ai/ids/doc_55e_selfie.jpg"
},
"rawOcr": { /* full unredacted OCR blocks */ },
/* ── Error collection ─────────────────────────── */
"errors": [
{
"code": "ID_EXPIRED",
"message": "Document expired on 2023-07-02",
"field": "document.expiration"
}
],
/* ── Timestamps ──────────────────────────────── */
"createdAt": "2025-06-22T23:19:04Z",
"completedAt":"2025-06-22T23:19:22Z"
}