Participant

Data Dictionary for Participant Data

The following example shows how the Athletics participant data is identified. The data tables below will identify the keys available within the metadata.

{
    "id": 458158,
    "name": "Laura Muir",
    "firstName": "Laura",
    "lastName": "Muir",
    "gender": "female",
    "type": "athlete",
    "country": {
        "id": 15,
        "name": "Scotland"
    },
    "sports": [
        {
            "id": 4,
            "name": "Athletics"
        }
    ],
    "meta": {
        "date-of-birth": {
            "code": "participant:date-of-birth",
            "name": "Date Of Birth",
            "value": "1993-05-09"
        },
        "status": {
            "code": "participant:status",
            "name": "Status",
            "value": "active"
        }
    },
    "updated": "2017-07-28T12:19:04Z",
    "links": [
        {
            "rel": "self",
            "href": "http://sport.api.press.net/v1/participant/458158"
        }
    ]
}
<?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/458158?apikey=89baxcd4d64zwwrm7ykw5gbt" document-class="pa:participant-detail">
        <sports-title>Laura Muir</sports-title>
    </pa:sports-metadata>
    <pa:player id="player.458158">
        <pa:player-metadata key="player:458158" gender="female" nationality="Scotland">
            <name>Laura Muir</name>
            <sports-property formal-name="common:updated" value="2017-07-28T12:19:04Z"/>
            <sports-property formal-name="participant:date-of-birth" value="1993-05-09"/>
            <sports-property formal-name="participant:status" value="active"/>
            <pa:sports-content-codes>
                <sports-content-code code-type="pa:sport" code-key="sport:4" code-name="Athletics"/>
            </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

1960-08-14

Date

height

participant:height

138

Number(cm)

is-national-team

participant:is-national-team

yes*

Boolean

position

participant:position

defender*

String

status

participant:status

active*

String

weight

participant:weight

100

Number(kg)

Enumeration values

Code: participant:is-national-team

yes

Code: participant:position

defender

Code: participant:status

active

retired

unattached