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

Source: <https://telegafirst.com/docs/schema-29fa1691a0afbf416d09245b4890832c3702c484631d6a20b2ecfeb6d867190f>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 8147e828cdb9065163912b20d918e36853aa4994852d19f3d113a35be92812cd
Version: 5

# Схема: 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.guests.description | "Value for guests." |
| properties.guests.maximum | 9007199254740991 |
| properties.guests.minimum | 1 |
| properties.guests.type | "integer" |
| properties.option\_quantities.additionalProperties.maximum | 1000 |
| properties.option\_quantities.additionalProperties.minimum | 1 |
| properties.option\_quantities.additionalProperties.type | "integer" |
| properties.option\_quantities.description | "Value for option quantities." |
| properties.option\_quantities.propertyNames.pattern | "^\[a-z0-9\_]{1,16}$" |
| properties.option\_quantities.propertyNames.type | "string" |
| properties.option\_quantities.type | "object" |
| 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" |
