# Схема: update\_saved\_segment: inputSchema

Source: <https://telegafirst.com/docs/schema-d717e69a635477b77a82af0ff12fa95b7f814a43e1dade44c9323d0febc7ee84>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: 73e36136fd901cf1f2ac5c1708b6625bdc08c6c7a004ba1382498fc2a0c9fead
Version: 2

# Схема: update\_saved\_segment: 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.expectedVersion.description | "Value for expected Version." |
| properties.expectedVersion.exclusiveMinimum | 0 |
| properties.expectedVersion.maximum | 9007199254740991 |
| properties.expectedVersion.type | "integer" |
| properties.filter.additionalProperties | false |
| properties.filter.description | "Value for filter." |
| properties.filter.properties.exclude.description | "Value for exclude." |
| properties.filter.properties.exclude.items.additionalProperties | false |
| properties.filter.properties.exclude.items.description | "Value for exclude item." |
| properties.filter.properties.exclude.items.properties.amountGte.description | "Value for amount Gte." |
| properties.filter.properties.exclude.items.properties.amountGte.minimum | 0 |
| properties.filter.properties.exclude.items.properties.amountGte.type | "number" |
| properties.filter.properties.exclude.items.properties.groupTargetIds.description | "Value for group Target Ids." |
| properties.filter.properties.exclude.items.properties.groupTargetIds.items.description | "Value for group Target Ids item." |
| properties.filter.properties.exclude.items.properties.groupTargetIds.items.pattern | "^\\\d+$" |
| properties.filter.properties.exclude.items.properties.groupTargetIds.items.type | "string" |
| properties.filter.properties.exclude.items.properties.groupTargetIds.maxItems | 50 |
| properties.filter.properties.exclude.items.properties.groupTargetIds.minItems | 1 |
| properties.filter.properties.exclude.items.properties.groupTargetIds.type | "array" |
| properties.filter.properties.exclude.items.properties.key.description | "Value for key." |
| properties.filter.properties.exclude.items.properties.key.minLength | 1 |
| properties.filter.properties.exclude.items.properties.key.type | "string" |
| properties.filter.properties.exclude.items.properties.kind.description | "Value for kind." |
| properties.filter.properties.exclude.items.properties.kind.enum | \["preset","recipe","tag","purchase\_amount","user\_event","commerce","event","booking","form","channel","campaign","chain","chain\_step","broadcast","manual"] |
| properties.filter.properties.exclude.items.properties.kind.type | "string" |
| properties.filter.properties.exclude.items.properties.period.description | "Value for period." |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.additionalProperties | false |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.description | "Value for period option." |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.days.description | "Value for days." |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.days.maximum | 3650 |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.days.minimum | 1 |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.days.type | "integer" |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.mode.const | "last\_days" |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.mode.description | "Value for mode." |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.mode.type | "string" |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.required | \["mode","days"] |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.type | "object" |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.additionalProperties | false |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.description | "Value for period option." |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.days.description | "Value for days." |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.days.maximum | 3650 |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.days.minimum | 1 |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.days.type | "integer" |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.mode.const | "older\_days" |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.mode.description | "Value for mode." |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.mode.type | "string" |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.required | \["mode","days"] |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.type | "object" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.additionalProperties | false |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.description | "Value for period option." |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.from.description | "Value for from." |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.from.format | "date-time" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.from.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\|(\[+-]\(?:\[01]\\\d\|2\[0-3]):\[0-5]\\\d)))$" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.from.type | "string" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.mode.const | "between" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.mode.description | "Value for mode." |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.mode.type | "string" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.to.description | "Value for to." |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.to.format | "date-time" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.to.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\|(\[+-]\(?:\[01]\\\d\|2\[0-3]):\[0-5]\\\d)))$" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.to.type | "string" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.required | \["mode","from","to"] |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.type | "object" |
| properties.filter.properties.exclude.items.properties.targetIds.description | "Value for target Ids." |
| properties.filter.properties.exclude.items.properties.targetIds.items.description | "Value for target Ids item." |
| properties.filter.properties.exclude.items.properties.targetIds.items.pattern | "^\\\d+$" |
| properties.filter.properties.exclude.items.properties.targetIds.items.type | "string" |
| properties.filter.properties.exclude.items.properties.targetIds.maxItems | 50 |
| properties.filter.properties.exclude.items.properties.targetIds.minItems | 1 |
| properties.filter.properties.exclude.items.properties.targetIds.type | "array" |
| properties.filter.properties.exclude.items.properties.userIds.description | "Value for user Ids." |
| properties.filter.properties.exclude.items.properties.userIds.items.description | "Value for user Ids item." |
| properties.filter.properties.exclude.items.properties.userIds.items.pattern | "^\\\d+$" |
| properties.filter.properties.exclude.items.properties.userIds.items.type | "string" |
| properties.filter.properties.exclude.items.properties.userIds.maxItems | 5000 |
| properties.filter.properties.exclude.items.properties.userIds.minItems | 1 |
| properties.filter.properties.exclude.items.properties.userIds.type | "array" |
| properties.filter.properties.exclude.items.required | \["kind","key"] |
| properties.filter.properties.exclude.items.type | "object" |
| properties.filter.properties.exclude.maxItems | 20 |
| properties.filter.properties.exclude.type | "array" |
| properties.filter.properties.include.description | "Value for include." |
| properties.filter.properties.include.items.additionalProperties | false |
| properties.filter.properties.include.items.description | "Value for include item." |
| properties.filter.properties.include.items.properties.any.description | "Value for any." |
| properties.filter.properties.include.items.properties.any.items.additionalProperties | false |
| properties.filter.properties.include.items.properties.any.items.description | "Value for any item." |
| properties.filter.properties.include.items.properties.any.items.properties.amountGte.description | "Value for amount Gte." |
| properties.filter.properties.include.items.properties.any.items.properties.amountGte.minimum | 0 |
| properties.filter.properties.include.items.properties.any.items.properties.amountGte.type | "number" |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.description | "Value for group Target Ids." |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.items.description | "Value for group Target Ids item." |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.items.pattern | "^\\\d+$" |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.items.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.maxItems | 50 |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.minItems | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.type | "array" |
| properties.filter.properties.include.items.properties.any.items.properties.key.description | "Value for key." |
| properties.filter.properties.include.items.properties.any.items.properties.key.minLength | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.key.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.kind.description | "Value for kind." |
| properties.filter.properties.include.items.properties.any.items.properties.kind.enum | \["preset","recipe","tag","purchase\_amount","user\_event","commerce","event","booking","form","channel","campaign","chain","chain\_step","broadcast","manual"] |
| properties.filter.properties.include.items.properties.any.items.properties.kind.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.description | "Value for period." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.additionalProperties | false |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.description | "Value for period option." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.days.description | "Value for days." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.days.maximum | 3650 |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.days.minimum | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.days.type | "integer" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.mode.const | "last\_days" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.mode.description | "Value for mode." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.mode.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.required | \["mode","days"] |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.type | "object" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.additionalProperties | false |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.description | "Value for period option." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.days.description | "Value for days." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.days.maximum | 3650 |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.days.minimum | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.days.type | "integer" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.mode.const | "older\_days" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.mode.description | "Value for mode." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.mode.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.required | \["mode","days"] |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.type | "object" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.additionalProperties | false |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.description | "Value for period option." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.from.description | "Value for from." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.from.format | "date-time" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.from.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\|(\[+-]\(?:\[01]\\\d\|2\[0-3]):\[0-5]\\\d)))$" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.from.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.mode.const | "between" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.mode.description | "Value for mode." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.mode.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.to.description | "Value for to." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.to.format | "date-time" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.to.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\|(\[+-]\(?:\[01]\\\d\|2\[0-3]):\[0-5]\\\d)))$" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.to.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.required | \["mode","from","to"] |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.type | "object" |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.description | "Value for target Ids." |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.items.description | "Value for target Ids item." |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.items.pattern | "^\\\d+$" |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.items.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.maxItems | 50 |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.minItems | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.type | "array" |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.description | "Value for user Ids." |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.items.description | "Value for user Ids item." |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.items.pattern | "^\\\d+$" |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.items.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.maxItems | 5000 |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.minItems | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.type | "array" |
| properties.filter.properties.include.items.properties.any.items.required | \["kind","key"] |
| properties.filter.properties.include.items.properties.any.items.type | "object" |
| properties.filter.properties.include.items.properties.any.maxItems | 20 |
| properties.filter.properties.include.items.properties.any.minItems | 1 |
| properties.filter.properties.include.items.properties.any.type | "array" |
| properties.filter.properties.include.items.required | \["any"] |
| properties.filter.properties.include.items.type | "object" |
| properties.filter.properties.include.maxItems | 5 |
| properties.filter.properties.include.type | "array" |
| properties.filter.required | \["include","exclude"] |
| properties.filter.type | "object" |
| properties.seq\_num.description | "Value for seq num." |
| properties.seq\_num.exclusiveMinimum | 0 |
| properties.seq\_num.maximum | 2147483647 |
| properties.seq\_num.type | "integer" |
| properties.title.description | "Value for title." |
| properties.title.maxLength | 120 |
| properties.title.minLength | 1 |
| properties.title.type | "string" |
| required | \["expectedVersion","seq\_num"] |
| type | "object" |
