Structures

The following structures are available globally.

  • Luna ID API v6.

    See more

    Declaration

    Swift

    public struct APIv6
  • Event query. Contains best shots data array and image type.

    See more

    Declaration

    Swift

    public struct EventQuery
  • GetFacesQuery contains userName (as userData), and targets to search face (e.g. .userData, .faceID)

    See more

    Declaration

    Swift

    public struct GetDocumentsQuery
  • GetFacesQuery contains userName (as userData), and targets to search face (e.g. .userData, .faceID)

    See more

    Declaration

    Swift

    public struct GetFacesQuery
  • Verification query. Contains best shot data and face identifiers.

    See more

    Declaration

    Swift

    public struct PerformVerificationQuery
  • Request to conduct verification of descriptors list similarity.

    Each descriptor from the references list is compared to each descriptor from the candidates list.

    See more

    Declaration

    Swift

    public struct BatchVerificationQuery : Encodable
  • Request to check the image list for Liveness.

    See more

    Declaration

    Swift

    public struct PredictLivenessQuery
  • Token permissions

    See more

    Declaration

    Swift

    public struct Permissions : Codable
  • Query for token creation. Query needs many specific arguments. See “create token” section in Luna Platform API documentation for details https://docs.visionlabs.ai/luna/v.5.108.0/ReferenceManuals/APIReferenceManual.html#tag/tokens

    See more

    Declaration

    Swift

    public struct TokenQuery : Codable

GetEvent Response

  • Response model for get event query

    See more

    Declaration

    Swift

    public struct GetEventResponse : Codable

Event

  • Event model

    See more

    Declaration

    Swift

    public struct Event : Codable

FaceDetection

Location

  • Location of event

    See more

    Declaration

    Swift

    public struct Location : Codable

MatchResult

  • Result of matching

    See more

    Declaration

    Swift

    public struct MatchResult : Codable

Meta

  • Query metadata

    See more

    Declaration

    Swift

    public struct Meta : Codable

PassportData

PassportField

PassportSavedImage

TopMatch

  • Most matching face for detection

    See more

    Declaration

    Swift

    public struct TopMatch : Codable
  • Response to the request of conducting verification of descriptors list similarity.

    See more

    Declaration

    Swift

    public struct BatchVerificationResponse : Decodable
  • Create image response

    See more

    Declaration

    Swift

    public struct CreateImageResponse : Codable
  • Response to the request to check the image list for Liveness.

    See more

    Declaration

    Swift

    public struct LivenessPredictResponse : Decodable
  • Aggregate result of Liveness estimation.

    See more

    Declaration

    Swift

    public struct AggregateEstimations : Decodable
  • Candidate.

    See more

    Declaration

    Swift

    public struct Candidate : Codable
  • Liveness estimation.

    See more

    Declaration

    Swift

    public struct Estimation : Decodable
  • Liveness result.

    See more

    Declaration

    Swift

    public struct Liveness : Decodable
  • Processed image with Liveness prediction.

    See more

    Declaration

    Swift

    public struct LivenessPredict : Decodable
  • Token response

    See more

    Declaration

    Swift

    public struct TokenResponse : Codable