79 lines
2.5 KiB
JSON
79 lines
2.5 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"loans": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"example": 1
|
|
},
|
|
"customer_id": {
|
|
"type": "string",
|
|
"example": "CUST123"
|
|
},
|
|
"account_id": {
|
|
"type": "string",
|
|
"example": "ACC456"
|
|
},
|
|
"offer_id": {
|
|
"type": "string",
|
|
"example": "OFFER789"
|
|
},
|
|
"initial_loan_amount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 10000.0
|
|
},
|
|
"current_loan_amount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 8500.0
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"example": "active"
|
|
},
|
|
"product_id": {
|
|
"type": "string",
|
|
"example": "PROD101"
|
|
},
|
|
"default_penalty_fee": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 500.0
|
|
},
|
|
"continuous_fee": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 50.0
|
|
},
|
|
"due_date": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"example": "2023-12-31T23:59:59Z"
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"example": "2023-01-15T10:30:00Z"
|
|
},
|
|
"updated_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"example": "2023-01-20T14:45:00Z"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"count": {
|
|
"type": "integer",
|
|
"example": 1
|
|
}
|
|
},
|
|
"xml": {
|
|
"name": "LoansResponse"
|
|
}
|
|
} |