Resin Cost Calculator · Schema

Raw schema.

Same JSON the GET /v1/resin-printing/resin-cost-calculator/schema endpoint returns — formatted for reading. Use it to codegen typed clients or document the contract.

resin-cost-calculator.schema.json
{
  "tool": "resin-cost-calculator",
  "domain": "resin-printing",
  "version": "1.0.0",
  "name": "Resin Cost Calculator",
  "description": "Per-print cost from resin used, bottle price, electricity and consumables — with a wastage uplift so failed prints don't surprise you. Returns total cost plus effective ₹ per ml and ₹ per gram.",
  "standard": null,
  "inputs": [
    {
      "key": "resin_used_ml",
      "label": "Resin Used",
      "required": true,
      "unit": "ml",
      "help": "From the volume calculator or your slicer's resin estimate.",
      "type": "number",
      "min": 1,
      "max": 5000,
      "step": 1,
      "default": 50
    },
    {
      "key": "bottle_volume_ml",
      "label": "Bottle Size",
      "required": true,
      "unit": "ml",
      "help": "Usually 500 ml or 1 L.",
      "type": "number",
      "min": 250,
      "max": 5000,
      "step": 250,
      "default": 1000
    },
    {
      "key": "bottle_price_inr",
      "label": "Bottle Price",
      "required": true,
      "unit": "₹",
      "help": "Anycubic Standard 1 L ₹1500-2500, Siraya Tech ₹3000-4500, dental ₹6000+.",
      "type": "number",
      "min": 100,
      "max": 50000,
      "step": 100,
      "default": 2500
    },
    {
      "key": "wastage_pct",
      "label": "Wastage",
      "required": true,
      "unit": "%",
      "help": "Failures, spill, dirty IPA. 5-15% is realistic for a hobbyist.",
      "type": "number",
      "min": 0,
      "max": 50,
      "step": 1,
      "default": 8
    },
    {
      "key": "print_duration_hours",
      "label": "Print Duration",
      "required": true,
      "unit": "h",
      "type": "number",
      "min": 0.1,
      "max": 100,
      "step": 0.5,
      "default": 4
    },
    {
      "key": "printer_power_w",
      "label": "Printer Power Draw",
      "required": true,
      "unit": "W",
      "help": "Mars 3/4 ~45 W, Saturn 3/4 ~65 W, large-format 8K/16K ~80-100 W.",
      "type": "number",
      "min": 20,
      "max": 500,
      "step": 5,
      "default": 65
    },
    {
      "key": "electricity_rate_per_kwh",
      "label": "Electricity Rate",
      "required": true,
      "unit": "₹/kWh",
      "help": "Indian residential tariffs sit at ₹6-10/kWh; commercial higher.",
      "type": "number",
      "min": 1,
      "max": 30,
      "step": 0.5,
      "default": 8
    },
    {
      "key": "consumables_per_print_inr",
      "label": "Consumables",
      "required": true,
      "unit": "₹",
      "help": "Gloves, paper towels, IPA share, FEP amortisation. ₹10-25 per print is normal.",
      "type": "number",
      "min": 0,
      "max": 1000,
      "step": 1,
      "default": 15
    }
  ],
  "outputs": [
    {
      "key": "resin_base_cost_inr",
      "label": "Resin (base)",
      "type": "number",
      "unit": "₹",
      "precision": 2
    },
    {
      "key": "wastage_cost_inr",
      "label": "Wastage Uplift",
      "type": "number",
      "unit": "₹",
      "precision": 2
    },
    {
      "key": "resin_cost_inr",
      "label": "Resin Cost",
      "type": "number",
      "unit": "₹",
      "precision": 2
    },
    {
      "key": "electricity_kwh",
      "label": "Electricity Used",
      "type": "number",
      "unit": "kWh",
      "precision": 3
    },
    {
      "key": "electricity_cost_inr",
      "label": "Electricity",
      "type": "number",
      "unit": "₹",
      "precision": 2
    },
    {
      "key": "consumables_cost_inr",
      "label": "Consumables",
      "type": "number",
      "unit": "₹",
      "precision": 2
    },
    {
      "key": "total_cost_inr",
      "label": "Total Cost",
      "type": "number",
      "unit": "₹",
      "precision": 2
    },
    {
      "key": "cost_per_ml_inr",
      "label": "Effective ₹ / ml",
      "type": "number",
      "unit": "₹/ml",
      "precision": 3
    },
    {
      "key": "cost_per_gram_inr",
      "label": "Effective ₹ / g",
      "type": "number",
      "unit": "₹/g",
      "precision": 3
    }
  ],
  "endpoint": "/v1/resin-printing/resin-cost-calculator"
}