Skip to content

Instantly share code, notes, and snippets.

@ransingh
Forked from dhirajbhandari/SportEvent
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ransingh/82bc062856ce52bddf1e to your computer and use it in GitHub Desktop.
Save ransingh/82bc062856ce52bddf1e to your computer and use it in GitHub Desktop.
SportEvent
{
":type": "application/vnd.playup.sport.contest.event.football.goal;format=json",
":uri": "pu:contest:event:football:goal:2429773",
"time-stamp": "2014-06-28T16:18:27Z",
"version": 1
"contest": {
":type": "application/vnd.playup.sport.contest.football+json"
":uri": "pu:contest:football:20120476604"
},
"clock": {
"minutes": 17,
"extra-minutes": 0,
"seconds": 19
},
"offensive-player": {
":type": "application/vnd.playup.sport.player;format=json",
":uri": "pu:player:1234"
},
"away-score": 0,
"home-score": 1,
"field-area": "VN7",
"zone-id": "9"
//optional
"assisting-player": {
":type": "application/vnd.playup.sport.player;format=json",
":uri": "pu:player:1334"
},
"shot-type-id": "9",
"shot-description-id": "9",
"keeper-zone-id": "7",
"situation-id" : "8",
"assist-type-id" :"7"
"celebration-id": "9"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment