Skip to content

Commit

Permalink
loan cash flows: add currency code
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver authored and muratabur committed Nov 8, 2023
1 parent 05a1d74 commit 6baf40f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions v1-dev/loan_cash_flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@
"format": "date-time"
},
"amount": {
"description": "The size of the cash flow. Monetary type represented as a naturally positive integer number of cents/pence denominated in the currency of the udnerlying loan.",
"description": "The size of the cash flow. Monetary type represented as a naturally positive integer number of cents/pence denominated in the currency code.",
"type": "integer",
"monetary": true
},
"currency_code": {
"$ref": "https://raw.githubusercontent.com/SuadeLabs/fire/master/v1-dev/common.json#/currency_code"
},
"loan_id": {
"description": "The unique identifier for the affected loan/s within the financial institution.",
"type": "string"
Expand All @@ -44,6 +47,6 @@
"type": "string"
}
},
"required": ["id", "date", "amount", "loan_id", "type"],
"required": ["id", "date", "amount", "currency_code", "loan_id", "type", "payment_date"],
"additionalProperties": true
}

0 comments on commit 6baf40f

Please sign in to comment.