{
  "tool": "meng-civil.beam_udl",
  "name": "Simply supported beam under uniform load (CDU-ENG-CIV-900)",
  "answers": "What are the maximum moment, shear and deflection of a simply supported beam under a uniformly distributed load, and is the deflection within limit?",
  "degree": {
    "id": "competency:meng-civil",
    "code": "CDU-ENG-CIV-900",
    "name": "Master of Engineering — Civil & Structural Engineering",
    "version": "1.0.0"
  },
  "reference": "M = wL²/8, V = wL/2, δ = 5wL⁴/(384EI); deflection limit span/250 (serviceability)",
  "endpoint": "/faculty/meng-civil/beam_udl",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "spanM",
      "udlKnPerM",
      "iCm4"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "spanM": {
        "type": "number",
        "description": "Span between supports (m)",
        "minimum": 0.1
      },
      "udlKnPerM": {
        "type": "number",
        "description": "Uniformly distributed load including self-weight (kN/m)",
        "minimum": 0
      },
      "eGpa": {
        "type": "number",
        "description": "Elastic modulus (GPa)",
        "minimum": 1,
        "default": 200
      },
      "iCm4": {
        "type": "number",
        "description": "Second moment of area (cm⁴)",
        "minimum": 0.01
      },
      "deflectionLimitRatio": {
        "type": "number",
        "description": "Allowed deflection as span ÷ this",
        "minimum": 100,
        "maximum": 1000,
        "default": 250
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "maxMomentKnm",
      "maxShearKn",
      "maxDeflectionMm",
      "allowedDeflectionMm",
      "deflectionOk"
    ],
    "properties": {
      "maxMomentKnm": {
        "type": "number",
        "description": "Maximum bending moment at midspan (kN·m)"
      },
      "maxShearKn": {
        "type": "number",
        "description": "Maximum shear at the supports (kN)"
      },
      "maxDeflectionMm": {
        "type": "number",
        "description": "Maximum deflection at midspan (mm)"
      },
      "allowedDeflectionMm": {
        "type": "number",
        "description": "Serviceability limit (mm)"
      },
      "deflectionOk": {
        "type": "boolean",
        "description": "Deflection within limit"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "spanM": 4.5,
    "udlKnPerM": 12,
    "iCm4": 3000
  }
}