# Схема: booking\_create: inputSchema

Source: <https://telegafirst.com/docs/schema-23ae80a71a8f496c290c5d5fb8ee912e263e42cc5120f1e0cf3fca9b966d5566>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: 46eb58ce4c0da863d0fc82fbba16aa69654adcbde04930e27e9cad9d6a91ea36
Version: 4

# Схема: booking\_create: inputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.bot.description | "Optional slug of the bot you expect to act on (get\_active\_bot). If the active bot differs, the call is refused with ACTIVE\_BOT\_CHANGED and nothing runs." |
| properties.bot.maxLength | 128 |
| properties.bot.minLength | 1 |
| properties.bot.type | "string" |
| properties.catalog\_item\_id.description | "Value for catalog item id." |
| properties.catalog\_item\_id.maximum | 2147483647 |
| properties.catalog\_item\_id.minimum | 1 |
| properties.catalog\_item\_id.type | "integer" |
| properties.end\_at.description | "Value for end at." |
| properties.end\_at.format | "date-time" |
| properties.end\_at.pattern | "^(?:(?:\\\d\\\d\[2468]\[048]\|\\\d\\\d\[13579]\[26]\|\\\d\\\d0\[48]\|\[02468]\[048]00\|\[13579]\[26]00)-02-29\|\\\d{4}-(?:(?:0\[13578]\|1\[02])-(?:0\[1-9]\|\[12]\\\d\|3\[01])\|(?:0\[469]\|11)-(?:0\[1-9]\|\[12]\\\d\|30)\|(?:02)-(?:0\[1-9]\|1\\\d\|2\[0-8])))T(?:(?:\[01]\\\d\|2\[0-3]):\[0-5]\\\d:\[0-5]\\\d(?:\\\\.\\\d+)?(?:Z))$" |
| properties.end\_at.type | "string" |
| properties.quantity.description | "Value for quantity." |
| properties.quantity.exclusiveMinimum | 0 |
| properties.quantity.maximum | 9007199254740991 |
| properties.quantity.type | "integer" |
| properties.resource\_id.anyOf.0.description | "Value for resource id option." |
| properties.resource\_id.anyOf.0.maximum | 2147483647 |
| properties.resource\_id.anyOf.0.minimum | 1 |
| properties.resource\_id.anyOf.0.type | "integer" |
| properties.resource\_id.anyOf.1.description | "Value for resource id option." |
| properties.resource\_id.anyOf.1.type | "null" |
| properties.resource\_id.description | "Value for resource id." |
| properties.selected\_options.additionalProperties.items.description | "Value for selected options item." |
| properties.selected\_options.additionalProperties.items.pattern | "^\[a-z0-9\_]{1,16}$" |
| properties.selected\_options.additionalProperties.items.type | "string" |
| properties.selected\_options.additionalProperties.minItems | 1 |
| properties.selected\_options.additionalProperties.type | "array" |
| properties.selected\_options.description | "Value for selected options." |
| properties.selected\_options.propertyNames.pattern | "^\[a-z0-9\_]{1,16}$" |
| properties.selected\_options.propertyNames.type | "string" |
| properties.selected\_options.type | "object" |
| properties.selection\_mode.description | "Value for selection mode." |
| properties.selection\_mode.enum | \["full","time\_only","resource\_only","open\_inquiry"] |
| properties.selection\_mode.type | "string" |
| properties.start\_at.anyOf.0.description | "Value for start at option." |
| properties.start\_at.anyOf.0.format | "date-time" |
| properties.start\_at.anyOf.0.pattern | "^(?:(?:\\\d\\\d\[2468]\[048]\|\\\d\\\d\[13579]\[26]\|\\\d\\\d0\[48]\|\[02468]\[048]00\|\[13579]\[26]00)-02-29\|\\\d{4}-(?:(?:0\[13578]\|1\[02])-(?:0\[1-9]\|\[12]\\\d\|3\[01])\|(?:0\[469]\|11)-(?:0\[1-9]\|\[12]\\\d\|30)\|(?:02)-(?:0\[1-9]\|1\\\d\|2\[0-8])))T(?:(?:\[01]\\\d\|2\[0-3]):\[0-5]\\\d:\[0-5]\\\d(?:\\\\.\\\d+)?(?:Z))$" |
| properties.start\_at.anyOf.0.type | "string" |
| properties.start\_at.anyOf.1.description | "Value for start at option." |
| properties.start\_at.anyOf.1.type | "null" |
| properties.start\_at.description | "Value for start at." |
| properties.user\_id.description | "Value for user id." |
| properties.user\_id.maximum | 2147483647 |
| properties.user\_id.minimum | 1 |
| properties.user\_id.type | "integer" |
| required | \["catalog\_item\_id","resource\_id","user\_id","start\_at"] |
| type | "object" |
