{
    "openapi": "3.1.0",
    "info": {
        "title": "החייל API",
        "version": "1.0.0",
        "description": "Public, read-only catalog API of the Hachayal store (WooCommerce Store API v1). No authentication and no API keys. Purchases complete on the website checkout by a person. Agent payment protocols (x402, MPP, UCP) are advertised for discovery only and are not active: no wallet or facilitator is configured and no funds can move. Errors: JSON object {code, message, data.status} (schema Error). Rate limits: 120 requests per 60 seconds per client IP on the catalog endpoints, announced with RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and RateLimit-Policy headers; a 429 response carries Retry-After. Versioning: the version is part of the URL path (/wc/store/v1, /hachayal/v1). Breaking changes ship only under a new version path; additive changes (new fields or parameters) can appear in the current version, so ignore unknown fields. Deprecation: before an endpoint documented here is changed incompatibly or removed, it is announced on https://hachayal.com/developers/#versioning and its responses carry Deprecation (RFC 9745) and Sunset (RFC 8594) headers for at least 90 days, unless an upstream WooCommerce security fix requires faster action. No endpoint is deprecated today. Full guide: https://hachayal.com/developers/",
        "contact": {
            "name": "Hachayal developer docs",
            "url": "https://hachayal.com/developers/"
        },
        "x-api-lifecycle": {
            "status": "stable",
            "versioning": "url-path",
            "deprecation-policy": "https://hachayal.com/developers/#versioning",
            "deprecation-headers": [
                "Deprecation",
                "Sunset"
            ],
            "minimum-notice-days": 90
        }
    },
    "servers": [
        {
            "url": "https://hachayal.com"
        }
    ],
    "paths": {
        "/wp-json/wc/store/v1/products": {
            "get": {
                "summary": "List published products",
                "operationId": "listProducts",
                "responses": {
                    "200": {
                        "description": "Array of products.",
                        "headers": {
                            "X-WP-Total": {
                                "$ref": "#/components/headers/X-WP-Total"
                            },
                            "X-WP-TotalPages": {
                                "$ref": "#/components/headers/X-WP-TotalPages"
                            },
                            "Link": {
                                "$ref": "#/components/headers/Link"
                            },
                            "RateLimit-Limit": {
                                "$ref": "#/components/headers/RateLimit-Limit"
                            },
                            "RateLimit-Remaining": {
                                "$ref": "#/components/headers/RateLimit-Remaining"
                            },
                            "RateLimit-Reset": {
                                "$ref": "#/components/headers/RateLimit-Reset"
                            },
                            "RateLimit-Policy": {
                                "$ref": "#/components/headers/RateLimit-Policy"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ProductList"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "429": {
                        "$ref": "#/components/responses/TooManyRequests"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    }
                },
                "description": "Search and filter the public catalog. Page with page and per_page; totals in X-WP-Total and X-WP-TotalPages, next/prev in the Link header. Read-only, no authentication.",
                "tags": [
                    "Catalog"
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/product_page"
                    },
                    {
                        "$ref": "#/components/parameters/product_per_page"
                    },
                    {
                        "$ref": "#/components/parameters/product_offset"
                    },
                    {
                        "$ref": "#/components/parameters/product_search"
                    },
                    {
                        "$ref": "#/components/parameters/product_slug"
                    },
                    {
                        "$ref": "#/components/parameters/product_sku"
                    },
                    {
                        "$ref": "#/components/parameters/product_category"
                    },
                    {
                        "$ref": "#/components/parameters/product_category_operator"
                    },
                    {
                        "$ref": "#/components/parameters/product_brand"
                    },
                    {
                        "$ref": "#/components/parameters/product_tag"
                    },
                    {
                        "$ref": "#/components/parameters/product_featured"
                    },
                    {
                        "$ref": "#/components/parameters/product_on_sale"
                    },
                    {
                        "$ref": "#/components/parameters/product_min_price"
                    },
                    {
                        "$ref": "#/components/parameters/product_max_price"
                    },
                    {
                        "$ref": "#/components/parameters/product_stock_status"
                    },
                    {
                        "$ref": "#/components/parameters/product_type"
                    },
                    {
                        "$ref": "#/components/parameters/product_include"
                    },
                    {
                        "$ref": "#/components/parameters/product_exclude"
                    },
                    {
                        "$ref": "#/components/parameters/product_orderby"
                    },
                    {
                        "$ref": "#/components/parameters/product_order"
                    }
                ]
            }
        },
        "/index.md": {
            "get": {
                "summary": "Site summary as Markdown",
                "operationId": "siteMarkdown",
                "responses": {
                    "200": {
                        "description": "Markdown document.",
                        "content": {
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                },
                "description": "Homepage as Markdown with YAML frontmatter (title, description, canonical, last_updated). Same document as GET / with Accept: text/markdown.",
                "tags": [
                    "Content"
                ]
            }
        },
        "/wp-json/hachayal/v1/x402": {
            "get": {
                "summary": "Demo payable resource (x402/MPP discovery)",
                "operationId": "payableDemo",
                "x-payment-info": {
                    "intent": "charge",
                    "method": "card",
                    "amount": "1.00",
                    "currency": "ILS",
                    "status": "not-configured"
                },
                "responses": {
                    "402": {
                        "description": "Payment Required (discovery only).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaymentRequired"
                                }
                            }
                        }
                    },
                    "429": {
                        "$ref": "#/components/responses/TooManyRequests"
                    }
                },
                "description": "Discovery only. Always answers 402 Payment Required: no wallet or facilitator is configured, so no payment can complete and no funds move.",
                "tags": [
                    "Payments discovery"
                ]
            }
        },
        "/wp-json/wc/store/v1/products/{id}": {
            "get": {
                "operationId": "getProduct",
                "summary": "Get one product by ID",
                "description": "Full product record (prices, stock availability, images, categories, attributes, variations).",
                "tags": [
                    "Catalog"
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/product_id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "The product.",
                        "headers": {
                            "RateLimit-Limit": {
                                "$ref": "#/components/headers/RateLimit-Limit"
                            },
                            "RateLimit-Remaining": {
                                "$ref": "#/components/headers/RateLimit-Remaining"
                            },
                            "RateLimit-Reset": {
                                "$ref": "#/components/headers/RateLimit-Reset"
                            },
                            "RateLimit-Policy": {
                                "$ref": "#/components/headers/RateLimit-Policy"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Product"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/NotFound"
                    },
                    "429": {
                        "$ref": "#/components/responses/TooManyRequests"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    }
                }
            }
        },
        "/wp-json/wc/store/v1/products/categories": {
            "get": {
                "operationId": "listProductCategories",
                "summary": "List product categories",
                "description": "Category tree of the catalog (use parent to walk it). Paginated like listProducts.",
                "tags": [
                    "Catalog"
                ],
                "parameters": [
                    {
                        "$ref": "#/components/parameters/category_page"
                    },
                    {
                        "$ref": "#/components/parameters/category_per_page"
                    },
                    {
                        "$ref": "#/components/parameters/category_search"
                    },
                    {
                        "$ref": "#/components/parameters/category_parent"
                    },
                    {
                        "$ref": "#/components/parameters/category_hide_empty"
                    },
                    {
                        "$ref": "#/components/parameters/category_orderby"
                    },
                    {
                        "$ref": "#/components/parameters/category_order"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of categories.",
                        "headers": {
                            "X-WP-Total": {
                                "$ref": "#/components/headers/X-WP-Total"
                            },
                            "X-WP-TotalPages": {
                                "$ref": "#/components/headers/X-WP-TotalPages"
                            },
                            "Link": {
                                "$ref": "#/components/headers/Link"
                            },
                            "RateLimit-Limit": {
                                "$ref": "#/components/headers/RateLimit-Limit"
                            },
                            "RateLimit-Remaining": {
                                "$ref": "#/components/headers/RateLimit-Remaining"
                            },
                            "RateLimit-Reset": {
                                "$ref": "#/components/headers/RateLimit-Reset"
                            },
                            "RateLimit-Policy": {
                                "$ref": "#/components/headers/RateLimit-Policy"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ProductCategoryList"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/BadRequest"
                    },
                    "429": {
                        "$ref": "#/components/responses/TooManyRequests"
                    },
                    "500": {
                        "$ref": "#/components/responses/ServerError"
                    }
                }
            }
        }
    },
    "x-payment-info": {
        "protocols": [
            "x402",
            "mpp",
            "ucp"
        ],
        "active": false,
        "note": "No wallet/facilitator configured; no funds can move."
    },
    "externalDocs": {
        "description": "Developer documentation: endpoints, pagination, errors, rate limits, versioning and deprecation policy.",
        "url": "https://hachayal.com/developers/"
    },
    "tags": [
        {
            "name": "Catalog",
            "description": "Products and categories (WooCommerce Store API v1, read-only)."
        },
        {
            "name": "Content",
            "description": "Agent-readable site content."
        },
        {
            "name": "Payments discovery",
            "description": "Discovery-only payment metadata; no payment can complete."
        }
    ],
    "components": {
        "schemas": {
            "Error": {
                "type": "object",
                "description": "WordPress REST error object, used by every 4xx/5xx JSON response.",
                "required": [
                    "code",
                    "message",
                    "data"
                ],
                "properties": {
                    "code": {
                        "type": "string",
                        "description": "Machine-readable error code, e.g. rest_invalid_param, rest_no_route, woocommerce_rest_product_invalid_id, hachayal_rate_limited."
                    },
                    "message": {
                        "type": "string",
                        "description": "Human-readable message (site locale, Hebrew)."
                    },
                    "data": {
                        "type": "object",
                        "required": [
                            "status"
                        ],
                        "properties": {
                            "status": {
                                "type": "integer",
                                "description": "HTTP status code."
                            },
                            "params": {
                                "type": "object",
                                "additionalProperties": {
                                    "type": "string"
                                },
                                "description": "Per-parameter validation messages (400 only)."
                            },
                            "details": {
                                "type": "object",
                                "description": "Per-parameter error objects with code and message (400 only)."
                            },
                            "retry_after": {
                                "type": "integer",
                                "description": "Seconds until the rate-limit window resets (429 only)."
                            }
                        }
                    }
                }
            },
            "Product": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer",
                        "description": "מזהה ייחודי של המשאב."
                    },
                    "name": {
                        "type": "string",
                        "description": "שם המוצר."
                    },
                    "slug": {
                        "type": "string",
                        "description": "מזהה כתובת של מוצר."
                    },
                    "parent": {
                        "type": "integer",
                        "description": "מזהה של המוצר ההורה, אם רלוונטי."
                    },
                    "type": {
                        "type": "string",
                        "description": "סוג המוצר."
                    },
                    "variation": {
                        "type": "string",
                        "description": "המאפיינים של סוג המוצר, אם רלוונטי."
                    },
                    "permalink": {
                        "type": "string",
                        "description": "כתובת מוצר."
                    },
                    "short_description": {
                        "type": "string",
                        "description": "תיאור קצר של המוצר בפורמט של HTML."
                    },
                    "description": {
                        "type": "string",
                        "description": "התיאור המלא של המוצר בפורמט של HTML."
                    },
                    "on_sale": {
                        "type": "boolean",
                        "description": "האם יש מבצע על המוצר?"
                    },
                    "sku": {
                        "type": "string",
                        "description": "מזהה ייחודי."
                    },
                    "prices": {
                        "type": "object",
                        "description": "נתוני המחיר מחושבים לפי יחידת המטבע הנמוכה ביותר.",
                        "properties": {
                            "currency_code": {
                                "type": "string",
                                "description": "קוד מטבע (בפורמט ISO) למחירים שמחוזרים."
                            },
                            "currency_symbol": {
                                "type": "string",
                                "description": "סמל המטבע שבו ניתן להשתמש בעיצוב של המחירים שמוחזרים."
                            },
                            "currency_minor_unit": {
                                "type": "integer",
                                "description": "יחידת המטבע הנמוכה (מספר הספרות אחרי הנקודה העשרונית) למחירים שמוחזרים."
                            },
                            "currency_decimal_separator": {
                                "type": "string",
                                "description": "מפריד הספרות העשרוניות למטבע שבו ניתן להשתמש בעיצוב של המחירים שמוחזרים."
                            },
                            "currency_thousand_separator": {
                                "type": "string",
                                "description": "מפריד האלפים למטבע שבו ניתן להשתמש בעיצוב של המחירים שמוחזרים."
                            },
                            "currency_prefix": {
                                "type": "string",
                                "description": "הסמל המקדים למחיר שבו ניתן להשתמש בעיצוב של המחירים שמוחזרים."
                            },
                            "currency_suffix": {
                                "type": "string",
                                "description": "הסמל המקדים למחיר שבו ניתן להשתמש בעיצוב של המחירים שמוחזרים."
                            },
                            "price": {
                                "type": "string",
                                "description": "מחיר מוצר נוכחי."
                            },
                            "regular_price": {
                                "type": "string",
                                "description": "מחיר המוצר הרגיל."
                            },
                            "sale_price": {
                                "type": "string",
                                "description": "מחיר מבצע למוצר, אם רלוונטי."
                            },
                            "price_range": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "description": "טווח המחירים, אם רלוונטי.",
                                "properties": {
                                    "min_amount": {
                                        "type": "string",
                                        "description": "סכום המחיר."
                                    },
                                    "max_amount": {
                                        "type": "string",
                                        "description": "סכום המחיר."
                                    }
                                }
                            }
                        }
                    },
                    "price_html": {
                        "type": "string",
                        "description": "המחרוזת של המחיר בפורמט של HTML."
                    },
                    "average_rating": {
                        "type": "string",
                        "description": "דירוג ביקורות ממוצע."
                    },
                    "review_count": {
                        "type": "integer",
                        "description": "מספר הביקורות שיש למוצר."
                    },
                    "images": {
                        "type": "array",
                        "description": "רשימה של תמונות.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "integer",
                                    "description": "מזהה תמונה."
                                },
                                "src": {
                                    "type": "string",
                                    "description": "כתובת URL של התמונה בגודלה המלא."
                                },
                                "thumbnail": {
                                    "type": "string",
                                    "description": "כתובת URL של התמונה הממוזערת."
                                },
                                "srcset": {
                                    "type": "string",
                                    "description": "קובץ srcset של תמונה בגודל מלא עבור תמונות רספונסיביות."
                                },
                                "sizes": {
                                    "type": "string",
                                    "description": "גדלים של תמונות בגודל מלא לתמונות ריספונסיביות."
                                },
                                "thumbnail_srcset": {
                                    "type": "string",
                                    "description": "רכיבי srcset לתמונות ממוזערות עבור תמונות ריספונסיביות."
                                },
                                "thumbnail_sizes": {
                                    "type": "string",
                                    "description": "גדלים לתמונות ממוזערות עבור תמונות ריספונסיביות."
                                },
                                "name": {
                                    "type": "string",
                                    "description": "שם תמונה."
                                },
                                "alt": {
                                    "type": "string",
                                    "description": "טקסט חלופי לתמונה."
                                }
                            }
                        }
                    },
                    "categories": {
                        "type": "array",
                        "description": "רשימה של קטגוריות, אם רלוונטי.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "number",
                                    "description": "מזהה הקטגוריה"
                                },
                                "name": {
                                    "type": "string",
                                    "description": "שם קטגוריה"
                                },
                                "slug": {
                                    "type": "string",
                                    "description": "מזהה הכתובת של הקטגוריה"
                                },
                                "link": {
                                    "type": "string",
                                    "description": "קישור לקטגוריה"
                                }
                            }
                        }
                    },
                    "tags": {
                        "type": "array",
                        "description": "רשימה של תגיות, אם רלוונטי.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "number",
                                    "description": "המזהה של התגית"
                                },
                                "name": {
                                    "type": "string",
                                    "description": "שם התגית"
                                },
                                "slug": {
                                    "type": "string",
                                    "description": "מזהה הכתובת של התגית"
                                },
                                "link": {
                                    "type": "string",
                                    "description": "קישור לתגית."
                                }
                            }
                        }
                    },
                    "brands": {
                        "type": "array",
                        "description": "רשימת מותגים, אם רלוונטי.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "number",
                                    "description": "מזהה מותג"
                                },
                                "name": {
                                    "type": "string",
                                    "description": "שם מותג"
                                },
                                "slug": {
                                    "type": "string",
                                    "description": "מזהה כתובת של מותג"
                                },
                                "link": {
                                    "type": "string",
                                    "description": "קישור למותג"
                                }
                            }
                        }
                    },
                    "attributes": {
                        "type": "array",
                        "description": "רשימת תכונות (מונחי טקסונומיה) שמוקצות למוצר. עבור מוצרים משתנים, אלו ממופים לסוגים (ניתן לראות את השדה 'סוגים').",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "integer",
                                    "description": "מזהה התכונה או 0 אם התכונה לא מבוססת על טקסונומיה."
                                },
                                "name": {
                                    "type": "string",
                                    "description": "שם התכונה."
                                },
                                "taxonomy": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "description": "הטקסונומיה של התכונה או 'null' אם התכונה לא מבוססת על טקסונומיה."
                                },
                                "has_variations": {
                                    "type": "boolean",
                                    "description": "'אמת' אם התכונה נמצאת בשימוש של סוגי מוצרים."
                                },
                                "terms": {
                                    "type": "array",
                                    "description": "רשימה של מונחי התכונות שהוקצו.",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "id": {
                                                "type": "integer",
                                                "description": "מזהה המונח או 0 אם התכונה אינה תכונה גלובלית."
                                            },
                                            "name": {
                                                "type": "string",
                                                "description": "שם המונח."
                                            },
                                            "slug": {
                                                "type": "string",
                                                "description": "מזהה הכתובת של המונח."
                                            },
                                            "default": {
                                                "type": "boolean",
                                                "description": "אם זוהי תכונת ברירת מחדל"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "variations": {
                        "type": "array",
                        "description": "רשימה של מזהי סוגים, אם רלוונטי.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": "integer",
                                    "description": "מזהה התכונה או 0 אם התכונה לא מבוססת על טקסונומיה."
                                },
                                "attributes": {
                                    "type": "array",
                                    "description": "רשימה של תכונות הסוג.",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "name": {
                                                "type": "string",
                                                "description": "שם התכונה."
                                            },
                                            "value": {
                                                "type": "string",
                                                "description": "התכונה שנרשמה."
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "grouped_products": {
                        "type": "array",
                        "description": "רשימה של מזהי מוצרים מקובצים, אם רלוונטי.",
                        "items": {
                            "type": "integer",
                            "description": "רשימה של מזהי מוצרים מקובצים."
                        }
                    },
                    "has_options": {
                        "type": "boolean",
                        "description": "האם למוצר יש אפשרויות נוספות לפני שאפשר להוסיף אותו לעגלת הקניות?"
                    },
                    "is_purchasable": {
                        "type": "boolean",
                        "description": "האם ניתן לרכוש את המוצר הזה?"
                    },
                    "is_in_stock": {
                        "type": "boolean",
                        "description": "האם המוצר הזה במלאי?"
                    },
                    "is_on_backorder": {
                        "type": "boolean",
                        "description": "האם המוצר הוזמן מראש מהמלאי? האפשרות תחזיר 'שקר' אם ההודעות של ההזמנה מראש לא מופעלות."
                    },
                    "stock_availability": {
                        "type": "object",
                        "description": "מידע לגבי הזמינות של המלאי.",
                        "properties": {
                            "text": {
                                "type": "string",
                                "description": "טקסט הזמינות של המלאי."
                            },
                            "class": {
                                "type": "string",
                                "description": "סיווג הזמינות של המלאי."
                            }
                        }
                    },
                    "low_stock_remaining": {
                        "type": [
                            "number",
                            "null"
                        ],
                        "description": "הכמות שנותרה במלאי אם המלאי נמוך או להשאיר את השדה ריק אם לא רלוונטי."
                    },
                    "sold_individually": {
                        "type": "boolean",
                        "description": "אם 'אמת', ניתן להוסיף רק פריט אחד מהמוצר לרכישה בהזמנה מסוימת."
                    },
                    "weight": {
                        "type": "string",
                        "description": "משקל המוצר (lbs)."
                    },
                    "dimensions": {
                        "type": "object",
                        "description": "מימדי המוצר.",
                        "properties": {
                            "length": {
                                "type": "string",
                                "description": "אורך מוצר (in)."
                            },
                            "width": {
                                "type": "string",
                                "description": "רוחב המוצר (in)."
                            },
                            "height": {
                                "type": "string",
                                "description": "גובה המוצר (in)."
                            }
                        }
                    },
                    "formatted_weight": {
                        "type": "string",
                        "description": "משקל המוצר בתבנית המותאמת לתצוגה (לדוגמה, \"2.5 ק\"ג\")."
                    },
                    "formatted_dimensions": {
                        "type": "string",
                        "description": "ממדי המוצר בתבנית המותאמת לתצוגה (לדוגמה, \"10 × 5 × ס\"מ\")."
                    },
                    "add_to_cart": {
                        "type": "object",
                        "description": "להוסיף למאפיינים של הכפתור בסל הקניות.",
                        "properties": {
                            "text": {
                                "type": "string",
                                "description": "טקסט כפתור."
                            },
                            "description": {
                                "type": "string",
                                "description": "תיאור כפתור."
                            },
                            "url": {
                                "type": "string",
                                "description": "להוסיף כתובת URL של עגלת הקניות."
                            },
                            "minimum": {
                                "type": "number",
                                "description": "הכמות המינימלית שניתן להוסיף לעגלת הקניות."
                            },
                            "maximum": {
                                "type": "number",
                                "description": "הכמות המקסימלית שניתן להוסיף לעגלת הקניות."
                            },
                            "multiple_of": {
                                "type": "number",
                                "description": "הסכום שכמויות גדלות לפיו. הכמות חייבת להיות כפולה של ערך זה.",
                                "default": 1
                            },
                            "single_text": {
                                "type": "string",
                                "description": "הטקסט של הכפתור בעמוד של מוצר יחיד."
                            }
                        }
                    },
                    "is_password_protected": {
                        "type": "boolean",
                        "description": "האם המוצר או פריט האב שלו דורשים סיסמה לצורך גישה לתוכן שלו."
                    },
                    "extensions": {
                        "type": "object"
                    },
                    "_links": {
                        "type": "object",
                        "description": "HAL links (self, collection)."
                    }
                },
                "description": "A catalog product as returned by the WooCommerce Store API v1. Prices are strings in the currency's minor unit (prices.currency_minor_unit = 2, so \"23900\" = 239.00 ILS)."
            },
            "ProductList": {
                "type": "array",
                "items": {
                    "$ref": "#/components/schemas/Product"
                }
            },
            "ProductCategory": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer",
                        "description": "מזהה ייחודי של המשאב."
                    },
                    "name": {
                        "type": "string",
                        "description": "שם המונח."
                    },
                    "slug": {
                        "type": "string",
                        "description": "מזהה מבוסס-מחרוזת של המונח."
                    },
                    "description": {
                        "type": "string",
                        "description": "תיאור מונח."
                    },
                    "parent": {
                        "type": "integer",
                        "description": "מזהה מונח הורה, אם רלוונטי."
                    },
                    "count": {
                        "type": "integer",
                        "description": "מספר האובייקטים (פוסטים מכל סוג) שמוקצים למונח זה."
                    },
                    "image": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "description": "תמונת קטגוריה.",
                        "properties": {
                            "id": {
                                "type": "integer",
                                "description": "מזהה תמונה."
                            },
                            "src": {
                                "type": "string",
                                "description": "כתובת URL של התמונה בגודלה המלא."
                            },
                            "thumbnail": {
                                "type": "string",
                                "description": "כתובת URL של התמונה הממוזערת."
                            },
                            "srcset": {
                                "type": "string",
                                "description": "קובץ srcset של תמונה בגודל מלא עבור תמונות רספונסיביות."
                            },
                            "sizes": {
                                "type": "string",
                                "description": "גדלים של תמונות בגודל מלא לתמונות ריספונסיביות."
                            },
                            "thumbnail_srcset": {
                                "type": "string",
                                "description": "רכיבי srcset לתמונות ממוזערות עבור תמונות ריספונסיביות."
                            },
                            "thumbnail_sizes": {
                                "type": "string",
                                "description": "גדלים לתמונות ממוזערות עבור תמונות ריספונסיביות."
                            },
                            "name": {
                                "type": "string",
                                "description": "שם תמונה."
                            },
                            "alt": {
                                "type": "string",
                                "description": "טקסט חלופי לתמונה."
                            }
                        }
                    },
                    "review_count": {
                        "type": "integer",
                        "description": "מספר הביקורות למוצרים בקטגוריה הזאת."
                    },
                    "permalink": {
                        "type": "string",
                        "description": "כתובת URL לקטגוריה."
                    },
                    "_links": {
                        "type": "object",
                        "description": "HAL links (self, collection)."
                    }
                },
                "description": "A product category as returned by the WooCommerce Store API v1."
            },
            "ProductCategoryList": {
                "type": "array",
                "items": {
                    "$ref": "#/components/schemas/ProductCategory"
                }
            },
            "PaymentRequired": {
                "type": "object",
                "description": "x402 discovery response. Payments are not configured: network, payTo and asset are empty and no payment can complete.",
                "required": [
                    "x402Version",
                    "error",
                    "accepts"
                ],
                "properties": {
                    "x402Version": {
                        "type": "integer"
                    },
                    "error": {
                        "type": "string",
                        "enum": [
                            "payment_required"
                        ]
                    },
                    "accepts": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "scheme": {
                                    "type": "string"
                                },
                                "network": {
                                    "type": "string"
                                },
                                "maxAmountRequired": {
                                    "type": "string"
                                },
                                "resource": {
                                    "type": "string"
                                },
                                "description": {
                                    "type": "string"
                                },
                                "mimeType": {
                                    "type": "string"
                                },
                                "payTo": {
                                    "type": "string"
                                },
                                "asset": {
                                    "type": "string"
                                },
                                "extra": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "string"
                                        },
                                        "note": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "headers": {
            "RateLimit-Limit": {
                "description": "Requests allowed per window for this client.",
                "schema": {
                    "type": "integer",
                    "example": 120
                }
            },
            "RateLimit-Remaining": {
                "description": "Requests left in the current window.",
                "schema": {
                    "type": "integer"
                }
            },
            "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                    "type": "integer"
                }
            },
            "RateLimit-Policy": {
                "description": "Quota policy: 120 requests per 60-second window (draft-ietf-httpapi-ratelimit-headers).",
                "schema": {
                    "type": "string",
                    "example": "120;w=60"
                }
            },
            "Retry-After": {
                "description": "Seconds to wait before retrying (429 only).",
                "schema": {
                    "type": "integer"
                }
            },
            "X-WP-Total": {
                "description": "Total number of items matching the query.",
                "schema": {
                    "type": "integer"
                }
            },
            "X-WP-TotalPages": {
                "description": "Total number of pages for the given per_page.",
                "schema": {
                    "type": "integer"
                }
            },
            "Link": {
                "description": "RFC 8288 pagination links with rel=\"prev\" and rel=\"next\" when they exist.",
                "schema": {
                    "type": "string"
                }
            }
        },
        "responses": {
            "BadRequest": {
                "description": "Invalid parameter (code rest_invalid_param).",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "NotFound": {
                "description": "Unknown route or resource (code rest_no_route or woocommerce_rest_product_invalid_id).",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "TooManyRequests": {
                "description": "Rate limit exceeded (code hachayal_rate_limited). Wait Retry-After seconds.",
                "headers": {
                    "RateLimit-Limit": {
                        "$ref": "#/components/headers/RateLimit-Limit"
                    },
                    "RateLimit-Remaining": {
                        "$ref": "#/components/headers/RateLimit-Remaining"
                    },
                    "RateLimit-Reset": {
                        "$ref": "#/components/headers/RateLimit-Reset"
                    },
                    "RateLimit-Policy": {
                        "$ref": "#/components/headers/RateLimit-Policy"
                    },
                    "Retry-After": {
                        "$ref": "#/components/headers/Retry-After"
                    }
                },
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "ServerError": {
                "description": "Unexpected server error.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            }
        },
        "parameters": {
            "product_page": {
                "name": "page",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "integer",
                    "default": 1,
                    "minimum": 1
                },
                "description": "Page of results (1-based). Total pages are returned in the X-WP-TotalPages header."
            },
            "product_per_page": {
                "name": "per_page",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "integer",
                    "default": 10,
                    "minimum": 1,
                    "maximum": 100
                },
                "description": "Items per page, 1 to 100 (default 10)."
            },
            "product_offset": {
                "name": "offset",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "integer"
                },
                "description": "יש להסיט את קבוצת התוצאות במספר פריטים ספציפי."
            },
            "product_search": {
                "name": "search",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string"
                },
                "description": "הגבלת תוצאות לאלו שמתאימים למחרוזת."
            },
            "product_slug": {
                "name": "slug",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string"
                },
                "description": "יש להגביל את קבוצת התוצאות למוצרים עם מזהים ספציפיים לכתובת. שימוש בפסיקים כמפרידים."
            },
            "product_sku": {
                "name": "sku",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string"
                },
                "description": "יש להגביל את קבוצת התוצאות למוצרים עם מזהה מק״ט ספציפי. שימוש בפסיקים כמפרידים."
            },
            "product_category": {
                "name": "category",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string"
                },
                "description": "Category ID or slug; several values comma-separated."
            },
            "product_category_operator": {
                "name": "category_operator",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string",
                    "enum": [
                        "in",
                        "not_in",
                        "and"
                    ],
                    "default": "in"
                },
                "description": "המפעיל ישווה את מונחי הקטגוריה של המוצר."
            },
            "product_brand": {
                "name": "brand",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string"
                },
                "description": "יש להגביל את התוצאות למוצרים שהוקצה להם סט של מזהי מותג או מזהי כתובת, כשהפריטים מופרדים בפסיקים."
            },
            "product_tag": {
                "name": "tag",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string"
                },
                "description": "יש להגביל את התוצאות למוצרים שהוקצה להם סט של מזהי תגית או מזהי כתובת, כשהפריטים מופרדים בפסיקים."
            },
            "product_featured": {
                "name": "featured",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "boolean"
                },
                "description": "יש להגביל את קבוצת התוצאות למוצרים המוצעים."
            },
            "product_on_sale": {
                "name": "on_sale",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "boolean"
                },
                "description": "יש להגביל את קבוצת התוצאות למוצרים במכירה."
            },
            "product_min_price": {
                "name": "min_price",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string"
                },
                "description": "Minimum price in the currency minor unit (agorot), e.g. 10000 = 100.00 ILS."
            },
            "product_max_price": {
                "name": "max_price",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string"
                },
                "description": "Maximum price in the currency minor unit (agorot), e.g. 50000 = 500.00 ILS."
            },
            "product_stock_status": {
                "name": "stock_status",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "instock",
                            "outofstock",
                            "onbackorder"
                        ]
                    }
                },
                "description": "יש להגביל את קבוצת התוצאות למוצרים עם מצב מלאי ספציפי.",
                "style": "form",
                "explode": false
            },
            "product_type": {
                "name": "type",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string",
                    "enum": [
                        "simple",
                        "grouped",
                        "external",
                        "variable",
                        "variation"
                    ]
                },
                "description": "הגבל את התוצאות למוצרים מסוג מסויים."
            },
            "product_include": {
                "name": "include",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "description": "הגבלת תוצאות למספר ID מסויימים.",
                "style": "form",
                "explode": false
            },
            "product_exclude": {
                "name": "exclude",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "description": "ודא תוצאת סט כולל מזהים ספציפיים.",
                "style": "form",
                "explode": false
            },
            "product_orderby": {
                "name": "orderby",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string",
                    "enum": [
                        "date",
                        "modified",
                        "id",
                        "include",
                        "title",
                        "slug",
                        "price",
                        "popularity",
                        "rating",
                        "menu_order",
                        "comment_count"
                    ],
                    "default": "date"
                },
                "description": "מיון אוסף על ידי תכונת האובייקט."
            },
            "product_order": {
                "name": "order",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string",
                    "enum": [
                        "asc",
                        "desc"
                    ],
                    "default": "desc"
                },
                "description": "סדר מיון תכונות עולה או יורד."
            },
            "category_page": {
                "name": "page",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "integer",
                    "default": 1,
                    "minimum": 1
                },
                "description": "עמוד נוכחי של הקולקציה."
            },
            "category_per_page": {
                "name": "per_page",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "integer",
                    "minimum": 0
                },
                "description": "מספר הפריטים המרבי שיוחזר בערכת התוצאות. ברירת המחדל המוגדרת היא ללא מגבלה אם השדה נותר ריק."
            },
            "category_search": {
                "name": "search",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string"
                },
                "description": "הגבלת תוצאות לאלו שמתאימים למחרוזת."
            },
            "category_parent": {
                "name": "parent",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "integer"
                },
                "description": "הגבלת תוצאות למונחים עם אב מסוים (טקסונומיות הירארכיות בלבד)."
            },
            "category_hide_empty": {
                "name": "hide_empty",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "boolean",
                    "default": true
                },
                "description": "אם 'אמת', מונחים ריקים לא יוחזרו."
            },
            "category_orderby": {
                "name": "orderby",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string",
                    "enum": [
                        "name",
                        "slug",
                        "count"
                    ],
                    "default": "name"
                },
                "description": "למיין לפי הגדרת המונח."
            },
            "category_order": {
                "name": "order",
                "in": "query",
                "required": false,
                "schema": {
                    "type": "string",
                    "enum": [
                        "asc",
                        "desc"
                    ],
                    "default": "asc"
                },
                "description": "למיין לפי סדר עולה או יורד."
            },
            "product_id": {
                "name": "id",
                "in": "path",
                "required": true,
                "description": "Product ID.",
                "schema": {
                    "type": "integer",
                    "minimum": 1
                }
            }
        }
    }
}