{
  "tool_id": "wendler_531_planner",
  "slug": "wendler-531-planner",
  "path": "/wendler-531-planner/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aifithub.io/wendler-531-planner/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aifithub.io/engines/wendler-531-planner.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aifithub.io/methodology/wendler-531-planner/",
  "sample_input": {
    "tool": "wendler_531_planner",
    "squat_1rm": 140,
    "bench_1rm": 100,
    "deadlift_1rm": 180,
    "ohp_1rm": 60,
    "training_max_pct": 90
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "squat_1rm": {
        "type": "number"
      },
      "bench_1rm": {
        "type": "number"
      },
      "deadlift_1rm": {
        "type": "number"
      },
      "ohp_1rm": {
        "type": "number"
      },
      "training_max_pct": {
        "type": "number"
      }
    },
    "required": [
      "tool",
      "squat_1rm",
      "bench_1rm",
      "deadlift_1rm",
      "ohp_1rm",
      "training_max_pct"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "trainingMaxPct": {
        "type": "number"
      },
      "primaryLift": {
        "type": "string",
        "enum": [
          "squat",
          "bench",
          "deadlift",
          "ohp"
        ]
      },
      "primaryTrainingMax": {
        "type": "number"
      },
      "lifts": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "lift": {
              "type": "string"
            },
            "oneRm": {
              "type": "number"
            },
            "trainingMax": {
              "type": "number"
            },
            "weeks": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "week": {
                    "type": "number"
                  },
                  "label": {
                    "type": "string"
                  },
                  "sets": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "reps": {
                          "type": "string"
                        },
                        "percent": {
                          "type": "number"
                        },
                        "weightKg": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
