{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rollee/json-schema/rollee-models-company-accounts-banking-schema.json",
  "title": "models.CompanyAccountsBanking",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rollee-fleet-endpoints-api-openapi.yml#/components/schemas/models.CompanyAccountsBanking",
  "type": "object",
  "properties": {
    "size": {
      "type": "integer"
    },
    "users_data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/handlers.AccountDataResponse-std_models_BankAccount"
      }
    }
  },
  "$defs": {
    "handlers.AccountDataResponse-std_models_BankAccount": {
      "type": "object",
      "properties": {
        "endpoint_data": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/std_models.BankAccount"
          }
        },
        "user_account_id": {
          "type": "string"
        },
        "user_id": {
          "type": "string"
        }
      }
    },
    "std_models.BankAccount": {
      "type": "object",
      "properties": {
        "account_number": {
          "type": "string"
        },
        "account_type": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        },
        "recipient": {
          "type": "string"
        },
        "swift": {
          "type": "string"
        }
      }
    }
  }
}