Loan repaid after due date

Event generated when a loan is repaid after its due date.

Type: object
Domain: lending
Event: loan_repayment_on_past_due
Version: 1

|
org_id required

Title: The org identifier
Description: This field identifies the organization of the repayment.
Type: string
Example:
89e56522-726a-453e-ba6d-796b03245128

loan_id required

Title: The identifier of a loan
Description: This field identifes the loan associated with this repayment.
Type: string
Example:
89e56522-726a-453e-ba6d-796b03245128

repayment_id required

Title: The repayment identifier
Description: This field identifies the id of the repayment.
Type: string
Example:
7da3db3b-400d-4851-a362-2022dab27284

due_date required

Title: The repayment due date
Description: This field identifies the repayment due date.
Type: string
Format: date
Example:
2022-10-24

amount required

Title: The repayment original amount
Type: object

principal required

Title: Principal amount
Type: number

charge required

Title: Charge amount
Type: number

interest required

Title: Interest amount
Type: number

penalty required

Title: Penalty amount
Type: number

fee required

Title: Fee amount
Type: number

tax required

Title: Tax amount
Type: number

amount_paid required

Title: The repayment paid amount
Type: object

principal required

Title: Principal amount
Type: number

charge required

Title: Charge amount
Type: number

interest required

Title: Interest amount
Type: number

penalty required

Title: Penalty amount
Type: number

fee required

Title: Fee amount
Type: number

tax required

Title: Tax amount
Type: number

{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "title": "Loan repaid after due date",
    "description": "Event generated when a loan is repaid after its due date.",
    "required": [
        "org_id",
        "loan_id",
        "repayment_id",
        "due_date",
        "amount",
        "amount_paid"
    ],
    "properties": {
        "org_id": {
            "$id": "#/properties/org_id",
            "type": "string",
            "title": "The org identifier",
            "description": "This field identifies the organization of the repayment.",
            "examples": [
                "89e56522-726a-453e-ba6d-796b03245128"
            ]
        },
        "loan_id": {
            "$id": "#/properties/loan_id",
            "type": "string",
            "title": "The identifier of a loan",
            "description": "This field identifes the loan associated with this repayment.",
            "examples": [
                "89e56522-726a-453e-ba6d-796b03245128"
            ]
        },
        "repayment_id": {
            "$id": "#/properties/repayment_id",
            "type": "string",
            "title": "The repayment identifier",
            "description": "This field identifies the id of the repayment.",
            "examples": [
                "7da3db3b-400d-4851-a362-2022dab27284"
            ]
        },
        "due_date": {
            "$id": "#/properties/due_date",
            "type": "string",
            "format": "date",
            "title": "The repayment due date",
            "description": "This field identifies the repayment due date.",
            "examples": [
                "2022-10-24"
            ]
        },
        "amount": {
            "$id": "#/properties/amount",
            "title": "The repayment original amount",
            "$ref": "#/$defs/balance"
        },
        "amount_paid": {
            "$id": "#/properties/amount_paid",
            "title": "The repayment paid amount",
            "$ref": "#/$defs/balance"
        }
    },
    "$defs": {
        "balance": {
            "type": "object",
            "title": "Balance object",
            "required": [
                "principal",
                "charge",
                "interest",
                "penalty",
                "fee",
                "tax"
            ],
            "properties": {
                "principal": {
                    "$id": "#/properties/balance/principal",
                    "type": "number",
                    "title": "Principal amount"
                },
                "charge": {
                    "$id": "#/properties/balance/charge",
                    "type": "number",
                    "title": "Charge amount"
                },
                "interest": {
                    "$id": "#/properties/balance/interest",
                    "type": "number",
                    "title": "Interest amount"
                },
                "penalty": {
                    "$id": "#/properties/balance/penalty",
                    "type": "number",
                    "title": "Penalty amount"
                },
                "fee": {
                    "$id": "#/properties/balance/fee",
                    "type": "number",
                    "title": "Fee amount"
                },
                "tax": {
                    "$id": "#/properties/balance/tax",
                    "type": "number",
                    "title": "Tax amount"
                }
            }
        }
    }
}