From a9c092ca0dec3aa38ec72eb91179f5721c814658 Mon Sep 17 00:00:00 2001 From: irynaharoshka <93273494+irynaharoshka@users.noreply.github.com> Date: Fri, 7 Apr 2023 14:15:35 +0700 Subject: [PATCH] Liveness fix --- liveness.yml | 37 ++++++++++--------------------------- 1 file changed, 10 insertions(+), 27 deletions(-) diff --git a/liveness.yml b/liveness.yml index 514c68f..a1537f5 100644 --- a/liveness.yml +++ b/liveness.yml @@ -16,7 +16,6 @@ paths: schema: $ref: "#/components/schemas/TransactionInfo" - components: schemas: TransactionInfo: @@ -24,40 +23,24 @@ components: 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