{
  "tool_id": "break_even_units_revenue",
  "slug": "break-even-units-calculator",
  "path": "/break-even-units-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aibizhub.io/api/break-even-units-calculator/?<params>",
  "sample_input": {
    "tool": "break_even_units_revenue",
    "mode": "single",
    "fixed_costs": 20000,
    "target_profit": 10000,
    "planned_units": 350,
    "unit_price": 150,
    "variable_cost_per_unit": 60
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "mode": {
        "type": "string"
      },
      "fixed_costs": {
        "type": "integer"
      },
      "target_profit": {
        "type": "integer"
      },
      "planned_units": {
        "type": "integer"
      },
      "unit_price": {
        "type": "integer"
      },
      "variable_cost_per_unit": {
        "type": "integer"
      }
    },
    "required": [
      "tool",
      "mode",
      "fixed_costs",
      "target_profit",
      "planned_units",
      "unit_price",
      "variable_cost_per_unit"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "mode": {
        "type": "string"
      },
      "fixedCosts": {
        "type": "number"
      },
      "targetProfit": {
        "type": "number"
      },
      "contributionMarginPerUnit": {
        "type": "number"
      },
      "contributionMarginRatio": {
        "type": "number"
      },
      "weightedAveragePrice": {
        "type": "number"
      },
      "breakEvenUnits": {
        "type": "number"
      },
      "breakEvenRevenue": {
        "type": "number"
      },
      "targetProfitUnits": {
        "type": "number"
      },
      "targetProfitRevenue": {
        "type": "number"
      },
      "marginOfSafetyUnits": {
        "type": "number"
      },
      "marginOfSafetyPercent": {
        "type": "number"
      },
      "scenarioTable": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string"
            },
            "unitPrice": {
              "type": "number"
            },
            "variableCostPerUnit": {
              "type": "number"
            },
            "contributionMarginPerUnit": {
              "type": "number"
            },
            "breakEvenUnits": {
              "type": "number"
            },
            "breakEvenRevenue": {
              "type": "number"
            }
          }
        }
      },
      "mixBreakdown": {
        "type": "array",
        "items": {}
      },
      "warnings": {
        "type": "array",
        "items": {}
      },
      "assumptionsEcho": {
        "type": "object",
        "properties": {
          "mode": {
            "type": "string"
          },
          "fixedCosts": {
            "type": "number"
          },
          "targetProfit": {
            "type": "number"
          },
          "plannedUnits": {
            "type": "number"
          },
          "unitPrice": {
            "type": "number"
          },
          "variableCostPerUnit": {
            "type": "number"
          },
          "products": {
            "type": "array",
            "items": {}
          }
        }
      }
    }
  }
}
