{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/easee/json-schema/easee-scheduled-charging-create-daily-schedule-response-schema.json",
  "title": "Scheduled_charging_CreateDailyScheduleResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/easee-daily-schedule-api-openapi.yml#/components/schemas/Scheduled_charging_CreateDailyScheduleResponse",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "enabled",
    "timezone",
    "periods"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Whether the schedule is enabled. Enabled schedules are automatically installed to the charger."
    },
    "timezone": {
      "type": "string",
      "description": "IANA timezone identifier of timezone to use for the schedule."
    },
    "periods": {
      "type": "array",
      "description": "Collection of time periods during which charging is permitted.",
      "items": {
        "$ref": "#/$defs/Scheduled_charging_DailySchedulePeriod2"
      }
    }
  },
  "$defs": {
    "Scheduled_charging_DailySchedulePeriod2": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "startTime",
        "stopTime",
        "maximumAmps"
      ],
      "properties": {
        "startTime": {
          "type": "string",
          "description": "Start time of the charging period.",
          "format": "time"
        },
        "stopTime": {
          "type": "string",
          "description": "Stop time of the charging period.",
          "format": "time"
        },
        "maximumAmps": {
          "type": "integer",
          "description": "The maximum electrical current in amperes permitted by the schedule during this charging period.",
          "format": "int32"
        }
      }
    }
  }
}