chore: sync v3 specs from lambda v3.549.0#1
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
| AcceptedResponse: | ||
| type: object | ||
| properties: | ||
| status: | ||
| type: string | ||
| enum: [Accepted] |
There was a problem hiding this comment.
Suggestion: The AcceptedResponse status enum uses Accepted (capitalized) here, but other new specs like v3-biometric-kyc-entry.yaml and v3-document-verification-entry.yaml use accepted (lowercase). This inconsistency will cause SDK code generation issues and client-side parsing failures when consumers check the status field across different endpoints. [general, importance: 6]
| AcceptedResponse: | |
| type: object | |
| properties: | |
| status: | |
| type: string | |
| enum: [Accepted] | |
| AcceptedResponse: | |
| type: object | |
| properties: | |
| status: | |
| type: string | |
| enum: [accepted] |
| pattern: '^[1-9]\d*$' | ||
| example: '1234' |
There was a problem hiding this comment.
Suggestion: The new pattern ^[1-9]\d*$ allows single-digit partner IDs (e.g., "1"), which is less restrictive than the previous ^\d{3,}$ (minimum 3 digits). If the intent is to disallow leading zeros while still requiring at least 3 digits, the pattern should enforce a minimum length. [general, importance: 7]
| pattern: '^[1-9]\d*$' | |
| example: '1234' | |
| pattern: '^[1-9]\d{2,}$' | |
| example: '1234' |
| description: TypeID format verification identifier with 'job_' prefix. | ||
| schema: | ||
| type: string | ||
| pattern: '^job_[0-9a-z]{26}$' |
There was a problem hiding this comment.
Suggestion: The TypeID pattern here uses [0-9a-z]{26} but the v3-enhanced-kyc-job-status.yaml spec uses the correct Crockford Base32 character set [0-9a-hjkmnp-tv-z]{26} (excluding i, l, o, u). This pattern would incorrectly accept invalid TypeIDs containing those excluded characters. [possible issue, importance: 8]
| pattern: '^job_[0-9a-z]{26}$' | |
| pattern: '^job_[0-9a-hjkmnp-tv-z]{26}$' |
| example: | ||
| status: Accepted | ||
| status: accepted | ||
| message: Request accepted and queued for processing. | ||
| job_id: job_01h8x9y2z3a4b5c6d7e8f9g0h1 |
There was a problem hiding this comment.
Suggestion: The response example uses status: accepted (lowercase) but the AcceptedResponse schema below defines enum: [Accepted] (capitalized). The example will fail schema validation. Either the enum or the example needs to be aligned. [possible issue, importance: 8]
| example: | |
| status: Accepted | |
| status: accepted | |
| message: Request accepted and queued for processing. | |
| job_id: job_01h8x9y2z3a4b5c6d7e8f9g0h1 | |
| example: | |
| status: Accepted | |
| message: Request accepted and queued for processing. | |
| job_id: job_01h8x9y2z3a4b5c6d7e8f9g0h1 |
There was a problem hiding this comment.
Pull request overview
Automated sync of the v3 OpenAPI specifications from smileidentity/lambda v3.549.0, updating existing endpoint specs and adding several new v3 service/reference endpoints.
Changes:
- Added new v3 spec documents for services/reference endpoints (e.g., supported documents, bank codes, ID status, verification status, block user).
- Updated multiple existing v3 endpoint specs (token, enrollment, KYC, replay callback, etc.) to reflect upstream contract and naming/field-structure changes.
- Updated
CHANGELOG.mdwith a newv3.549.0entry.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| specs/v3/v3-token.yaml | Updates token endpoint metadata/validation and request body schema. |
| specs/v3/v3-supported-documents.yaml | Adds unauthenticated supported-documents listing endpoint spec. |
| specs/v3/v3-smart-selfie-compare-entry.yaml | Adds smart selfie compare async entry endpoint spec. |
| specs/v3/v3-services.yaml | Adds unauthenticated “services” reference endpoints (bank codes, supported ID types). |
| specs/v3/v3-replay-callback.yaml | Updates replay-callback wording and authentication/header requirements; adds operationId. |
| specs/v3/v3-id-status.yaml | Adds authenticated ID availability/status endpoint spec. |
| specs/v3/v3-enhanced-kyc-job-status.yaml | Adds verification status lookup endpoint spec. |
| specs/v3/v3-enhanced-kyc-entry.yaml | Updates Enhanced KYC entry schema (notably user_details) and operationId. |
| specs/v3/v3-enhanced-document-verification-entry.yaml | Adds enhanced document verification multipart entry endpoint spec. |
| specs/v3/v3-document-verification-entry.yaml | Adds document verification multipart entry endpoint spec. |
| specs/v3/v3-block-user.yaml | Adds authenticated block/unblock user endpoint spec. |
| specs/v3/v3-biometric-kyc-entry.yaml | Updates biometric KYC entry schema (notably user_details) and accepted response shape. |
| specs/v3/v3-biometric-enrollment-entry.yaml | Updates enrollment endpoint path and request schema (notably user_details). |
| specs/v3/v3-biometric-authentication-entry.yaml | Adds biometric authentication async entry endpoint spec. |
| CHANGELOG.md | Adds v3.549.0 changelog entry for the spec sync. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| description: TypeID format verification identifier with 'job_' prefix. | ||
| schema: | ||
| type: string | ||
| pattern: '^job_[0-9a-z]{26}$' |
| user_id: | ||
| type: string | ||
| description: Optional partner-provided user identifier. |
| document: | ||
| contentType: image/jpeg, image/png | ||
| document_back: | ||
| contentType: image/jpeg, image/png |
| document: | ||
| contentType: image/jpeg, image/png | ||
| document_back: | ||
| contentType: image/jpeg, image/png |
| paths: | ||
| /v3/status/{jobId}: | ||
| get: | ||
| operationId: getEnhancedKycJobStatus |
| ## [Unreleased] | ||
| ## [v3.549.0] - 2026-05-08 | ||
|
|
||
| ### Changed | ||
| - Updated `v3-biometric-authentication-entry` | ||
| - Updated `v3-biometric-enrollment-entry` |
User description
Automated v3 OpenAPI spec sync from
smileidentity/lambdav3.549.0.PR Type
Enhancement
Description
Add new API specs: biometric auth, block user, document verification, enhanced doc verification, smart selfie compare, services, supported documents, ID status, verification status
Restructure user PII fields into nested
user_detailsobject across existing specsRename terminology from "job" to "verification" throughout
Remove
SmileID-Partner-IDheader requirement from several endpointsUpdate enrollment endpoint path from
/v3/enrollto/v3/registrationUpdate token API partner ID pattern and add
user_idfieldDiagram Walkthrough
File Walkthrough
1 files
Add v3.549.0 changelog entry listing updated specs14 files
Add new biometric authentication endpoint specRestructure to user_details, rename path and terminologyRestructure to user_details, rename job to verificationAdd new block/unblock user endpoint specAdd new document verification endpoint specAdd new enhanced document verification endpoint specRestructure to user_details, add validation errors, remove partnerheaderAdd new verification status polling endpoint specAdd new ID type availability status endpoint specRename job to verification, remove partner headerAdd new services API for bank codes and ID typesAdd new smart selfie compare endpoint specAdd new supported documents listing endpoint specUpdate partner ID pattern, add user_id and operationId