{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/q2/json-schema/q2-external-account-object200-response-schema.json",
  "title": "ExternalAccountObject200Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/q2-external-account-api-openapi.yml#/components/schemas/ExternalAccountObject200Response",
  "allOf": [
    {
      "$ref": "#/$defs/0"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "properties": {
            "accountNumber": {
              "type": "string"
            },
            "accountNumberMasked": {
              "type": "string"
            },
            "businessName": {
              "type": "string",
              "maxLength": 100
            },
            "customField1": {
              "type": "string",
              "maxLength": 50
            },
            "customField2": {
              "type": "string",
              "maxLength": 50
            },
            "customField3": {
              "type": "string",
              "maxLength": 50
            },
            "customField4": {
              "type": "string",
              "maxLength": 50
            },
            "customField5": {
              "type": "string",
              "maxLength": 50
            },
            "customerId": {
              "$ref": "#/$defs/HelixId"
            },
            "externalAccountId": {
              "$ref": "#/$defs/HelixId"
            },
            "firstName": {
              "type": "string",
              "maxLength": 50
            },
            "isActive": {
              "type": "boolean",
              "deprecated": true
            },
            "isLocked": {
              "type": "boolean"
            },
            "lastModifiedDate": {
              "$ref": "#/$defs/lastContactDate"
            },
            "lastName": {
              "type": "string",
              "maxLength": 50
            },
            "lockedDate": {
              "$ref": "#/$defs/lastContactDate"
            },
            "lockedReason": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "nickName": {
              "type": "string"
            },
            "nocCode": {
              "type": "string"
            },
            "routingNumber": {
              "type": "string"
            },
            "routingNumberMasked": {
              "type": "string"
            },
            "status": {
              "type": "string",
              "enum": [
                "Unverified",
                "VerifyLocked",
                "Verified",
                "Denied",
                "Expired",
                "Archived"
              ]
            },
            "statusDate": {
              "$ref": "#/$defs/lastContactDate"
            },
            "tag": {
              "$ref": "#/$defs/TagProperty"
            },
            "type": {
              "type": "string",
              "enum": [
                "Checking",
                "Savings",
                "Business Checking",
                "Business Savings",
                "Prepaid"
              ]
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "HelixId": {
      "type": "integer",
      "format": "int32",
      "minimum": 1
    },
    "TagProperty": {
      "type": "string",
      "maxLength": 50
    }
  }
}