Skip to content

Instantly share code, notes, and snippets.

@smadbe
Created December 11, 2013 15:01
Show Gist options
  • Save smadbe/7911863 to your computer and use it in GitHub Desktop.
Save smadbe/7911863 to your computer and use it in GitHub Desktop.
{
"type": "object",
"properties": {
"timestamp": {
"type": "number",
"required" : true,
"description": "UTC timestamp - the moment on the universal timeline when the event took place"
},
"id": {
"type": "number",
"required" : true,
"description": "a game-unique identifier for the event"
},
"gametime": {
"type": "number",
"required" : true,
"description": "Game clock seconds elapsed since the beginning of the game"
},
"type": {
"type": "string",
"required" : true,
"description": "A value among ‘action’,’substitution’,’timeout’ (may be extended)"
},
"body": {
"type": "object",
"required" : false,
"description": "Generic container with a non fixed schema, depending on the event type"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment