{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lemonway/json-schema/lemonway-create-ibanoutput-schema.json",
  "title": "CreateIBANOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lemonway-moneyins-virtual-iban-api-openapi.yml#/components/schemas/CreateIBANOutput",
  "type": "object",
  "properties": {
    "id": {
      "format": "int64",
      "description": "IBAN ID",
      "type": "integer"
    },
    "iban": {
      "description": "IBAN",
      "type": "string"
    },
    "bic": {
      "description": "BIC/SWIFT Code",
      "type": "string"
    },
    "holder": {
      "description": "IBAN Owner = Lemonway",
      "type": "string"
    },
    "domiciliation": {
      "description": "Domiciliation",
      "type": "string"
    },
    "status": {
      "format": "int32",
      "description": "IBAN Status",
      "type": "integer"
    },
    "maxAvailableIbanPerWallet": {
      "format": "int32",
      "description": "IBAN left that can be generated for this wallet",
      "type": "integer"
    },
    "maxAvailableIban": {
      "format": "int32",
      "description": "IBAN left that can be generated in total",
      "type": "integer"
    },
    "pdf": {
      "description": "PDF in base64",
      "type": "string"
    },
    "qrCode": {
      "description": "QR Code PNG in base64",
      "type": "string"
    },
    "error": {
      "$ref": "#/$defs/Error"
    }
  },
  "$defs": {
    "Error": {
      "type": "object",
      "properties": {
        "code": {
          "format": "int32",
          "type": "integer"
        },
        "message": {
          "type": "string"
        },
        "psp": {
          "$ref": "#/$defs/PSP"
        }
      }
    },
    "PSP": {
      "type": "object",
      "properties": {
        "message": {
          "description": "Get the Error Message from PSP",
          "type": "string"
        }
      }
    }
  }
}