{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/BrowserInfo", "title": "BrowserInfo", "properties": { "acceptHeader": { "description": "The accept header value of the shopper's browser.", "type": "string" }, "colorDepth": { "x-addedInVersion": "40", "description": "The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth.", "format": "int32", "type": "integer" }, "javaEnabled": { "x-addedInVersion": "40", "description": "Boolean value indicating if the shopper's browser is able to execute Java.", "type": "boolean" }, "javaScriptEnabled": { "x-addedInVersion": "40", "default": true, "description": "Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present.", "type": "boolean" }, "language": { "x-addedInVersion": "40", "description": "The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47).", "type": "string" }, "screenHeight": { "x-addedInVersion": "40", "description": "The total height of the shopper's device screen in pixels.", "format": "int32", "type": "integer" }, "screenWidth": { "x-addedInVersion": "40", "description": "The total width of the shopper's device screen in pixels.", "format": "int32", "type": "integer" }, "timeZoneOffset": { "x-addedInVersion": "40", "description": "Time difference between UTC time and the shopper's browser local time, in minutes.", "format": "int32", "type": "integer" }, "userAgent": { "description": "The user agent value of the shopper's browser.", "type": "string" } }, "required": [ "userAgent", "acceptHeader", "javaEnabled", "colorDepth", "screenHeight", "screenWidth", "timeZoneOffset", "language" ], "type": "object" }