# Схема: scope\_change: inputSchema

Source: <https://telegafirst.com/docs/schema-ccc35bd6a9524787f933091cb5fefbb651911c7e268faf2a8773b038ebf0a429>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: 9b12fa1f823202e4d71e44dd429a6ad7f451650c01d4391698d49f52c601f02d
Version: 2

# Схема: scope\_change: 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.credential\_id.description | "Value for credential id." |
| properties.credential\_id.format | "uuid" |
| properties.credential\_id.pattern | "^(\[0-9a-fA-F]{8}-\[0-9a-fA-F]{4}-\[1-8]\[0-9a-fA-F]{3}-\[89abAB]\[0-9a-fA-F]{3}-\[0-9a-fA-F]{12}\|00000000-0000-0000-0000-000000000000\|ffffffff-ffff-ffff-ffff-ffffffffffff)$" |
| properties.credential\_id.type | "string" |
| properties.scopes.description | "Value for scopes." |
| properties.scopes.items.description | "Value for scopes item." |
| properties.scopes.items.enum | \["onboarding:read","onboarding:write","payments:config","legal:read","legal:write","statuses:read","statuses:write","quick-replies:read","quick-replies:write","team:read","team:write","marketing:read","marketing:write","chains:read","chains:write","events:read","events:write","broadcasts:read","broadcasts:write","agents:read","agents:write","integrations:read","integrations:write","client-config:read","client-config:write","storefront:read","storefront:write","kb:read","kb:write","dialogs:read","dialogs:write","topics:read","topics:write","identity:read","identity:write","credentials:read","credentials:write","domain:read","domain:write","site:read","site:write","support:read","support:write","booking:read","booking:write","partner:read","partner:payout","orders:write","pricing:write","orders:status","analytics:read","sessions","orders","payments","catalog:read","catalog:write","entitlements","push","export","content:read","content:write","pull:form\_submissions","push:form\_submissions"] |
| properties.scopes.items.type | "string" |
| properties.scopes.maxItems | 63 |
| properties.scopes.minItems | 1 |
| properties.scopes.type | "array" |
| required | \["credential\_id","scopes"] |
| type | "object" |
