User:Roan Kattouw (WMF)/VE schema

Edit schema

 * page.* (optional)
 * id
 * ns
 * title
 * length
 * revid
 * version (of schema)
 * editor: ve or wt
 * platform: desktop, tablet, mobile
 * integration: page (future: flow, etc.; not mobile)
 * user id or some way to figure out user's experience level
 * session id or some way to tie events together
 * action.*
 * action.type: init, ready, saveIntent, saveAttempt, saveSuccess, saveFail, abort
 * action.subtype:
 * for init: section, page
 * for saveFail: (save failure causes)
 * for abort: premature, nochange, switchwith, switchwithout, abandon
 * action.mechanism:
 * for abort: back, cancel, navigate, navigate-read
 * action.latency: number
 * for init: time since page load (user behavior)
 * for ready: time since init (system performance)
 * for saveIntent: time since ready (user behavior)
 * for saveAttempt: time since saveIntent (user behavior)
 * for saveSuccess, saveFail: time spent by the system processing save (sum of two parts: saveIntent to saveReady, and saveAttempt to saveSuccess/Fail)
 * for abort: time since init or ready or saveAttempt as appropriate

Performance

 * domLoad (client and server)
 * post-processing after domLoad (client)
 * other stuff where we touch the network (from both client and server side): serialize, save, etc.