FINERACT-1694: Fixed Deposit event Avro schemas
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
b327e710f7
commit
f620a469e8
@@ -0,0 +1,161 @@
|
||||
{
|
||||
"name": "ChargeDataV1",
|
||||
"namespace": "org.apache.fineract.avro.portfolio.v1",
|
||||
"type": "record",
|
||||
"fields": [
|
||||
{
|
||||
"name": "id",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "active",
|
||||
"type": [
|
||||
"null",
|
||||
"boolean"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "penalty",
|
||||
"type": [
|
||||
"null",
|
||||
"boolean"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "freeWithdrawal",
|
||||
"type": [
|
||||
"null",
|
||||
"boolean"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "freeWithdrawalChargeFrequency",
|
||||
"type": [
|
||||
"null",
|
||||
"int"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "restartFrequency",
|
||||
"type": [
|
||||
"null",
|
||||
"int"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "restartFrequencyEnum",
|
||||
"type": [
|
||||
"null",
|
||||
"int"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "isPaymentType",
|
||||
"type": [
|
||||
"null",
|
||||
"boolean"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "paymentTypeOptions",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.payment.v1.PaymentTypeDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "currency",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.CurrencyDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "amount",
|
||||
"type": [
|
||||
"null",
|
||||
"bigdecimal"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "chargeTimeType",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "chargeAppliesTo",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "chargeCalculationType",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "chargePaymentMode",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "feeOnMonthDay",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "feeInterval",
|
||||
"type": [
|
||||
"null",
|
||||
"int"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minCap",
|
||||
"type": [
|
||||
"null",
|
||||
"bigdecimal"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "maxCap",
|
||||
"type": [
|
||||
"null",
|
||||
"bigdecimal"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "feeFrequency",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "incomeOrLiabilityAccount",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.gl.v1.GLAccountDataV1"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"name": "PortfolioAccountDataV1",
|
||||
"namespace": "org.apache.fineract.avro.portfolio.v1",
|
||||
"type": "record",
|
||||
"fields": [
|
||||
{
|
||||
"name": "id",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "accountNo",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "externalId",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "groupId",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "groupName",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "clientId",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "clientName",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "productId",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "productName",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "fieldOfficerId",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "fieldOfficerName",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "currency",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.CurrencyDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "amtForTransfer",
|
||||
"type": [
|
||||
"null",
|
||||
"bigdecimal"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user