{
  "name": "Shore power load JSON endpoint",
  "description": "Returns shore-service watts, continuous target, appliance and charger load, breaker margin, recommended service option, and load-shedding suggestions for 15A, 20A, 30A, and 50A RV hookups.",
  "publisher": {
    "name": "OffGridRVHub",
    "url": "https://www.offgridrvhub.com"
  },
  "source": {
    "endpoint": "https://www.offgridrvhub.com/tools/api/shore-power-load.json",
    "fullCalculator": "https://www.offgridrvhub.com/tools/shore-power-load-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": {
    "serviceType": "30a",
    "pedestalVoltage": 120,
    "continuousLoadPercent": 80,
    "batteryChargerWatts": 900,
    "loads": [
      {
        "name": "Rooftop AC",
        "watts": 1350,
        "quantity": 1,
        "shedPriority": "keep"
      },
      {
        "name": "Microwave",
        "watts": 1200,
        "quantity": 1,
        "shedPriority": "only-alone"
      },
      {
        "name": "Electric water heater",
        "watts": 1400,
        "quantity": 1,
        "shedPriority": "shed-first"
      }
    ]
  },
  "result": {
    "serviceAmps": 30,
    "serviceLegs": 1,
    "serviceWatts": 3600,
    "continuousTargetWatts": 2880,
    "applianceLoadWatts": 3950,
    "totalLoadWatts": 4850,
    "loadPercent": 135,
    "continuousTargetPercent": 80,
    "marginWatts": -1250,
    "continuousMarginWatts": -1970,
    "loadToShedWatts": 1970,
    "recommendedServiceLabel": "50A RV service",
    "canRunEnteredLoads": false,
    "continuousRisk": true,
    "overloadRisk": true,
    "shedSuggestions": [
      {
        "label": "Turn down the converter or inverter-charger",
        "watts": 900,
        "reason": "Charging batteries is often the easiest sustained load to reduce while the AC, microwave, or water heater runs."
      },
      {
        "label": "Shed Electric water heater",
        "watts": 1400,
        "reason": "This load is a good candidate to turn off first when breaker margin is tight."
      }
    ],
    "verdictTitle": "This load stack is over the entered shore-power service",
    "verdictDetail": "30A RV service at 120V provides about 3,600W, while the entered stack is 4,850W. Shed at least 1,250W before relying on this overlap.",
    "recommendedNextMove": "Move high-draw appliances out of the same time window, turn down the charger, or use a higher service before running this stack.",
    "watchOuts": [
      "This is load-overlap planning, not an electrical approval. Follow RV, pedestal, adapter, EMS, breaker, cord, and appliance ratings before plugging in.",
      "A dogbone adapter changes the plug shape; it does not create more amps. A 50A rig plugged into a 30A pedestal still needs to behave like a 30A rig.",
      "Low pedestal voltage makes high-current loads harder on motors, compressors, chargers, and cords. Use an EMS or surge protector with voltage protection when possible."
    ]
  }
}