From 432fb1948543cfcca55f28067dfad72653c3390e Mon Sep 17 00:00:00 2001 From: nobody Date: Thu, 12 Dec 2024 04:48:01 +0000 Subject: [PATCH] JSON Schema Update --- config/v3/kyc_auth_status/receive.json | 36 +++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/config/v3/kyc_auth_status/receive.json b/config/v3/kyc_auth_status/receive.json index d1d18e62..03eda8fa 100644 --- a/config/v3/kyc_auth_status/receive.json +++ b/config/v3/kyc_auth_status/receive.json @@ -168,10 +168,24 @@ } }, "available_services": { - "description": "Services that support this document type.", + "description": "Services that support this document type and the specific name expected by the service.", "type": "array", "items": { - "type": "string" + "type": "object", + "required": [ + "document_type", + "service" + ], + "properties": { + "document_type": { + "description": "The specific document type name expected by the service.", + "type": "string" + }, + "service": { + "description": "The name of the service supporting this document type.", + "type": "string" + } + } } }, "display_name": { @@ -378,10 +392,24 @@ } }, "available_services": { - "description": "Services that support this document type.", + "description": "Services that support this document type and the specific name expected by the service.", "type": "array", "items": { - "type": "string" + "type": "object", + "required": [ + "document_type", + "service" + ], + "properties": { + "document_type": { + "description": "The specific document type name expected by the service.", + "type": "string" + }, + "service": { + "description": "The name of the service supporting this document type.", + "type": "string" + } + } } }, "display_name": {