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

Source: <https://telegafirst.com/docs/schema-c7e2c2a20a7388063d0c6a417955c64bdb7539db0d5b1325bc1e833e9da257e2>
Locale: ru
releaseGitSha: 45cdd4e19c6d3956d1bfa48c79fcb8dfec11fa9e
sourceContentDigest: fad4e466c4d03bc1d8888036fe33e47676ba56a90577df01b9a7016c03c61a85
Version: 1

# Схема: booking\_create\_service: 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.buffer\_minutes.description | "Value for buffer minutes." |
| properties.buffer\_minutes.maximum | 1440 |
| properties.buffer\_minutes.minimum | 0 |
| properties.buffer\_minutes.type | "integer" |
| properties.description.anyOf.0.description | "Value for description option." |
| properties.description.anyOf.0.maxLength | 4096 |
| properties.description.anyOf.0.type | "string" |
| properties.description.anyOf.1.description | "Value for description option." |
| properties.description.anyOf.1.type | "null" |
| properties.description.description | "Value for description." |
| properties.duration\_value.description | "Value for duration value." |
| properties.duration\_value.pattern | "^\\\d+(\\\\.\\\d{1,2})?$" |
| properties.duration\_value.type | "string" |
| properties.idempotency\_key.description | "Value for idempotency key." |
| properties.idempotency\_key.maxLength | 128 |
| properties.idempotency\_key.minLength | 1 |
| properties.idempotency\_key.type | "string" |
| properties.is\_active.description | "Value for is active." |
| properties.is\_active.type | "boolean" |
| properties.is\_public.description | "Value for is public." |
| properties.is\_public.type | "boolean" |
| properties.length.additionalProperties | false |
| properties.length.description | "Value for length." |
| properties.length.properties.length\_mode.description | "Value for length mode." |
| properties.length.properties.length\_mode.enum | \["fixed","list","range"] |
| properties.length.properties.length\_mode.type | "string" |
| properties.length.properties.length\_units.description | "Value for length units." |
| properties.length.properties.length\_units.items.description | "Value for length units item." |
| properties.length.properties.length\_units.items.maximum | 999 |
| properties.length.properties.length\_units.items.minimum | 1 |
| properties.length.properties.length\_units.items.type | "integer" |
| properties.length.properties.length\_units.maxItems | 999 |
| properties.length.properties.length\_units.type | "array" |
| properties.length.properties.max\_units.anyOf.0.description | "Value for max units option." |
| properties.length.properties.max\_units.anyOf.0.maximum | 999 |
| properties.length.properties.max\_units.anyOf.0.minimum | 1 |
| properties.length.properties.max\_units.anyOf.0.type | "integer" |
| properties.length.properties.max\_units.anyOf.1.description | "Value for max units option." |
| properties.length.properties.max\_units.anyOf.1.type | "null" |
| properties.length.properties.max\_units.description | "Value for max units." |
| properties.length.properties.min\_units.anyOf.0.description | "Value for min units option." |
| properties.length.properties.min\_units.anyOf.0.maximum | 999 |
| properties.length.properties.min\_units.anyOf.0.minimum | 1 |
| properties.length.properties.min\_units.anyOf.0.type | "integer" |
| properties.length.properties.min\_units.anyOf.1.description | "Value for min units option." |
| properties.length.properties.min\_units.anyOf.1.type | "null" |
| properties.length.properties.min\_units.description | "Value for min units." |
| properties.length.properties.price\_tiers.anyOf.0.description | "Value for price tiers option." |
| properties.length.properties.price\_tiers.anyOf.0.items.additionalProperties | false |
| properties.length.properties.price\_tiers.anyOf.0.items.description | "Value for price tiers option item." |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.id.description | "Value for id." |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.id.maxLength | 32 |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.id.minLength | 1 |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.id.type | "string" |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.additionalProperties | false |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.description | "Value for prices." |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.eur.description | "Value for eur." |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.eur.pattern | "^\\\d+(?:\\\\.\\\d{1,2})?$" |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.eur.type | "string" |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.rub.description | "Value for rub." |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.rub.pattern | "^\\\d+(?:\\\\.\\\d{1,2})?$" |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.rub.type | "string" |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.stars.description | "Value for stars." |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.stars.exclusiveMinimum | 0 |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.stars.maximum | 9007199254740991 |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.stars.type | "integer" |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.usd.description | "Value for usd." |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.usd.pattern | "^\\\d+(?:\\\\.\\\d{1,2})?$" |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.properties.usd.type | "string" |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.prices.type | "object" |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.units.description | "Value for units." |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.units.maximum | 999 |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.units.minimum | 1 |
| properties.length.properties.price\_tiers.anyOf.0.items.properties.units.type | "integer" |
| properties.length.properties.price\_tiers.anyOf.0.items.required | \["id","units","prices"] |
| properties.length.properties.price\_tiers.anyOf.0.items.type | "object" |
| properties.length.properties.price\_tiers.anyOf.0.maxItems | 12 |
| properties.length.properties.price\_tiers.anyOf.0.minItems | 1 |
| properties.length.properties.price\_tiers.anyOf.0.type | "array" |
| properties.length.properties.price\_tiers.anyOf.1.description | "Value for price tiers option." |
| properties.length.properties.price\_tiers.anyOf.1.type | "null" |
| properties.length.properties.price\_tiers.description | "Value for price tiers." |
| properties.length.properties.window\_end\_minute.anyOf.0.description | "Value for window end minute option." |
| properties.length.properties.window\_end\_minute.anyOf.0.maximum | 1440 |
| properties.length.properties.window\_end\_minute.anyOf.0.minimum | 0 |
| properties.length.properties.window\_end\_minute.anyOf.0.type | "integer" |
| properties.length.properties.window\_end\_minute.anyOf.1.description | "Value for window end minute option." |
| properties.length.properties.window\_end\_minute.anyOf.1.type | "null" |
| properties.length.properties.window\_end\_minute.description | "Value for window end minute." |
| properties.length.properties.window\_start\_minute.anyOf.0.description | "Value for window start minute option." |
| properties.length.properties.window\_start\_minute.anyOf.0.maximum | 1439 |
| properties.length.properties.window\_start\_minute.anyOf.0.minimum | 0 |
| properties.length.properties.window\_start\_minute.anyOf.0.type | "integer" |
| properties.length.properties.window\_start\_minute.anyOf.1.description | "Value for window start minute option." |
| properties.length.properties.window\_start\_minute.anyOf.1.type | "null" |
| properties.length.properties.window\_start\_minute.description | "Value for window start minute." |
| properties.length.type | "object" |
| properties.mode.description | "Value for mode." |
| properties.mode.enum | \["hourly","daily"] |
| properties.mode.type | "string" |
| properties.prices.description | "Value for prices." |
| properties.prices.items.description | "Value for prices item." |
| properties.prices.items.oneOf.0.additionalProperties | false |
| properties.prices.items.oneOf.0.description | "Value for prices item option." |
| properties.prices.items.oneOf.0.properties.amount.anyOf.0.description | "Value for amount option." |
| properties.prices.items.oneOf.0.properties.amount.anyOf.0.maxLength | 32 |
| properties.prices.items.oneOf.0.properties.amount.anyOf.0.pattern | "^\\\d+(?:\\\\.\\\d{1,2})?$" |
| properties.prices.items.oneOf.0.properties.amount.anyOf.0.type | "string" |
| properties.prices.items.oneOf.0.properties.amount.anyOf.1.description | "Value for amount option." |
| properties.prices.items.oneOf.0.properties.amount.anyOf.1.type | "null" |
| properties.prices.items.oneOf.0.properties.amount.description | "Value for amount." |
| properties.prices.items.oneOf.0.properties.currency.description | "Value for currency." |
| properties.prices.items.oneOf.0.properties.currency.enum | \["RUB","USD","EUR"] |
| properties.prices.items.oneOf.0.properties.currency.type | "string" |
| properties.prices.items.oneOf.0.properties.trial\_amount.anyOf.0.description | "Value for trial amount option." |
| properties.prices.items.oneOf.0.properties.trial\_amount.anyOf.0.maxLength | 32 |
| properties.prices.items.oneOf.0.properties.trial\_amount.anyOf.0.pattern | "^\\\d+(?:\\\\.\\\d{1,2})?$" |
| properties.prices.items.oneOf.0.properties.trial\_amount.anyOf.0.type | "string" |
| properties.prices.items.oneOf.0.properties.trial\_amount.anyOf.1.description | "Value for trial amount option." |
| properties.prices.items.oneOf.0.properties.trial\_amount.anyOf.1.type | "null" |
| properties.prices.items.oneOf.0.properties.trial\_amount.description | "Value for trial amount." |
| properties.prices.items.oneOf.0.required | \["currency","amount","trial\_amount"] |
| properties.prices.items.oneOf.0.type | "object" |
| properties.prices.items.oneOf.1.additionalProperties | false |
| properties.prices.items.oneOf.1.description | "Value for prices item option." |
| properties.prices.items.oneOf.1.properties.amount.anyOf.0.description | "Value for amount option." |
| properties.prices.items.oneOf.1.properties.amount.anyOf.0.maximum | 9007199254740991 |
| properties.prices.items.oneOf.1.properties.amount.anyOf.0.minimum | 0 |
| properties.prices.items.oneOf.1.properties.amount.anyOf.0.type | "integer" |
| properties.prices.items.oneOf.1.properties.amount.anyOf.1.description | "Value for amount option." |
| properties.prices.items.oneOf.1.properties.amount.anyOf.1.type | "null" |
| properties.prices.items.oneOf.1.properties.amount.description | "Value for amount." |
| properties.prices.items.oneOf.1.properties.currency.const | "XTR" |
| properties.prices.items.oneOf.1.properties.currency.description | "Value for currency." |
| properties.prices.items.oneOf.1.properties.currency.type | "string" |
| properties.prices.items.oneOf.1.properties.trial\_amount.description | "Value for trial amount." |
| properties.prices.items.oneOf.1.properties.trial\_amount.type | "null" |
| properties.prices.items.oneOf.1.required | \["currency","amount","trial\_amount"] |
| properties.prices.items.oneOf.1.type | "object" |
| properties.prices.items.oneOf.2.additionalProperties | false |
| properties.prices.items.oneOf.2.description | "Value for prices item option." |
| properties.prices.items.oneOf.2.properties.amount.anyOf.0.description | "Value for amount option." |
| properties.prices.items.oneOf.2.properties.amount.anyOf.0.maxLength | 32 |
| properties.prices.items.oneOf.2.properties.amount.anyOf.0.pattern | "^\\\d+(?:\\\\.\\\d{1,8})?$" |
| properties.prices.items.oneOf.2.properties.amount.anyOf.0.type | "string" |
| properties.prices.items.oneOf.2.properties.amount.anyOf.1.description | "Value for amount option." |
| properties.prices.items.oneOf.2.properties.amount.anyOf.1.type | "null" |
| properties.prices.items.oneOf.2.properties.amount.description | "Value for amount." |
| properties.prices.items.oneOf.2.properties.currency.description | "Value for currency." |
| properties.prices.items.oneOf.2.properties.currency.enum | \["USDT","TON","BTC","ETH","LTC","BNB","TRX","USDC"] |
| properties.prices.items.oneOf.2.properties.currency.type | "string" |
| properties.prices.items.oneOf.2.properties.trial\_amount.description | "Value for trial amount." |
| properties.prices.items.oneOf.2.properties.trial\_amount.type | "null" |
| properties.prices.items.oneOf.2.required | \["currency","amount","trial\_amount"] |
| properties.prices.items.oneOf.2.type | "object" |
| properties.prices.type | "array" |
| properties.resource\_seq\_nums.description | "Value for resource seq nums." |
| properties.resource\_seq\_nums.items.description | "Value for resource seq nums item." |
| properties.resource\_seq\_nums.items.exclusiveMinimum | 0 |
| properties.resource\_seq\_nums.items.maximum | 2147483647 |
| properties.resource\_seq\_nums.items.type | "integer" |
| properties.resource\_seq\_nums.maxItems | 100 |
| properties.resource\_seq\_nums.minItems | 1 |
| properties.resource\_seq\_nums.type | "array" |
| properties.title.description | "Value for title." |
| properties.title.maxLength | 255 |
| properties.title.minLength | 1 |
| properties.title.type | "string" |
| required | \["title","mode","duration\_value","resource\_seq\_nums","idempotency\_key"] |
| type | "object" |
