{
  "x402Version": 2,
  "id": 39894,
  "slug": "39894",
  "resource": "https://business-frameworks.matryoshka-paradigms.workers.dev/apply/cash-flow/decide/runway",
  "description": "Business Frameworks — Keep the runway, applied to the caller's own numbers. Send a period-by-period cash forecast; get the first breach of the must-pay-plus-reserve floor and the action order with amounts. Deterministic (the node's rule, no model); returns the worked decision plus the node text and its public citations. Schema at GET /apply/cash-flow/decide/runway.",
  "type": "http",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xbBaCd5111E0Ca3a52DdAA39D4723Cf75C1A75D91",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "bad_month_collections": 60000,
            "opening_cash": 120000,
            "periods": [
              {
                "deferrable": 10000,
                "inflows": 40000,
                "label": "week 1",
                "must_pay": 25000
              },
              {
                "deferrable": 20000,
                "inflows": 30000,
                "label": "week 2",
                "must_pay": 55000
              },
              {
                "deferrable": 30000,
                "inflows": 45000,
                "label": "week 3",
                "must_pay": 20000
              },
              {
                "deferrable": 5000,
                "inflows": 35000,
                "label": "week 4",
                "must_pay": 70000
              }
            ],
            "revenue_usd": 2400000
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "applied": {
              "action": [
                "<what to do first>"
              ],
              "basis": [
                "<where the node ends and the arithmetic begins>"
              ],
              "check": "<when to re-run>",
              "figures": "<the computed figures>",
              "verdict": "<the decision, worked for these inputs>"
            },
            "handle": "business-frameworks/cash-flow/decide/runway@1.0",
            "node": {
              "cites": [
                "Stancill, J., \"How Much Money Does Your New Venture Need?\", Harvard Business Review, May–June 1986; Churchill, N. and Mullins, J., \"How Fast Can Your Company Afford to Grow?\", Harvard Business Review, May 2001."
              ],
              "text": "<the node text>"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "bad_month_collections": {
                    "description": "one bad month of collections — the reserve",
                    "minimum": 0,
                    "type": "number"
                  },
                  "opening_cash": {
                    "type": "number"
                  },
                  "periods": {
                    "items": {
                      "properties": {
                        "deferrable": {
                          "description": "capital spending, development, distributions",
                          "minimum": 0,
                          "type": "number"
                        },
                        "inflows": {
                          "minimum": 0,
                          "type": "number"
                        },
                        "label": {
                          "type": "string"
                        },
                        "must_pay": {
                          "description": "interest, debt falling due, leases, taxes",
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "inflows",
                        "must_pay",
                        "deferrable"
                      ],
                      "type": "object"
                    },
                    "minItems": 1,
                    "type": "array"
                  },
                  "revenue_usd": {
                    "description": "annual revenue, to set the check cadence",
                    "type": "number"
                  }
                },
                "required": [
                  "opening_cash",
                  "bad_month_collections",
                  "periods"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "business-frameworks.matryoshka-paradigms.workers.dev",
  "lastUpdated": "2026-10-07T05:57:09.797Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-07T05:57:09.599Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "bad_month_collections": 60000,
              "opening_cash": 120000,
              "periods": [
                {
                  "deferrable": 10000,
                  "inflows": 40000,
                  "label": "week 1",
                  "must_pay": 25000
                },
                {
                  "deferrable": 20000,
                  "inflows": 30000,
                  "label": "week 2",
                  "must_pay": 55000
                },
                {
                  "deferrable": 30000,
                  "inflows": 45000,
                  "label": "week 3",
                  "must_pay": 20000
                },
                {
                  "deferrable": 5000,
                  "inflows": 35000,
                  "label": "week 4",
                  "must_pay": 70000
                }
              ],
              "revenue_usd": 2400000
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "applied": {
                "action": [
                  "<what to do first>"
                ],
                "basis": [
                  "<where the node ends and the arithmetic begins>"
                ],
                "check": "<when to re-run>",
                "figures": "<the computed figures>",
                "verdict": "<the decision, worked for these inputs>"
              },
              "handle": "business-frameworks/cash-flow/decide/runway@1.0",
              "node": {
                "cites": [
                  "Stancill, J., \"How Much Money Does Your New Venture Need?\", Harvard Business Review, May–June 1986; Churchill, N. and Mullins, J., \"How Fast Can Your Company Afford to Grow?\", Harvard Business Review, May 2001."
                ],
                "text": "<the node text>"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "bad_month_collections": {
                      "description": "one bad month of collections — the reserve",
                      "minimum": 0,
                      "type": "number"
                    },
                    "opening_cash": {
                      "type": "number"
                    },
                    "periods": {
                      "items": {
                        "properties": {
                          "deferrable": {
                            "description": "capital spending, development, distributions",
                            "minimum": 0,
                            "type": "number"
                          },
                          "inflows": {
                            "minimum": 0,
                            "type": "number"
                          },
                          "label": {
                            "type": "string"
                          },
                          "must_pay": {
                            "description": "interest, debt falling due, leases, taxes",
                            "minimum": 0,
                            "type": "number"
                          }
                        },
                        "required": [
                          "inflows",
                          "must_pay",
                          "deferrable"
                        ],
                        "type": "object"
                      },
                      "minItems": 1,
                      "type": "array"
                    },
                    "revenue_usd": {
                      "description": "annual revenue, to set the check cadence",
                      "type": "number"
                    }
                  },
                  "required": [
                    "opening_cash",
                    "bad_month_collections",
                    "periods"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "business-frameworks.matryoshka-paradigms.workers.dev",
    "manifest_name": "business-frameworks.matryoshka-paradigms.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "applied": {
      "action": [
        "<what to do first>"
      ],
      "basis": [
        "<where the node ends and the arithmetic begins>"
      ],
      "check": "<when to re-run>",
      "figures": "<the computed figures>",
      "verdict": "<the decision, worked for these inputs>"
    },
    "handle": "business-frameworks/cash-flow/decide/runway@1.0",
    "node": {
      "cites": [
        "Stancill, J., \"How Much Money Does Your New Venture Need?\", Harvard Business Review, May–June 1986; Churchill, N. and Mullins, J., \"How Fast Can Your Company Afford to Grow?\", Harvard Business Review, May 2001."
      ],
      "text": "<the node text>"
    }
  }
}