{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/electroneek/main/json-schema/electroneek-patch-v1-orchestrator-schedule-id-request-schema.json",
  "title": "PatchV1OrchestratorScheduleIdRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/electroneek-openapi-generated.yml#/components/schemas/PatchV1OrchestratorScheduleIdRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "timezoneLocation": {
      "type": "string"
    },
    "params": {
      "type": "object",
      "properties": {
        "directDateTime": {
          "type": "string",
          "format": "date-time"
        },
        "period": {
          "type": "string"
        },
        "hours": {
          "type": "integer"
        },
        "minutes": {
          "type": "integer"
        },
        "seconds": {
          "type": "integer"
        },
        "dayOfWeek": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        "dayNumber": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "restriction": {
          "type": "object",
          "properties": {
            "excludeDays": {
              "type": "object",
              "properties": {
                "isEnabled": {
                  "type": "boolean"
                },
                "value": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  }
                }
              }
            },
            "rangeStart": {
              "type": "object",
              "properties": {
                "isEnabled": {
                  "type": "boolean"
                },
                "value": {
                  "type": "object",
                  "properties": {
                    "hours": {
                      "type": "integer"
                    },
                    "minutes": {
                      "type": "integer"
                    }
                  }
                }
              }
            },
            "rangeEnd": {
              "type": "object",
              "properties": {
                "isEnabled": {
                  "type": "boolean"
                },
                "value": {
                  "type": "object",
                  "properties": {
                    "hours": {
                      "type": "integer"
                    },
                    "minutes": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "isActive": {
      "type": "boolean"
    },
    "botRunner": {
      "type": "object",
      "properties": {
        "robotId": {
          "type": "string"
        },
        "busyPolicy": {
          "type": "string"
        },
        "offlinePolicy": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        }
      }
    }
  }
}