{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/powens/main/json-schema/powens-get-users-me-connections-connectionid-amortizations-response-schema.json",
  "title": "GetUsersMeConnectionsConnectionidAmortizationsResponse",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/powens-openapi-generated.yml#/components/schemas/GetUsersMeConnectionsConnectionidAmortizationsResponse",
  "type": "object",
  "properties": {
    "loanamortizations": {
      "type": "array",
      "description": "List of loan amortizations for the specified connection"
    },
    "loanamortizations[].id_account": {
      "type": "integer",
      "description": "Account identifier"
    },
    "loanamortizations[].payment_date": {
      "type": "string",
      "description": "Date of the payment"
    },
    "loanamortizations[].amortization_amount.currency": {
      "type": "string",
      "description": "Currency of the amortization amount"
    },
    "loanamortizations[].amortization_amount.value": {
      "type": "number",
      "description": "Value of the amortization amount"
    },
    "loanamortizations[].interest_amount.currency": {
      "type": "string",
      "description": "Currency of the interest amount"
    },
    "loanamortizations[].interest_amount.value": {
      "type": "number",
      "description": "Value of the interest amount"
    },
    "loanamortizations[].insurance_amount.currency": {
      "type": "string",
      "description": "Currency of the insurance amount"
    },
    "loanamortizations[].insurance_amount.value": {
      "type": "number",
      "description": "Value of the insurance amount"
    },
    "loanamortizations[].total_payment_amount.currency": {
      "type": "string",
      "description": "Currency of the total payment amount"
    },
    "loanamortizations[].total_payment_amount.value": {
      "type": "number",
      "description": "Value of the total payment amount"
    },
    "loanamortizations[].remaining_capital.currency": {
      "type": "string",
      "description": "Currency of the remaining capital"
    },
    "loanamortizations[].remaining_capital.value": {
      "type": "number",
      "description": "Value of the remaining capital"
    },
    "loanamortizations[].last_update": {
      "type": "string",
      "description": "Timestamp of the last update"
    },
    "loanamortizations[].deleted": {
      "type": "string",
      "description": "Deletion flag (null if not deleted)"
    },
    "loanamortizations[].period": {
      "type": "string",
      "description": "Period of the amortization (e.g., 2024-02)"
    },
    "loanamortizations[].calculated": {
      "type": "array",
      "description": "Calculated fields list"
    },
    "total": {
      "type": "integer",
      "description": "Total number of amortization entries returned"
    }
  }
}