{
  "specVersion": "1.0",
  "entries": [
    {
      "identifier": "urn:air:invito.md:catalog:public-search",
      "displayName": "Invito public product search",
      "type": "application/openapi+json",
      "data": {
        "openapi": "3.1.0",
        "info": {
          "title": "Invito public product search",
          "version": "1.0.0"
        },
        "servers": [
          {
            "url": "https://invito.md"
          }
        ],
        "paths": {
          "/{locale}/katalog/search/": {
            "get": {
              "operationId": "searchInvitoProducts",
              "summary": "Find products in the public Invito catalog",
              "description": "Returns the localized HTML results with links to the current product pages.",
              "parameters": [
                {
                  "name": "locale",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "enum": [
                      "ro",
                      "ru"
                    ]
                  }
                },
                {
                  "name": "q",
                  "in": "query",
                  "required": true,
                  "description": "Product name, brand, model or article number.",
                  "schema": {
                    "type": "string",
                    "minLength": 1
                  },
                  "example": "ATLANTIC"
                }
              ],
              "responses": {
                "200": {
                  "description": "Search result page",
                  "content": {
                    "text/html": {
                      "schema": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": []
      },
      "representativeQueries": [
        "Găsește articole de la ATLANTIC în catalogul Invito.",
        "Какие товары ATLANTIC есть в каталоге Invito?"
      ]
    }
  ]
}
