{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/midasprotocol-org/json-schema/midasprotocol-org-post-lending-repay-loanid-response-schema.json",
  "title": "PostLendingRepayLoanidResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/midasprotocol-org-core-openapi-generated.yml#/components/schemas/PostLendingRepayLoanidResponse",
  "type": "object",
  "properties": {
    "loanId": {
      "type": "string"
    },
    "amountPaid": {
      "type": "string"
    },
    "totalRepaid": {
      "type": "string"
    },
    "totalOwed": {
      "type": "string"
    },
    "remaining": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "collateralReturned": {
      "type": "boolean"
    }
  }
}