{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divvy/json-schema/divvy-organization-bank-account-user-response-dto-schema.json",
  "title": "OrganizationBankAccountUserResponseDto",
  "description": "Bank account user response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/divvy-funding-accounts-api-openapi.yml#/components/schemas/OrganizationBankAccountUserResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "BILL-generated ID of the bank account user. The value begins with `bau`."
    },
    "bankAccountId": {
      "type": "string",
      "description": "BILL-generated ID of the bank account. The value begins with `bac`."
    },
    "userId": {
      "type": "string",
      "description": "BILL-generated ID of the user. The value begins with `006`."
    },
    "archived": {
      "type": "boolean",
      "description": "Set as `true` if the bank account user is archived"
    },
    "verificationStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/OrganizationBankAccountUserStatus"
        },
        {
          "description": "Bank account user verification status."
        }
      ]
    },
    "createdTime": {
      "type": "string",
      "description": "Created date and time",
      "format": "date-time"
    },
    "updatedTime": {
      "type": "string",
      "description": "Updated date and time",
      "format": "date-time"
    }
  },
  "$defs": {
    "OrganizationBankAccountUserStatus": {
      "type": "string",
      "description": "Bank account user verification status.",
      "enum": [
        "UNVERIFIED",
        "NOMINATED",
        "VERIFIED",
        "UNDEFINED"
      ]
    }
  }
}