{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OperatingModePatchObject",
  "title": "OperatingModePatchObject",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "example": "Day Operating Mode Updated",
      "description": "New unique name for the `operating mode`."
    },
    "sameHoursDaily": {
      "$ref": "#/components/schemas/OperatingModeSameHoursDailyScheduleObject",
      "description": "Updated schedule for same hours daily."
    },
    "differentHoursDaily": {
      "$ref": "#/components/schemas/OperatingModeDifferentHoursDailyScheduleObject",
      "description": "Updated schedule for different hours daily."
    },
    "holidays": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OperatingModeHolidayObject"
      },
      "description": "Updated holidays. This will replace the existing holidays."
    },
    "callForwarding": {
      "$ref": "#/components/schemas/OperatingModeCallForwarding",
      "description": "Updated call forwarding settings for an `operating mode`."
    }
  }
}