Event
Data Dictionary for Boxing Events
The following example shows how the Boxing Event data is identified. The data tables below will identify the keys available within the meta data.
{
"id": 2951943,
"name": "Oscar Valdez-Carmine Tommasone",
"status": "Not started",
"date": "2019-02-03T03:00:00Z",
"updated": "2018-12-23T13:20:35Z",
"entrants": [
{
"id": 10186057,
"number": 1,
"participant": {
"id": 138592,
"name": "Oscar Valdez",
"firstName": "Oscar",
"lastName": "Valdez",
"gender": "male",
"type": "athlete",
"country": {
"id": 114,
"name": "Mexico"
}
},
"results": {
"running-score": {
"code": "result:running-score",
"name": "Running Score",
"value": "0"
}
}
},
{
"id": 10186058,
"number": 2,
"participant": {
"id": 771411,
"name": "Carmine Tommasone",
"firstName": "Carmine",
"lastName": "Tommasone",
"gender": "male",
"type": "athlete",
"country": {
"id": 4,
"name": "Italy"
}
},
"results": {
"running-score": {
"code": "result:running-score",
"name": "Running Score",
"value": "0"
}
}
}
],
"stage": {
"id": 858595,
"name": "Featherweight",
"gender": "male",
"start": "2018-12-31",
"end": "2019-12-31",
"country": {
"id": 11,
"name": "International"
}
},
"season": {
"id": 13389,
"name": "2019"
},
"tournament": {
"id": 9196,
"gender": "male"
},
"sport": {
"id": 34,
"name": "Boxing"
},
"meta": {
"live": {
"code": "event:live",
"name": "Live",
"value": "no"
},
"round": {
"code": "event:round",
"name": "Round",
"value": "Title"
},
"type": {
"code": "event:type",
"name": "Type",
"value": "Male"
}
},
"associations": [
{
"id": 878745,
"name": "WBO",
"gender": "male",
"type": "organization",
"country": {
"id": 11,
"name": "International"
}
}
],
"links": [
{
"rel": "self",
"href": "http://sport.api.press.net/v1/event/2951943"
}
]
}
<?xml version="1.0" encoding="utf-8" ?>
<pa:sports-content xmlns="http://iptc.org/std/nar/2006-10-01/" xmlns:pa="http://sport-api.pa.press.net/2016-09-30/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<pa:sports-metadata doc-id="http://sport-uat.api.press.net/v1/event/2951943?apikey=cukrba72xabqw4vf79apb2ne&limit=100" document-class="pa:event-detail">
<sports-title>Oscar Valdez-Carmine Tommasone</sports-title>
</pa:sports-metadata>
<pa:sports-event id="event.2951943">
<event-metadata start-date-time="2019-02-03T03:00:00Z" event-status="pa:not-started">
<sports-content-codes>
<sports-content-code code-type="pa:sport" code-key="sport:34" code-name="Boxing"/>
<sports-content-code code-type="pa:tournament" code-key="tournament:9196"/>
<sports-content-code code-type="pa:season" code-key="season:13389" code-name="2019"/>
<sports-content-code code-type="pa:stage" code-key="stage:858595" code-name="Featherweight"/>
<sports-content-code code-type="pa:event" code-key="event:2951943" code-name="Oscar Valdez-Carmine Tommasone" xsi:type="pa:sportsContentCodeComplexType"></sports-content-code>
</sports-content-codes>
<sports-property formal-name="event:live" value="no"/>
<sports-property formal-name="event:round" value="Title"/>
<sports-property formal-name="event:type" value="Male"/>
<sports-property formal-name="common:updated" value="2018-12-23T13:20:35Z"/>
<name>Oscar Valdez-Carmine Tommasone</name>
</event-metadata>
<player>
<player-metadata key="player:138592" gender="male" nationality="Mexico">
<name>Oscar Valdez</name>
</player-metadata>
<player-stats>
<stats>
<stat stat-type="result:running-score" value="0"/>
</stats>
</player-stats>
</player>
<player>
<player-metadata key="player:771411" gender="male" nationality="Italy">
<name>Carmine Tommasone</name>
</player-metadata>
<player-stats>
<stats>
<stat stat-type="result:running-score" value="0"/>
</stats>
</player-stats>
</player>
</pa:sports-event>
</pa:sports-content>
Associations
As you can see in the example above, boxing organisations are attached via the 'associations' array. This array contains participants of type organisation where the name identifies the governing body.
Property Location
Content Type | Path |
---|---|
JSON | $.meta |
XML | /:sports-content/:sports-event/:event-metadata/:sports-property |
Key | Code | Example | Unit |
---|---|---|---|
comment | event:comment | KO | String |
live | event:live | no* | Boolean |
round | event:round | Final* | String |
rounds | event:rounds | 1 | Number |
type | event:type | Male* | String |
winner | event:winner | Away* | String |
Enumeration values
Code: event:live |
---|
no |
Code: event:round |
---|
Final |
Title |
Code: event:type |
---|
Male |
Code: event:winner |
---|
Away |
Draw |
Home |
Participant, Results, Property, Locations and Values
Content Type | Path |
---|---|
JSON | $.entrants[*].results |
XML | /:sports-content/:sports-event/:player/:player-stats/:stats/:stat |
Key | Code | Example | Unit |
---|---|---|---|
running-score | result:running-score | 0 | Number |
Updated almost 3 years ago