{
  "tool_id": "inventory_turnover",
  "slug": "inventory-turnover-calculator",
  "path": "/inventory-turnover-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aibizhub.io/api/inventory-turnover-calculator/?<params>",
  "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": "integer"
      },
      "beginning_inventory": {
        "type": "integer"
      },
      "ending_inventory": {
        "type": "integer"
      },
      "period": {
        "type": "string"
      }
    },
    "required": [
      "tool",
      "cost_of_goods_sold",
      "beginning_inventory",
      "ending_inventory",
      "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"
          }
        }
      }
    }
  }
}
