{
    "openapi": "3.1.0",
    "info": {
        "title": "פרחי צעירי - כלים לסוכנים",
        "version": "0.1.0",
        "description": "חיפוש בחנות, הרכבת זר והצעת מחיר. אין הזמנה ואין תשלום דרך הממשק הזה. מדריך מלא: https://zairiflowers.co.il/ru/agents.md"
    },
    "servers": [
        {
            "url": "https://zairiflowers.co.il/ru"
        }
    ],
    "paths": {
        "/wp-json/zairi/v1/agent/catalog": {
            "get": {
                "operationId": "search_catalog",
                "summary": "חיפוש בחנות",
                "description": "Use this when the user wants to find or compare flowers, bouquets, plants, pots or gardening supplies from Zairi Flowers (פרחי צעירי), including a gift by budget. Returns this shop’s products, URLs, product prices in agorot, provenance and availability status. budget_max is in whole ILS and excludes delivery. With q, the text is read for flowers, colours, things to leave out and a budget, and each product carries match.tier (exact, close, title or partial) with reason codes: a bouquet is matched by its recipe, never only by its name. selection is needed to check a requested date and delivery/pickup destination. Preserve demo and unverified-stock disclosures. Does not search other shops, place an order or reserve stock. A bouquet sold in sizes also carries price_from, the price of its cheapest size that can be added now (price_from_size names it); price is its base size, and budget_max counts price_from.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "total": {
                                            "type": "integer"
                                        },
                                        "offset": {
                                            "type": "integer"
                                        },
                                        "products": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "parameters": [
                    {
                        "name": "category",
                        "in": "query",
                        "required": false,
                        "description": "מזהה קטגוריה, אחד מהרשימה בלבד. flowers = פרחים וזרים (bouquets = זרי פרחים, cut-flowers = חבילות פרחים לשזירה, foliage = ירק לשזירה, bouquet-supplies = אריזות ואביזרי שזירה, arrangements = סידורי פרחים, flower-crowns = זר פרחים לראש, bridal-car = זר כלה וקישוט לרכב, wreaths = גלגלי אבל); plants = צמחים ועציצים (nursery-pots = צמחי בית בעציץ, flowering-plants = עציצים פורחים, orchids = סחלבים, air-plants = צמחי אוויר, herbs-vegetables = תבלינים וירקות, home-office = לבית ולמשרד, garden = צמחים לגינה ולמרפסת, cacti-succulents = קקטוסים וסוקולנטים, trees = עצים בעציץ, special-plants = מיוחדים); planters = כלי שתילה ואגרטלים (vases = אגרטלים, ceramics = עציצי קרמיקה, window-boxes = אדניות, baskets = סלסלות וכיסויים לעציצים, hanging-pots = כלי תלייה לצמחים); garden-tools = ציוד לגינון ולשתילה (seeds-bulbs = זרעים, בצלים ופקעות, fertilizers = דשנים והדברה, soil = אדמה ותערובות, garden-accessories = כלי עבודה והשקיה, decorative-stones = אבנים וחצץ דקורטיבי); greeting-cards = כרטיסי ברכה מעוצבים; events = אירועים",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "flowers",
                                "bouquets",
                                "cut-flowers",
                                "foliage",
                                "bouquet-supplies",
                                "arrangements",
                                "flower-crowns",
                                "bridal-car",
                                "wreaths",
                                "plants",
                                "nursery-pots",
                                "flowering-plants",
                                "orchids",
                                "air-plants",
                                "herbs-vegetables",
                                "home-office",
                                "garden",
                                "cacti-succulents",
                                "trees",
                                "special-plants",
                                "planters",
                                "vases",
                                "ceramics",
                                "window-boxes",
                                "baskets",
                                "hanging-pots",
                                "garden-tools",
                                "seeds-bulbs",
                                "fertilizers",
                                "soil",
                                "garden-accessories",
                                "decorative-stones",
                                "greeting-cards",
                                "events"
                            ]
                        }
                    },
                    {
                        "name": "q",
                        "in": "query",
                        "required": false,
                        "description": "חיפוש חופשי בשם, בתיאור ובקטגוריה.",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "date",
                        "in": "query",
                        "required": false,
                        "description": "היום המבוקש, YYYY-MM-DD. מסנן לפי זמינות באותו יום.",
                        "schema": {
                            "type": "string",
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                        }
                    },
                    {
                        "name": "budget_max",
                        "in": "query",
                        "required": false,
                        "description": "תקציב מרבי למוצר, בשקלים.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 99999
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "description": "כמה תוצאות להחזיר. ברירת מחדל 20.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "offset",
                        "in": "query",
                        "required": false,
                        "description": "מאיזו תוצאה להתחיל.",
                        "schema": {
                            "type": "integer",
                            "minimum": 0
                        }
                    },
                    {
                        "name": "selection",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                                "date",
                                "method"
                            ],
                            "properties": {
                                "date": {
                                    "type": "string",
                                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                },
                                "method": {
                                    "type": "string",
                                    "enum": [
                                        "pickup",
                                        "delivery"
                                    ]
                                },
                                "city": {
                                    "type": "string",
                                    "maxLength": 120
                                },
                                "branch_id": {
                                    "type": "string",
                                    "maxLength": 80
                                },
                                "window_id": {
                                    "type": "string",
                                    "maxLength": 80,
                                    "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed."
                                },
                                "location": {
                                    "type": "string",
                                    "maxLength": 80
                                }
                            }
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response and search language: he Hebrew (default), en English, ar Arabic, ru Russian. Use concise search terms in that language. Untranslated source fields may remain Hebrew.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "he",
                                "en",
                                "ar",
                                "ru"
                            ]
                        }
                    },
                    {
                        "name": "detail",
                        "in": "query",
                        "required": false,
                        "description": "full preserves the existing response; summary is suitable for result cards.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "summary",
                                "full"
                            ]
                        }
                    }
                ]
            }
        },
        "/wp-json/zairi/v1/agent/components": {
            "get": {
                "operationId": "list_bouquet_components",
                "summary": "רכיבים לבניית זר",
                "description": "Use this when the user wants to build a custom Zairi Flowers bouquet and needs the available flower packs, bunches and wrapping IDs before requesting a preview. Returns complete sale units: price is per pack in agorot; pack.size is a known stem count or null for an uncounted bunch. visual_units is illustrative, and remaining can be null when the shop must confirm stock. Does not sell individual stems from a pack or guarantee delivery. Each component carries arranging (form: focal, secondary, line, filler, foliage or wrap; the months it is at its best; whether it is in season now; the shop's vase-days estimate) so a bouquet can be composed like a florist's: one or two focal flowers, a supporting or line flower, a filler or greenery and one wrapping. התוצאות מדופדפות; המשיכו עם next_offset. colour הוא צבע מסחרי, לא צבע של תמונת המחשה. max הוא גבול בחירה ולא יתרת מלאי.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "components": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "total": {
                                            "type": "integer"
                                        },
                                        "offset": {
                                            "type": "integer"
                                        },
                                        "next_offset": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "colour",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9_-]{0,39}$"
                        }
                    },
                    {
                        "name": "role",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "flower",
                                "foliage",
                                "wrap"
                            ]
                        }
                    },
                    {
                        "name": "selection",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                                "date",
                                "method"
                            ],
                            "properties": {
                                "date": {
                                    "type": "string",
                                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                },
                                "method": {
                                    "type": "string",
                                    "enum": [
                                        "pickup",
                                        "delivery"
                                    ]
                                },
                                "city": {
                                    "type": "string",
                                    "maxLength": 120
                                },
                                "branch_id": {
                                    "type": "string",
                                    "maxLength": 80
                                },
                                "window_id": {
                                    "type": "string",
                                    "maxLength": 80,
                                    "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed."
                                },
                                "location": {
                                    "type": "string",
                                    "maxLength": 80
                                }
                            }
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "offset",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 2000
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: he Hebrew (default), en English, ar Arabic, ru Russian. Untranslated fields may remain Hebrew.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "he",
                                "en",
                                "ar",
                                "ru"
                            ]
                        }
                    }
                ]
            }
        },
        "/wp-json/zairi/v1/agent/compose": {
            "post": {
                "operationId": "compose_bouquet",
                "summary": "הרכבת זר והצעת מחיר",
                "description": "Use this when the user asks to save a Zairi Flowers bouquet composition as a temporary shareable link. This writes an anonymous recipe to the shop for seven days; use preview_bouquet for a quote without saving. items contains whole-pack/bunch product IDs and quantities, never individual stems. Returns a quote in agorot, availability reasons and handoff_url for the person to continue on the shop website. Illustrations do not guarantee the final arrangement; unknown stem counts remain null. Does not place an order, charge money or reserve inventory. Do not include personal details in preferences.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "total": {
                                            "type": "integer",
                                            "description": "Quoted product total in agorot; does not include delivery."
                                        },
                                        "total_display": {
                                            "type": "string"
                                        },
                                        "currency": {
                                            "type": "string"
                                        },
                                        "notice": {
                                            "type": "string"
                                        },
                                        "handoff_url": {
                                            "type": "string"
                                        },
                                        "handoff_expires_days": {
                                            "type": "integer"
                                        },
                                        "availability": {
                                            "type": "object",
                                            "description": "Requested fulfillment result; absent selection means unverified availability."
                                        },
                                        "language": {
                                            "type": "string",
                                            "enum": [
                                                "he",
                                                "en",
                                                "ar",
                                                "ru"
                                            ],
                                            "description": "Language of the answer, so a card can show its labels in it."
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "items": {
                                        "type": "array",
                                        "description": "מזהה מוצר או וריאציה וכמות חבילות או צרורות שלמים, ללא פירוק. השרת יוצר פריסה להמחשה; בצרור ללא ספירה מופיע סמן אחד לצרור, לא ענף אחד.",
                                        "minItems": 1,
                                        "maxItems": 50,
                                        "items": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                                "product_id",
                                                "quantity"
                                            ],
                                            "properties": {
                                                "product_id": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "quantity": {
                                                    "type": "integer",
                                                    "minimum": 1,
                                                    "maximum": 50
                                                }
                                            }
                                        }
                                    },
                                    "preferences": {
                                        "type": "object",
                                        "description": "העדפות לפלוריסט, אופציונלי.",
                                        "additionalProperties": false,
                                        "properties": {
                                            "occasion": {
                                                "type": "string",
                                                "description": "אירוע",
                                                "maxLength": 80
                                            },
                                            "style": {
                                                "type": "string",
                                                "description": "סגנון",
                                                "maxLength": 80
                                            },
                                            "colour": {
                                                "type": "string",
                                                "description": "צבע",
                                                "maxLength": 80
                                            },
                                            "size": {
                                                "type": "string",
                                                "description": "גודל",
                                                "maxLength": 80
                                            },
                                            "wrapping": {
                                                "type": "string",
                                                "description": "אריזה",
                                                "maxLength": 80
                                            }
                                        }
                                    },
                                    "selection": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                            "date",
                                            "method"
                                        ],
                                        "properties": {
                                            "date": {
                                                "type": "string",
                                                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                            },
                                            "method": {
                                                "type": "string",
                                                "enum": [
                                                    "pickup",
                                                    "delivery"
                                                ]
                                            },
                                            "city": {
                                                "type": "string",
                                                "maxLength": 120
                                            },
                                            "branch_id": {
                                                "type": "string",
                                                "maxLength": 80
                                            },
                                            "window_id": {
                                                "type": "string",
                                                "maxLength": 80,
                                                "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed."
                                            },
                                            "location": {
                                                "type": "string",
                                                "maxLength": 80
                                            }
                                        }
                                    },
                                    "language": {
                                        "type": "string",
                                        "enum": [
                                            "he",
                                            "en",
                                            "ar",
                                            "ru"
                                        ],
                                        "description": "Response and search language: he Hebrew (default), en English, ar Arabic, ru Russian. Use concise search terms in that language. Untranslated source fields may remain Hebrew."
                                    }
                                },
                                "required": [
                                    "items"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/wp-json/zairi/v1/agent/preview": {
            "post": {
                "operationId": "preview_bouquet",
                "summary": "הצעת מחיר לזר, בלי שמירה",
                "description": "Use this when the user wants a custom bouquet quote and a link to view or edit it on the Zairi Flowers website. items contains product IDs and quantities of complete packs/bunches from list_bouquet_components, never individual stems. Returns a server-calculated price in agorot, pack quantities, availability reasons and handoff_url. No recipe is persisted; the link carries the composition. The arrangement is illustrative and stem_quantity=null means an unknown stem count. selection checks the requested fulfillment; without it availability is unverified. Does not order, charge or reserve stock.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "total": {
                                            "type": "integer",
                                            "description": "Quoted product total in agorot; does not include delivery."
                                        },
                                        "total_display": {
                                            "type": "string"
                                        },
                                        "currency": {
                                            "type": "string"
                                        },
                                        "notice": {
                                            "type": "string"
                                        },
                                        "handoff_url": {
                                            "type": "string"
                                        },
                                        "handoff_expires_days": {
                                            "type": "integer"
                                        },
                                        "availability": {
                                            "type": "object",
                                            "description": "Requested fulfillment result; absent selection means unverified availability."
                                        },
                                        "language": {
                                            "type": "string",
                                            "enum": [
                                                "he",
                                                "en",
                                                "ar",
                                                "ru"
                                            ],
                                            "description": "Language of the answer, so a card can show its labels in it."
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "items": {
                                        "type": "array",
                                        "description": "מזהה מוצר או וריאציה וכמות חבילות או צרורות שלמים, ללא פירוק. השרת יוצר פריסה להמחשה; בצרור ללא ספירה מופיע סמן אחד לצרור, לא ענף אחד.",
                                        "minItems": 1,
                                        "maxItems": 50,
                                        "items": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                                "product_id",
                                                "quantity"
                                            ],
                                            "properties": {
                                                "product_id": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "quantity": {
                                                    "type": "integer",
                                                    "minimum": 1,
                                                    "maximum": 50
                                                }
                                            }
                                        }
                                    },
                                    "preferences": {
                                        "type": "object",
                                        "description": "העדפות לפלוריסט, אופציונלי.",
                                        "additionalProperties": false,
                                        "properties": {
                                            "occasion": {
                                                "type": "string",
                                                "description": "אירוע",
                                                "maxLength": 80
                                            },
                                            "style": {
                                                "type": "string",
                                                "description": "סגנון",
                                                "maxLength": 80
                                            },
                                            "colour": {
                                                "type": "string",
                                                "description": "צבע",
                                                "maxLength": 80
                                            },
                                            "size": {
                                                "type": "string",
                                                "description": "גודל",
                                                "maxLength": 80
                                            },
                                            "wrapping": {
                                                "type": "string",
                                                "description": "אריזה",
                                                "maxLength": 80
                                            }
                                        }
                                    },
                                    "selection": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                            "date",
                                            "method"
                                        ],
                                        "properties": {
                                            "date": {
                                                "type": "string",
                                                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                            },
                                            "method": {
                                                "type": "string",
                                                "enum": [
                                                    "pickup",
                                                    "delivery"
                                                ]
                                            },
                                            "city": {
                                                "type": "string",
                                                "maxLength": 120
                                            },
                                            "branch_id": {
                                                "type": "string",
                                                "maxLength": 80
                                            },
                                            "window_id": {
                                                "type": "string",
                                                "maxLength": 80,
                                                "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed."
                                            },
                                            "location": {
                                                "type": "string",
                                                "maxLength": 80
                                            }
                                        }
                                    },
                                    "language": {
                                        "type": "string",
                                        "enum": [
                                            "he",
                                            "en",
                                            "ar",
                                            "ru"
                                        ],
                                        "description": "Response and search language: he Hebrew (default), en English, ar Arabic, ru Russian. Use concise search terms in that language. Untranslated source fields may remain Hebrew."
                                    }
                                },
                                "required": [
                                    "items"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/wp-json/zairi/v1/agent/soil": {
            "get": {
                "operationId": "calculate_soil",
                "summary": "כמה אדמה צריך",
                "description": "Use this when the user asks how many litres of potting mix or soil fit in a rectangular planter or cylindrical pot (כמה אדמה צריך לעציץ). Requires internal dimensions in centimetres and the measured or explicitly estimated root-ball volume in litres. Returns estimated net/gross litres and calculation assumptions. Does not determine soil type, plant suitability or fertilizer dosage; tapered and irregular pots need a separate measurement.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "litres",
                                        "grossLitres",
                                        "assumptions"
                                    ],
                                    "properties": {
                                        "litres": {
                                            "type": "number",
                                            "description": "Estimated net soil volume in litres after subtracting the root ball."
                                        },
                                        "grossLitres": {
                                            "type": "number",
                                            "description": "Geometric internal volume in litres."
                                        },
                                        "assumptions": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "parameters": [
                    {
                        "name": "shape",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "box",
                                "cylinder"
                            ]
                        }
                    },
                    {
                        "name": "length",
                        "in": "query",
                        "required": false,
                        "description": "אורך פנימי בס״מ (box)",
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "name": "width",
                        "in": "query",
                        "required": false,
                        "description": "רוחב פנימי בס״מ (box)",
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "name": "diameter",
                        "in": "query",
                        "required": false,
                        "description": "קוטר פנימי בס״מ (cylinder)",
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "name": "height",
                        "in": "query",
                        "required": false,
                        "description": "גובה פנימי בס״מ",
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "name": "root_litres",
                        "in": "query",
                        "required": false,
                        "description": "Root-ball volume in litres, measured or explicitly estimated by the user. Use 0 only for an empty pot or an explicitly requested gross-volume estimate.",
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response and search language: he Hebrew (default), en English, ar Arabic, ru Russian. Use concise search terms in that language. Untranslated source fields may remain Hebrew.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "he",
                                "en",
                                "ar",
                                "ru"
                            ]
                        }
                    }
                ]
            }
        },
        "/wp-json/zairi/v1/agent/guides": {
            "get": {
                "operationId": "search_guides",
                "summary": "מדריכים מאושרים",
                "description": "Use this when the user asks for published plant-care or cut-flower guidance from Zairi Flowers, such as watering, light, drainage or keeping a bouquet fresh (מידע בוטני, השקיה, טיפול בצמחים ובפרחים). Search by query, topic, product, botanical profile or family. Returns excerpts, guide URLs, source links and available reviewer/date fields. Publication does not mean all claims were independently verified. Cite the returned evidence; an empty result means no matching published guide. Not a medical/veterinary diagnosis, plant identification from an image, or evidence that an unknown plant is safe to ingest.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "guides": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "id": {
                                                        "type": "integer"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "url": {
                                                        "type": "string"
                                                    },
                                                    "excerpt": {
                                                        "type": "string"
                                                    },
                                                    "reviewer": {
                                                        "type": "string",
                                                        "description": "Recorded reviewer, possibly empty; not a verification guarantee."
                                                    },
                                                    "reviewed": {
                                                        "type": "string",
                                                        "description": "Recorded review date, possibly empty."
                                                    },
                                                    "sources": {
                                                        "type": "array",
                                                        "description": "Source references attached to the published guide."
                                                    },
                                                    "families": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "required": [
                                        "guides"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "parameters": [
                    {
                        "name": "query",
                        "in": "query",
                        "required": false,
                        "description": "Plant name or care question, e.g. סחלב, השקיה, keeping cut flowers fresh. Matches this shop’s published guide text; omit only when using another guide filter.",
                        "schema": {
                            "type": "string",
                            "maxLength": 80
                        }
                    },
                    {
                        "name": "product_id",
                        "in": "query",
                        "required": false,
                        "description": "Catalog product ID whose published care guides are requested.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "profile_id",
                        "in": "query",
                        "required": false,
                        "description": "Botanical profile ID returned in a product’s knowledge data.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "family",
                        "in": "query",
                        "required": false,
                        "description": "Product family from the supported enum; narrows the guide search.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "living_plant",
                                "cut_flower",
                                "bouquet",
                                "container",
                                "garden_supply"
                            ]
                        }
                    },
                    {
                        "name": "topic",
                        "in": "query",
                        "required": false,
                        "description": "Care topic recorded on guides, e.g. watering, light or drainage; not a request for diagnosis.",
                        "schema": {
                            "type": "string",
                            "maxLength": 80
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response and search language: he Hebrew (default), en English, ar Arabic, ru Russian. Use concise search terms in that language. Untranslated source fields may remain Hebrew.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "he",
                                "en",
                                "ar",
                                "ru"
                            ]
                        }
                    }
                ]
            }
        },
        "/wp-json/zairi/v1/agent/delivery": {
            "get": {
                "operationId": "check_delivery",
                "summary": "בדיקת יום מסירה",
                "description": "Use this when the user asks about a Zairi Flowers delivery or pickup date and its policy/fee. Returns fulfillment-policy eligibility and any delivery fee in agorot. Pass window_id (from get_delivery_options) to check one window; without it the first open window of the date is checked and open_windows lists the rest. It does not check a product basket or reserve delivery capacity; check_availability evaluates the selected products together. Do not interpret policy eligibility as a confirmed order or a delivery promise. A delivery city the shop splits into areas returns status city_ambiguous with city_candidates: ask which one and check again. Every Israeli locality is delivered. When fee is an integer, that is the delivery price. When listed_fee is present, that is the published tariff in agorot: add listed_fee to the product price and state that total, even though fee stays null until checkout confirms the same tariff with the street address. Do not call a present listed_fee unclear and do not suggest another shop. delivery_from is the lowest listed tariff before a city is chosen. A town with no listed_fee and fee null is priced before payment; never present that as free. When distance pricing is on, delivery_pricing carries the formula.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "message": {
                                            "type": "string"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "next_action": {
                                            "type": "string"
                                        },
                                        "city_served": {
                                            "type": "boolean"
                                        },
                                        "unserved_city": {
                                            "type": "object"
                                        },
                                        "city_candidates": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "fee": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ],
                                            "description": "Payable delivery fee in agorot. Null until checkout confirms it. Use listed_fee when this is null and listed_fee is present."
                                        },
                                        "fee_display": {
                                            "type": "string"
                                        },
                                        "listed_fee": {
                                            "type": "integer",
                                            "description": "Published delivery tariff in agorot for this town. Add it to the product price."
                                        },
                                        "listed_fee_display": {
                                            "type": "string"
                                        },
                                        "delivery_from": {
                                            "type": "integer",
                                            "description": "Lowest published delivery tariff in agorot, before a city is chosen."
                                        },
                                        "quote_pending": {
                                            "type": "boolean"
                                        },
                                        "delivery_pricing": {
                                            "type": "object"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "parameters": [
                    {
                        "name": "method",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "delivery",
                                "pickup"
                            ]
                        }
                    },
                    {
                        "name": "city",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "maxLength": 60
                        }
                    },
                    {
                        "name": "date",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                        }
                    },
                    {
                        "name": "branch_id",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "maxLength": 80
                        }
                    },
                    {
                        "name": "window_id",
                        "in": "query",
                        "required": false,
                        "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed.",
                        "schema": {
                            "type": "string",
                            "maxLength": 80
                        }
                    },
                    {
                        "name": "location",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "maxLength": 80
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response and search language: he Hebrew (default), en English, ar Arabic, ru Russian. Use concise search terms in that language. Untranslated source fields may remain Hebrew.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "he",
                                "en",
                                "ar",
                                "ru"
                            ]
                        }
                    }
                ]
            }
        },
        "/wp-json/zairi/v1/agent/recommendations": {
            "post": {
                "operationId": "recommend_products",
                "summary": "המלצות לפי הקשר ומועד",
                "description": "Use this when the user wants suitable Zairi Flowers gifts or plants for an occasion, light level, care preference or budget (בחירת זר, צמח לבית או למרפסת). Returns ranked products with recorded reasons and availability limits. budget is in agorot, unlike search_catalog.budget_max in ILS. A supplied selection evaluates date and fulfillment constraints. pet_safe relies on recorded evidence; missing safety information is not a safety guarantee. Does not diagnose plant disease or replace veterinary advice, and does not reserve stock. אפשר להתחיל בהתאמה ללא מועד עם stage=discover; אין בכך הבטחת מחיר כולל או אספקה.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "mode": {
                                            "type": "string"
                                        },
                                        "stage": {
                                            "type": "string"
                                        },
                                        "products": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "constraints_complete": {
                                            "type": "boolean"
                                        },
                                        "recovery": {
                                            "type": "object"
                                        },
                                        "total": {
                                            "type": "integer"
                                        },
                                        "offset": {
                                            "type": "integer"
                                        },
                                        "next_offset": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "no_match_reason": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "message": {
                                            "type": "string"
                                        },
                                        "catalog_truncated": {
                                            "type": "boolean"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "mode": {
                                        "type": "string",
                                        "enum": [
                                            "plants",
                                            "gifts",
                                            "complements",
                                            "popular",
                                            "shop_choice"
                                        ]
                                    },
                                    "selection": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                            "date",
                                            "method"
                                        ],
                                        "properties": {
                                            "date": {
                                                "type": "string",
                                                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                            },
                                            "method": {
                                                "type": "string",
                                                "enum": [
                                                    "pickup",
                                                    "delivery"
                                                ]
                                            },
                                            "city": {
                                                "type": "string",
                                                "maxLength": 120
                                            },
                                            "branch_id": {
                                                "type": "string",
                                                "maxLength": 80
                                            },
                                            "window_id": {
                                                "type": "string",
                                                "maxLength": 80,
                                                "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed."
                                            },
                                            "location": {
                                                "type": "string",
                                                "maxLength": 80
                                            }
                                        }
                                    },
                                    "budget": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 1000000
                                    },
                                    "limit": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 12
                                    },
                                    "light": {
                                        "type": "string",
                                        "enum": [
                                            "indirect",
                                            "sun",
                                            "shade",
                                            "mixed"
                                        ]
                                    },
                                    "care": {
                                        "type": "string",
                                        "enum": [
                                            "easy",
                                            "moderate",
                                            "experienced"
                                        ]
                                    },
                                    "pet_safe": {
                                        "type": "boolean"
                                    },
                                    "occasion": {
                                        "type": "string",
                                        "enum": [
                                            "birthday",
                                            "thanks",
                                            "celebration",
                                            "sympathy",
                                            "just-because"
                                        ]
                                    },
                                    "colour": {
                                        "type": "string",
                                        "pattern": "^[a-z][a-z0-9_-]{0,39}$"
                                    },
                                    "style": {
                                        "type": "string",
                                        "pattern": "^[a-z][a-z0-9_-]{0,39}$"
                                    },
                                    "family": {
                                        "type": "string",
                                        "enum": [
                                            "living_plant",
                                            "cut_flower",
                                            "bouquet",
                                            "container",
                                            "garden_supply"
                                        ]
                                    },
                                    "product_id": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "days": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 90
                                    },
                                    "language": {
                                        "type": "string",
                                        "enum": [
                                            "he",
                                            "en",
                                            "ar",
                                            "ru"
                                        ],
                                        "description": "Response and search language: he Hebrew (default), en English, ar Arabic, ru Russian. Use concise search terms in that language. Untranslated source fields may remain Hebrew."
                                    },
                                    "offset": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 100
                                    },
                                    "stage": {
                                        "type": "string",
                                        "enum": [
                                            "discover",
                                            "order"
                                        ],
                                        "description": "discover returns matching products without promising availability; order requires delivery context. With no selection, the agent defaults to discover."
                                    },
                                    "budget_scope": {
                                        "type": "string",
                                        "enum": [
                                            "product_only",
                                            "including_delivery"
                                        ],
                                        "description": "budget is always integer agorot. An unknown delivery fee is never treated as zero."
                                    },
                                    "preferences": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                            "colour": {
                                                "type": "string",
                                                "pattern": "^[a-z][a-z0-9_-]{0,39}$"
                                            },
                                            "style": {
                                                "type": "string",
                                                "pattern": "^[a-z][a-z0-9_-]{0,39}$"
                                            },
                                            "occasion": {
                                                "type": "string",
                                                "enum": [
                                                    "birthday",
                                                    "thanks",
                                                    "celebration",
                                                    "sympathy",
                                                    "just-because"
                                                ]
                                            }
                                        },
                                        "description": "Optional ranking preferences, not hard constraints. Top-level colour/style/occasion remain mandatory filters. Safety, budget and dimensional constraints are never relaxed."
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/wp-json/zairi/v1/agent/availability": {
            "post": {
                "operationId": "check_availability",
                "summary": "בדיקת הרכב למועד",
                "description": "Use this when the user has selected Zairi Flowers products and asks whether that complete basket can be fulfilled on a date by delivery or pickup. Requires product IDs, sale-unit quantities and selection with date and method. Checks shared inventory, recorded stock confidence, destination and capacity together; returns ok and reasons. Missing or unverified stock must remain unconfirmed. Read-only: no order, payment, stock reservation or delivery booking.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "reasons": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                    "items",
                                    "selection"
                                ],
                                "properties": {
                                    "items": {
                                        "type": "array",
                                        "minItems": 1,
                                        "maxItems": 50,
                                        "items": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                                "product_id",
                                                "quantity"
                                            ],
                                            "properties": {
                                                "product_id": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "quantity": {
                                                    "type": "integer",
                                                    "minimum": 1,
                                                    "maximum": 1000
                                                }
                                            }
                                        }
                                    },
                                    "selection": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                            "date",
                                            "method"
                                        ],
                                        "properties": {
                                            "date": {
                                                "type": "string",
                                                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                            },
                                            "method": {
                                                "type": "string",
                                                "enum": [
                                                    "pickup",
                                                    "delivery"
                                                ]
                                            },
                                            "city": {
                                                "type": "string",
                                                "maxLength": 120
                                            },
                                            "branch_id": {
                                                "type": "string",
                                                "maxLength": 80
                                            },
                                            "window_id": {
                                                "type": "string",
                                                "maxLength": 80,
                                                "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed."
                                            },
                                            "location": {
                                                "type": "string",
                                                "maxLength": 80
                                            }
                                        }
                                    },
                                    "language": {
                                        "type": "string",
                                        "enum": [
                                            "he",
                                            "en",
                                            "ar",
                                            "ru"
                                        ],
                                        "description": "Response and search language: he Hebrew (default), en English, ar Arabic, ru Russian. Use concise search terms in that language. Untranslated source fields may remain Hebrew."
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/wp-json/zairi/v1/agent/compatibility": {
            "get": {
                "operationId": "check_compatibility",
                "summary": "בדיקת מידות צמח וכלי",
                "description": "Use this when the user wants to know if a particular Zairi Flowers plant physically fits a particular pot. Requires plant_id and pot_id from the catalog. Compares recorded root-ball/internal dimensions and drainage evidence; returns incompatible, dimensions-only, shop_linked (the shop chose this pot for the plant; measurements unknown) or unknown with a reason. dimensions-only is not confirmation of all growing conditions, and unknown must not be described as a fit.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "string"
                                        },
                                        "reason": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "parameters": [
                    {
                        "name": "plant_id",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "pot_id",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response and search language: he Hebrew (default), en English, ar Arabic, ru Russian. Use concise search terms in that language. Untranslated source fields may remain Hebrew.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "he",
                                "en",
                                "ar",
                                "ru"
                            ]
                        }
                    },
                    {
                        "name": "fit_mode",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "planting",
                                "cover"
                            ]
                        }
                    }
                ]
            }
        },
        "/wp-json/zairi/v1/agent/product": {
            "get": {
                "operationId": "get_product",
                "summary": "מוצר בפירוט מלא",
                "description": "Use this when the user asks about one specific Zairi Flowers product and needs the full picture: what it is, how to care for it, light, watering, the pot, pets, sources, and what the page says about the flower. Takes product_id (from search_catalog or recommend_products) or sku. Returns the product record with knowledge and per-fact provenance, the page sections as the product page shows them, available guides and a completeness score. Missing or unverified information stays unknown and must not be described as safe or confirmed. Prices are in agorot. A bouquet sold in sizes carries bouquet_sizes (label, price, contents, available, base); its page opens on the base size and the person picks another size there. Does not reserve stock or place an order.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "language": {
                                            "type": "string",
                                            "enum": [
                                                "he",
                                                "en",
                                                "ar",
                                                "ru"
                                            ],
                                            "description": "Language of the answer, so a card can show its labels in it."
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "parameters": [
                    {
                        "name": "product_id",
                        "in": "query",
                        "required": false,
                        "description": "Catalog product ID.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sku",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "maxLength": 80
                        }
                    },
                    {
                        "name": "selection",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                                "date",
                                "method"
                            ],
                            "properties": {
                                "date": {
                                    "type": "string",
                                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                },
                                "method": {
                                    "type": "string",
                                    "enum": [
                                        "pickup",
                                        "delivery"
                                    ]
                                },
                                "city": {
                                    "type": "string",
                                    "maxLength": 120
                                },
                                "branch_id": {
                                    "type": "string",
                                    "maxLength": 80
                                },
                                "window_id": {
                                    "type": "string",
                                    "maxLength": 80,
                                    "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed."
                                },
                                "location": {
                                    "type": "string",
                                    "maxLength": 80
                                }
                            }
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: he Hebrew (default), en English, ar Arabic, ru Russian. Untranslated fields may remain Hebrew.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "he",
                                "en",
                                "ar",
                                "ru"
                            ]
                        }
                    }
                ]
            }
        },
        "/wp-json/zairi/v1/agent/offer": {
            "post": {
                "operationId": "offer_bouquet",
                "summary": "הצעת זר מפלוריסט",
                "description": "Use this when the user wants Zairi Flowers to suggest a bouquet for a budget without choosing flowers themselves (\"surprise me\", \"what would you make for 250 shekels\"). Builds an offer from whole packs the way the shop's florist logic does, with a server quote in agorot, availability reasons, why it was chosen, and a handoff_url that opens it on the website. budget is in agorot and covers the flowers and wrapping only, not delivery. Omit seed to get a random offer; the answer includes next_cursor. For another, different option call next_bouquet_offer with that cursor, or pass cursor here. The arrangement is illustrative and stock may still need the shop's confirmation. Does not order, charge or reserve stock.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "language": {
                                            "type": "string",
                                            "enum": [
                                                "he",
                                                "en",
                                                "ar",
                                                "ru"
                                            ],
                                            "description": "Language of the answer, so a card can show its labels in it."
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "budget": {
                                        "type": "integer",
                                        "minimum": 1000,
                                        "maximum": 1000000,
                                        "description": "Budget in agorot (25000 = 250 ILS) for the flowers and wrapping."
                                    },
                                    "seed": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 2147483646
                                    },
                                    "month": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 12,
                                        "description": "Month for the season focus. Defaults to the current month in Israel."
                                    },
                                    "cursor": {
                                        "type": "string",
                                        "maxLength": 800
                                    },
                                    "focus": {
                                        "type": "string",
                                        "enum": [
                                            "season",
                                            "lasting",
                                            "special",
                                            "classic"
                                        ],
                                        "description": "What to favour: season = flowers at their best this month in Israel, lasting = long vase life, special = less common flowers, classic = familiar favourites."
                                    },
                                    "style": {
                                        "type": "string",
                                        "enum": [
                                            "natural",
                                            "round",
                                            "minimal"
                                        ],
                                        "description": "natural (default), round (compact and rounded) or minimal (one kind of bloom)."
                                    },
                                    "wrapping": {
                                        "type": "boolean",
                                        "description": "Include the cheapest wrapping. Default true."
                                    },
                                    "occasion": {
                                        "type": "string",
                                        "maxLength": 80
                                    },
                                    "selection": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                            "date",
                                            "method"
                                        ],
                                        "properties": {
                                            "date": {
                                                "type": "string",
                                                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                            },
                                            "method": {
                                                "type": "string",
                                                "enum": [
                                                    "pickup",
                                                    "delivery"
                                                ]
                                            },
                                            "city": {
                                                "type": "string",
                                                "maxLength": 120
                                            },
                                            "branch_id": {
                                                "type": "string",
                                                "maxLength": 80
                                            },
                                            "window_id": {
                                                "type": "string",
                                                "maxLength": 80,
                                                "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed."
                                            },
                                            "location": {
                                                "type": "string",
                                                "maxLength": 80
                                            }
                                        }
                                    },
                                    "language": {
                                        "type": "string",
                                        "enum": [
                                            "he",
                                            "en",
                                            "ar",
                                            "ru"
                                        ],
                                        "description": "Response language: he Hebrew (default), en English, ar Arabic, ru Russian. Untranslated fields may remain Hebrew."
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/wp-json/zairi/v1/agent/offer/next": {
            "post": {
                "operationId": "next_bouquet_offer",
                "summary": "עוד הצעת זר",
                "description": "Use this after offer_bouquet when the user wants another option (\"show me another one\", \"something different\"). Takes the next_cursor of the previous offer and returns a clearly different offer for the same budget and focus, with its own next_cursor. Returns no_offer when nothing different is left within the budget. Same quote, handoff_url and limits as offer_bouquet. Does not order, charge or reserve stock.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "language": {
                                            "type": "string",
                                            "enum": [
                                                "he",
                                                "en",
                                                "ar",
                                                "ru"
                                            ],
                                            "description": "Language of the answer, so a card can show its labels in it."
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                    "cursor"
                                ],
                                "properties": {
                                    "cursor": {
                                        "type": "string",
                                        "maxLength": 800
                                    },
                                    "selection": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                            "date",
                                            "method"
                                        ],
                                        "properties": {
                                            "date": {
                                                "type": "string",
                                                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                            },
                                            "method": {
                                                "type": "string",
                                                "enum": [
                                                    "pickup",
                                                    "delivery"
                                                ]
                                            },
                                            "city": {
                                                "type": "string",
                                                "maxLength": 120
                                            },
                                            "branch_id": {
                                                "type": "string",
                                                "maxLength": 80
                                            },
                                            "window_id": {
                                                "type": "string",
                                                "maxLength": 80,
                                                "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed."
                                            },
                                            "location": {
                                                "type": "string",
                                                "maxLength": 80
                                            }
                                        }
                                    },
                                    "language": {
                                        "type": "string",
                                        "enum": [
                                            "he",
                                            "en",
                                            "ar",
                                            "ru"
                                        ],
                                        "description": "Response language: he Hebrew (default), en English, ar Arabic, ru Russian. Untranslated fields may remain Hebrew."
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/wp-json/zairi/v1/agent/delivery-options": {
            "post": {
                "operationId": "get_delivery_options",
                "summary": "אפשרויות משלוח ואיסוף",
                "description": "Discover configured cities, pickup branches and actual delivery windows. With method and destination, checks up to 14 days (default 7), bounded to 64 slot checks. Delivery times are dispatch windows. The shop agrees the arrival window before confirmation. No reservation. With no items fees are standard-policy estimates. Run check_availability for the full composition before purchase. A delivery city the shop splits into areas returns status city_ambiguous with city_candidates: ask which one and check again. A city not on the delivery list returns status city_unserved with unserved_city: on a live shop (order_request true) the order still goes through the site and checkout sends it as a request the shop calls back about; pickup at a branch and whatsapp_url are the other ways. listed_fee, when present, is the published delivery tariff in agorot for that town: add it to the product price and state the total. delivery_from is the lowest published tariff before a city is chosen. A null window fee is not a missing price when listed_fee is present.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "string"
                                        },
                                        "scope": {
                                            "type": "string"
                                        },
                                        "cities": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "branches": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "dates": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "product_availability_checked": {
                                            "type": "boolean"
                                        },
                                        "truncated": {
                                            "type": "boolean"
                                        },
                                        "checked_at": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string"
                                        },
                                        "next_action": {
                                            "type": "string"
                                        },
                                        "city_served": {
                                            "type": "boolean"
                                        },
                                        "unserved_city": {
                                            "type": "object"
                                        },
                                        "city_candidates": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "quote_pending": {
                                            "type": "boolean"
                                        },
                                        "city_fee": {
                                            "type": "integer"
                                        },
                                        "listed_fee": {
                                            "type": "integer"
                                        },
                                        "listed_fee_display": {
                                            "type": "string"
                                        },
                                        "delivery_from": {
                                            "type": "integer"
                                        },
                                        "tariffs": {
                                            "type": "array"
                                        },
                                        "delivery_pricing": {
                                            "type": "object"
                                        },
                                        "fixed_price_towns": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "coverage": {
                                            "type": "string"
                                        },
                                        "coverage_note": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "date": {
                                        "type": "string",
                                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                    },
                                    "method": {
                                        "type": "string",
                                        "enum": [
                                            "pickup",
                                            "delivery"
                                        ]
                                    },
                                    "city": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "branch_id": {
                                        "type": "string",
                                        "maxLength": 80
                                    },
                                    "days": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 14
                                    },
                                    "items": {
                                        "type": "array",
                                        "minItems": 1,
                                        "maxItems": 50,
                                        "items": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                                "product_id",
                                                "quantity"
                                            ],
                                            "properties": {
                                                "product_id": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "quantity": {
                                                    "type": "integer",
                                                    "minimum": 1,
                                                    "maximum": 1000
                                                }
                                            }
                                        }
                                    },
                                    "language": {
                                        "type": "string",
                                        "enum": [
                                            "he",
                                            "en",
                                            "ar",
                                            "ru"
                                        ],
                                        "description": "Response language: he Hebrew (default), en English, ar Arabic, ru Russian. Untranslated fields may remain Hebrew."
                                    }
                                },
                                "required": []
                            }
                        }
                    }
                }
            }
        },
        "/wp-json/zairi/v1/agent/facets": {
            "get": {
                "operationId": "get_catalog_facets",
                "summary": "אפשרויות סינון בקטלוג",
                "description": "Returns only filter values present in published non-demo products. Counts describe the catalog, never inventory. Use for colour, occasion, style and family filters without guessing values.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "facets": {
                                            "type": "object"
                                        },
                                        "catalog_truncated": {
                                            "type": "boolean"
                                        },
                                        "scope": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "parameters": [
                    {
                        "name": "family",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "living_plant",
                                "cut_flower",
                                "bouquet",
                                "container",
                                "garden_supply"
                            ]
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: he Hebrew (default), en English, ar Arabic, ru Russian. Untranslated fields may remain Hebrew.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "he",
                                "en",
                                "ar",
                                "ru"
                            ]
                        }
                    }
                ]
            }
        },
        "/wp-json/zairi/v1/agent/shopping-cards": {
            "post": {
                "operationId": "render_shopping_cards",
                "summary": "השוואת מוצרים ובחירה",
                "description": "Render up to six products already found by search_catalog or recommend_products. Pass product IDs only; prices and availability are read afresh from the store. Optional UI, no cart mutation, payment or reservation. Shopping continues on the store website.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "products": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "store_origin": {
                                            "type": "string"
                                        },
                                        "contact_url": {
                                            "type": "string"
                                        },
                                        "selection": {
                                            "type": "object"
                                        },
                                        "notice": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "product_ids": {
                                        "type": "array",
                                        "minItems": 1,
                                        "maxItems": 6,
                                        "uniqueItems": true,
                                        "items": {
                                            "type": "integer",
                                            "minimum": 1
                                        }
                                    },
                                    "selection": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                            "date",
                                            "method"
                                        ],
                                        "properties": {
                                            "date": {
                                                "type": "string",
                                                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                            },
                                            "method": {
                                                "type": "string",
                                                "enum": [
                                                    "pickup",
                                                    "delivery"
                                                ]
                                            },
                                            "city": {
                                                "type": "string",
                                                "maxLength": 120
                                            },
                                            "branch_id": {
                                                "type": "string",
                                                "maxLength": 80
                                            },
                                            "window_id": {
                                                "type": "string",
                                                "maxLength": 80,
                                                "description": "Delivery window id for that date, from get_delivery_options (dates[].windows[].id, e.g. hours-1000-1400). Optional in check_delivery: without it the first open window of the date is checked and the open windows are listed."
                                            },
                                            "location": {
                                                "type": "string",
                                                "maxLength": 80
                                            }
                                        }
                                    },
                                    "language": {
                                        "type": "string",
                                        "enum": [
                                            "he",
                                            "en",
                                            "ar",
                                            "ru"
                                        ],
                                        "description": "Response language: he Hebrew (default), en English, ar Arabic, ru Russian. Untranslated fields may remain Hebrew."
                                    }
                                },
                                "required": [
                                    "product_ids"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/wp-json/zairi/v1/agent/florist-guidance": {
            "get": {
                "operationId": "get_florist_guidance",
                "summary": "ידע פלוריסט על פרח",
                "description": "Use this when the user wants a florist's view of a flower, or wants to know which flowers fit a part of a bouquet or the season: its part in a bouquet (focal, secondary, line, filler, greenery), the months it is at its best in Israel, how many days Zairi Flowers expects it to last in a vase, whether it is a classic or a special choice, which packs of it can be bought now, and which fillers, greens and wrapping sit beside it. Search by q (a flower name, Hebrew or its key), product_id, form or in_season_only. This is the shop's own florist table, not botany: care for a living plant is in search_guides and get_product. vase_days is a working estimate, not a promise. Does not check stock for a date (use check_availability) and orders nothing.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "date": {
                                            "type": "string"
                                        },
                                        "month": {
                                            "type": "integer"
                                        },
                                        "total": {
                                            "type": "integer"
                                        },
                                        "matches": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "scope": {
                                            "type": "string"
                                        },
                                        "care_for_cut": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "complements": {
                                            "type": "object"
                                        },
                                        "next_steps": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "message": {
                                            "type": "string"
                                        },
                                        "missing_values": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "required": false,
                        "description": "Flower name as the shop writes it (Hebrew) or its key, e.g. ורד or rose. Omit to browse by form or season.",
                        "schema": {
                            "type": "string",
                            "maxLength": 60
                        }
                    },
                    {
                        "name": "product_id",
                        "in": "query",
                        "required": false,
                        "description": "Catalog or builder product ID; the answer is about its flower kind.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "form",
                        "in": "query",
                        "required": false,
                        "description": "Part in a bouquet: focal, secondary, line, filler, foliage or wrap.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "focal",
                                "secondary",
                                "line",
                                "filler",
                                "foliage",
                                "wrap"
                            ]
                        }
                    },
                    {
                        "name": "in_season_only",
                        "in": "query",
                        "required": false,
                        "description": "Only flowers at their best in the month of date that can be bought now.",
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "date",
                        "in": "query",
                        "required": false,
                        "description": "Day the answer is about (YYYY-MM-DD, Israel time). Defaults to today.",
                        "schema": {
                            "type": "string",
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "description": "",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 20
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: he Hebrew (default), en English, ar Arabic, ru Russian. Flower names come from the shop and stay Hebrew.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "he",
                                "en",
                                "ar",
                                "ru"
                            ]
                        }
                    }
                ]
            }
        },
        "/wp-json/zairi/v1/agent/season": {
            "get": {
                "operationId": "get_season_context",
                "summary": "עונה וחגים קרובים",
                "description": "Use this when the user asks what is in season, what suits the time of year, or whether a holiday is coming up (\"what flowers are good now\", \"I need flowers before the holiday\"). Returns today's date and season in Israel, the flowers at their best this month and whether Zairi Flowers sells them now, the holidays and occasions coming up with the day to order from, and everyday occasions the shop suggests. Months and holidays come from the shop's own florist table and calendar: an empty list means none is recorded, not that nothing is happening. Does not check delivery slots or stock for a date and orders nothing.",
                "responses": {
                    "200": {
                        "description": "תוצאה",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "date": {
                                            "type": "string"
                                        },
                                        "month": {
                                            "type": "integer"
                                        },
                                        "season": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "at_their_best_now": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "all_year_kinds": {
                                            "type": "integer"
                                        },
                                        "upcoming_occasions": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "everyday_occasions": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "scope": {
                                            "type": "string"
                                        },
                                        "next_steps": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "הכלי סגור כרגע"
                    },
                    "422": {
                        "description": "קלט לא תקין או רכיב לא זמין"
                    },
                    "429": {
                        "description": "יותר מדי בקשות"
                    }
                },
                "parameters": [
                    {
                        "name": "date",
                        "in": "query",
                        "required": false,
                        "description": "Day the answer is about (YYYY-MM-DD, Israel time). Defaults to today.",
                        "schema": {
                            "type": "string",
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                        }
                    },
                    {
                        "name": "days",
                        "in": "query",
                        "required": false,
                        "description": "How far ahead to look for holidays. Default 45.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 90
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "description": "Response language: he Hebrew (default), en English, ar Arabic, ru Russian. Flower names come from the shop and stay Hebrew.",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "he",
                                "en",
                                "ar",
                                "ru"
                            ]
                        }
                    }
                ]
            }
        }
    }
}
