# Схема: OrderCompositionApplyRequest

Source: <https://telegafirst.com/docs/schema-f4805c809d7841f9e6ee8dee089f8ee87b09fa7b72b4a4fc479b31f383658204>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: 6df05d4783dc1abe172f4a13959764b99565e5a4e42870dfbfd80278882d4092
Version: 3

# Схема: OrderCompositionApplyRequest

| Поле | Значение |
| - | - |
| oneOf.0.additionalProperties | false |
| oneOf.0.properties.expected\_amount.description | "Optional order total after the change, as reviewed by the caller; the change is refused with PRICE\_CHANGED when the recomposed total differs." |
| oneOf.0.properties.expected\_amount.pattern | "^(?:0\|\[1-9]\\\d{0,15})(?:\\\\.\\\d{1,2})?$" |
| oneOf.0.properties.expected\_amount.type | "string" |
| oneOf.0.properties.kind.enum | \["remove\_line"] |
| oneOf.0.properties.kind.type | "string" |
| oneOf.0.properties.line\_no.exclusiveMinimum | 0 |
| oneOf.0.properties.line\_no.maximum | 2147483647 |
| oneOf.0.properties.line\_no.type | "integer" |
| oneOf.0.required | \["kind","line\_no"] |
| oneOf.0.type | "object" |
| oneOf.1.additionalProperties | false |
| oneOf.1.properties.expected\_amount.description | "Optional order total after the change, as reviewed by the caller; the change is refused with PRICE\_CHANGED when the recomposed total differs." |
| oneOf.1.properties.expected\_amount.pattern | "^(?:0\|\[1-9]\\\d{0,15})(?:\\\\.\\\d{1,2})?$" |
| oneOf.1.properties.expected\_amount.type | "string" |
| oneOf.1.properties.kind.enum | \["set\_quantity"] |
| oneOf.1.properties.kind.type | "string" |
| oneOf.1.properties.line\_no.exclusiveMinimum | 0 |
| oneOf.1.properties.line\_no.maximum | 2147483647 |
| oneOf.1.properties.line\_no.type | "integer" |
| oneOf.1.properties.quantity.exclusiveMinimum | 0 |
| oneOf.1.properties.quantity.maximum | 999 |
| oneOf.1.properties.quantity.type | "integer" |
| oneOf.1.required | \["kind","line\_no","quantity"] |
| oneOf.1.type | "object" |
| oneOf.2.additionalProperties | false |
| oneOf.2.properties.expected\_amount.description | "Optional order total after the change, as reviewed by the caller; the change is refused with PRICE\_CHANGED when the recomposed total differs." |
| oneOf.2.properties.expected\_amount.pattern | "^(?:0\|\[1-9]\\\d{0,15})(?:\\\\.\\\d{1,2})?$" |
| oneOf.2.properties.expected\_amount.type | "string" |
| oneOf.2.properties.final\_unit\_amount.pattern | "^(?:0\|\[1-9]\\\d{0,15})(?:\\\\.\\\d{1,2})?$" |
| oneOf.2.properties.final\_unit\_amount.type | "string" |
| oneOf.2.properties.kind.enum | \["set\_line\_price"] |
| oneOf.2.properties.kind.type | "string" |
| oneOf.2.properties.line\_no.exclusiveMinimum | 0 |
| oneOf.2.properties.line\_no.maximum | 2147483647 |
| oneOf.2.properties.line\_no.type | "integer" |
| oneOf.2.properties.reason.maxLength | 1000 |
| oneOf.2.properties.reason.minLength | 1 |
| oneOf.2.properties.reason.type | \["string","null"] |
| oneOf.2.required | \["kind","line\_no","final\_unit\_amount"] |
| oneOf.2.type | "object" |
| oneOf.3.additionalProperties | false |
| oneOf.3.properties.catalog\_seq\_num.exclusiveMinimum | 0 |
| oneOf.3.properties.catalog\_seq\_num.maximum | 2147483647 |
| oneOf.3.properties.catalog\_seq\_num.type | "integer" |
| oneOf.3.properties.expected\_amount.description | "Optional order total after the change, as reviewed by the caller; the change is refused with PRICE\_CHANGED when the recomposed total differs." |
| oneOf.3.properties.expected\_amount.pattern | "^(?:0\|\[1-9]\\\d{0,15})(?:\\\\.\\\d{1,2})?$" |
| oneOf.3.properties.expected\_amount.type | "string" |
| oneOf.3.properties.kind.enum | \["add\_line"] |
| oneOf.3.properties.kind.type | "string" |
| oneOf.3.properties.note.maxLength | 500 |
| oneOf.3.properties.note.type | \["string","null"] |
| oneOf.3.properties.quantity.exclusiveMinimum | 0 |
| oneOf.3.properties.quantity.maximum | 999 |
| oneOf.3.properties.quantity.type | "integer" |
| oneOf.3.properties.selected\_options.additionalProperties.items.pattern | "^\[a-z0-9\_]{1,16}$" |
| oneOf.3.properties.selected\_options.additionalProperties.items.type | "string" |
| oneOf.3.properties.selected\_options.additionalProperties.minItems | 1 |
| oneOf.3.properties.selected\_options.additionalProperties.type | "array" |
| oneOf.3.properties.selected\_options.type | "object" |
| oneOf.3.required | \["kind","catalog\_seq\_num","quantity"] |
| oneOf.3.type | "object" |
