{
    "additionalProperties": true,
    "description": "Schema for Segment's common event fields, https://segment.com/docs/spec/common/",
    "properties": {
        "anonymousId": {
            "_format": "uuid",
            "type": "string"
        },
        "channel": {
            "enum": [
                "server",
                "browser",
                "mobile"
            ]
        },
        "messageId": {
            "maxLength": 36,
            "type": "string"
        },
        "originalTimestamp": {
            "_format": "date-time",
            "type": "string"
        },
        "projectId": {
            "maxLength": 36,
            "type": "string"
        },
        "receivedAt": {
            "_format": "date-time",
            "type": "string"
        },
        "sentAt": {
            "_format": "date-time",
            "type": "string"
        },
        "timestamp": {
            "_format": "date-time",
            "type": "string"
        },
        "type": {
            "maxLength": 512,
            "type": "string"
        },
        "userId": {
            "maxLength": 36,
            "type": "string"
        },
        "version": {
            "maxLength": 128,
            "type": "string"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "event",
        "vendor": "com.segment",
        "version": "1-0-0"
    },
    "type": "object"
}