Files
cbsnexora-backend/fineract-avro-schemas/src/main/avro/loan/v1/LoanAccountDataV1.avsc
T
Janos HaberandAdam Saghy 99470c0cf8 FINERACT-1926: Fineract Asset Externalization events
- [x] Change events
- [x] Create data enricher
- [x] Core changes
- [x] Remove AbstractBusinessEventSerializer
- [x] BusinessEventSerializer.toAvroDto added and change the event serializers
2023-06-06 15:20:42 +02:00

778 lines
18 KiB
JSON

{
"name": "LoanAccountDataV1",
"namespace": "org.apache.fineract.avro.loan.v1",
"type": "record",
"fields": [
{
"default": null,
"name": "id",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "accountNo",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "externalId",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "externalOwnerId",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "settlementDate",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "purchasePriceRatio",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "status",
"type": [
"null",
"org.apache.fineract.avro.loan.v1.LoanStatusEnumDataV1"
]
},
{
"default": null,
"name": "subStatus",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "clientId",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "clientAccountNo",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "clientName",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "clientOfficeId",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "clientExternalId",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "loanProductId",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "loanProductName",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "loanProductDescription",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "isLoanProductLinkedToFloatingRate",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "fundId",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "fundName",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "loanPurposeId",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "loanPurposeName",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "loanOfficerId",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "loanOfficerName",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "loanType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "principal",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "approvedPrincipal",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "proposedPrincipal",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "netDisbursalAmount",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "termFrequency",
"type": [
"null",
"int"
]
},
{
"default": null,
"name": "termPeriodFrequencyType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "numberOfRepayments",
"type": [
"null",
"int"
]
},
{
"default": null,
"name": "repaymentEvery",
"type": [
"null",
"int"
]
},
{
"default": null,
"name": "repaymentFrequencyType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "repaymentFrequencyNthDayType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "repaymentFrequencyDayOfWeekType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "interestRatePerPeriod",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "interestRateFrequencyType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "annualInterestRate",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "isFloatingInterestRate",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "interestRateDifferential",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "amortizationType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "interestType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "interestCalculationPeriodType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "allowPartialPeriodInterestCalculation",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "inArrearsTolerance",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "transactionProcessingStrategyCode",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "transactionProcessingStrategyName",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "graceOnPrincipalPayment",
"type": [
"null",
"int"
]
},
{
"default": null,
"name": "recurringMoratoriumOnPrincipalPeriods",
"type": [
"null",
"int"
]
},
{
"default": null,
"name": "graceOnInterestPayment",
"type": [
"null",
"int"
]
},
{
"default": null,
"name": "graceOnInterestCharged",
"type": [
"null",
"int"
]
},
{
"default": null,
"name": "graceOnArrearsAgeing",
"type": [
"null",
"int"
]
},
{
"default": null,
"name": "interestChargedFromDate",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "expectedFirstRepaymentOnDate",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "syncDisbursementWithMeeting",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "timeline",
"type": [
"null",
"org.apache.fineract.avro.loan.v1.LoanApplicationTimelineDataV1"
]
},
{
"default": null,
"name": "summary",
"type": [
"null",
"org.apache.fineract.avro.loan.v1.LoanSummaryDataV1"
]
},
{
"default": null,
"name": "repaymentSchedule",
"type": [
"null",
"org.apache.fineract.avro.loan.v1.LoanScheduleDataV1"
]
},
{
"default": null,
"name": "transactions",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.loan.v1.LoanTransactionDataV1"
}
]
},
{
"default": null,
"name": "charges",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.loan.v1.LoanChargeDataV1"
}
]
},
{
"default": null,
"name": "meeting",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.CalendarDataV1"
]
},
{
"default": null,
"name": "disbursementDetails",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.loan.v1.DisbursementDataV1"
}
]
},
{
"default": null,
"name": "originalSchedule",
"type": [
"null",
"org.apache.fineract.avro.loan.v1.LoanScheduleDataV1"
]
},
{
"default": null,
"name": "totalOverpaid",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "loanCounter",
"type": [
"null",
"int"
]
},
{
"default": null,
"name": "loanProductCounter",
"type": [
"null",
"int"
]
},
{
"default": null,
"name": "linkedAccount",
"type": [
"null",
"org.apache.fineract.avro.portfolio.v1.PortfolioAccountDataV1"
]
},
{
"default": null,
"name": "multiDisburseLoan",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "disallowExpectedDisbursements",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "canDefineInstallmentAmount",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "fixedEmiAmount",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "maxOutstandingLoanBalance",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "canDisburse",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "emiAmountVariations",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.loan.v1.LoanTermVariationsDataV1"
}
]
},
{
"default": null,
"name": "clientActiveLoanOptions",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.loan.v1.LoanAccountSummaryDataV1"
}
]
},
{
"default": null,
"name": "canUseForTopup",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "isTopup",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "closureLoanId",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "closureLoanAccountNo",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "topupAmount",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "product",
"type": [
"null",
"org.apache.fineract.avro.loan.v1.LoanProductDataV1"
]
},
{
"default": null,
"name": "inArrears",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "isNPA",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "overdueCharges",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.portfolio.v1.ChargeDataV1"
}
]
},
{
"default": null,
"name": "daysInMonthType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "daysInYearType",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
]
},
{
"default": null,
"name": "isInterestRecalculationEnabled",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "interestRecalculationData",
"type": [
"null",
"org.apache.fineract.avro.loan.v1.LoanInterestRecalculationDataV1"
]
},
{
"default": null,
"name": "createStandingInstructionAtDisbursement",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "delinquent",
"type": [
"null",
"org.apache.fineract.avro.loan.v1.CollectionDataV1"
]
},
{
"default": null,
"name": "delinquencyRange",
"type": [
"null",
"org.apache.fineract.avro.loan.v1.DelinquencyRangeDataV1"
]
},
{
"default": null,
"name": "overpaidOnDate",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "lastClosedBusinessDate",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "chargedOff",
"type": [
"null",
"boolean"
]
}
]
}