# Схема: sale\_preset\_apply: inputSchema

Source: <https://telegafirst.com/docs/schema-0dec28d8feb0c5c78006b00147c50cc86d30490aee6b632f61a61e9372f59519>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 6f8e82cb6a86b6c227282a2401c3cc8213797d835c5a77b9f0822d215b60221c
Version: 5

# Схема: sale\_preset\_apply: inputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.address.description | "Value for address." |
| properties.address.maxLength | 200 |
| properties.address.minLength | 1 |
| properties.address.type | "string" |
| 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.capacity.description | "Value for capacity." |
| properties.capacity.maximum | 10000 |
| properties.capacity.minimum | 1 |
| properties.capacity.type | "integer" |
| properties.idempotency\_key.description | "Value for idempotency key." |
| properties.idempotency\_key.maxLength | 100 |
| properties.idempotency\_key.minLength | 1 |
| properties.idempotency\_key.type | "string" |
| properties.preset\_id.description | "Value for preset id." |
| properties.preset\_id.enum | \["specialist","consultation\_free\_zoom","consultation\_paid\_zoom","office\_hourly","cottage\_daily","event\_free","event\_tickets","event\_online"] |
| properties.preset\_id.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.start\_at.description | "Value for start at." |
| properties.start\_at.minLength | 1 |
| properties.start\_at.type | "string" |
| properties.stream\_url.description | "Value for stream url." |
| properties.stream\_url.format | "uri" |
| properties.stream\_url.type | "string" |
| required | \["preset\_id","idempotency\_key"] |
| type | "object" |
