{
  "tool_id": "inventory_turnover",
  "slug": "inventory-turnover-calculator",
  "path": "/inventory-turnover-calculator/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aibizhub.io/inventory-turnover-calculator/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aibizhub.io/engines/inventory-turnover-calculator.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aibizhub.io/methodology/inventory-turnover-calculator/",
  "sample_input": {
    "tool": "inventory_turnover",
    "cost_of_goods_sold": 500000,
    "beginning_inventory": 80000,
    "ending_inventory": 70000,
    "period": "annual"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "cost_of_goods_sold": {
        "type": "number"
      },
      "beginning_inventory": {
        "type": "number"
      },
      "ending_inventory": {
        "type": "number"
      },
      "period": {
        "type": "string"
      }
    },
    "required": [
      "tool",
      "cost_of_goods_sold",
      "period"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "averageInventory": {
        "type": "number"
      },
      "turnoverRatio": {
        "type": "number"
      },
      "dsi": {
        "type": "number"
      },
      "annualizedTurnover": {
        "type": "number"
      },
      "rating": {
        "type": "string"
      },
      "ratingLabel": {
        "type": "string"
      },
      "ratingNote": {
        "type": "string"
      },
      "benchmarks": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "industry": {
              "type": "string"
            },
            "min": {
              "type": "number"
            },
            "max": {
              "type": "number"
            }
          }
        }
      },
      "warnings": {
        "type": "array",
        "items": {}
      },
      "assumptionsEcho": {
        "type": "object",
        "properties": {
          "cogs": {
            "type": "number"
          },
          "averageInventory": {
            "type": "number"
          },
          "period": {
            "type": "string"
          }
        }
      }
    }
  }
}
