{ "$defs": { "client_origin": { "oneOf": [ { "const": "shopr_website" }, { "const": "shopr_mobile_web" }, { "const": "shopr_iphone" }, { "const": "shopr_ipad" }, { "const": "shopr_android" } ], "type": "string" }, "clickout": { "properties": { "productId": { "type": "string" }, "seller": { "type": "string" }, "sellerProductId": { "type": "string" }, "price": { "type": "number" }, "deepUrl": { "type": "string" }, "lowestPrice": { "type": "number" }, "highestPrice": { "type": "number" }, "offerCount": { "type": "integer" }, "offerPosition": { "type": "integer" }, "categoryId": { "type": "string" }, "tracking": { "$ref": "#/$defs/tracking" }, "creationTime": { "type": "string" } }, "required": [ "productId", "seller", "sellerProductId", "price", "deepUrl", "lowestPrice", "highestPrice", "offerCount", "offerPosition", "categoryId", "tracking", "creationTime" ], "type": "object" }, "error_code": { "properties": { "code": { "type": "string" }, "localized_string_code": { "type": "string" } }, "required": [ "code", "localized_string_code" ], "type": "object" }, "error_response": { "properties": { "message": { "type": "string" }, "error_codes": { "items": { "$ref": "#/$defs/error_code" }, "type": "array" }, "fingerprint": { "type": "string" } }, "required": [ "error_codes" ], "type": "object" }, "status": { "properties": { "response": { "type": "string" } }, "required": [ "response" ], "type": "object" }, "tracking": { "properties": { "ipAddress": { "type": "string" }, "origin": { "$ref": "#/$defs/client_origin" }, "userAgent": { "type": "string" }, "referrer": { "type": "string" } }, "required": [ "ipAddress", "origin" ], "type": "object" } }, "additionalProperties": true, "properties": { "authenticated": { "const": true, "type": "boolean" }, "body": { "properties": { "productId": { "type": "string" }, "seller": { "type": "string" }, "sellerProductId": { "type": "string" }, "price": { "type": "number" }, "deepUrl": { "type": "string" }, "lowestPrice": { "type": "number" }, "highestPrice": { "type": "number" }, "offerCount": { "type": "integer" }, "offerPosition": { "type": "integer" }, "categoryId": { "type": "string" }, "tracking": { "$ref": "#/$defs/tracking" }, "creationTime": { "type": "string" } }, "required": [ "productId", "seller", "sellerProductId", "price", "deepUrl", "lowestPrice", "highestPrice", "offerCount", "offerPosition", "categoryId", "tracking", "creationTime" ], "type": "object" }, "rawBody": { "type": "object" }, "headers": { "type": "object" }, "method": { "const": "POST", "type": "string" }, "parameterizedUrl": { "const": "/:fingerprint/clickouts", "type": "string" }, "path": { "type": "string" }, "query": { "type": "object" }, "url": { "type": "string" } }, "required": [ "body", "rawBody", "query", "path", "url", "method" ], "type": "object" }