{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/barclays/main/json-schema/barclays-get-account-details-response-schema.json", "title": "get_account_details_response", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/barclays-accounts-api-openapi.yml#/components/schemas/get_account_details_response", "type": "object", "properties": { "cashAccountType": { "type": "string" }, "resourceId": { "type": "string" }, "balances": { "type": "array", "items": { "type": "object", "properties": { "balanceType": { "type": "string" }, "balanceAmount": { "type": "object", "properties": { "amount": { "type": "string" }, "currency": { "type": "string" } }, "required": [ "amount", "currency" ] } }, "required": [ "balanceAmount", "balanceType" ] } }, "ownerName": { "type": "string" }, "iban": { "type": "string" }, "name": { "type": "string" }, "currency": { "type": "string" } } }