{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/api-ninjas-com/json-schema/api-ninjas-com-cash-flow-response-schema.json",
  "title": "CashFlowResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-ninjas-com-cash-flow-api-openapi.yml#/components/schemas/CashFlowResponse",
  "type": "object",
  "properties": {
    "company_info": {
      "type": "object",
      "description": "Company filing information including ticker, CIK, company name, fiscal year, and fiscal quarter.",
      "properties": {
        "ticker": {
          "type": "string"
        },
        "cik": {
          "type": "string"
        },
        "fiscal_year": {
          "type": "integer"
        },
        "company_name": {
          "type": "string"
        },
        "fiscal_quarter": {
          "type": "integer"
        }
      }
    },
    "cash_flow": {
      "type": "object",
      "description": "Cash flow statement figures in whole U.S. dollars.",
      "properties": {
        "operating_cash_flow": {
          "type": "integer"
        },
        "net_cash_investing": {
          "type": "integer"
        },
        "net_cash_financing": {
          "type": "integer"
        },
        "free_cash_flow": {
          "type": [
            "integer",
            "null"
          ]
        },
        "capital_expenditures": {
          "type": "integer"
        },
        "share_repurchases": {
          "type": "integer"
        },
        "dividends_paid": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "filing_info": {
      "type": "object",
      "description": "SEC filing metadata including filing type, filing date, and period end date.",
      "properties": {
        "filing_type": {
          "type": "string"
        },
        "filing_date": {
          "type": "string"
        },
        "period_end_date": {
          "type": "string"
        }
      }
    }
  }
}