From 86ff7abff317b0d4643dbe50b73a1e65e7f8f553 Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Fri, 14 Feb 2025 13:28:22 +0100 Subject: [PATCH] spec release --- json/LegalEntityService-v4.json | 24 ++++++------------------ yaml/LegalEntityService-v4.yaml | 24 ++++++++---------------- 2 files changed, 14 insertions(+), 34 deletions(-) diff --git a/json/LegalEntityService-v4.json b/json/LegalEntityService-v4.json index 75eee57..65498c6 100644 --- a/json/LegalEntityService-v4.json +++ b/json/LegalEntityService-v4.json @@ -5362,20 +5362,6 @@ ], "type" : "object" }, - "LocalDate" : { - "additionalProperties" : false, - "properties" : { - "month" : { - "format" : "int32", - "type" : "integer" - }, - "year" : { - "format" : "int32", - "type" : "integer" - } - }, - "type" : "object" - }, "NOLocalAccountIdentification" : { "additionalProperties" : false, "properties" : { @@ -6109,13 +6095,15 @@ }, "dateOfFundsReceived" : { "x-addedInVersion" : "4", - "description" : "The date the funds were received, in YYYY-MM-DD format. Required if the `type` is **donations** or **inheritance**.", - "$ref" : "#/components/schemas/LocalDate" + "description" : "The date the funds were received, in YYYY-MM-DD format. Required if `type` is **donations** or **inheritance**.", + "format" : "date-time", + "type" : "string" }, "dateOfSourceEvent" : { "x-addedInVersion" : "4", - "description" : "The date when the source of funds became available, in YYYY-MM-DD format. Required if `type` is **assetSale** or **gamblingWinnings**.\n\nFor example, if the source of funds is **assetSale**, the `dateOfSourceEvent` is the date of the sale. If the source of funds is **gamblingWinnings**, the `dateOfSourceEvent` is the date of winnings.", - "$ref" : "#/components/schemas/LocalDate" + "description" : "The date when the source of funds became available, in YYYY-MM-DD format. Required if `type` is **assetSale** or **gamblingWinnings**.\n\nFor example, if the source of funds is of type **assetSale**, the dateOfSourceEvent is the date of the sale. If the source of funds is of type **gamblingWinnings**, the dateOfSourceEvent is the date of winnings.", + "format" : "date-time", + "type" : "string" }, "description" : { "description" : "Text describing the source of funds. Required if `type` is **business** or **assetSale**.\n\nFor example, for `type` **business**, provide a description of where the business transactions come from, such as payments through bank transfer. For `type` **assetSale**, provide a description of the asset. For example, the address of a residential property if it is a property sale.", diff --git a/yaml/LegalEntityService-v4.yaml b/yaml/LegalEntityService-v4.yaml index b4bfea4..c47046c 100644 --- a/yaml/LegalEntityService-v4.yaml +++ b/yaml/LegalEntityService-v4.yaml @@ -3956,16 +3956,6 @@ components: required: - type type: object - LocalDate: - additionalProperties: false - properties: - month: - format: int32 - type: integer - year: - format: int32 - type: integer - type: object NOLocalAccountIdentification: additionalProperties: false properties: @@ -4666,18 +4656,20 @@ components: dateOfFundsReceived: x-addedInVersion: '4' description: The date the funds were received, in YYYY-MM-DD format. Required - if the `type` is **donations** or **inheritance**. - $ref: '#/components/schemas/LocalDate' + if `type` is **donations** or **inheritance**. + format: date-time + type: string dateOfSourceEvent: x-addedInVersion: '4' description: 'The date when the source of funds became available, in YYYY-MM-DD format. Required if `type` is **assetSale** or **gamblingWinnings**. - For example, if the source of funds is **assetSale**, the `dateOfSourceEvent` - is the date of the sale. If the source of funds is **gamblingWinnings**, - the `dateOfSourceEvent` is the date of winnings.' - $ref: '#/components/schemas/LocalDate' + For example, if the source of funds is of type **assetSale**, the dateOfSourceEvent + is the date of the sale. If the source of funds is of type **gamblingWinnings**, + the dateOfSourceEvent is the date of winnings.' + format: date-time + type: string description: description: 'Text describing the source of funds. Required if `type` is **business** or **assetSale**.