diff --git a/example/response.json b/example/response.json index 811b43d..443c203 100644 --- a/example/response.json +++ b/example/response.json @@ -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" @@ -36,6 +37,7 @@ { "id": "123ab", "url": "https://example.org/product.html", + "imageUrl": "https://example.org/product.png", "name": "Blubbergurken Seeds", "highlightedName": "Blubbergurken Seeds", "price": 13.37, @@ -71,6 +73,7 @@ "selectMode": "single", "values": [ { + "displayName": "Spring", "value": "Gardening_Spring", "weight": 1.2, "frequency": 13 diff --git a/resources/schema.json b/resources/schema.json index 4d45b78..a101b84 100644 --- a/resources/schema.json +++ b/resources/schema.json @@ -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 @@ -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", @@ -336,7 +344,8 @@ "searchConcept", "requestId", "effectiveQuery", - "totalResults" + "totalResults", + "currencySymbol" ] }, "variant": { @@ -477,7 +486,8 @@ "properties", "productPlacement", "pushRules", - "attributes" + "attributes", + "imageUrl" ] } },