{
"namespace": "org.wikimedia.mediawiki",
"type": "record",
"name": "ChangeEvent",
"fields" : [
{"name": "id", "type": ["null", "long"]},
{"name": "type", "type": ["null", "string"]},
{"name": "namespace", "type": ["null", "string"]},
{"name": "title", "type": ["null", "string"]},
{"name": "comment", "type": ["null", "string"]},
{"name": "timestamp", "type": "long" },
{"name": "user", "type": ["null", "string"]},
{"name": "bot", "type": ["null", "string"]},
{"name": "server_url", "type": ["null", "string"]},
{"name": "server_name", "type": ["null", "string"]},
{"name": "server_script_path", "type": ["null", "string"]},
{"name": "minor", "type": ["null", "boolean"]},
{"name": "patrolled", "type": ["null", "boolean"]},
{"name": "log_id", "type": ["null", "long"]},
{"name": "log_type", "type": ["null", "string"]},
{"name": "log_action", "type": ["null", "string"]},
{"name": "log_action_commit", "type": ["null", "string"]},
{"name": "log_params", "type": ["null", {
"type": "map",
"values": ["null", "string"]
}]
},
{
"name": "length",
"type": ["null", {
"name": "ChangeEventLengths",
"type": "record",
"fields": [
{"name": "old", "type": ["null", "long"] },
{"name": "new", "type": ["null", "long"] }
]
}]
},
{
"name": "revision",
"type": ["null", {
"name": "ChangeEventRevisions",
"type": "record",
"fields": [
{"name": "old", "type": ["null", "long"] },
{"name": "new", "type": ["null", "long"] }
]
}]
}
]
}