Participant
Data Dictionary for Rugby Union participants
The following example shows how the Rugby Union participant data is identified. The data tables below will identify the keys available within the metadata.
{
"id": 581488,
"name": "Jarrod Evans",
"firstName": "Jarrod",
"lastName": "Evans",
"gender": "male",
"type": "athlete",
"country": {
"id": 58,
"name": "Wales"
},
"sports": [
{
"id": 29,
"name": "Rugby Union"
}
],
"meta": {
"date-of-birth": {
"code": "participant:date-of-birth",
"name": "Date Of Birth",
"value": "1996-07-25"
},
"height": {
"code": "participant:height",
"name": "Height",
"value": "178"
},
"status": {
"code": "participant:status",
"name": "Status",
"value": "active"
},
"weight": {
"code": "participant:weight",
"name": "Weight",
"value": "86"
}
},
"updated": "2018-08-28T11:13:20Z",
"links": [
{
"rel": "self",
"href": "http://sport-uat.api.press.net/v1/participant/581488"
}
]
}
<?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/participant/581488?apikey=89baxcd4d64zwwrm7ykw5gbt" document-class="pa:participant-detail">
<sports-title>Jarrod Evans</sports-title>
</pa:sports-metadata>
<pa:player id="player.581488">
<pa:player-metadata key="player:581488" gender="male" nationality="Wales">
<name>Jarrod Evans</name>
<sports-property formal-name="common:updated" value="2018-08-28T11:13:20Z"/>
<sports-property formal-name="participant:date-of-birth" value="1996-07-25"/>
<sports-property formal-name="participant:height" value="178"/>
<sports-property formal-name="participant:status" value="active"/>
<sports-property formal-name="participant:weight" value="86"/>
<pa:sports-content-codes>
<sports-content-code code-type="pa:sport" code-key="sport:29" code-name="Rugby Union"/>
</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 | 1970-01-01 | Date |
height | participant:height | 155 | Number |
home-page | participant:home-page | String | |
is-national-team | participant:is-national-team | no* | Boolean |
status | participant:status | active* | String |
to-be-decided | participant:to-be-decided | no* | Boolean |
weight | participant:weight | 100 | Number |
Enumeration values
Code: participant:is-national-team |
---|
no |
yes |
Code: participant:status |
---|
active |
dead |
retired |
unattached |
Code: participant:to-be-decided |
---|
no |
yes |
Updated over 3 years ago