{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evcc/json-schema/evcc-plan-strategy-schema.json",
  "title": "PlanStrategy",
  "description": "Charging plan strategy.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evcc-loadpoints-api-openapi.yml#/components/schemas/PlanStrategy",
  "type": "object",
  "properties": {
    "continuous": {
      "description": "Force continuous charging without gaps.",
      "type": "boolean"
    },
    "precondition": {
      "description": "Duration of uninterrupted charging directly before the target time, in seconds.",
      "type": "number"
    }
  },
  "required": [
    "continuous",
    "precondition"
  ]
}