# Схема: manage\_variant\_combinations: inputSchema

Source: <https://telegafirst.com/docs/schema-81d2ffc2d2741e1b7e30e269d3c7a6634dfc69fbc56b42f9e26b946d374c7d43>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: dbed8bc867f2ecb9acc6a80a2e38d8aae14d3d6d4247ed7bc6408d187e8a1857
Version: 2

# Схема: manage\_variant\_combinations: inputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| oneOf.0.additionalProperties | false |
| oneOf.0.description | "Value for input option." |
| oneOf.0.properties.action.const | "upsert" |
| oneOf.0.properties.action.description | "Value for action." |
| oneOf.0.properties.action.type | "string" |
| oneOf.0.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." |
| oneOf.0.properties.bot.maxLength | 128 |
| oneOf.0.properties.bot.minLength | 1 |
| oneOf.0.properties.bot.type | "string" |
| oneOf.0.properties.catalog\_id.description | "Value for catalog id." |
| oneOf.0.properties.catalog\_id.maximum | 2147483647 |
| oneOf.0.properties.catalog\_id.minimum | 1 |
| oneOf.0.properties.catalog\_id.type | "integer" |
| oneOf.0.properties.combinations.description | "Value for combinations." |
| oneOf.0.properties.combinations.items.additionalProperties | false |
| oneOf.0.properties.combinations.items.description | "Value for combinations item." |
| oneOf.0.properties.combinations.items.properties.is\_available.default | true |
| oneOf.0.properties.combinations.items.properties.is\_available.description | "Value for is available." |
| oneOf.0.properties.combinations.items.properties.is\_available.type | "boolean" |
| oneOf.0.properties.combinations.items.properties.prices.additionalProperties | false |
| oneOf.0.properties.combinations.items.properties.prices.description | "Value for prices." |
| oneOf.0.properties.combinations.items.properties.prices.properties.eur.description | "Value for eur." |
| oneOf.0.properties.combinations.items.properties.prices.properties.eur.pattern | "^(?:0\|\[1-9]\\\d\*)(?:\\\\.\\\d{1,2})?$" |
| oneOf.0.properties.combinations.items.properties.prices.properties.eur.type | "string" |
| oneOf.0.properties.combinations.items.properties.prices.properties.rub.description | "Value for rub." |
| oneOf.0.properties.combinations.items.properties.prices.properties.rub.pattern | "^(?:0\|\[1-9]\\\d\*)(?:\\\\.\\\d{1,2})?$" |
| oneOf.0.properties.combinations.items.properties.prices.properties.rub.type | "string" |
| oneOf.0.properties.combinations.items.properties.prices.properties.stars.description | "Value for stars." |
| oneOf.0.properties.combinations.items.properties.prices.properties.stars.pattern | "^(?:0\|\[1-9]\\\d\*)$" |
| oneOf.0.properties.combinations.items.properties.prices.properties.stars.type | "string" |
| oneOf.0.properties.combinations.items.properties.prices.properties.usd.description | "Value for usd." |
| oneOf.0.properties.combinations.items.properties.prices.properties.usd.pattern | "^(?:0\|\[1-9]\\\d\*)(?:\\\\.\\\d{1,2})?$" |
| oneOf.0.properties.combinations.items.properties.prices.properties.usd.type | "string" |
| oneOf.0.properties.combinations.items.properties.prices.type | "object" |
| oneOf.0.properties.combinations.items.properties.selected\_options.additionalProperties.pattern | "^\[a-z0-9\_]{1,16}$" |
| oneOf.0.properties.combinations.items.properties.selected\_options.additionalProperties.type | "string" |
| oneOf.0.properties.combinations.items.properties.selected\_options.description | "Value for selected options." |
| oneOf.0.properties.combinations.items.properties.selected\_options.propertyNames.pattern | "^\[a-z0-9\_]{1,16}$" |
| oneOf.0.properties.combinations.items.properties.selected\_options.propertyNames.type | "string" |
| oneOf.0.properties.combinations.items.properties.selected\_options.type | "object" |
| oneOf.0.properties.combinations.items.properties.sort.default | 0 |
| oneOf.0.properties.combinations.items.properties.sort.description | "Value for sort." |
| oneOf.0.properties.combinations.items.properties.sort.maximum | 1000000 |
| oneOf.0.properties.combinations.items.properties.sort.minimum | 0 |
| oneOf.0.properties.combinations.items.properties.sort.type | "integer" |
| oneOf.0.properties.combinations.items.required | \["selected\_options","prices","is\_available","sort"] |
| oneOf.0.properties.combinations.items.type | "object" |
| oneOf.0.properties.combinations.minItems | 1 |
| oneOf.0.properties.combinations.type | "array" |
| oneOf.0.properties.expected\_version.description | "Value for expected version." |
| oneOf.0.properties.expected\_version.maxLength | 64 |
| oneOf.0.properties.expected\_version.minLength | 1 |
| oneOf.0.properties.expected\_version.type | "string" |
| oneOf.0.required | \["action","catalog\_id","combinations","expected\_version"] |
| oneOf.0.type | "object" |
| oneOf.1.additionalProperties | false |
| oneOf.1.description | "Value for input option." |
| oneOf.1.properties.action.const | "remove" |
| oneOf.1.properties.action.description | "Value for action." |
| oneOf.1.properties.action.type | "string" |
| oneOf.1.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." |
| oneOf.1.properties.bot.maxLength | 128 |
| oneOf.1.properties.bot.minLength | 1 |
| oneOf.1.properties.bot.type | "string" |
| oneOf.1.properties.catalog\_id.description | "Value for catalog id." |
| oneOf.1.properties.catalog\_id.maximum | 2147483647 |
| oneOf.1.properties.catalog\_id.minimum | 1 |
| oneOf.1.properties.catalog\_id.type | "integer" |
| oneOf.1.properties.combination\_keys.description | "Value for combination keys." |
| oneOf.1.properties.combination\_keys.items.description | "Value for combination keys item." |
| oneOf.1.properties.combination\_keys.items.maxLength | 256 |
| oneOf.1.properties.combination\_keys.items.minLength | 1 |
| oneOf.1.properties.combination\_keys.items.type | "string" |
| oneOf.1.properties.combination\_keys.maxItems | 50 |
| oneOf.1.properties.combination\_keys.minItems | 1 |
| oneOf.1.properties.combination\_keys.type | "array" |
| oneOf.1.properties.expected\_version.description | "Value for expected version." |
| oneOf.1.properties.expected\_version.maxLength | 64 |
| oneOf.1.properties.expected\_version.minLength | 1 |
| oneOf.1.properties.expected\_version.type | "string" |
| oneOf.1.required | \["action","catalog\_id","combination\_keys","expected\_version"] |
| oneOf.1.type | "object" |
