{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/OperatingModePostObject", "title": "OperatingModePostObject", "type": "object", "required": [ "name", "type", "level", "callForwarding" ], "properties": { "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." }, "locationId": { "type": "string", "example": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OL2E4Mjg5NzIyLTFiODAtNDFiNy05Njc4LTBlNzdhZThjMTA5OA", "description": "Unique identifier of the location. Mandatory if level is `LOCATION`." }, "sameHoursDaily": { "$ref": "#/components/schemas/OperatingModeSameHoursDailyScheduleObject", "description": "`Operating mode` schedule for same hours daily. Mandatory if type is `SAME_HOURS_DAILY`." }, "differentHoursDaily": { "$ref": "#/components/schemas/OperatingModeDifferentHoursDailyScheduleObject", "description": "`Operating mode` schedule for different hours daily. Mandatory if type is `DIFFERENT_HOURS_DAILY`." }, "holidays": { "type": "array", "items": { "$ref": "#/components/schemas/OperatingModeHolidayObject" }, "description": "`Operating mode` holidays. Mandatory if type is `HOLIDAY`." }, "callForwarding": { "$ref": "#/components/schemas/OperatingModeCallForwarding", "description": "Call forwarding settings for an `operating mode`." } } }