SWIFT · Schema

BbanElements

BankingCross-Border PaymentsFinancial MessagingFinancial ServicesGPIISO 20022PaymentsSWIFT

Properties

Name Type Description
elements array
View JSON Schema on GitHub

JSON Schema

swift-bban-elements-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swift/json-schema/swift-bban-elements-schema.json",
  "title": "BbanElements",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/swift-bbans-api-openapi.yml#/components/schemas/BbanElements",
  "type": "object",
  "required": [
    "elements"
  ],
  "properties": {
    "elements": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BbanElementCombination"
      }
    }
  },
  "$defs": {
    "BbanElementCombination": {
      "type": "array",
      "minLength": 1,
      "items": {
        "$ref": "#/$defs/IbanElement"
      }
    },
    "IbanElement": {
      "type": "object",
      "required": [
        "field_position",
        "field_name",
        "field_length",
        "is_max_length",
        "is_mandatory"
      ],
      "properties": {
        "field_position": {
          "type": "number",
          "minimum": 1,
          "maximum": 34,
          "description": "1-based position of the element within an IBAN"
        },
        "field_name": {
          "type": "string",
          "pattern": "^[a-z0-9_]{1,64}$",
          "description": "Machine-friendly element identifier"
        },
        "label_en": {
          "$ref": "#/$defs/StringMax255"
        },
        "label_local": {
          "$ref": "#/$defs/StringMax255"
        },
        "field_length": {
          "type": "number",
          "minimum": 1,
          "maximum": 30
        },
        "is_max_length": {
          "type": "boolean",
          "description": "If true, the element can be supplied shorter than how stated by field_length and it is left-padded with zeroes"
        },
        "is_mandatory": {
          "type": "boolean",
          "description": "If false, IBAN constructor can find its value"
        }
      },
      "additionalProperties": false
    },
    "StringMax255": {
      "description": "Generic string definition, from 1 to 255 characters long",
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/swift-bban-elements"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.