{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/q2/json-schema/q2-account-beneficiary-object200-response-schema.json",
  "title": "AccountBeneficiaryObject200Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/q2-account-beneficiary-api-openapi.yml#/components/schemas/AccountBeneficiaryObject200Response",
  "allOf": [
    {
      "$ref": "#/$defs/0"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "properties": {
            "accountId": {
              "$ref": "#/$defs/HelixId"
            },
            "accountLegalName1": {
              "type": "string"
            },
            "accountLegalName2": {
              "type": "string"
            },
            "accountName": {
              "type": "string"
            },
            "accountNumber": {
              "type": "string"
            },
            "accountNumberMasked": {
              "type": "string"
            },
            "addressLine1": {
              "type": "string"
            },
            "addressLine2": {
              "type": "string"
            },
            "addressLine3": {
              "type": "string"
            },
            "addressLine4": {
              "type": "string"
            },
            "birthDate": {
              "$ref": "#/$defs/DateTimeProperty"
            },
            "city": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "customerBeneficiaryId": {
              "$ref": "#/$defs/HelixId"
            },
            "customerId": {
              "$ref": "#/$defs/HelixId"
            },
            "distributionDescription": {
              "type": "string"
            },
            "firstName": {
              "type": "string"
            },
            "isActive": {
              "type": "boolean"
            },
            "lastName": {
              "type": "string"
            },
            "middleName": {
              "type": "string"
            },
            "postalCode": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "taxIdMasked": {
              "type": "string"
            },
            "beneficiaryPosition": {
              "type": [
                "integer",
                "null"
              ],
              "description": "Position or order of this beneficiary on the account."
            },
            "distributionPercentage": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0,
              "maximum": 100,
              "description": "Whole-number percentage of the account balance to distribute to this beneficiary. Must be between 0 and 100."
            },
            "distributionType": {
              "$ref": "#/$defs/DistributionType"
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "DateTimeProperty": {
      "type": "string",
      "format": "date-time"
    },
    "DistributionType": {
      "type": [
        "string",
        "null"
      ],
      "description": "The method used to distribute the account balance to this beneficiary. Accepted values: Percentage, DescriptionOnly",
      "enum": [
        "Percentage",
        "DescriptionOnly"
      ]
    },
    "HelixId": {
      "type": "integer",
      "format": "int32",
      "minimum": 1
    }
  }
}