{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/OperatingModeGetObject", "title": "OperatingModeGetObject", "type": "object", "required": [ "id", "name", "type", "level", "callForwarding" ], "properties": { "id": { "type": "string", "example": "Y2lzY29zcGFyazovL3VzL09QRVJBVElOR19NT0RFL2JiOTc1OTcxLTBjZWYtNDdhNi05Yzc5LTliZWFjY2IwYjg4Mg", "description": "A unique identifier for the `operating mode`." }, "name": { "type": "string", "example": "Day Operating Mode", "description": "Unique name for the `operating mode`." }, "type": { "$ref": "#/components/schemas/OperatingModeScheduleTypeObject", "description": "Defines the scheduling of the `operating mode`." }, "level": { "$ref": "#/components/schemas/OrgLocLevelObject", "description": "Level at which the `operating mode` would be defined." }, "location": { "$ref": "#/components/schemas/LocationObject", "description": "Location object having a unique identifier for the location, and its name. Mandatory if level is `LOCATION`." }, "sameHoursDaily": { "$ref": "#/components/schemas/OperatingModeSameHoursDailyScheduleObject", "description": "`Operating mode` schedule for same hours daily. Present if type is `SAME_HOURS_DAILY`." }, "differentHoursDaily": { "$ref": "#/components/schemas/OperatingModeDifferentHoursDailyScheduleObject", "description": "`Operating mode` schedule for different hours daily. Present if type is `DIFFERENT_HOURS_DAILY`." }, "holidays": { "type": "array", "items": { "$ref": "#/components/schemas/OperatingModeHolidayGetObject" }, "description": "`Operating mode` schedule for holidays. Present if type is `HOLIDAY`." }, "callForwarding": { "$ref": "#/components/schemas/OperatingModeCallForwarding", "description": "Call forwarding settings for an `operating mode`." } } }