Skip to content

Commit

Permalink
Merge pull request #48 from regulaforensics/update-structure
Browse files Browse the repository at this point in the history
Liveness fix
  • Loading branch information
dangost committed Apr 7, 2023
2 parents 82827a9 + a9c092c commit 54ab9ea
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions liveness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,48 +16,31 @@ paths:
schema:
$ref: "#/components/schemas/TransactionInfo"


components:
schemas:
TransactionInfo:
type: object
properties:
code:
type: integer
description: "Return code value"
description: "The result code, one of the FaceSDKResultCode enum values. See the enum: https://docs.regulaforensics.com/develop/face-sdk/web-service/development/enums/face-sdk-result-code/"
status:
type: integer
default: null
description: "Whether the liveness detection is confirmed (0) or not (1)."
sessionId:
type: integer
description: "Session ID"
description: "Session ID, one session may include many transactions."
transactionId:
type: string
description: "Transaction ID"
description: "Transaction ID, there can be several transactions within one session."
video:
type: string
description: "S3 link to transaction video"
description: "An S3 link to the session video."
portrait:
type: string
description: "S3 link to transaction portrait"
metadata:
type: object
additionalProperties: true
LivenessTransaction:
type: object
properties:
code:
type: integer
default: null
sessionId:
type: string
status:
type: integer
default: null
description: "Whether the liveness detection is confirmed (0) or not (1)"
transactionId:
type: string
description: "An S3 link to the portrait."
metadata:
type: object
additionalProperties: true
additionalProperties: true
description: "A free-form object containing person's extended attributes."
elapsed:
type: integer
default: null

0 comments on commit 54ab9ea

Please sign in to comment.