{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/barclays/main/json-schema/barclays-obfunds-confirmation-consent1-schema.json", "title": "OBFundsConfirmationConsent1", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/barclays-funds-confirmation-consents-api-openapi.yml#/components/schemas/OBFundsConfirmationConsent1", "type": "object", "additionalProperties": false, "deprecated": false, "properties": { "Data": { "type": "object", "additionalProperties": false, "properties": { "ExpirationDateTime": { "type": "string", "format": "date-time", "description": "Specified date and time the funds confirmation authorisation will expire.\n If this is not populated, the authorisation will be open ended. All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00" }, "DebtorAccount": { "type": "object", "additionalProperties": false, "description": "Unambiguous identification of the account of the debtor to which a confirmation of funds consent will be applied.", "properties": { "SchemeName": { "type": "string", "description": "Name of the identification scheme, in a coded form as published in an external list. For a full list of values see `OBInternalAccountIdentification4Code` in *OB_Internal_CodeSet* [here](https://github.com/OpenBankingUK/External_Internal_CodeSets)", "enum": [ "UK.OBIE.BBAN", "UK.OBIE.IBAN", "UK.OBIE.PAN", "UK.OBIE.Paym", "UK.OBIE.SortCodeAccountNumber", "UK.OBIE.Wallet" ] }, "Identification": { "type": "string", "description": "Identification assigned by an institution to identify an account. This identification is known by the account owner.", "maxLength": 256, "minLength": 1, "pattern": "^\\d{14}$|^[A-Z]{2}\\d{2}[A-Z0-9]{1,30}$|^\\d{16}$" }, "Name": { "type": "string", "description": "Name of the account, as assigned by the account servicing institution.\nUsage: The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account.", "maxLength": 350, "minLength": 1, "pattern": "^(?!\\s)([a-zA-Z0-9-. '()£=\"_,&@#\\/]{1,70})$" }, "SecondaryIdentification": { "type": "string", "description": "This is secondary identification of the account, as assigned by the account servicing institution. \nThis can be used by building societies to additionally identify accounts with a roll number (in addition to a sort code and account number combination).", "maxLength": 34, "minLength": 1, "pattern": "^(?!\\s)([a-zA-Z0-9-. '()£=\"_,&@#\\/]{1,34})$" }, "Proxy": { "$ref": "#/$defs/OBProxy1" } }, "required": [ "Identification", "SchemeName" ] } }, "required": [ "DebtorAccount" ] } }, "required": [ "Data" ], "nullable": false, "$defs": { "ExternalProxyAccountType1Code": { "type": "string", "deprecated": false, "description": "Specifies the external proxy account type code, as published in the proxy account type external code set.
For a full list of values refer to `ExternalProxyAccountType1Code` in *ISO_External_CodeSet* [here](https://github.com/OpenBankingUK/External_Internal_CodeSets)", "enum": [ "TELE", "EMAL", "DNAM", "CINC", "COTX", "COID", "CUST", "DRLC", "EIDN", "EWAL", "PVTX", "LEIC", "MBNO", "NIDN", "CCPT", "SHID", "SOSE", "TOKN", "UBIL", "VIPN", "BIID" ], "nullable": false }, "OBProxy1": { "type": "object", "additionalProperties": false, "deprecated": false, "description": "Specifies an alternate assumed name for the identification of the account.", "properties": { "Identification": { "type": "string", "description": "Identification used to indicate the account identification under another specified name.", "maxLength": 2048, "minLength": 1, "pattern": "^(?!\\s)([A-Za-z0-9!+\\/\\= '.,@#()_\\-]{1,2048})$" }, "Code": { "$ref": "#/$defs/ExternalProxyAccountType1Code" }, "Type": { "type": "string", "description": "Type of the proxy identification.", "maxLength": 35, "minLength": 1, "pattern": "^(?!\\s)([A-Za-z0-9!+\\/\\= '.,@#()_\\-]{1,35})$" } }, "required": [ "Code", "Identification" ], "nullable": false } } }