{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/q2/json-schema/q2-customer-beneficiary-account-assignment-list-schema.json",
  "title": "CustomerBeneficiaryAccountAssignmentList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/q2-customer-beneficiary-api-openapi.yml#/components/schemas/CustomerBeneficiaryAccountAssignmentList",
  "type": "object",
  "properties": {
    "customerId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "customerBeneficiaryId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "accountAssignments": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/CustomerBeneficiaryAccountAssignment"
      }
    }
  },
  "$defs": {
    "CustomerBeneficiaryAccountAssignment": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "accountLegalName1": {
          "type": [
            "string",
            "null"
          ]
        },
        "accountLegalName2": {
          "type": [
            "string",
            "null"
          ]
        },
        "accountName": {
          "type": [
            "string",
            "null"
          ]
        },
        "accountNumberMasked": {
          "type": [
            "string",
            "null"
          ]
        },
        "accountType": {
          "type": [
            "string",
            "null"
          ]
        },
        "beneficiaryPosition": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "distributionDescription": {
          "type": [
            "string",
            "null"
          ]
        },
        "distributionPercentage": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "distributionType": {
          "type": [
            "string",
            "null"
          ]
        },
        "effectiveDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "isActive": {
          "type": [
            "boolean",
            "null"
          ]
        }
      }
    }
  }
}