{
    "additionalProperties": false,
    "description": "Schema for an Olark offline message event",
    "properties": {
        "groups": {
            "items": {
                "additionalProperties": false,
                "properties": {
                    "id": {
                        "maxLength": 128,
                        "type": "string"
                    },
                    "kind": {
                        "maxLength": 64,
                        "type": "string"
                    },
                    "name": {
                        "maxLength": 128,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "type": "array"
        },
        "id": {
            "maxLength": 64,
            "type": "string"
        },
        "items": {
            "items": {
                "additionalProperties": false,
                "properties": {
                    "body": {
                        "maxLength": 64,
                        "type": "string"
                    },
                    "kind": {
                        "maxLength": 64,
                        "type": "string"
                    },
                    "timestamp": {
                        "_format": "date-time",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "type": "array"
        },
        "kind": {
            "maxLength": 64,
            "type": "string"
        },
        "visitor": {
            "additionalProperties": true,
            "properties": {
                "browser": {
                    "maxLength": 128,
                    "type": "string"
                },
                "city": {
                    "maxLength": 128,
                    "type": "string"
                },
                "country": {
                    "maxLength": 128,
                    "type": "string"
                },
                "countryCode": {
                    "maxLength": 8,
                    "type": "string"
                },
                "emailAddress": {
                    "_format": "email",
                    "maxLength": 512,
                    "type": "string"
                },
                "fullName": {
                    "maxLength": 256,
                    "type": "string"
                },
                "id": {
                    "maxLength": 64,
                    "type": "string"
                },
                "ip": {
                    "_format": "ipv4",
                    "type": "string"
                },
                "kind": {
                    "maxLength": 64,
                    "type": "string"
                },
                "operatingSystem": {
                    "maxLength": 128,
                    "type": "string"
                },
                "organization": {
                    "maxLength": 128,
                    "type": "string"
                },
                "phoneNumber": {
                    "maxLength": 64,
                    "type": "string"
                },
                "region": {
                    "maxLength": 8,
                    "type": "string"
                }
            },
            "type": "object"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "offline_message",
        "vendor": "com.olark",
        "version": "1-0-0"
    },
    "type": "object"
}