Skip to content

Add capture_type property support to Static Liveness resources#336

Draft
Copilot wants to merge 2 commits intofeature/SDK-2775-DotNet-add-support-for-new-capture-type-property-on-static-liveness-resourcesfrom
copilot/sub-pr-335
Draft

Add capture_type property support to Static Liveness resources#336
Copilot wants to merge 2 commits intofeature/SDK-2775-DotNet-add-support-for-new-capture-type-property-on-static-liveness-resourcesfrom
copilot/sub-pr-335

Conversation

Copy link

Copilot AI commented Feb 5, 2026

The Static Liveness resource response was missing the capture_type property that indicates the type of capture performed (e.g., SELFIE, ID_DOCUMENT).

Changes

  • StaticLivenessResourceResponse: Added CaptureType field to expose the property when fetching session resources
  • BaseRequiredResource: Added CaptureType field to support the property in required resources flow
  • Test coverage: Updated fixtures and assertions to verify property parsing

The field uses omitempty for backward compatibility with existing integrations.

type StaticLivenessResourceResponse struct {
    *LivenessResourceResponse
    Image       *Image `json:"image"`
    CaptureType string `json:"capture_type,omitempty"`  // New field
}

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add support for new capture_type property on Static Liveness resources Add capture_type property support to Static Liveness resources Feb 5, 2026
Copilot AI requested a review from mehmet-yoti February 5, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants