{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-buyside-enterprise-solutions/json-schema/bloomberg-buyside-enterprise-solutions-cashflow-response-schema.json",
  "title": "CashflowResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-buyside-enterprise-solutions-fixed-income-api-openapi.yml#/components/schemas/CashflowResponse",
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "security": {
            "type": "string"
          },
          "cashflows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date"
                },
                "coupon": {
                  "type": "number",
                  "description": "Coupon payment amount"
                },
                "principal": {
                  "type": "number",
                  "description": "Principal payment amount"
                },
                "totalPayment": {
                  "type": "number",
                  "description": "Total cash flow"
                },
                "remainingBalance": {
                  "type": "number",
                  "description": "Outstanding principal balance"
                }
              }
            }
          }
        }
      }
    }
  }
}