Created
June 11, 2014 14:10
-
-
Save stuartmyles/b47771cd614b675bd8e0 to your computer and use it in GitHub Desktop.
One early experiment to represent a sports event in JSON - this one using players "inside" teams
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"competionid": "123456", | |
"eventid": "78901", | |
"competionname": "FIFA World Cup 2014", | |
"eventname": "FIFA World Cup 2014 Final", | |
"competitionstartdate": "2014-12-06", | |
"compeitionenddate": "2014-13-07", | |
"eventstartdate": "2014-07-13T19:00Z", | |
"eventtimeelapsed": "54", | |
"eventvenueid": "111668", | |
"eventvenuename": "Big Rio Stadium", | |
"eventattendence": "80000", | |
"eventperiod": "2", | |
"eventstatus": "mid-event", | |
"eventoutcome": "undecided", | |
"eventofficials": [ | |
{ | |
"name": "Jeremy", | |
"nationality": "USA", | |
"role": "Referee", | |
"officalid": "2468" | |
} | |
], | |
"teams": [ | |
{ | |
"name": "Spain", | |
"url": "http: //www.example.com/team/9753", | |
"teamid": "9753", | |
"score": "7", | |
"players": [ | |
{ | |
"name": "Tores", | |
"playerid": "2586", | |
"position": "Striker", | |
"number": "11", | |
"memberof": "http: //www.example.com/team/9753" | |
} | |
] | |
}, | |
{ | |
"name": "Brazil", | |
"url": "http: //www.example.com/team/8642", | |
"teamid": "8642", | |
"score": "3", | |
"players": [ | |
{ | |
"name": "Paul", | |
"playerid": "12399", | |
"position": "Goalie", | |
"number": "1", | |
"memberof": "http: //www.example.com/team/8642" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment