{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evcc/json-schema/evcc-repeating-plan-schema.json",
  "title": "RepeatingPlan",
  "description": "A repeating charging plan.",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evcc-openapi.yaml#/components/schemas/RepeatingPlan",
  "type": "object",
  "properties": {
    "weekdays": {
      "description": "Weekdays the plan is active. 0 is Sunday, 6 is Saturday.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "time": {
      "description": "Target time in HH:MM format.",
      "type": "string"
    },
    "tz": {
      "description": "Time zone of the target time, like Europe/Berlin.",
      "type": "string"
    },
    "soc": {
      "description": "SoC goal in %.",
      "type": "number"
    },
    "active": {
      "description": "Plan is active.",
      "type": "boolean"
    }
  },
  "required": [
    "weekdays",
    "time",
    "tz",
    "soc",
    "active"
  ]
}