FINERACT-1694: Fixed Deposit event Avro schemas
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
b327e710f7
commit
f620a469e8
+18
-25
@@ -1,59 +1,52 @@
|
||||
{
|
||||
"name": "ClientEventV1",
|
||||
"name": "ClientCollateralManagementDataV1",
|
||||
"namespace": "org.apache.fineract.avro.client.v1",
|
||||
"type": "record",
|
||||
"fields": [
|
||||
{
|
||||
"name": "quantity",
|
||||
"type": [
|
||||
"null",
|
||||
"bigdecimal"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "id",
|
||||
"type": [
|
||||
"null",
|
||||
"int"
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "accountNo",
|
||||
"name": "pctToBase",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
"bigdecimal"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"name": "unitPrice",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.client.v1.ClientEventV1Status"
|
||||
"bigdecimal"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "active",
|
||||
"name": "total",
|
||||
"type": [
|
||||
"null",
|
||||
"boolean"
|
||||
"bigdecimal"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "fullName",
|
||||
"name": "totalCollateral",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
"bigdecimal"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "displayName",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "officeId",
|
||||
"type": [
|
||||
"null",
|
||||
"int"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "officeName",
|
||||
"name": "name",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
@@ -0,0 +1,251 @@
|
||||
{
|
||||
"name": "ClientDataV1",
|
||||
"namespace": "org.apache.fineract.avro.client.v1",
|
||||
"type": "record",
|
||||
"fields": [
|
||||
{
|
||||
"name": "id",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "accountNo",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "externalId",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "subStatus",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.CodeValueDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "active",
|
||||
"type": [
|
||||
"null",
|
||||
"boolean"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "activationDate",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "firstname",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "middlename",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "lastname",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "fullname",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "displayName",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mobileNo",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "emailAddress",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dateOfBirth",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gender",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.CodeValueDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "clientType",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.CodeValueDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "clientClassification",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.CodeValueDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "isStaff",
|
||||
"type": [
|
||||
"null",
|
||||
"boolean"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "officeId",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "officeName",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "transferToOfficeId",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "transferToOfficeName",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "imageId",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "imagePresent",
|
||||
"type": [
|
||||
"null",
|
||||
"boolean"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "staffId",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "staffName",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "timeline",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.client.v1.ClientTimelineDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "savingsProductId",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "savingsProductName",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "savingsAccountId",
|
||||
"type": [
|
||||
"null",
|
||||
"long"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "legalForm",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "clientCollateralManagements",
|
||||
"type": [
|
||||
"null",
|
||||
{
|
||||
"type": "array",
|
||||
"items": "org.apache.fineract.avro.client.v1.ClientCollateralManagementDataV1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "groups",
|
||||
"type": [
|
||||
"null",
|
||||
{
|
||||
"type": "array",
|
||||
"items": "org.apache.fineract.avro.group.v1.GroupGeneralDataV1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
{
|
||||
"name": "ClientEventV1Status",
|
||||
"namespace": "org.apache.fineract.avro.client.v1",
|
||||
"type": "record",
|
||||
"fields": [
|
||||
{
|
||||
"name": "id",
|
||||
"type": [
|
||||
"null",
|
||||
"int"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "description",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"name": "ClientTimelineDataV1",
|
||||
"namespace": "org.apache.fineract.avro.client.v1",
|
||||
"type": "record",
|
||||
"fields": [
|
||||
{
|
||||
"name": "submittedOnDate",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "submittedByUsername",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "submittedByFirstname",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "submittedByLastname",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "activatedOnDate",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "activatedByUsername",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "activatedByFirstname",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "activatedByLastname",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "closedOnDate",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "closedByUsername",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "closedByFirstname",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "closedByLastname",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user