B2Base

Bürokratie vereinfachen durch Standards

Benutzer-Werkzeuge

Webseiten-Werkzeuge


schemes:financial:bankaccount

Dies ist eine alte Version des Dokuments!


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.

references

schemes:person:nameandbirthdetails schemes:legalentity:nameanddetails

examples

json notation

{
  "accountHolders": [
    {
      "$ref": "https://b2base.eu/doku.php?id=schemes:person:nameandbirthdetails"
    },
    {
      "$ref": "https://b2base.eu/doku.php?id=schemes:legalentity:nameanddetails"
    }
  ],
  "authorizedUsers": [
    {
      "$ref": "https://b2base.eu/doku.php?id=schemes:person:nameandbirthdetails",
      "authorizationLevel": "view"
    },
    {
      "$ref": "https://b2base.eu/doku.php?id=schemes:person:nameandbirthdetails",
      "authorizationLevel": "full access"
    }
  ],
  "accountNumber": "DE12345678901234567890",
  "iban": "DE89370400440532013000",
  "swiftBic": "COBADEFFXXX",
  "bank": {
    "$ref": "https://b2base.eu/doku.php?id=schemes:legalentity:nameanddetails"
  },
  "currency": "EUR",
  "additionalDetails": "This is a business account for operational transactions."
}

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.1734003985.txt.gz · Zuletzt geändert: (Externe Bearbeitung)

Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki