Для AI-агентов: markdown этой страницы — /docs/schema-f4805c809d7841f9e6ee8dee089f8ee87b09fa7b72b4a4fc479b31f383658204.mdиндекс документации — /llms.txt
Схема: 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" |