addedInput schema / properties / settings / properties / business_hours
Added value: +{
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "break_end": {
+ "anyOf": [
+ {
+ "pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "break_start": {
+ "anyOf": [
+ {
+ "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "days": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "day": {
+ "enum": [
+ "Пн",
+ "Вт",
+ "Ср",
+ "Чт",
+ "Пт",
+ "Сб",
+ "Вс"
+ ],
+ "type": "string"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "end": {
+ "pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$",
+ "type": "string"
+ },
+ "start": {
+ "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "day",
+ "enabled",
+ "start",
+ "end"
+ ],
+ "type": "object"
+ },
+ "maxItems": 7,
+ "minItems": 7,
+ "type": "array"
+ }
+ },
+ "required": [
+ "days"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The business's working hours, set once for the whole project: seven days from Пн to Вс in this order, enabled=false = day off, HH:MM in the project's time zone, end before start = past midnight. Optional lunch break for every working day. null = not set (the bot then only knows hours from the company description). Read the current value with dosai_get_bot_settings first."
+}