{
  "components": {
    "schemas": {
      "AccountSchema": {
        "properties": {
          "balance": {
            "default": "0",
            "title": "Balance",
            "type": "string"
          },
          "description": {
            "default": "",
            "title": "Description",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "is_active": {
            "default": true,
            "title": "Is Active",
            "type": "boolean"
          },
          "title": {
            "default": "",
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "AccountSchema",
        "type": "object"
      },
      "AccountSwitchInput": {
        "properties": {
          "account_id": {
            "title": "Account Id",
            "type": "string"
          }
        },
        "required": [
          "account_id"
        ],
        "title": "AccountSwitchInput",
        "type": "object"
      },
      "AdditionalItemInput": {
        "properties": {
          "inventory_id": {
            "format": "uuid",
            "title": "Inventory Id",
            "type": "string"
          },
          "quantity": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Quantity"
          }
        },
        "required": [
          "inventory_id",
          "quantity"
        ],
        "title": "AdditionalItemInput",
        "type": "object"
      },
      "AddressSuggestionOutput": {
        "properties": {
          "category": {
            "title": "Category",
            "type": "string"
          },
          "location": {
            "$ref": "#/components/schemas/LocationOutput"
          },
          "place_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Place Name"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "title",
          "category",
          "location"
        ],
        "title": "AddressSuggestionOutput",
        "type": "object"
      },
      "AvailabilityItemInput": {
        "properties": {
          "product_id": {
            "format": "uuid",
            "title": "Product Id",
            "type": "string"
          },
          "quantity": {
            "anyOf": [
              {
                "minimum": 0.001,
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Quantity"
          },
          "unit_id": {
            "format": "uuid",
            "title": "Unit Id",
            "type": "string"
          }
        },
        "required": [
          "product_id",
          "unit_id",
          "quantity"
        ],
        "title": "AvailabilityItemInput",
        "type": "object"
      },
      "AvailabilityOutput": {
        "properties": {
          "is_available": {
            "title": "Is Available",
            "type": "boolean"
          },
          "is_user_order_quantity_limit_enabled": {
            "default": false,
            "title": "Is User Order Quantity Limit Enabled",
            "type": "boolean"
          },
          "max_quantity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Max Quantity"
          },
          "product_id": {
            "format": "uuid",
            "title": "Product Id",
            "type": "string"
          },
          "reason_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason Code"
          },
          "requested_quantity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "default": "0.000",
            "title": "Requested Quantity"
          },
          "unit_id": {
            "format": "uuid",
            "title": "Unit Id",
            "type": "string"
          },
          "user_order_quantity_limit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "default": "0.000",
            "title": "User Order Quantity Limit"
          }
        },
        "required": [
          "product_id",
          "unit_id",
          "is_available",
          "max_quantity"
        ],
        "title": "AvailabilityOutput",
        "type": "object"
      },
      "BannerSchema": {
        "properties": {
          "image": {
            "title": "Image",
            "type": "string"
          },
          "reference_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Id"
          },
          "reference_type": {
            "title": "Reference Type",
            "type": "string"
          }
        },
        "required": [
          "image",
          "reference_type"
        ],
        "title": "BannerSchema",
        "type": "object"
      },
      "BarcodeInput": {
        "properties": {
          "barcode": {
            "description": "Штрихкод товара.",
            "examples": [
              "482000000001"
            ],
            "minLength": 1,
            "title": "Barcode",
            "type": "string"
          }
        },
        "required": [
          "barcode"
        ],
        "title": "BarcodeInput",
        "type": "object"
      },
      "BlockReasonSchema": {
        "properties": {
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "key",
          "label"
        ],
        "title": "BlockReasonSchema",
        "type": "object"
      },
      "CancelPickingInput": {
        "properties": {
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          }
        },
        "title": "CancelPickingInput",
        "type": "object"
      },
      "CardBlockInput": {
        "properties": {
          "card_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Card Id"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          }
        },
        "title": "CardBlockInput",
        "type": "object"
      },
      "CardLinkInput": {
        "properties": {
          "card_number": {
            "title": "Card Number",
            "type": "string"
          }
        },
        "required": [
          "card_number"
        ],
        "title": "CardLinkInput",
        "type": "object"
      },
      "CardSchema": {
        "properties": {
          "card_number": {
            "default": "",
            "title": "Card Number",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "is_active": {
            "default": true,
            "title": "Is Active",
            "type": "boolean"
          },
          "is_blocked": {
            "default": false,
            "title": "Is Blocked",
            "type": "boolean"
          },
          "is_virtual": {
            "default": true,
            "title": "Is Virtual",
            "type": "boolean"
          },
          "qrcode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QrcodeSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "default": "",
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "CardSchema",
        "type": "object"
      },
      "CardUnblockInput": {
        "properties": {
          "card_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Card Id"
          }
        },
        "title": "CardUnblockInput",
        "type": "object"
      },
      "CategoryMenuSchema": {
        "properties": {
          "children": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CategorySchema"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Children"
          },
          "children_count": {
            "default": 0,
            "title": "Children Count",
            "type": "integer"
          },
          "color": {
            "title": "Color",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ListingImageSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "level": {
            "title": "Level",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "parent_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Id"
          }
        },
        "required": [
          "id",
          "name",
          "level",
          "color"
        ],
        "title": "CategoryMenuSchema",
        "type": "object"
      },
      "CategorySchema": {
        "properties": {
          "children_count": {
            "default": 0,
            "title": "Children Count",
            "type": "integer"
          },
          "color": {
            "title": "Color",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ListingImageSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "level": {
            "title": "Level",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "parent_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Id"
          }
        },
        "required": [
          "id",
          "name",
          "level",
          "color"
        ],
        "title": "CategorySchema",
        "type": "object"
      },
      "CheckLocationItemInput": {
        "properties": {
          "location": {
            "$ref": "#/components/schemas/LocationInput"
          },
          "uuid": {
            "format": "uuid",
            "title": "Uuid",
            "type": "string"
          }
        },
        "required": [
          "uuid",
          "location"
        ],
        "title": "CheckLocationItemInput",
        "type": "object"
      },
      "ConfirmClarificationInput": {
        "properties": {
          "quantity": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Подтверждённое целое количество для штучного товара.",
            "examples": [
              2
            ],
            "title": "Quantity"
          },
          "quantity_kg": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Подтверждённый вес в килограммах для весового товара.",
            "examples": [
              "0.680"
            ],
            "title": "Quantity Kg"
          },
          "resolution": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Необязательный тип расхождения: `quantity_mismatch` или `weight_mismatch`. Если передан, должен совпасть с состоянием позиции.",
            "examples": [
              "quantity_mismatch"
            ],
            "title": "Resolution"
          }
        },
        "title": "ConfirmClarificationInput",
        "type": "object"
      },
      "ConfirmOTPInput": {
        "properties": {
          "first_name": {
            "anyOf": [
              {
                "maxLength": 50,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "last_name": {
            "anyOf": [
              {
                "maxLength": 50,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "otp": {
            "title": "Otp",
            "type": "string"
          },
          "patronymic": {
            "anyOf": [
              {
                "maxLength": 50,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Patronymic"
          },
          "phone": {
            "maxLength": 15,
            "minLength": 8,
            "pattern": "^\\+[1-9][0-9]{7,14}$",
            "title": "Phone",
            "type": "string"
          }
        },
        "required": [
          "phone",
          "otp"
        ],
        "title": "ConfirmOTPInput",
        "type": "object"
      },
      "ConfirmOTPOutput": {
        "properties": {
          "access": {
            "title": "Access",
            "type": "string"
          },
          "is_new_user": {
            "title": "Is New User",
            "type": "boolean"
          },
          "phone": {
            "maxLength": 15,
            "title": "Телефон",
            "type": "string"
          },
          "refresh": {
            "title": "Refresh",
            "type": "string"
          }
        },
        "required": [
          "phone",
          "refresh",
          "access",
          "is_new_user"
        ],
        "title": "ConfirmOTPOutput",
        "type": "object"
      },
      "CourierLocationSchema": {
        "properties": {
          "bearing": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bearing"
          },
          "lat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Lat"
          },
          "lng": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Lng"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "required": [
          "lng",
          "lat"
        ],
        "title": "CourierLocationSchema",
        "type": "object"
      },
      "CourierSchema": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "vehicle_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vehicle Number"
          }
        },
        "title": "CourierSchema",
        "type": "object"
      },
      "DeliveryInfoSchema": {
        "properties": {
          "address_line": {
            "title": "Address Line",
            "type": "string"
          },
          "cost": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Cost"
          },
          "customer_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DeliveryRouteLocationSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "date": {
            "format": "date",
            "title": "Date",
            "type": "string"
          },
          "end_time": {
            "format": "time",
            "title": "End Time",
            "type": "string"
          },
          "start_time": {
            "format": "time",
            "title": "Start Time",
            "type": "string"
          },
          "store_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DeliveryRouteLocationSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "tracking": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DeliveryTrackingSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "address_line",
          "date",
          "start_time",
          "end_time",
          "cost"
        ],
        "title": "DeliveryInfoSchema",
        "type": "object"
      },
      "DeliveryInput": {
        "properties": {
          "address": {
            "$ref": "#/components/schemas/UserAddressInput"
          },
          "estimate_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Id"
          },
          "slot_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Slot Id"
          }
        },
        "required": [
          "address"
        ],
        "title": "DeliveryInput",
        "type": "object"
      },
      "DeliveryPreferenceOutput": {
        "properties": {
          "express": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ExpressDeliveryOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "min_order_amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Min Order Amount"
          },
          "standard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/StandardDeliveryOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "min_order_amount"
        ],
        "title": "DeliveryPreferenceOutput",
        "type": "object"
      },
      "DeliveryPriceEstimateInput": {
        "properties": {
          "location": {
            "$ref": "#/components/schemas/LocationInput"
          }
        },
        "required": [
          "location"
        ],
        "title": "DeliveryPriceEstimateInput",
        "type": "object"
      },
      "DeliveryPriceEstimateSchema": {
        "properties": {
          "currency": {
            "title": "Currency",
            "type": "string"
          },
          "distance_km": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Distance Km"
          },
          "estimate_id": {
            "format": "uuid",
            "title": "Estimate Id",
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "tariff_id": {
            "title": "Tariff Id",
            "type": "string"
          },
          "tariff_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tariff Name"
          },
          "total_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Total Price"
          }
        },
        "required": [
          "estimate_id",
          "total_price",
          "currency",
          "distance_km",
          "tariff_id",
          "expires_at"
        ],
        "title": "DeliveryPriceEstimateSchema",
        "type": "object"
      },
      "DeliveryRouteLocationSchema": {
        "properties": {
          "lat": {
            "title": "Lat",
            "type": "number"
          },
          "lon": {
            "title": "Lon",
            "type": "number"
          }
        },
        "required": [
          "lon",
          "lat"
        ],
        "title": "DeliveryRouteLocationSchema",
        "type": "object"
      },
      "DeliverySlotOutput": {
        "properties": {
          "cost": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Cost"
          },
          "end_time": {
            "format": "time",
            "title": "End Time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "start_time": {
            "format": "time",
            "title": "Start Time",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "type",
          "start_time",
          "end_time",
          "cost"
        ],
        "title": "DeliverySlotOutput",
        "type": "object"
      },
      "DeliveryTrackingSchema": {
        "properties": {
          "can_cancel": {
            "default": false,
            "title": "Can Cancel",
            "type": "boolean"
          },
          "cancellation_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cancellation Reason"
          },
          "comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comment"
          },
          "courier": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CourierSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "display": {
            "title": "Display",
            "type": "string"
          },
          "location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CourierLocationSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "required": [
          "state",
          "display"
        ],
        "title": "DeliveryTrackingSchema",
        "type": "object"
      },
      "DeliveryZoneOutput": {
        "properties": {
          "polygon": {
            "$ref": "#/components/schemas/PolygonSchema"
          },
          "store_id": {
            "format": "uuid",
            "title": "Store Id",
            "type": "string"
          },
          "store_name": {
            "title": "Store Name",
            "type": "string"
          }
        },
        "required": [
          "store_id",
          "store_name",
          "polygon"
        ],
        "title": "DeliveryZoneOutput",
        "type": "object"
      },
      "DetailImageSchema": {
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "listing": {
            "title": "Listing",
            "type": "string"
          },
          "original": {
            "title": "Original",
            "type": "string"
          }
        },
        "required": [
          "original",
          "listing",
          "detail"
        ],
        "title": "DetailImageSchema",
        "type": "object"
      },
      "DetailOrderRoadmapSchema": {
        "properties": {
          "can_cancel": {
            "default": false,
            "title": "Can Cancel",
            "type": "boolean"
          },
          "delivery": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DeliveryInfoSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "has_picking_changes": {
            "default": false,
            "title": "Has Picking Changes",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/OrderItemSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "no": {
            "title": "No",
            "type": "integer"
          },
          "picking_result": {
            "$ref": "#/components/schemas/PickingResultSchema"
          },
          "picking_result_state": {
            "default": "pending",
            "title": "Picking Result State",
            "type": "string"
          },
          "pickup": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PickupInfoSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/OrderStatusSchema"
          },
          "total_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Total Price"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "no",
          "type",
          "status",
          "total_price",
          "items",
          "picking_result"
        ],
        "title": "DetailOrderRoadmapSchema",
        "type": "object"
      },
      "DiscountPreviewInput": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/DiscountPreviewItemInput"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "DiscountPreviewInput",
        "type": "object"
      },
      "DiscountPreviewItemInput": {
        "properties": {
          "product_id": {
            "format": "uuid",
            "title": "Product Id",
            "type": "string"
          },
          "quantity": {
            "anyOf": [
              {
                "minimum": 0.001,
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Quantity"
          },
          "unit_id": {
            "format": "uuid",
            "title": "Unit Id",
            "type": "string"
          }
        },
        "required": [
          "product_id",
          "unit_id",
          "quantity"
        ],
        "title": "DiscountPreviewItemInput",
        "type": "object"
      },
      "DiscountPreviewItemSchema": {
        "properties": {
          "discount_amount": {
            "title": "Discount Amount",
            "type": "string"
          },
          "discounted_price": {
            "title": "Discounted Price",
            "type": "string"
          },
          "original_price": {
            "title": "Original Price",
            "type": "string"
          },
          "product_external_id": {
            "title": "Product External Id",
            "type": "string"
          }
        },
        "required": [
          "product_external_id",
          "original_price",
          "discounted_price",
          "discount_amount"
        ],
        "title": "DiscountPreviewItemSchema",
        "type": "object"
      },
      "DiscountPreviewSchema": {
        "properties": {
          "bonus_accrual": {
            "default": "0",
            "title": "Bonus Accrual",
            "type": "string"
          },
          "bonus_applied": {
            "default": false,
            "title": "Bonus Applied",
            "type": "boolean"
          },
          "bonus_reason": {
            "default": "",
            "title": "Bonus Reason",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/DiscountPreviewItemSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "total_discount": {
            "default": "0",
            "title": "Total Discount",
            "type": "string"
          }
        },
        "title": "DiscountPreviewSchema",
        "type": "object"
      },
      "EskhataInvoiceResponse": {
        "properties": {
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "link": {
            "title": "Link",
            "type": "string"
          }
        },
        "required": [
          "link",
          "expires_at"
        ],
        "title": "EskhataInvoiceResponse",
        "type": "object"
      },
      "ExpressDeliveryOutput": {
        "properties": {
          "cost": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Cost"
          },
          "is_available": {
            "title": "Is Available",
            "type": "boolean"
          },
          "max_items_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Items Count"
          },
          "minutes": {
            "title": "Minutes",
            "type": "integer"
          },
          "schedule": {
            "items": {
              "$ref": "#/components/schemas/ExpressOrderScheduleOutput"
            },
            "title": "Schedule",
            "type": "array"
          }
        },
        "required": [
          "minutes",
          "cost",
          "is_available",
          "schedule"
        ],
        "title": "ExpressDeliveryOutput",
        "type": "object"
      },
      "ExpressOrderScheduleOutput": {
        "properties": {
          "end_time": {
            "format": "time",
            "title": "End Time",
            "type": "string"
          },
          "is_active": {
            "title": "Is Active",
            "type": "boolean"
          },
          "start_time": {
            "format": "time",
            "title": "Start Time",
            "type": "string"
          },
          "weekday": {
            "title": "Weekday",
            "type": "integer"
          }
        },
        "required": [
          "weekday",
          "start_time",
          "end_time",
          "is_active"
        ],
        "title": "ExpressOrderScheduleOutput",
        "type": "object"
      },
      "FavoriteProductsCheckInput": {
        "properties": {
          "product_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "maxItems": 100,
            "title": "Product Ids",
            "type": "array"
          }
        },
        "required": [
          "product_ids"
        ],
        "title": "FavoriteProductsCheckInput",
        "type": "object"
      },
      "FavoriteProductsCheckOutput": {
        "properties": {
          "product_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Product Ids",
            "type": "array"
          }
        },
        "required": [
          "product_ids"
        ],
        "title": "FavoriteProductsCheckOutput",
        "type": "object"
      },
      "Gender": {
        "enum": [
          "male",
          "female"
        ],
        "title": "Gender",
        "type": "string"
      },
      "InventoryItemSchema": {
        "properties": {
          "discount_percent": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Discount Percent"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "old_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Old Price"
          },
          "stock": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stock"
          },
          "unit_id": {
            "format": "uuid",
            "title": "Unit Id",
            "type": "string"
          },
          "unit_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Unit Price"
          }
        },
        "required": [
          "id",
          "unit_id",
          "stock",
          "unit_price"
        ],
        "title": "InventoryItemSchema",
        "type": "object"
      },
      "ListingImageSchema": {
        "properties": {
          "listing": {
            "title": "Listing",
            "type": "string"
          },
          "original": {
            "title": "Original",
            "type": "string"
          }
        },
        "required": [
          "original",
          "listing"
        ],
        "title": "ListingImageSchema",
        "type": "object"
      },
      "LocationInput": {
        "properties": {
          "lat": {
            "maximum": 90,
            "minimum": -90,
            "title": "Lat",
            "type": "number"
          },
          "lon": {
            "maximum": 180,
            "minimum": -180,
            "title": "Lon",
            "type": "number"
          }
        },
        "required": [
          "lon",
          "lat"
        ],
        "title": "LocationInput",
        "type": "object"
      },
      "LocationOutput": {
        "properties": {
          "lat": {
            "title": "Lat",
            "type": "number"
          },
          "lon": {
            "title": "Lon",
            "type": "number"
          }
        },
        "required": [
          "lon",
          "lat"
        ],
        "title": "LocationOutput",
        "type": "object"
      },
      "LoyaltyProgramLevelSchema": {
        "properties": {
          "boundary": {
            "default": "0",
            "title": "Boundary",
            "type": "string"
          },
          "clients_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clients Count"
          },
          "description": {
            "default": "",
            "title": "Description",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "order": {
            "title": "Order",
            "type": "integer"
          },
          "range_label": {
            "default": "",
            "title": "Range Label",
            "type": "string"
          }
        },
        "required": [
          "order",
          "name"
        ],
        "title": "LoyaltyProgramLevelSchema",
        "type": "object"
      },
      "LoyaltyProgramSchema": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "levels": {
            "items": {
              "$ref": "#/components/schemas/LoyaltyProgramLevelSchema"
            },
            "title": "Levels",
            "type": "array"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "LoyaltyProgramSchema",
        "type": "object"
      },
      "LoyaltyStatusSchema": {
        "properties": {
          "amount_to_next": {
            "default": "0",
            "title": "Amount To Next",
            "type": "string"
          },
          "current_tier": {
            "default": "",
            "title": "Current Tier",
            "type": "string"
          },
          "last_purchase_points": {
            "default": "0",
            "title": "Last Purchase Points",
            "type": "string"
          },
          "next_tier": {
            "default": "",
            "title": "Next Tier",
            "type": "string"
          },
          "program_name": {
            "default": "",
            "title": "Program Name",
            "type": "string"
          },
          "progress": {
            "default": 0.0,
            "title": "Progress",
            "type": "number"
          },
          "tiers": {
            "items": {
              "$ref": "#/components/schemas/TierSchema"
            },
            "title": "Tiers",
            "type": "array"
          },
          "tiers_complete": {
            "default": false,
            "title": "Tiers Complete",
            "type": "boolean"
          },
          "tiers_source": {
            "default": "cdp_fallback",
            "title": "Tiers Source",
            "type": "string"
          },
          "total_turnover": {
            "default": "0",
            "title": "Total Turnover",
            "type": "string"
          }
        },
        "title": "LoyaltyStatusSchema",
        "type": "object"
      },
      "MainPageCategoryBlockSchema": {
        "properties": {
          "children": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CategorySchema"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Children"
          },
          "children_count": {
            "default": 0,
            "title": "Children Count",
            "type": "integer"
          },
          "color": {
            "title": "Color",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ListingImageSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "layout": {
            "title": "Layout",
            "type": "string"
          },
          "level": {
            "title": "Level",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "parent_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Id"
          }
        },
        "required": [
          "id",
          "name",
          "level",
          "color",
          "layout"
        ],
        "title": "MainPageCategoryBlockSchema",
        "type": "object"
      },
      "MainPageProductsTitlesSchema": {
        "properties": {
          "amid": {
            "title": "Amid",
            "type": "string"
          },
          "amid_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Amid Category"
          },
          "childhood": {
            "title": "Childhood",
            "type": "string"
          },
          "fresh": {
            "title": "Fresh",
            "type": "string"
          },
          "new": {
            "title": "New",
            "type": "string"
          },
          "promo": {
            "title": "Promo",
            "type": "string"
          }
        },
        "required": [
          "promo",
          "amid",
          "new",
          "childhood",
          "fresh"
        ],
        "title": "MainPageProductsTitlesSchema",
        "type": "object"
      },
      "ManualPickInput": {
        "properties": {
          "confirm": {
            "default": false,
            "description": "Подтверждает уже сохранённое расхождение количества.",
            "title": "Confirm",
            "type": "boolean"
          },
          "quantity": {
            "description": "Фактически собранное целое количество.",
            "examples": [
              2
            ],
            "minimum": 1,
            "title": "Quantity",
            "type": "integer"
          }
        },
        "required": [
          "quantity"
        ],
        "title": "ManualPickInput",
        "type": "object"
      },
      "MapConfigOutput": {
        "properties": {
          "enabled": {
            "title": "Enabled",
            "type": "boolean"
          },
          "mapbox_public_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mapbox Public Token"
          },
          "search_debounce_ms": {
            "default": 400,
            "title": "Search Debounce Ms",
            "type": "integer"
          },
          "search_max_results": {
            "default": 7,
            "title": "Search Max Results",
            "type": "integer"
          },
          "search_min_length": {
            "default": 2,
            "title": "Search Min Length",
            "type": "integer"
          },
          "style_uri": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Style Uri"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "MapConfigOutput",
        "type": "object"
      },
      "MaritalStatus": {
        "enum": [
          "single",
          "married"
        ],
        "title": "MaritalStatus",
        "type": "string"
      },
      "MeasurementUnitSchema": {
        "properties": {
          "full_name": {
            "title": "Full Name",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "ratio": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Ratio"
          }
        },
        "required": [
          "id",
          "name",
          "full_name",
          "ratio"
        ],
        "title": "MeasurementUnitSchema",
        "type": "object"
      },
      "MissingInput": {
        "properties": {
          "action": {
            "description": "`call` — запросить звонок клиенту; `remove` — подготовить удаление.",
            "examples": [
              "remove"
            ],
            "title": "Action",
            "type": "string"
          }
        },
        "required": [
          "action"
        ],
        "title": "MissingInput",
        "type": "object"
      },
      "MobileVersionCheckResponse": {
        "properties": {
          "can_update": {
            "title": "Can Update",
            "type": "boolean"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message"
          },
          "update_required": {
            "title": "Update Required",
            "type": "boolean"
          }
        },
        "required": [
          "update_required",
          "can_update"
        ],
        "title": "MobileVersionCheckResponse",
        "type": "object"
      },
      "MobileVersionInput": {
        "properties": {
          "platform": {
            "enum": [
              "android",
              "ios"
            ],
            "title": "Platform",
            "type": "string"
          },
          "version": {
            "title": "Version",
            "type": "string"
          }
        },
        "required": [
          "platform",
          "version"
        ],
        "title": "MobileVersionInput",
        "type": "object"
      },
      "OrderAdviceActionEnum": {
        "enum": [
          "remove",
          "call"
        ],
        "title": "OrderAdviceActionEnum",
        "type": "string"
      },
      "OrderCommandError": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "detail": {
            "title": "Detail",
            "type": "string"
          }
        },
        "required": [
          "detail",
          "code"
        ],
        "title": "OrderCommandError",
        "type": "object"
      },
      "OrderDetailSchema": {
        "properties": {
          "address_line": {
            "title": "Address Line",
            "type": "string"
          },
          "can_cancel": {
            "default": false,
            "title": "Can Cancel",
            "type": "boolean"
          },
          "comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comment"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "delivery": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DeliveryInfoSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "has_picking_changes": {
            "default": false,
            "title": "Has Picking Changes",
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/OrderItemSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "no": {
            "title": "No",
            "type": "integer"
          },
          "picking_result": {
            "$ref": "#/components/schemas/PickingResultSchema"
          },
          "picking_result_state": {
            "default": "pending",
            "title": "Picking Result State",
            "type": "string"
          },
          "pickup": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PickupInfoSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/OrderStatusSchema"
          },
          "total_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Total Price"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "id",
          "no",
          "type",
          "address_line",
          "created_at",
          "total_price",
          "items",
          "status",
          "picking_result"
        ],
        "title": "OrderDetailSchema",
        "type": "object"
      },
      "OrderInput": {
        "properties": {
          "absence_action": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OrderAdviceActionEnum"
              }
            ],
            "default": "call"
          },
          "change": {
            "anyOf": [
              {
                "minimum": 0.01,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Change"
          },
          "comment": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comment"
          },
          "delivery_context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DeliveryInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/OrderItemInput"
            },
            "title": "Items",
            "type": "array"
          },
          "payment_method": {
            "$ref": "#/components/schemas/PaymentMethodEnum"
          },
          "pickup_context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PickupInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "$ref": "#/components/schemas/OrderTypeEnum"
          }
        },
        "required": [
          "type",
          "payment_method",
          "items"
        ],
        "title": "OrderInput",
        "type": "object"
      },
      "OrderItemInput": {
        "properties": {
          "product_id": {
            "format": "uuid",
            "title": "Product Id",
            "type": "string"
          },
          "quantity": {
            "anyOf": [
              {
                "minimum": 0.001,
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Quantity"
          },
          "unit_id": {
            "format": "uuid",
            "title": "Unit Id",
            "type": "string"
          }
        },
        "required": [
          "product_id",
          "unit_id",
          "quantity"
        ],
        "title": "OrderItemInput",
        "type": "object"
      },
      "OrderItemSchema": {
        "properties": {
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "old_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Old Price"
          },
          "product_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product Id"
          },
          "quantity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Quantity"
          },
          "unit_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Id"
          },
          "unit_name": {
            "title": "Unit Name",
            "type": "string"
          },
          "unit_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Unit Price"
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Weight"
          }
        },
        "required": [
          "unit_name",
          "name",
          "weight",
          "unit_price",
          "quantity"
        ],
        "title": "OrderItemSchema",
        "type": "object"
      },
      "OrderRoadmapSchema": {
        "properties": {
          "has_picking_changes": {
            "default": false,
            "title": "Has Picking Changes",
            "type": "boolean"
          },
          "items_count": {
            "title": "Items Count",
            "type": "integer"
          },
          "no": {
            "title": "No",
            "type": "integer"
          },
          "picking_result_state": {
            "default": "pending",
            "title": "Picking Result State",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/OrderStatusSchema"
          },
          "total_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Total Price"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "no",
          "type",
          "status",
          "total_price",
          "items_count"
        ],
        "title": "OrderRoadmapSchema",
        "type": "object"
      },
      "OrderStatusSchema": {
        "properties": {
          "comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comment"
          },
          "display": {
            "title": "Display",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "display",
          "value"
        ],
        "title": "OrderStatusSchema",
        "type": "object"
      },
      "OrderTypeEnum": {
        "enum": [
          "pickup",
          "delivery"
        ],
        "title": "OrderTypeEnum",
        "type": "string"
      },
      "OrdersListingSchema": {
        "properties": {
          "address_line": {
            "title": "Address Line",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "has_picking_changes": {
            "default": false,
            "title": "Has Picking Changes",
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "no": {
            "title": "No",
            "type": "integer"
          },
          "picking_result_state": {
            "default": "pending",
            "title": "Picking Result State",
            "type": "string"
          },
          "total_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Total Price"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "id",
          "no",
          "type",
          "address_line",
          "created_at",
          "total_price"
        ],
        "title": "OrdersListingSchema",
        "type": "object"
      },
      "OwnCategorySchema": {
        "properties": {
          "children_count": {
            "default": 0,
            "title": "Children Count",
            "type": "integer"
          },
          "color": {
            "title": "Color",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ListingImageSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "level": {
            "title": "Level",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "parent_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Id"
          },
          "products_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Products Count"
          }
        },
        "required": [
          "id",
          "name",
          "level",
          "color"
        ],
        "title": "OwnCategorySchema",
        "type": "object"
      },
      "PageResponse": {
        "properties": {
          "content": {
            "title": "Content",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "title",
          "content"
        ],
        "title": "PageResponse",
        "type": "object"
      },
      "PagedOrdersListingSchema": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "has_next": {
            "title": "Has Next",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/OrdersListingSchema"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items",
          "count",
          "has_next"
        ],
        "title": "PagedOrdersListingSchema",
        "type": "object"
      },
      "PagedProductListingSchema": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "has_next": {
            "title": "Has Next",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ProductListingSchema"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items",
          "count",
          "has_next"
        ],
        "title": "PagedProductListingSchema",
        "type": "object"
      },
      "PagedPurchaseSchema": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "has_next": {
            "title": "Has Next",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PurchaseSchema"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items",
          "count",
          "has_next"
        ],
        "title": "PagedPurchaseSchema",
        "type": "object"
      },
      "PagedTransactionSchema": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "has_next": {
            "title": "Has Next",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/TransactionSchema"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items",
          "count",
          "has_next"
        ],
        "title": "PagedTransactionSchema",
        "type": "object"
      },
      "PasswordUpdateInput": {
        "properties": {
          "password": {
            "format": "password",
            "title": "Password",
            "type": "string",
            "writeOnly": true
          },
          "password_repeat": {
            "format": "password",
            "title": "Password Repeat",
            "type": "string",
            "writeOnly": true
          }
        },
        "required": [
          "password",
          "password_repeat"
        ],
        "title": "PasswordUpdateInput",
        "type": "object"
      },
      "PaymentMethodEnum": {
        "enum": [
          "cash",
          "online"
        ],
        "title": "PaymentMethodEnum",
        "type": "string"
      },
      "PaymentSummarySchema": {
        "properties": {
          "current_total": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Current Total"
          },
          "difference": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Difference"
          },
          "original_total": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Original Total"
          },
          "reconciliation_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reconciliation Status"
          }
        },
        "required": [
          "original_total",
          "current_total",
          "difference"
        ],
        "title": "PaymentSummarySchema",
        "type": "object"
      },
      "PickerCatalogCursorOutput": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PickerCatalogProductSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "items",
          "has_more"
        ],
        "title": "PickerCatalogCursorOutput",
        "type": "object"
      },
      "PickerCatalogOutput": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PickerCatalogProductSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "limit",
          "offset",
          "has_more"
        ],
        "title": "PickerCatalogOutput",
        "type": "object"
      },
      "PickerCatalogProductSchema": {
        "properties": {
          "available_quantity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Available Quantity"
          },
          "barcode": {
            "title": "Barcode",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Url"
          },
          "inventory_id": {
            "title": "Inventory Id",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "plu_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plu Code"
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Price"
          },
          "product_id": {
            "title": "Product Id",
            "type": "string"
          },
          "unit": {
            "title": "Unit",
            "type": "string"
          }
        },
        "required": [
          "inventory_id",
          "product_id",
          "name",
          "barcode",
          "description",
          "price",
          "available_quantity",
          "unit",
          "kind"
        ],
        "title": "PickerCatalogProductSchema",
        "type": "object"
      },
      "PickerHistoryItemSchema": {
        "properties": {
          "actual_quantity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Actual Quantity"
          },
          "barcode": {
            "title": "Barcode",
            "type": "string"
          },
          "final_barcode": {
            "default": "",
            "title": "Final Barcode",
            "type": "string"
          },
          "final_image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Final Image Url"
          },
          "final_name": {
            "title": "Final Name",
            "type": "string"
          },
          "final_plu_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Final Plu Code"
          },
          "final_unit_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Final Unit Price"
          },
          "is_added": {
            "title": "Is Added",
            "type": "boolean"
          },
          "is_removed": {
            "title": "Is Removed",
            "type": "boolean"
          },
          "item_id": {
            "title": "Item Id",
            "type": "string"
          },
          "original_barcode": {
            "default": "",
            "title": "Original Barcode",
            "type": "string"
          },
          "original_image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Original Image Url"
          },
          "original_name": {
            "title": "Original Name",
            "type": "string"
          },
          "original_plu_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Original Plu Code"
          },
          "original_unit_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Original Unit Price"
          },
          "plu_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plu Code"
          },
          "required_quantity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Required Quantity"
          },
          "resolution_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resolution Type"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "state": {
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "item_id",
          "source",
          "original_name",
          "final_name",
          "barcode",
          "required_quantity",
          "actual_quantity",
          "original_unit_price",
          "final_unit_price",
          "state",
          "is_added",
          "is_removed"
        ],
        "title": "PickerHistoryItemSchema",
        "type": "object"
      },
      "PickerHistorySessionDetailSchema": {
        "properties": {
          "completed_at": {
            "format": "date-time",
            "title": "Completed At",
            "type": "string"
          },
          "duration_seconds": {
            "title": "Duration Seconds",
            "type": "integer"
          },
          "fulfillment_type": {
            "title": "Fulfillment Type",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PickerHistoryItemSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "order_id": {
            "title": "Order Id",
            "type": "string"
          },
          "order_number": {
            "title": "Order Number",
            "type": "string"
          },
          "session_id": {
            "title": "Session Id",
            "type": "integer"
          },
          "session_status": {
            "title": "Session Status",
            "type": "string"
          },
          "slot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PickerSlotSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "store": {
            "$ref": "#/components/schemas/PickerStoreSchema"
          }
        },
        "required": [
          "session_id",
          "order_id",
          "order_number",
          "session_status",
          "completed_at",
          "duration_seconds",
          "items",
          "store",
          "fulfillment_type"
        ],
        "title": "PickerHistorySessionDetailSchema",
        "type": "object"
      },
      "PickerHistorySessionSchema": {
        "properties": {
          "added_items": {
            "title": "Added Items",
            "type": "integer"
          },
          "completed_at": {
            "format": "date-time",
            "title": "Completed At",
            "type": "string"
          },
          "duration_seconds": {
            "title": "Duration Seconds",
            "type": "integer"
          },
          "fulfillment_type": {
            "title": "Fulfillment Type",
            "type": "string"
          },
          "order_id": {
            "format": "uuid",
            "title": "Order Id",
            "type": "string"
          },
          "order_number": {
            "title": "Order Number",
            "type": "string"
          },
          "picked_items": {
            "title": "Picked Items",
            "type": "integer"
          },
          "picker_display_name": {
            "title": "Picker Display Name",
            "type": "string"
          },
          "picker_id": {
            "title": "Picker Id",
            "type": "integer"
          },
          "picker_login": {
            "title": "Picker Login",
            "type": "string"
          },
          "piece_items": {
            "title": "Piece Items",
            "type": "integer"
          },
          "removed_items": {
            "title": "Removed Items",
            "type": "integer"
          },
          "replacement_items": {
            "title": "Replacement Items",
            "type": "integer"
          },
          "session_id": {
            "title": "Session Id",
            "type": "integer"
          },
          "slot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PickerSlotSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "started_at": {
            "format": "date-time",
            "title": "Started At",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "store": {
            "$ref": "#/components/schemas/PickerStoreSchema"
          },
          "store_id": {
            "title": "Store Id",
            "type": "string"
          },
          "store_name": {
            "title": "Store Name",
            "type": "string"
          },
          "total_items": {
            "title": "Total Items",
            "type": "integer"
          },
          "weighted_items": {
            "title": "Weighted Items",
            "type": "integer"
          }
        },
        "required": [
          "session_id",
          "order_id",
          "order_number",
          "picker_id",
          "picker_login",
          "picker_display_name",
          "store_id",
          "store_name",
          "status",
          "started_at",
          "completed_at",
          "duration_seconds",
          "total_items",
          "picked_items",
          "added_items",
          "replacement_items",
          "removed_items",
          "weighted_items",
          "piece_items",
          "store",
          "fulfillment_type"
        ],
        "title": "PickerHistorySessionSchema",
        "type": "object"
      },
      "PickerHistorySessionsOutput": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PickerHistorySessionSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "limit",
          "offset",
          "has_more"
        ],
        "title": "PickerHistorySessionsOutput",
        "type": "object"
      },
      "PickerHistorySummarySchema": {
        "properties": {
          "added_items": {
            "title": "Added Items",
            "type": "integer"
          },
          "average_duration_seconds": {
            "title": "Average Duration Seconds",
            "type": "integer"
          },
          "completed_orders": {
            "title": "Completed Orders",
            "type": "integer"
          },
          "missing_items": {
            "title": "Missing Items",
            "type": "integer"
          },
          "picker_display_name": {
            "title": "Picker Display Name",
            "type": "string"
          },
          "picker_full_name": {
            "title": "Picker Full Name",
            "type": "string"
          },
          "picker_id": {
            "title": "Picker Id",
            "type": "integer"
          },
          "picker_login": {
            "title": "Picker Login",
            "type": "string"
          },
          "piece_items": {
            "title": "Piece Items",
            "type": "integer"
          },
          "removed_items": {
            "title": "Removed Items",
            "type": "integer"
          },
          "replacement_items": {
            "title": "Replacement Items",
            "type": "integer"
          },
          "store_id": {
            "title": "Store Id",
            "type": "string"
          },
          "store_name": {
            "title": "Store Name",
            "type": "string"
          },
          "total_duration_seconds": {
            "title": "Total Duration Seconds",
            "type": "integer"
          },
          "total_items": {
            "title": "Total Items",
            "type": "integer"
          },
          "weighted_items": {
            "title": "Weighted Items",
            "type": "integer"
          }
        },
        "required": [
          "picker_id",
          "picker_login",
          "picker_full_name",
          "picker_display_name",
          "store_id",
          "store_name",
          "completed_orders",
          "total_items",
          "added_items",
          "replacement_items",
          "removed_items",
          "missing_items",
          "weighted_items",
          "piece_items",
          "total_duration_seconds",
          "average_duration_seconds"
        ],
        "title": "PickerHistorySummarySchema",
        "type": "object"
      },
      "PickerLoginInput": {
        "properties": {
          "login": {
            "minLength": 1,
            "title": "Login",
            "type": "string"
          },
          "password": {
            "format": "password",
            "minLength": 1,
            "title": "Password",
            "type": "string",
            "writeOnly": true
          }
        },
        "required": [
          "login",
          "password"
        ],
        "title": "PickerLoginInput",
        "type": "object"
      },
      "PickerLoginOutput": {
        "properties": {
          "access_token": {
            "title": "Access Token",
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "refresh_token": {
            "title": "Refresh Token",
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/PickerUserSchema"
          }
        },
        "required": [
          "access_token",
          "refresh_token",
          "expires_at",
          "user"
        ],
        "title": "PickerLoginOutput",
        "type": "object"
      },
      "PickerOrderSchema": {
        "properties": {
          "absence_preference": {
            "title": "Absence Preference",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "customer_comment": {
            "title": "Customer Comment",
            "type": "string"
          },
          "customer_phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Phone"
          },
          "fulfillment_type": {
            "title": "Fulfillment Type",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_express": {
            "title": "Is Express",
            "type": "boolean"
          },
          "order_number": {
            "title": "Order Number",
            "type": "string"
          },
          "slot": {
            "$ref": "#/components/schemas/PickerSlotSchema"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "store": {
            "$ref": "#/components/schemas/PickerStoreSchema"
          }
        },
        "required": [
          "id",
          "order_number",
          "created_at",
          "is_express",
          "absence_preference",
          "customer_comment",
          "status",
          "store",
          "fulfillment_type",
          "slot"
        ],
        "title": "PickerOrderSchema",
        "type": "object"
      },
      "PickerRealtimeMetadataSchema": {
        "properties": {
          "poll_after_seconds": {
            "title": "Poll After Seconds",
            "type": "integer"
          },
          "realtime_recommended": {
            "title": "Realtime Recommended",
            "type": "boolean"
          },
          "socket_path": {
            "title": "Socket Path",
            "type": "string"
          }
        },
        "required": [
          "realtime_recommended",
          "socket_path",
          "poll_after_seconds"
        ],
        "title": "PickerRealtimeMetadataSchema",
        "type": "object"
      },
      "PickerRefreshInput": {
        "properties": {
          "refresh": {
            "format": "password",
            "minLength": 1,
            "title": "Refresh",
            "type": "string",
            "writeOnly": true
          }
        },
        "required": [
          "refresh"
        ],
        "title": "PickerRefreshInput",
        "type": "object"
      },
      "PickerRefreshOutput": {
        "properties": {
          "access": {
            "title": "Access",
            "type": "string"
          },
          "refresh": {
            "title": "Refresh",
            "type": "string"
          }
        },
        "required": [
          "access",
          "refresh"
        ],
        "title": "PickerRefreshOutput",
        "type": "object"
      },
      "PickerSlotSchema": {
        "properties": {
          "date": {
            "format": "date",
            "title": "Date",
            "type": "string"
          },
          "end_at": {
            "format": "date-time",
            "title": "End At",
            "type": "string"
          },
          "end_time": {
            "format": "time",
            "title": "End Time",
            "type": "string"
          },
          "is_overdue": {
            "title": "Is Overdue",
            "type": "boolean"
          },
          "start_at": {
            "format": "date-time",
            "title": "Start At",
            "type": "string"
          },
          "start_time": {
            "format": "time",
            "title": "Start Time",
            "type": "string"
          }
        },
        "required": [
          "date",
          "start_time",
          "end_time",
          "start_at",
          "end_at",
          "is_overdue"
        ],
        "title": "PickerSlotSchema",
        "type": "object"
      },
      "PickerStoreSchema": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "PickerStoreSchema",
        "type": "object"
      },
      "PickerUserSchema": {
        "properties": {
          "access_scope": {
            "title": "Access Scope",
            "type": "string"
          },
          "full_name": {
            "title": "Full Name",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "login": {
            "title": "Login",
            "type": "string"
          },
          "namespace": {
            "title": "Namespace",
            "type": "string"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "store": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PickerStoreSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "stores": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/PickerStoreSchema"
            },
            "title": "Stores",
            "type": "array"
          }
        },
        "required": [
          "id",
          "login",
          "full_name",
          "role",
          "status",
          "access_scope",
          "namespace"
        ],
        "title": "PickerUserSchema",
        "type": "object"
      },
      "PickingActionOutput": {
        "properties": {
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message"
          },
          "session": {
            "$ref": "#/components/schemas/PickingSessionSchema"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "session",
          "status"
        ],
        "title": "PickingActionOutput",
        "type": "object"
      },
      "PickingItemSchema": {
        "properties": {
          "barcode": {
            "title": "Barcode",
            "type": "string"
          },
          "category": {
            "title": "Category",
            "type": "string"
          },
          "confirmed_quantity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Confirmed Quantity"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "image_asset": {
            "title": "Image Asset",
            "type": "string"
          },
          "image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Url"
          },
          "is_added": {
            "default": false,
            "title": "Is Added",
            "type": "boolean"
          },
          "is_removed": {
            "default": false,
            "title": "Is Removed",
            "type": "boolean"
          },
          "item_version": {
            "title": "Item Version",
            "type": "integer"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "max_quantity_kg": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Quantity Kg"
          },
          "min_quantity_kg": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Quantity Kg"
          },
          "missing_action": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Missing Action"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "plu_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plu Code"
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Price"
          },
          "replacement_options": {
            "items": {
              "$ref": "#/components/schemas/ReplacementOptionSchema"
            },
            "title": "Replacement Options",
            "type": "array"
          },
          "required_quantity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Required Quantity"
          },
          "resolution_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resolution Type"
          },
          "selected_replacement": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReplacementOptionSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "unit": {
            "title": "Unit",
            "type": "string"
          },
          "weight_tolerance_kg": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Weight Tolerance Kg"
          }
        },
        "required": [
          "id",
          "name",
          "category",
          "image_asset",
          "barcode",
          "description",
          "price",
          "required_quantity",
          "confirmed_quantity",
          "unit",
          "kind",
          "state",
          "item_version",
          "source",
          "replacement_options"
        ],
        "title": "PickingItemSchema",
        "type": "object"
      },
      "PickingResultItemSchema": {
        "properties": {
          "changes": {
            "items": {
              "type": "string"
            },
            "title": "Changes",
            "type": "array"
          },
          "final": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PickingResultPositionSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "group": {
            "title": "Group",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "original": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PickingResultPositionSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PickingResultReasonSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "group",
          "changes"
        ],
        "title": "PickingResultItemSchema",
        "type": "object"
      },
      "PickingResultPositionSchema": {
        "properties": {
          "barcode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Barcode"
          },
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image"
          },
          "line_total": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Line Total"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "plu_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plu Code"
          },
          "product_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product Id"
          },
          "quantity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Quantity"
          },
          "unit": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit"
          },
          "unit_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Id"
          },
          "unit_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Unit Price"
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Weight"
          }
        },
        "required": [
          "name",
          "quantity",
          "unit_price",
          "line_total"
        ],
        "title": "PickingResultPositionSchema",
        "type": "object"
      },
      "PickingResultReasonSchema": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "display": {
            "title": "Display",
            "type": "string"
          }
        },
        "required": [
          "code",
          "display"
        ],
        "title": "PickingResultReasonSchema",
        "type": "object"
      },
      "PickingResultSchema": {
        "properties": {
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PickingResultItemSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "summary": {
            "$ref": "#/components/schemas/PickingResultSummarySchema"
          }
        },
        "required": [
          "state",
          "summary",
          "items"
        ],
        "title": "PickingResultSchema",
        "type": "object"
      },
      "PickingResultSummarySchema": {
        "properties": {
          "changed": {
            "title": "Changed",
            "type": "integer"
          },
          "removed": {
            "title": "Removed",
            "type": "integer"
          },
          "unchanged": {
            "title": "Unchanged",
            "type": "integer"
          }
        },
        "required": [
          "removed",
          "changed",
          "unchanged"
        ],
        "title": "PickingResultSummarySchema",
        "type": "object"
      },
      "PickingSessionSchema": {
        "properties": {
          "absence_preference": {
            "title": "Absence Preference",
            "type": "string"
          },
          "added_items_count": {
            "title": "Added Items Count",
            "type": "integer"
          },
          "cancel_after_resolved_items": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cancel After Resolved Items"
          },
          "cancellation_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cancellation Reason"
          },
          "closure_source": {
            "title": "Closure Source",
            "type": "string"
          },
          "current_item_index": {
            "title": "Current Item Index",
            "type": "integer"
          },
          "customer_comment": {
            "title": "Customer Comment",
            "type": "string"
          },
          "customer_phone": {
            "title": "Customer Phone",
            "type": "string"
          },
          "fulfillment_type": {
            "title": "Fulfillment Type",
            "type": "string"
          },
          "is_cancelled": {
            "title": "Is Cancelled",
            "type": "boolean"
          },
          "is_completed": {
            "title": "Is Completed",
            "type": "boolean"
          },
          "is_express": {
            "title": "Is Express",
            "type": "boolean"
          },
          "is_locked": {
            "title": "Is Locked",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PickingItemSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "max_added_items": {
            "title": "Max Added Items",
            "type": "integer"
          },
          "order_id": {
            "title": "Order Id",
            "type": "string"
          },
          "order_number": {
            "title": "Order Number",
            "type": "string"
          },
          "payment_summary": {
            "$ref": "#/components/schemas/PaymentSummarySchema"
          },
          "session_id": {
            "title": "Session Id",
            "type": "integer"
          },
          "session_status": {
            "title": "Session Status",
            "type": "string"
          },
          "slot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PickerSlotSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "store": {
            "$ref": "#/components/schemas/PickerStoreSchema"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "version": {
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "session_id",
          "order_id",
          "order_number",
          "is_express",
          "current_item_index",
          "is_locked",
          "is_cancelled",
          "is_completed",
          "session_status",
          "version",
          "updated_at",
          "closure_source",
          "absence_preference",
          "customer_comment",
          "customer_phone",
          "items",
          "max_added_items",
          "added_items_count",
          "payment_summary",
          "store",
          "fulfillment_type"
        ],
        "title": "PickingSessionSchema",
        "type": "object"
      },
      "PickupInfoSchema": {
        "properties": {
          "date": {
            "format": "date",
            "title": "Date",
            "type": "string"
          },
          "end_time": {
            "format": "time",
            "title": "End Time",
            "type": "string"
          },
          "start_time": {
            "format": "time",
            "title": "Start Time",
            "type": "string"
          }
        },
        "required": [
          "date",
          "start_time",
          "end_time"
        ],
        "title": "PickupInfoSchema",
        "type": "object"
      },
      "PickupInput": {
        "properties": {
          "slot_id": {
            "format": "uuid",
            "title": "Slot Id",
            "type": "string"
          }
        },
        "required": [
          "slot_id"
        ],
        "title": "PickupInput",
        "type": "object"
      },
      "PickupPreferenceOutput": {
        "properties": {
          "min_order_amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Min Order Amount"
          }
        },
        "required": [
          "min_order_amount"
        ],
        "title": "PickupPreferenceOutput",
        "type": "object"
      },
      "PickupSlotOutput": {
        "properties": {
          "end_time": {
            "format": "time",
            "title": "End Time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "start_time": {
            "format": "time",
            "title": "Start Time",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "type",
          "start_time",
          "end_time"
        ],
        "title": "PickupSlotOutput",
        "type": "object"
      },
      "PickupStoreOutput": {
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "contacts": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contacts"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "location": {
            "$ref": "#/components/schemas/LocationOutput"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "work_time": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Time"
          }
        },
        "required": [
          "id",
          "name",
          "location"
        ],
        "title": "PickupStoreOutput",
        "type": "object"
      },
      "PieceQuantityInput": {
        "properties": {
          "quantity": {
            "description": "Фактически собранное целое количество.",
            "examples": [
              2
            ],
            "minimum": 1,
            "title": "Quantity",
            "type": "integer"
          }
        },
        "required": [
          "quantity"
        ],
        "title": "PieceQuantityInput",
        "type": "object"
      },
      "PolygonSchema": {
        "properties": {
          "coordinates": {
            "items": {},
            "title": "Coordinates",
            "type": "array"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "coordinates"
        ],
        "title": "PolygonSchema",
        "type": "object"
      },
      "ProductDetailSchema": {
        "properties": {
          "brand": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Brand"
          },
          "calories": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calories"
          },
          "carbohydrates": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Carbohydrates"
          },
          "category_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category Id"
          },
          "category_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category Name"
          },
          "category_uuid": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category Uuid"
          },
          "composition": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Composition"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "fats": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fats"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DetailImageSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "inventories": {
            "items": {
              "$ref": "#/components/schemas/InventoryItemSchema"
            },
            "title": "Inventories",
            "type": "array"
          },
          "is_favorite": {
            "default": false,
            "title": "Is Favorite",
            "type": "boolean"
          },
          "is_user_order_quantity_limit_enabled": {
            "default": false,
            "title": "Is User Order Quantity Limit Enabled",
            "type": "boolean"
          },
          "made_country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Made Country"
          },
          "manufacturer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manufacturer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "protein": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Protein"
          },
          "user_order_quantity_limit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "default": "0.000",
            "title": "User Order Quantity Limit"
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "default": "0.000",
            "title": "Weight"
          },
          "weight_based": {
            "default": false,
            "title": "Weight Based",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "inventories"
        ],
        "title": "ProductDetailSchema",
        "type": "object"
      },
      "ProductListingSchema": {
        "properties": {
          "category_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category Id"
          },
          "category_uuid": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category Uuid"
          },
          "discount_percent": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Discount Percent"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ListingImageSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "is_favorite": {
            "default": false,
            "title": "Is Favorite",
            "type": "boolean"
          },
          "is_user_order_quantity_limit_enabled": {
            "default": false,
            "title": "Is User Order Quantity Limit Enabled",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "old_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Old Price"
          },
          "stock": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Stock"
          },
          "unit_id": {
            "format": "uuid",
            "title": "Unit Id",
            "type": "string"
          },
          "unit_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Unit Price"
          },
          "user_order_quantity_limit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "default": "0.000",
            "title": "User Order Quantity Limit"
          }
        },
        "required": [
          "id",
          "name",
          "unit_id",
          "stock",
          "unit_price"
        ],
        "title": "ProductListingSchema",
        "type": "object"
      },
      "ProfileInputPatch": {
        "properties": {
          "birth_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Birth Date"
          },
          "email": {
            "anyOf": [
              {
                "format": "email",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "gender": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Gender"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "marital_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MaritalStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "patronymic": {
            "anyOf": [
              {
                "maxLength": 50,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Patronymic"
          }
        },
        "title": "ProfileInputPatch",
        "type": "object"
      },
      "ProfileSchema": {
        "properties": {
          "birth_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Birth Date"
          },
          "email": {
            "default": "",
            "title": "Email",
            "type": "string"
          },
          "first_name": {
            "default": "",
            "title": "First Name",
            "type": "string"
          },
          "gender": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gender"
          },
          "last_name": {
            "default": "",
            "title": "Last Name",
            "type": "string"
          },
          "marital_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Marital Status"
          },
          "patronymic": {
            "default": "",
            "title": "Patronymic",
            "type": "string"
          },
          "phone": {
            "title": "Phone",
            "type": "string"
          }
        },
        "required": [
          "phone"
        ],
        "title": "ProfileSchema",
        "type": "object"
      },
      "PurchaseDetailSchema": {
        "properties": {
          "bonus_accrual": {
            "default": "0",
            "title": "Bonus Accrual",
            "type": "string"
          },
          "date": {
            "title": "Date",
            "type": "string"
          },
          "discounts": {
            "items": {
              "$ref": "#/components/schemas/PurchaseDiscountSchema"
            },
            "title": "Discounts",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "items_count": {
            "default": 0,
            "title": "Items Count",
            "type": "integer"
          },
          "positions": {
            "items": {
              "$ref": "#/components/schemas/PurchasePositionSchema"
            },
            "title": "Positions",
            "type": "array"
          },
          "shop_name": {
            "default": "",
            "title": "Shop Name",
            "type": "string"
          },
          "source": {
            "default": "offline",
            "title": "Source",
            "type": "string"
          },
          "total": {
            "default": "0",
            "title": "Total",
            "type": "string"
          }
        },
        "required": [
          "id",
          "date"
        ],
        "title": "PurchaseDetailSchema",
        "type": "object"
      },
      "PurchaseDiscountSchema": {
        "properties": {
          "amount": {
            "default": "0",
            "title": "Amount",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          }
        },
        "title": "PurchaseDiscountSchema",
        "type": "object"
      },
      "PurchasePositionSchema": {
        "properties": {
          "amount": {
            "default": "0",
            "title": "Amount",
            "type": "string"
          },
          "code": {
            "default": "",
            "title": "Code",
            "type": "string"
          },
          "discount": {
            "default": "0",
            "title": "Discount",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "price": {
            "default": "0",
            "title": "Price",
            "type": "string"
          },
          "quantity": {
            "default": 1,
            "title": "Quantity",
            "type": "integer"
          }
        },
        "title": "PurchasePositionSchema",
        "type": "object"
      },
      "PurchaseSchema": {
        "properties": {
          "bonus_accrual": {
            "default": "0",
            "title": "Bonus Accrual",
            "type": "string"
          },
          "date": {
            "title": "Date",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "items_count": {
            "default": 0,
            "title": "Items Count",
            "type": "integer"
          },
          "shop_name": {
            "default": "",
            "title": "Shop Name",
            "type": "string"
          },
          "source": {
            "default": "offline",
            "title": "Source",
            "type": "string"
          },
          "total": {
            "default": "0",
            "title": "Total",
            "type": "string"
          }
        },
        "required": [
          "id",
          "date"
        ],
        "title": "PurchaseSchema",
        "type": "object"
      },
      "PushDeviceInput": {
        "properties": {
          "app_kind": {
            "default": "customer",
            "enum": [
              "customer",
              "picker"
            ],
            "title": "App Kind",
            "type": "string"
          },
          "app_version": {
            "maxLength": 64,
            "minLength": 1,
            "title": "App Version",
            "type": "string"
          },
          "build_number": {
            "maxLength": 64,
            "minLength": 1,
            "title": "Build Number",
            "type": "string"
          },
          "device_id": {
            "format": "uuid",
            "title": "Device Id",
            "type": "string"
          },
          "environment": {
            "anyOf": [
              {
                "enum": [
                  "TEST",
                  "PRODUCTION"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Environment"
          },
          "fcm_token": {
            "maxLength": 255,
            "minLength": 3,
            "title": "Fcm Token",
            "type": "string"
          },
          "platform": {
            "enum": [
              "ios",
              "android"
            ],
            "title": "Platform",
            "type": "string"
          }
        },
        "required": [
          "fcm_token",
          "device_id",
          "platform",
          "app_version",
          "build_number"
        ],
        "title": "PushDeviceInput",
        "type": "object"
      },
      "PushDeviceSchema": {
        "properties": {
          "app_kind": {
            "title": "App Kind",
            "type": "string"
          },
          "app_version": {
            "title": "App Version",
            "type": "string"
          },
          "build_number": {
            "title": "Build Number",
            "type": "string"
          },
          "device_id": {
            "format": "uuid",
            "title": "Device Id",
            "type": "string"
          },
          "environment": {
            "title": "Environment",
            "type": "string"
          },
          "platform": {
            "title": "Platform",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "device_id",
          "platform",
          "app_version",
          "build_number",
          "app_kind",
          "environment",
          "updated_at"
        ],
        "title": "PushDeviceSchema",
        "type": "object"
      },
      "QrcodeSchema": {
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "listing": {
            "title": "Listing",
            "type": "string"
          },
          "original": {
            "title": "Original",
            "type": "string"
          }
        },
        "required": [
          "original",
          "listing",
          "detail"
        ],
        "title": "QrcodeSchema",
        "type": "object"
      },
      "RecoveryTokenSchema": {
        "properties": {
          "phone": {
            "title": "Phone",
            "type": "string"
          },
          "token": {
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "phone",
          "token"
        ],
        "title": "RecoveryTokenSchema",
        "type": "object"
      },
      "ReopenItemInput": {
        "properties": {
          "reason": {
            "description": "`found_in_store` — товар найден после отсутствия; `recheck` — вернуть уже собранный товар на пересчёт.",
            "examples": [
              "found_in_store",
              "recheck"
            ],
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "title": "ReopenItemInput",
        "type": "object"
      },
      "ReplacementOptionSchema": {
        "properties": {
          "barcode": {
            "title": "Barcode",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Price"
          }
        },
        "required": [
          "id",
          "name",
          "barcode",
          "description",
          "price"
        ],
        "title": "ReplacementOptionSchema",
        "type": "object"
      },
      "ResolveClarificationInput": {
        "properties": {
          "resolution": {
            "description": "Для удаления используется только значение `remove`.",
            "examples": [
              "remove"
            ],
            "title": "Resolution",
            "type": "string"
          }
        },
        "required": [
          "resolution"
        ],
        "title": "ResolveClarificationInput",
        "type": "object"
      },
      "ReverseGeocodeOutput": {
        "properties": {
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AddressSuggestionOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "ReverseGeocodeOutput",
        "type": "object"
      },
      "Schema": {
        "properties": {},
        "title": "Schema",
        "type": "object"
      },
      "SendOTPInput": {
        "properties": {
          "phone": {
            "maxLength": 15,
            "minLength": 8,
            "pattern": "^\\+[1-9][0-9]{7,14}$",
            "title": "Phone",
            "type": "string"
          }
        },
        "required": [
          "phone"
        ],
        "title": "SendOTPInput",
        "type": "object"
      },
      "StandardDeliveryOutput": {
        "properties": {
          "free_amount_threshold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Free Amount Threshold"
          }
        },
        "required": [
          "free_amount_threshold"
        ],
        "title": "StandardDeliveryOutput",
        "type": "object"
      },
      "StoreLocationOutput": {
        "properties": {
          "distance_km": {
            "title": "Distance Km",
            "type": "number"
          },
          "location": {
            "$ref": "#/components/schemas/LocationOutput"
          },
          "store": {
            "$ref": "#/components/schemas/StoreOutput"
          }
        },
        "required": [
          "store",
          "location",
          "distance_km"
        ],
        "title": "StoreLocationOutput",
        "type": "object"
      },
      "StoreOutput": {
        "properties": {
          "address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "location": {
            "$ref": "#/components/schemas/LocationOutput"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "location"
        ],
        "title": "StoreOutput",
        "type": "object"
      },
      "StoryItemSchema": {
        "properties": {
          "image": {
            "title": "Image",
            "type": "string"
          },
          "reference_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Id"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "image",
          "type"
        ],
        "title": "StoryItemSchema",
        "type": "object"
      },
      "StorySchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "image": {
            "title": "Image",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/StoryItemSchema"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "image",
          "created_at",
          "items"
        ],
        "title": "StorySchema",
        "type": "object"
      },
      "SuccessResponse": {
        "properties": {
          "data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Data"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "SuccessResponse",
        "type": "object"
      },
      "SupportContactSchema": {
        "properties": {
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "jivo_android_app_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Jivo Android App Key"
          },
          "jivo_channel_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Jivo Channel Id"
          },
          "jivo_enabled_android": {
            "default": false,
            "title": "Jivo Enabled Android",
            "type": "boolean"
          },
          "jivo_enabled_ios": {
            "default": false,
            "title": "Jivo Enabled Ios",
            "type": "boolean"
          },
          "jivo_ios_app_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Jivo Ios App Key"
          },
          "site": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Site"
          },
          "support_phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Support Phone"
          }
        },
        "title": "SupportContactSchema",
        "type": "object"
      },
      "TierSchema": {
        "properties": {
          "boundary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Boundary"
          },
          "description": {
            "default": "",
            "title": "Description",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "is_active": {
            "title": "Is Active",
            "type": "boolean"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "order": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Order"
          },
          "range_label": {
            "default": "",
            "title": "Range Label",
            "type": "string"
          }
        },
        "required": [
          "label",
          "is_active"
        ],
        "title": "TierSchema",
        "type": "object"
      },
      "TokenObtainPairInputSchema": {
        "additionalProperties": false,
        "properties": {
          "password": {
            "maxLength": 128,
            "title": "Пароль",
            "type": "string"
          },
          "phone": {
            "maxLength": 15,
            "title": "Телефон",
            "type": "string"
          }
        },
        "required": [
          "password",
          "phone"
        ],
        "title": "TokenObtainPairInputSchema",
        "type": "object"
      },
      "TokenObtainPairOutputSchema": {
        "properties": {
          "access": {
            "title": "Access",
            "type": "string"
          },
          "phone": {
            "maxLength": 15,
            "title": "Телефон",
            "type": "string"
          },
          "refresh": {
            "title": "Refresh",
            "type": "string"
          }
        },
        "required": [
          "phone",
          "refresh",
          "access"
        ],
        "title": "TokenObtainPairOutputSchema",
        "type": "object"
      },
      "TokenRefreshInputSchema": {
        "properties": {
          "refresh": {
            "title": "Refresh",
            "type": "string"
          }
        },
        "required": [
          "refresh"
        ],
        "title": "TokenRefreshInputSchema",
        "type": "object"
      },
      "TokenRefreshOutputSchema": {
        "properties": {
          "access": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Access"
          },
          "refresh": {
            "title": "Refresh",
            "type": "string"
          }
        },
        "required": [
          "refresh",
          "access"
        ],
        "title": "TokenRefreshOutputSchema",
        "type": "object"
      },
      "TokenVerifyInputSchema": {
        "properties": {
          "token": {
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "title": "TokenVerifyInputSchema",
        "type": "object"
      },
      "TransactionSchema": {
        "properties": {
          "action": {
            "title": "Action",
            "type": "string"
          },
          "after": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "After"
          },
          "amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Amount"
          },
          "before": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Before"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "time": {
            "format": "date-time",
            "title": "Time",
            "type": "string"
          }
        },
        "required": [
          "action",
          "before",
          "amount",
          "after",
          "time"
        ],
        "title": "TransactionSchema",
        "type": "object"
      },
      "UserAddressInput": {
        "properties": {
          "address": {
            "title": "Address",
            "type": "string"
          },
          "apartment_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Apartment Number"
          },
          "entrance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entrance"
          },
          "floor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Floor"
          },
          "intercom": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Intercom"
          },
          "landmark": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Landmark"
          },
          "location": {
            "$ref": "#/components/schemas/LocationInput"
          }
        },
        "required": [
          "address",
          "location"
        ],
        "title": "UserAddressInput",
        "type": "object"
      },
      "UserPreferences": {
        "properties": {
          "receive_mail": {
            "default": false,
            "title": "Receive Mail",
            "type": "boolean"
          },
          "receive_sms": {
            "default": false,
            "title": "Receive Sms",
            "type": "boolean"
          }
        },
        "title": "UserPreferences",
        "type": "object"
      },
      "UserPreferencesInputPatch": {
        "properties": {
          "fcm_token": {
            "anyOf": [
              {
                "minLength": 3,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fcm Token"
          },
          "receive_mail": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Receive Mail"
          },
          "receive_sms": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Receive Sms"
          }
        },
        "title": "UserPreferencesInputPatch",
        "type": "object"
      },
      "VerifyOTPInput": {
        "properties": {
          "otp": {
            "title": "Otp",
            "type": "string"
          },
          "phone": {
            "maxLength": 15,
            "minLength": 8,
            "pattern": "^\\+[1-9][0-9]{7,14}$",
            "title": "Phone",
            "type": "string"
          }
        },
        "required": [
          "phone",
          "otp"
        ],
        "title": "VerifyOTPInput",
        "type": "object"
      },
      "VerifyOTPOutput": {
        "properties": {
          "is_new_user": {
            "title": "Is New User",
            "type": "boolean"
          },
          "phone": {
            "title": "Phone",
            "type": "string"
          }
        },
        "required": [
          "phone",
          "is_new_user"
        ],
        "title": "VerifyOTPOutput",
        "type": "object"
      },
      "WalletLinkPreviewSchema": {
        "properties": {
          "bonus_points": {
            "default": 0,
            "title": "Bonus Points",
            "type": "integer"
          },
          "card_number": {
            "default": "",
            "title": "Card Number",
            "type": "string"
          },
          "card_number_digits": {
            "default": "",
            "title": "Card Number Digits",
            "type": "string"
          },
          "status": {
            "default": "",
            "title": "Status",
            "type": "string"
          }
        },
        "title": "WalletLinkPreviewSchema",
        "type": "object"
      },
      "WalletManagementSchema": {
        "properties": {
          "accounts": {
            "items": {
              "$ref": "#/components/schemas/AccountSchema"
            },
            "title": "Accounts",
            "type": "array"
          },
          "active_account_id": {
            "default": "",
            "title": "Active Account Id",
            "type": "string"
          },
          "blocked_reason": {
            "default": "",
            "title": "Blocked Reason",
            "type": "string"
          },
          "cards": {
            "items": {
              "$ref": "#/components/schemas/CardSchema"
            },
            "title": "Cards",
            "type": "array"
          },
          "is_blocked": {
            "default": false,
            "title": "Is Blocked",
            "type": "boolean"
          },
          "status_label": {
            "default": "",
            "title": "Status Label",
            "type": "string"
          }
        },
        "title": "WalletManagementSchema",
        "type": "object"
      },
      "WalletSchema": {
        "properties": {
          "amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "title": "Amount"
          },
          "card_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Card Number"
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Error"
          },
          "loyalty_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LoyaltyStatusSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "management": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WalletManagementSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "points_balance": {
            "default": "0",
            "title": "Points Balance",
            "type": "string"
          },
          "qrcode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QrcodeSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "default": "pending",
            "title": "Status",
            "type": "string"
          },
          "synced_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Synced At"
          }
        },
        "required": [
          "amount"
        ],
        "title": "WalletSchema",
        "type": "object"
      },
      "WalletWrapperSchema": {
        "description": "Wraps wallet in {\"wallet\": {...}} as mobile expects for mutations.",
        "properties": {
          "wallet": {
            "$ref": "#/components/schemas/WalletSchema"
          }
        },
        "required": [
          "wallet"
        ],
        "title": "WalletWrapperSchema",
        "type": "object"
      },
      "WeightInput": {
        "properties": {
          "quantity_kg": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "description": "Фактический вес в килограммах, максимум три знака после запятой.",
            "examples": [
              "1.250"
            ],
            "title": "Quantity Kg"
          }
        },
        "required": [
          "quantity_kg"
        ],
        "title": "WeightInput",
        "type": "object"
      }
    },
    "securitySchemes": {
      "ApplicationJWTAuth": {
        "scheme": "bearer",
        "type": "http"
      },
      "CustomerJWTAuth": {
        "scheme": "bearer",
        "type": "http"
      },
      "OptionalAuthJWTAuth": {
        "scheme": "bearer",
        "type": "http"
      },
      "PickerJWTAuth": {
        "scheme": "bearer",
        "type": "http"
      },
      "RecoveryTokenApiKey": {
        "in": "header",
        "name": "X-Recovery-Key",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "description": "Публичный контракт покупательского приложения и сборщика. Сценарии и общие ошибки описаны в руководстве.",
    "title": "Amid API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/accounts/me/": {
      "delete": {
        "operationId": "delete_api_accounts_me",
        "parameters": [],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "DELETE /api/accounts/me/",
        "tags": [
          "accounts"
        ]
      },
      "get": {
        "operationId": "get_api_accounts_me",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProfileSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/accounts/me/",
        "tags": [
          "accounts"
        ]
      },
      "patch": {
        "operationId": "patch_api_accounts_me",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProfileInputPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProfileSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "PATCH /api/accounts/me/",
        "tags": [
          "accounts"
        ]
      }
    },
    "/api/accounts/me/preferences": {
      "get": {
        "operationId": "get_api_accounts_me_preferences",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserPreferences"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/accounts/me/preferences",
        "tags": [
          "accounts"
        ]
      },
      "patch": {
        "operationId": "patch_api_accounts_me_preferences",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserPreferencesInputPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserPreferences"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "PATCH /api/accounts/me/preferences",
        "tags": [
          "accounts"
        ]
      }
    },
    "/api/accounts/me/preferences/fcm": {
      "delete": {
        "operationId": "delete_api_accounts_me_preferences_fcm",
        "parameters": [
          {
            "in": "query",
            "name": "token",
            "required": true,
            "schema": {
              "title": "Token",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "DELETE /api/accounts/me/preferences/fcm",
        "tags": [
          "accounts"
        ]
      }
    },
    "/api/accounts/me/push-devices": {
      "put": {
        "description": "Register or refresh the FCM token for one app installation.",
        "operationId": "put_api_accounts_me_push_devices",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PushDeviceInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushDeviceSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApplicationJWTAuth": []
          }
        ],
        "summary": "PUT /api/accounts/me/push-devices",
        "tags": [
          "accounts"
        ]
      }
    },
    "/api/accounts/me/push-devices/{device_id}": {
      "delete": {
        "operationId": "delete_api_accounts_me_push_devices_device_id",
        "parameters": [
          {
            "in": "path",
            "name": "device_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Device Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "security": [
          {
            "ApplicationJWTAuth": []
          }
        ],
        "summary": "DELETE /api/accounts/me/push-devices/{device_id}",
        "tags": [
          "accounts"
        ]
      }
    },
    "/api/auth/otp/confirm": {
      "post": {
        "operationId": "post_api_auth_otp_confirm",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmOTPInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmOTPOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/auth/otp/confirm",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/otp/send": {
      "post": {
        "operationId": "post_api_auth_otp_send",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendOTPInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/auth/otp/send",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/otp/update-pin/send": {
      "post": {
        "operationId": "post_api_auth_otp_update_pin_send",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendOTPInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/auth/otp/update-pin/send",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/otp/update-pin/verify": {
      "post": {
        "operationId": "post_api_auth_otp_update_pin_verify",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyOTPInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecoveryTokenSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/auth/otp/update-pin/verify",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/otp/verify": {
      "post": {
        "operationId": "post_api_auth_otp_verify",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyOTPInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerifyOTPOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/auth/otp/verify",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/recovery/update-pin": {
      "patch": {
        "operationId": "patch_api_auth_recovery_update_pin",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordUpdateInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenObtainPairOutputSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "RecoveryTokenApiKey": []
          }
        ],
        "summary": "PATCH /api/auth/recovery/update-pin",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/catalog/bootstrap/{version}": {
      "get": {
        "operationId": "get_api_catalog_bootstrap_version",
        "parameters": [
          {
            "in": "path",
            "name": "version",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Version",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/bootstrap/{version}",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/features/units/": {
      "get": {
        "operationId": "get_api_catalog_features_units",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/MeasurementUnitSchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "OptionalAuthJWTAuth": []
          },
          {}
        ],
        "summary": "GET /api/catalog/features/units/",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/groups/categories/main-page": {
      "get": {
        "operationId": "get_api_catalog_groups_categories_main_page",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/MainPageCategoryBlockSchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/groups/categories/main-page",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/groups/categories/menu": {
      "get": {
        "operationId": "get_api_catalog_groups_categories_menu",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CategoryMenuSchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/groups/categories/menu",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/groups/categories/own-production": {
      "get": {
        "operationId": "get_api_catalog_groups_categories_own_production",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/OwnCategorySchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/groups/categories/own-production",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/groups/categories/root": {
      "get": {
        "operationId": "get_api_catalog_groups_categories_root",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CategorySchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/groups/categories/root",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/groups/categories/{category_id}": {
      "get": {
        "operationId": "get_api_catalog_groups_categories_category_id",
        "parameters": [
          {
            "in": "path",
            "name": "category_id",
            "required": true,
            "schema": {
              "title": "Category Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategorySchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/groups/categories/{category_id}",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/groups/categories/{category_id}/children": {
      "get": {
        "operationId": "get_api_catalog_groups_categories_category_id_children",
        "parameters": [
          {
            "in": "path",
            "name": "category_id",
            "required": true,
            "schema": {
              "title": "Category Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "level",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Level"
            }
          },
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CategorySchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/groups/categories/{category_id}/children",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/groups/categories/{category_id}/parents": {
      "get": {
        "operationId": "get_api_catalog_groups_categories_category_id_parents",
        "parameters": [
          {
            "in": "path",
            "name": "category_id",
            "required": true,
            "schema": {
              "title": "Category Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "level",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Level"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CategorySchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/groups/categories/{category_id}/parents",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/products/": {
      "get": {
        "operationId": "get_api_catalog_products",
        "parameters": [
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Search"
            }
          },
          {
            "in": "query",
            "name": "category_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Category Id"
            }
          },
          {
            "in": "query",
            "name": "is_favorite",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Is Favorite"
            }
          },
          {
            "in": "query",
            "name": "is_top",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Is Top"
            }
          },
          {
            "in": "query",
            "name": "is_new",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Is New"
            }
          },
          {
            "in": "query",
            "name": "is_fresh",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Is Fresh"
            }
          },
          {
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "cheap",
                    "expensive",
                    "more_discount"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sort By"
            }
          },
          {
            "in": "query",
            "name": "only_discount",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Only Discount"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Page Size"
            }
          },
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedProductListingSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "OptionalAuthJWTAuth": []
          },
          {}
        ],
        "summary": "GET /api/catalog/products/",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/products/add-favorite/{product_id}": {
      "post": {
        "operationId": "post_api_catalog_products_add_favorite_product_id",
        "parameters": [
          {
            "in": "path",
            "name": "product_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Product Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/catalog/products/add-favorite/{product_id}",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/products/check-availability": {
      "post": {
        "operationId": "post_api_catalog_products_check_availability",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/AvailabilityItemInput"
                },
                "title": "Payload",
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/AvailabilityOutput"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/catalog/products/check-availability",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/products/favorites/check": {
      "post": {
        "operationId": "post_api_catalog_products_favorites_check",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FavoriteProductsCheckInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FavoriteProductsCheckOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/catalog/products/favorites/check",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/products/recommendations": {
      "get": {
        "operationId": "get_api_catalog_products_recommendations",
        "parameters": [
          {
            "in": "query",
            "name": "product_ids",
            "required": true,
            "schema": {
              "items": {
                "format": "uuid",
                "type": "string"
              },
              "title": "Product Ids",
              "type": "array"
            }
          },
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ProductListingSchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/products/recommendations",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/products/remove-favorite/{product_id}": {
      "delete": {
        "operationId": "delete_api_catalog_products_remove_favorite_product_id",
        "parameters": [
          {
            "in": "path",
            "name": "product_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Product Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "DELETE /api/catalog/products/remove-favorite/{product_id}",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/products/{product_id}": {
      "get": {
        "operationId": "get_api_catalog_products_product_id",
        "parameters": [
          {
            "in": "path",
            "name": "product_id",
            "required": true,
            "schema": {
              "title": "Product Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductDetailSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/products/{product_id}",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/version": {
      "get": {
        "operationId": "get_api_catalog_version",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "summary": "GET /api/catalog/version",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/core/banners/": {
      "get": {
        "operationId": "get_api_core_banners",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BannerSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "OptionalAuthJWTAuth": []
          },
          {}
        ],
        "summary": "GET /api/core/banners/",
        "tags": [
          "core"
        ]
      }
    },
    "/api/core/mobile-version/check/": {
      "post": {
        "operationId": "post_api_core_mobile_version_check",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileVersionInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MobileVersionCheckResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/core/mobile-version/check/",
        "tags": [
          "core"
        ]
      }
    },
    "/api/core/pages/": {
      "get": {
        "operationId": "get_api_core_pages",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/PageResponse"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/core/pages/",
        "tags": [
          "core"
        ]
      }
    },
    "/api/core/pages/main-page/products-titles": {
      "get": {
        "operationId": "get_api_core_pages_main_page_products_titles",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MainPageProductsTitlesSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/core/pages/main-page/products-titles",
        "tags": [
          "core"
        ]
      }
    },
    "/api/core/stories/": {
      "get": {
        "operationId": "get_api_core_stories",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/StorySchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/core/stories/",
        "tags": [
          "core"
        ]
      }
    },
    "/api/core/support-contact/": {
      "get": {
        "operationId": "get_api_core_support_contact",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportContactSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/core/support-contact/",
        "tags": [
          "core"
        ]
      }
    },
    "/api/loaylty/discounts/preview/": {
      "post": {
        "description": "Preview loyalty bonus accruals for cart items.",
        "operationId": "post_api_loaylty_discounts_preview",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DiscountPreviewInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscountPreviewSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/loaylty/discounts/preview/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/programs/": {
      "get": {
        "description": "Legacy-compatible programs endpoint with silent fallback to `[]`.",
        "operationId": "get_api_loaylty_programs",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/LoyaltyProgramSchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/loaylty/programs/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/programs/strict/": {
      "get": {
        "description": "Return programs or surface Set Loyalty integration failures as 502.",
        "operationId": "get_api_loaylty_programs_strict",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/LoyaltyProgramSchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/loaylty/programs/strict/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/": {
      "get": {
        "operationId": "get_api_loaylty_wallet",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/loaylty/wallet/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/accounts/switch/": {
      "post": {
        "description": "Switch active bonus account.",
        "operationId": "post_api_loaylty_wallet_accounts_switch",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountSwitchInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletWrapperSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/loaylty/wallet/accounts/switch/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/block-reasons/": {
      "get": {
        "description": "Return available card block reasons.",
        "operationId": "get_api_loaylty_wallet_block_reasons",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BlockReasonSchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/loaylty/wallet/block-reasons/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/block/": {
      "post": {
        "description": "Block a loyalty card.",
        "operationId": "post_api_loaylty_wallet_block",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CardBlockInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletWrapperSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/loaylty/wallet/block/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/create/": {
      "post": {
        "description": "Create wallet and trigger Set Loyalty provisioning.",
        "operationId": "post_api_loaylty_wallet_create",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletWrapperSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/loaylty/wallet/create/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/link-physical/": {
      "post": {
        "description": "Link a physical Set Loyalty card to user's wallet via transfer API.",
        "operationId": "post_api_loaylty_wallet_link_physical",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CardLinkInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletWrapperSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/loaylty/wallet/link-physical/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/link-physical/preview/": {
      "post": {
        "description": "Preview a physical Set Loyalty card before transfer.",
        "operationId": "post_api_loaylty_wallet_link_physical_preview",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CardLinkInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletLinkPreviewSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/loaylty/wallet/link-physical/preview/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/link/": {
      "post": {
        "description": "Link existing Set Loyalty card to user's wallet.",
        "operationId": "post_api_loaylty_wallet_link",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CardLinkInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletWrapperSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/loaylty/wallet/link/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/link/preview/": {
      "post": {
        "description": "Preview card info before linking.",
        "operationId": "post_api_loaylty_wallet_link_preview",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CardLinkInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletLinkPreviewSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/loaylty/wallet/link/preview/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/purchases/": {
      "get": {
        "description": "Purchase history from Set Loyalty — single source of truth.\n\nReturns an empty list when the wallet is not linked to Set Loyalty or\nthe CDP is unreachable.",
        "operationId": "get_api_loaylty_wallet_purchases",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Page Size"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedPurchaseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/loaylty/wallet/purchases/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/purchases/{purchase_id}/": {
      "get": {
        "description": "Get detailed purchase from Set Loyalty (positions, discounts).\n\nReturns 404 when the wallet is not linked to Set Loyalty or the\npurchase is not found in the CDP.",
        "operationId": "get_api_loaylty_wallet_purchases_purchase_id",
        "parameters": [
          {
            "in": "path",
            "name": "purchase_id",
            "required": true,
            "schema": {
              "title": "Purchase Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseDetailSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/loaylty/wallet/purchases/{purchase_id}/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/replace/": {
      "post": {
        "description": "Replace current card with a new one.",
        "operationId": "post_api_loaylty_wallet_replace",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletWrapperSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/loaylty/wallet/replace/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/transactions/": {
      "get": {
        "description": "Bonus transactions — from Set Loyalty if available, local fallback.",
        "operationId": "get_api_loaylty_wallet_transactions",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Page Size"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedTransactionSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/loaylty/wallet/transactions/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/loaylty/wallet/unblock/": {
      "post": {
        "description": "Unblock a loyalty card.",
        "operationId": "post_api_loaylty_wallet_unblock",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CardUnblockInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletWrapperSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/loaylty/wallet/unblock/",
        "tags": [
          "loaylty"
        ]
      }
    },
    "/api/logistics/map/address-suggestions": {
      "get": {
        "operationId": "get_api_logistics_map_address_suggestions",
        "parameters": [
          {
            "in": "query",
            "name": "lon",
            "required": true,
            "schema": {
              "maximum": 180,
              "minimum": -180,
              "title": "Lon",
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "lat",
            "required": true,
            "schema": {
              "maximum": 90,
              "minimum": -90,
              "title": "Lat",
              "type": "number"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "maxLength": 200,
              "minLength": 1,
              "title": "Query",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/AddressSuggestionOutput"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/logistics/map/address-suggestions",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/map/config": {
      "get": {
        "operationId": "get_api_logistics_map_config",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MapConfigOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/logistics/map/config",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/map/reverse-geocode": {
      "post": {
        "operationId": "post_api_logistics_map_reverse_geocode",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LocationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReverseGeocodeOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/logistics/map/reverse-geocode",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/stores/delivery/can-use-location": {
      "post": {
        "operationId": "post_api_logistics_stores_delivery_can_use_location",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LocationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "format": "uuid",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Response"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/logistics/stores/delivery/can-use-location",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/stores/delivery/check-location": {
      "post": {
        "operationId": "post_api_logistics_stores_delivery_check_location",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LocationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoreLocationOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/logistics/stores/delivery/check-location",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/stores/delivery/check-multiply-locations": {
      "post": {
        "operationId": "post_api_logistics_stores_delivery_check_multiply_locations",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/CheckLocationItemInput"
                },
                "title": "Payload",
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "boolean"
                  },
                  "title": "Response",
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/logistics/stores/delivery/check-multiply-locations",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/stores/delivery/order-preferences": {
      "get": {
        "operationId": "get_api_logistics_stores_delivery_order_preferences",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeliveryPreferenceOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/logistics/stores/delivery/order-preferences",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/stores/delivery/slots": {
      "get": {
        "operationId": "get_api_logistics_stores_delivery_slots",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/DeliverySlotOutput"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/logistics/stores/delivery/slots",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/stores/delivery/zones": {
      "get": {
        "operationId": "get_api_logistics_stores_delivery_zones",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/DeliveryZoneOutput"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/logistics/stores/delivery/zones",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/stores/pickup/": {
      "get": {
        "operationId": "get_api_logistics_stores_pickup",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/PickupStoreOutput"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/logistics/stores/pickup/",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/stores/pickup/order-preferences": {
      "get": {
        "operationId": "get_api_logistics_stores_pickup_order_preferences",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickupPreferenceOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/logistics/stores/pickup/order-preferences",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/stores/pickup/slots": {
      "get": {
        "operationId": "get_api_logistics_stores_pickup_slots",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/PickupSlotOutput"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GET /api/logistics/stores/pickup/slots",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/logistics/stores/pickup/{store_id}": {
      "get": {
        "operationId": "get_api_logistics_stores_pickup_store_id",
        "parameters": [
          {
            "in": "path",
            "name": "store_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Store Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "summary": "GET /api/logistics/stores/pickup/{store_id}",
        "tags": [
          "logistics"
        ]
      }
    },
    "/api/orders/": {
      "get": {
        "operationId": "get_api_orders",
        "parameters": [
          {
            "in": "query",
            "name": "active",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Active"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Page Size"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedOrdersListingSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/orders/",
        "tags": [
          "orders"
        ]
      },
      "post": {
        "operationId": "post_api_orders",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response",
                  "type": "string"
                }
              }
            },
            "description": "Created"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderCommandError"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderCommandError"
                }
              }
            },
            "description": "Unprocessable Entity"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/orders/",
        "tags": [
          "orders"
        ]
      }
    },
    "/api/orders/delivery/price-estimate": {
      "post": {
        "operationId": "post_api_orders_delivery_price_estimate",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeliveryPriceEstimateInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeliveryPriceEstimateSchema"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderCommandError"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderCommandError"
                }
              }
            },
            "description": "Bad Gateway"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderCommandError"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/orders/delivery/price-estimate",
        "tags": [
          "orders"
        ]
      }
    },
    "/api/orders/roadmap/{order_id}/detail": {
      "get": {
        "operationId": "get_api_orders_roadmap_order_id_detail",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DetailOrderRoadmapSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/orders/roadmap/{order_id}/detail",
        "tags": [
          "orders"
        ]
      }
    },
    "/api/orders/roadmap/{order_id}/short": {
      "get": {
        "operationId": "get_api_orders_roadmap_order_id_short",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderRoadmapSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/orders/roadmap/{order_id}/short",
        "tags": [
          "orders"
        ]
      }
    },
    "/api/orders/{order_id}": {
      "get": {
        "operationId": "get_api_orders_order_id",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDetailSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/orders/{order_id}",
        "tags": [
          "orders"
        ]
      }
    },
    "/api/orders/{order_id}/cancel": {
      "post": {
        "operationId": "post_api_orders_order_id_cancel",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDetailSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "POST /api/orders/{order_id}/cancel",
        "tags": [
          "orders"
        ]
      }
    },
    "/api/payments/eskhata/preferences": {
      "get": {
        "operationId": "get_api_payments_eskhata_preferences",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response",
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/payments/eskhata/preferences",
        "tags": [
          "payments"
        ]
      }
    },
    "/api/payments/eskhata/{order_id}/invoice": {
      "get": {
        "operationId": "get_api_payments_eskhata_order_id_invoice",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EskhataInvoiceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "CustomerJWTAuth": []
          }
        ],
        "summary": "GET /api/payments/eskhata/{order_id}/invoice",
        "tags": [
          "payments"
        ]
      }
    },
    "/api/picker/auth/login": {
      "post": {
        "operationId": "post_api_picker_auth_login",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PickerLoginInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickerLoginOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/picker/auth/login",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/auth/me": {
      "get": {
        "operationId": "get_api_picker_auth_me",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickerUserSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "GET /api/picker/auth/me",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/auth/refresh": {
      "post": {
        "operationId": "post_api_picker_auth_refresh",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PickerRefreshInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickerRefreshOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/picker/auth/refresh",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/catalog/products": {
      "get": {
        "operationId": "get_api_picker_catalog_products",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Query"
            }
          },
          {
            "in": "query",
            "name": "barcode",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Barcode"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickerCatalogOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "GET /api/picker/catalog/products",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/catalog/products/v2": {
      "get": {
        "operationId": "get_api_picker_catalog_products_v2",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Query"
            }
          },
          {
            "in": "query",
            "name": "barcode",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Barcode"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickerCatalogCursorOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "GET /api/picker/catalog/products/v2",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/history/sessions": {
      "get": {
        "operationId": "get_api_picker_history_sessions",
        "parameters": [
          {
            "in": "query",
            "name": "started_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Started At"
            }
          },
          {
            "in": "query",
            "name": "ended_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Ended At"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickerHistorySessionsOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "GET /api/picker/history/sessions",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/history/sessions/{session_id}": {
      "get": {
        "operationId": "get_api_picker_history_sessions_session_id",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "title": "Session Id",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickerHistorySessionDetailSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "GET /api/picker/history/sessions/{session_id}",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/history/summary": {
      "get": {
        "operationId": "get_api_picker_history_summary",
        "parameters": [
          {
            "in": "query",
            "name": "started_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Started At"
            }
          },
          {
            "in": "query",
            "name": "ended_at",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Ended At"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickerHistorySummarySchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "GET /api/picker/history/summary",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders": {
      "get": {
        "operationId": "get_api_picker_orders",
        "parameters": [
          {
            "in": "header",
            "name": "X-Store-Id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Store-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/PickerOrderSchema"
                  },
                  "title": "Response",
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "GET /api/picker/orders",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/additional-items": {
      "post": {
        "operationId": "post_api_picker_orders_order_id_additional_items",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdditionalItemInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "POST /api/picker/orders/{order_id}/additional-items",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/cancel": {
      "post": {
        "operationId": "post_api_picker_orders_order_id_cancel",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelPickingInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "POST /api/picker/orders/{order_id}/cancel",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/cancelled/ack": {
      "post": {
        "operationId": "post_api_picker_orders_order_id_cancelled_ack",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "POST /api/picker/orders/{order_id}/cancelled/ack",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/finish": {
      "post": {
        "operationId": "post_api_picker_orders_order_id_finish",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "POST /api/picker/orders/{order_id}/finish",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/items/{item_id}/clarification/confirm": {
      "post": {
        "description": "Подтверждает уже сохранённое расхождение до `finish`.\n\nКоличество или вес должны точно совпадать с `confirmed_quantity` в актуальной\nsession. Эта операция не изменяет фактическое значение, а переводит позицию из\n`clarified` в `picked`.\n",
        "operationId": "post_api_picker_orders_order_id_items_item_id_clarification_confirm",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "title": "Item Id",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "quantity": {
                  "summary": "Подтвердить частичное количество",
                  "value": {
                    "quantity": 2
                  }
                },
                "weight": {
                  "summary": "Подтвердить вес вне допуска",
                  "value": {
                    "quantity_kg": "0.680"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ConfirmClarificationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "Подтвердить расхождение количества или веса",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/items/{item_id}/clarification/reopen": {
      "post": {
        "description": "Возвращает позицию в сборку до `finish`.\n\nДопустимо для `missing`, `clarified/removed`, `clarified/quantity_mismatch`,\n`clarified/weight_mismatch`, `clarified/store_transfer_shortage` и `picked`.\nДля уже собранной позиции передайте `reason=\"recheck\"`; для найденной ранее\nотсутствующей — `reason=\"found_in_store\"`. Сервер очищает фактическое\nколичество и возвращает позицию в `pending`.\n",
        "operationId": "post_api_picker_orders_order_id_items_item_id_clarification_reopen",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "title": "Item Id",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "found_in_store": {
                  "summary": "Товар найден в магазине",
                  "value": {
                    "reason": "found_in_store"
                  }
                },
                "recheck_picked": {
                  "summary": "Вернуть собранный товар на пересчёт",
                  "value": {
                    "reason": "recheck"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ReopenItemInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "Вернуть позицию в сборку",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/items/{item_id}/clarification/resolve": {
      "post": {
        "description": "Окончательно удаляет отсутствующую позицию из заказа до `finish`.\n\nСначала выполните `missing` с `action=\"remove\"`, затем вызовите эту операцию с\n`resolution=\"remove\"`. Результат — `clarified/removed`; при необходимости\nпозицию можно вернуть через `clarification/reopen`.\n",
        "operationId": "post_api_picker_orders_order_id_items_item_id_clarification_resolve",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "title": "Item Id",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "remove": {
                  "summary": "Подтвердить удаление",
                  "value": {
                    "resolution": "remove"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ResolveClarificationInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "Удалить отсутствующий товар из заказа",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/items/{item_id}/manual-pick": {
      "post": {
        "description": "Сохраняет фактическое количество штучной позиции после ручного ввода. Если количество отличается от заказанного, передайте `confirm: true` для подтверждения расхождения. Действие доступно до `finish`.",
        "operationId": "post_api_picker_orders_order_id_items_item_id_manual_pick",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "title": "Item Id",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "confirmed_difference": {
                  "summary": "Подтвердить, что собрано две штуки",
                  "value": {
                    "confirm": true,
                    "quantity": 2
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ManualPickInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "Внести количество вручную",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/items/{item_id}/missing": {
      "post": {
        "description": "Помечает позицию как отсутствующую до `finish`.\n\n`call` и `remove` только фиксируют `missing_action` и переводят позицию в\n`missing`. Для фактического удаления из заказа затем вызовите\n`clarification/resolve` с `resolution=\"remove\"`.\n",
        "operationId": "post_api_picker_orders_order_id_items_item_id_missing",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "title": "Item Id",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "call_customer": {
                  "summary": "Запросить звонок клиенту",
                  "value": {
                    "action": "call"
                  }
                },
                "remove_after_clarification": {
                  "summary": "Передать на удаление",
                  "value": {
                    "action": "remove"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/MissingInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "Пометить товар отсутствующим",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/items/{item_id}/piece-quantity": {
      "post": {
        "description": "Изменяет фактическое количество штучной позиции до `finish`.\n\nРазрешено повторно вызывать для `pending`, `awaiting_quantity`, `picked` и\n`clarified/quantity_mismatch`. Количество — целое от 1 до заказанного. Неполное\nколичество сохраняется как `clarified/quantity_mismatch`; оно не удаляет товар.\nКаждое новое действие требует новый `Idempotency-Key`.\n",
        "operationId": "post_api_picker_orders_order_id_items_item_id_piece_quantity",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "title": "Item Id",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "two_pieces": {
                  "summary": "Собрано две штуки",
                  "value": {
                    "quantity": 2
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/PieceQuantityInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          },
          "409": {
            "description": "Сессия закрыта или состояние позиции не позволяет изменение."
          },
          "422": {
            "description": "Количество нецелое, нулевое или больше заказанного."
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "Изменить количество штучного товара",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/items/{item_id}/replacement": {
      "post": {
        "operationId": "post_api_picker_orders_order_id_items_item_id_replacement",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "title": "Item Id",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BarcodeInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "POST /api/picker/orders/{order_id}/items/{item_id}/replacement",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/items/{item_id}/scan": {
      "post": {
        "operationId": "post_api_picker_orders_order_id_items_item_id_scan",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "title": "Item Id",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BarcodeInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "POST /api/picker/orders/{order_id}/items/{item_id}/scan",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/items/{item_id}/weight": {
      "post": {
        "description": "Сохраняет или исправляет фактический вес до `finish`.\n\nПовторный вызов для уже собранной позиции корректирует вес. Вес в допуске\nпереводит позицию в `picked`; вне допуска сохраняется как\n`clarified/weight_mismatch` и требует отдельного подтверждения.\n",
        "operationId": "post_api_picker_orders_order_id_items_item_id_weight",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "item_id",
            "required": true,
            "schema": {
              "title": "Item Id",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "corrected_weight": {
                  "summary": "Исправленный вес в килограммах",
                  "value": {
                    "quantity_kg": "1.250"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/WeightInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingActionOutput"
                }
              }
            },
            "description": "OK"
          },
          "409": {
            "description": "Сессия закрыта или позиция не весовая."
          },
          "422": {
            "description": "Вес нулевой, отрицательный или имеет более трёх знаков."
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "Изменить фактический вес товара",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/session": {
      "get": {
        "operationId": "get_api_picker_orders_order_id_session",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingSessionSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "GET /api/picker/orders/{order_id}/session",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/orders/{order_id}/start": {
      "post": {
        "operationId": "post_api_picker_orders_order_id_start",
        "parameters": [
          {
            "in": "path",
            "name": "order_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Order Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingSessionSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "POST /api/picker/orders/{order_id}/start",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/realtime/metadata": {
      "get": {
        "operationId": "get_api_picker_realtime_metadata",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickerRealtimeMetadataSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "GET /api/picker/realtime/metadata",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/picker/session/active": {
      "get": {
        "operationId": "get_api_picker_session_active",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickingSessionSchema"
                }
              }
            },
            "description": "OK"
          },
          "204": {
            "description": "No Content"
          }
        },
        "security": [
          {
            "PickerJWTAuth": []
          }
        ],
        "summary": "GET /api/picker/session/active",
        "tags": [
          "picker"
        ]
      }
    },
    "/api/token/pair": {
      "post": {
        "operationId": "post_api_token_pair",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenObtainPairInputSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenObtainPairOutputSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/token/pair",
        "tags": [
          "token"
        ]
      }
    },
    "/api/token/refresh": {
      "post": {
        "operationId": "post_api_token_refresh",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenRefreshInputSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenRefreshOutputSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/token/refresh",
        "tags": [
          "token"
        ]
      }
    },
    "/api/token/verify": {
      "post": {
        "operationId": "post_api_token_verify",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenVerifyInputSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Schema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "POST /api/token/verify",
        "tags": [
          "token"
        ]
      }
    }
  }
}
