Skip to content

Instantly share code, notes, and snippets.

@astein
Last active August 29, 2015 13:56
Show Gist options
  • Save astein/9103928 to your computer and use it in GitHub Desktop.
Save astein/9103928 to your computer and use it in GitHub Desktop.
JSON format for engagement recording
[
{
"step": 1,
"time_offset": 0,
"movements": [[123, 31], [321,22], [null, null], [99, 99]],
"actions": [
{"time_offset": 4032, "input_type": "keyboard", "value": "spacebar"},
{"time_offset": 8944, "input_type": "mouse", "value": [123,321]}
],
"distance": 3245,
"time_spent": 3910,
"completed": true
},
{
"step": 2,
"time_offset": 3910,
"time_spent": 3000,
"completed": true
},
{
"step": 1,
"time_offset": 6940,
"time_spent": 1933,
"completed": false
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment