schemes:financial:bankaccount
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
description
Hier ist ein JSON Schema, das international gültige Kontoinformationen erfasst. Es berücksichtigt Bankkontodaten wie IBAN, SWIFT/BIC, Kontonummer, Bankleitzahl und weitere Felder, die weltweit verwendet werden könnten.
In diesem JSON Schema ist es möglich, mehrere Einträge desselben Typs in einem Array zuzulassen, selbst wenn der Typ innerhalb einer oneOf-Definition steht. Die Verwendung von oneOf bedeutet jedoch, dass jeder einzelne Eintrag im Array entweder das Schema für eine natürliche Person oder für eine juristische Person erfüllen muss.
examples
schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "International Bank Account Information",
"type": "object",
"properties": {
"accountHolders": {
"type": "array",
"description": "List of account holders (individuals or legal entities)",
"items": {
"type": "object",
"oneOf": [
{
"$ref": "https://b2base.eu/doku.php?id=schemes:person:nameandbirthdetails"
},
{
"$ref": "https://b2base.eu/doku.php?id=schemes:legalentity:nameanddetails"
}
]
}
},
"authorizedUsers": {
"type": "array",
"description": "List of individuals with authorization to access the account",
"items": {
"type": "object",
"properties": {
"$ref": "https://b2base.eu/doku.php?id=schemes:person:nameandbirthdetails",
"authorizationLevel": {
"type": "string",
"description": "Level of authorization (e.g., view, transaction, full access)",
"enum": ["view", "transaction", "full access"]
}
},
"required": ["$ref", "authorizationLevel"]
}
},
"accountNumber": {
"type": "string",
"description": "Account number (if IBAN is not available)",
"pattern": "^[A-Za-z0-9]{1,34}$"
},
"iban": {
"type": "string",
"description": "International Bank Account Number",
"pattern": "^[A-Z]{2}\d{2}[A-Za-z0-9]{1,30}$"
},
"swiftBic": {
"type": "string",
"description": "SWIFT/BIC code of the bank",
"pattern": "^[A-Za-z]{4}[A-Za-z]{2}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$"
},
"bank": {
"$ref": "https://b2base.eu/doku.php?id=schemes:legalentity:nameanddetails",
"description": "Details of the bank as a legal entity"
},
"currency": {
"type": "string",
"description": "Currency of the account in ISO 4217 format",
"pattern": "^[A-Z]{3}$"
},
"additionalDetails": {
"type": "string",
"description": "Additional details or notes regarding the account"
}
},
"required": ["accountHolders", "iban", "swiftBic", "bank", "currency"],
"additionalProperties": false
}
schemes/financial/bankaccount.1734003628.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
