Skip to content

Instantly share code, notes, and snippets.

@yalisassoon
Last active June 9, 2020 16:01
Show Gist options
  • Save yalisassoon/21516a24c36b58b8fd3ec429df6f3551 to your computer and use it in GitHub Desktop.
Save yalisassoon/21516a24c36b58b8fd3ec429df6f3551 to your computer and use it in GitHub Desktop.
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Schema for a knock out event",
"self": {
"vendor": "com.gamescompany.fighting",
"name": "knock_out",
"format": "jsonschema",
"version": "1-0-0"
},
"metadata": {
"companion_schemas": [
"iglu://com.gamescompany.fighting/level/jsonschema/1-0-0",
"iglu://com.gamescompany.fighting/character/jsonschema/1-0-0",
"iglu://com.gamescompany.fighting/opponent/jsonschema/1-0-0"
]
},
"type": "object",
"properties": {
"points_won": {
"type": "integer",
"description": "Number of points player had at the point knock out achieved."
},
"session_id": {
"type": "string",
"format": "uuid",
"description": "session identifier"
}
},
"required": ["points_one", "id"],
"additionalProperties": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment