{
    "additionalProperties": false,
    "description": "Schema for a Google Analytics event hit",
    "properties": {
        "action": {
            "maxLength": 500,
            "type": "string"
        },
        "category": {
            "maxLength": 150,
            "type": "string"
        },
        "label": {
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "value": {
            "minimum": 0,
            "type": [
                "integer",
                "null"
            ]
        }
    },
    "required": [
        "category",
        "action"
    ],
    "self": {
        "format": "jsonschema",
        "name": "event",
        "vendor": "com.google.analytics.measurement-protocol",
        "version": "1-0-0"
    },
    "type": "object"
}