{
  "name": "Roof solar fit JSON endpoint",
  "description": "Returns usable roof area, estimated panel count, installed watts, daily harvest, controller amperage, and fit warnings from roof and panel dimensions.",
  "publisher": {
    "name": "OffGridRVHub",
    "url": "https://www.offgridrvhub.com"
  },
  "source": {
    "endpoint": "https://www.offgridrvhub.com/tools/api/roof-solar-fit.json",
    "fullCalculator": "https://www.offgridrvhub.com/tools/roof-solar-fit-calculator",
    "assumptions": "https://www.offgridrvhub.com/tools/calculator-assumptions",
    "documentation": "https://www.offgridrvhub.com/tools/calculator-api"
  },
  "caveat": "This is a planning estimate for RV education and comparison. It is not electrical, plumbing, safety, or installation advice.",
  "input": {
    "roofLengthFt": 24,
    "roofWidthFt": 8,
    "edgeSetbackIn": 6,
    "obstructionSqFt": 36,
    "layoutBufferPercent": 15,
    "panelLengthIn": 58,
    "panelWidthIn": 27,
    "panelWatts": 200,
    "targetSolarWatts": 600,
    "batteryVoltage": 12,
    "sunHours": 5,
    "layoutPreference": "best-fit"
  },
  "result": {
    "grossRoofSqFt": 192,
    "adjustedRoofSqFt": 161,
    "usableRoofSqFt": 106.3,
    "panelAreaSqFt": 10.9,
    "portraitPanelCount": 9,
    "landscapePanelCount": 9,
    "estimatedPanelCount": 9,
    "installedWatts": 1800,
    "targetGapWatts": 0,
    "dailyHarvestWh": 7025,
    "recommendedControllerAmps": 190,
    "roofUtilizationPercent": 92,
    "verdictTitle": "The roof target fits on paper",
    "verdictDetail": "9 panels at 200W each gives about 1,800W on the roof before real-world harvest derates.",
    "recommendedNextMove": "Open the solar calculator next and check whether this roof wattage also covers daily loads and battery recovery.",
    "watchOuts": [
      "This is a planning estimate, not a roof attachment plan. Confirm rafters, membrane type, fasteners, sealant, wire routing, walk paths, and manufacturer mounting rules before drilling.",
      "Obstructions are simplified into square feet, so odd-shaped roof items can still block panels even when the area math looks fine."
    ]
  }
}