Participant
Data Dictionary for Participant Data
The following example shows how the Boxing Participant data is identified. The data tables below will identify the keys available within the meta data.
{
"id": 138592,
"name": "Oscar Valdez",
"firstName": "Oscar",
"lastName": "Valdez",
"gender": "male",
"type": "athlete",
"country": {
"id": 114,
"name": "Mexico"
},
"sports": [
{
"id": 34,
"name": "Boxing"
}
],
"meta": {
"date-of-birth": {
"code": "participant:date-of-birth",
"name": "Date Of Birth",
"value": "1990-12-22"
},
"height": {
"code": "participant:height",
"name": "Height",
"value": "167"
},
"status": {
"code": "participant:status",
"name": "Status",
"value": "active"
},
"weight": {
"code": "participant:weight",
"name": "Weight",
"value": "56"
}
},
"updated": "2018-01-04T09:59:38Z",
"links": [
{
"rel": "self",
"href": "http://sport.api.press.net/v1/participant/138592"
}
]
}
<?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.api.press.net/v1/participant/138592?apikey=a4xvg65h9edkddczz3mb5szj&limit=30" document-class="pa:participant-detail">
<sports-title>Oscar Valdez</sports-title>
</pa:sports-metadata>
<pa:player id="player.138592">
<pa:player-metadata key="player:138592" gender="male" nationality="Mexico">
<name>Oscar Valdez</name>
<sports-property formal-name="common:updated" value="2018-01-04T09:59:38Z"/>
<sports-property formal-name="participant:date-of-birth" value="1990-12-22"/>
<sports-property formal-name="participant:height" value="167"/>
<sports-property formal-name="participant:status" value="active"/>
<sports-property formal-name="participant:weight" value="56"/>
<pa:sports-content-codes>
<sports-content-code code-type="pa:sport" code-key="sport:34" code-name="Boxing"/>
</pa:sports-content-codes>
</pa:player-metadata>
</pa:player>
</pa:sports-content>
Property Location
Content Type | Path |
---|---|
JSON | $.meta |
XML | /:sports-content/:player/:player-metadata/:sports-property |
Key | Code | Example | Unit |
---|---|---|---|
date-of-birth | participant:date-of-birth | 1973-04-01 | Unknown: Please Fill in |
height | participant:height | 150 | Unknown: Please Fill in |
status | participant:status | active* | Unknown: Please Fill in |
weight | participant:weight | 101 | Unknown: Please Fill in |
Enumeration values
Code: participant:status |
---|
active |
retired |
Updated about 5 years ago