Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions example/response.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"totalResults": 1337,
"requestId": "9cd42225-90d0-4858-bcb6-b05f33d8ec5e",
"searchConcept": "Seeds",
"currencySymbol": "€",
"landingpage": {
"name": "New arrivals",
"url": "https://example.org/new_stuff.html"
Expand All @@ -36,6 +37,7 @@
{
"id": "123ab",
"url": "https://example.org/product.html",
"imageUrl": "https://example.org/product.png",
"name": "Blubbergurken Seeds",
"highlightedName": "<span class=\"flEmphasis\">Blubbergurken</span> Seeds",
"price": 13.37,
Expand Down Expand Up @@ -71,6 +73,7 @@
"selectMode": "single",
"values": [
{
"displayName": "Spring",
"value": "Gardening_Spring",
"weight": 1.2,
"frequency": 13
Expand Down
14 changes: 12 additions & 2 deletions resources/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
"image": {
"type": "string",
"description": "In case of an image-filter, this attribute contains a filter-URL "
},
"displayName": {
"type": "string",
"description": "Name of a category without the full path. This is the rightmost part of the path."
}
},
"additionalProperties": false
Expand Down Expand Up @@ -272,6 +276,10 @@
"minLength": 0,
"description": "The query that was actually used to serve the results. Relevant for variants like Smart Did-You-Mean that may override the user query."
},
"currencySymbol": {
"type": "string",
"description": "The shop currency symbol"
},
"totalResults": {
"description": "The total number of matches, going beyond pagination limits.",
"type": "integer",
Expand Down Expand Up @@ -336,7 +344,8 @@
"searchConcept",
"requestId",
"effectiveQuery",
"totalResults"
"totalResults",
"currencySymbol"
]
},
"variant": {
Expand Down Expand Up @@ -477,7 +486,8 @@
"properties",
"productPlacement",
"pushRules",
"attributes"
"attributes",
"imageUrl"
]
}
},
Expand Down