From e9a09107c045f5450b656a40f66d87eb7a7583cd Mon Sep 17 00:00:00 2001 From: CircleCI Date: Thu, 18 Jan 2024 20:38:49 +0000 Subject: [PATCH] JSON Schema Update --- config/v3/kyc_auth_status/receive.json | 84 ++++++++++++++++++++++++++ config/v3/kyc_auth_status/send.json | 5 ++ 2 files changed, 89 insertions(+) diff --git a/config/v3/kyc_auth_status/receive.json b/config/v3/kyc_auth_status/receive.json index 56e72004..6d29ea3d 100644 --- a/config/v3/kyc_auth_status/receive.json +++ b/config/v3/kyc_auth_status/receive.json @@ -94,6 +94,48 @@ "expired", "suspected" ] + }, + "supported_documents": { + "description": "Supported documents per service.", + "type": "object", + "properties": { + "idv": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "additional": { + "type": "object", + "properties": { + "display_name": { + "type": "string" + }, + "format": { + "type": "string" + } + } + }, + "display_name": { + "type": "string" + }, + "format": { + "type": "string" + } + } + } + }, + "onfido": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "display_name": { + "type": "string" + } + } + } + } + } } } } @@ -182,6 +224,48 @@ "expired", "suspected" ] + }, + "supported_documents": { + "description": "Supported documents per service.", + "type": "object", + "properties": { + "idv": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "additional": { + "type": "object", + "properties": { + "display_name": { + "type": "string" + }, + "format": { + "type": "string" + } + } + }, + "display_name": { + "type": "string" + }, + "format": { + "type": "string" + } + } + } + }, + "onfido": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "display_name": { + "type": "string" + } + } + } + } + } } } } diff --git a/config/v3/kyc_auth_status/send.json b/config/v3/kyc_auth_status/send.json index 11099336..c6fed439 100644 --- a/config/v3/kyc_auth_status/send.json +++ b/config/v3/kyc_auth_status/send.json @@ -19,6 +19,11 @@ 1 ] }, + "country": { + "description": "The country for which service availability is being verified, 2-letter country code", + "type": "string", + "pattern": "^[a-z]{2}$" + }, "landing_companies": { "description": "Indicates which landing companies to get the KYC authentication status for.", "type": "array",