Event

Data Dictionary for Golf Events

The following example shows how the Golf event data is identified. The data tables below will identify the properties available within the metadata.

{
    "id": 2314552,
    "name": "Masters Tournament",
    "status": "Finished",
    "date": "2017-04-06T12:00:00Z",
    "updated": "2017-04-09T23:37:17Z",
    "entrants": [
        {
            "id": 8217031,
            "number": 1,
            "participant": {
                "id": 198332,
                "name": "Byeong-Hun An",
                "firstName": "Byeong-Hun",
                "lastName": "An",
                "gender": "male",
                "type": "athlete",
                "country": {
                    "id": 88,
                    "name": "South Korea"
                },
                "meta": {
                    "date-of-birth": {
                        "code": "participant:date-of-birth",
                        "name": "Date Of Birth",
                        "value": "1991-09-17"
                    },
                    "height": {
                        "code": "participant:height",
                        "name": "Height",
                        "value": "186"
                    },
                    "weight": {
                        "code": "participant:weight",
                        "name": "Weight",
                        "value": "95"
                    },
                    "status": {
                        "code": "participant:status",
                        "name": "Status",
                        "value": "active"
                    },
                    "place-of-birth": {
                        "code": "participant:place-of-birth",
                        "name": "Place Of Birth",
                        "value": "Seoul"
                    },
                    "professional-status": {
                        "code": "participant:professional-status",
                        "name": "Professional Status",
                        "value": "yes"
                    }
                }
            },
            "results": {
                "made-cut": {
                    "code": "result:made-cut",
                    "name": "Made Cut",
                    "value": "yes"
                },
                "par": {
                    "code": "result:par",
                    "name": "Par",
                    "value": "5"
                },
                "rank": {
                    "code": "result:rank",
                    "name": "Rank",
                    "value": "33"
                },
                "strokes-1st-round": {
                    "code": "result:strokes-1st-round",
                    "name": "Strokes 1st Round",
                    "value": "76"
                },
                "strokes-2nd-round": {
                    "code": "result:strokes-2nd-round",
                    "name": "Strokes 2nd Round",
                    "value": "73"
                },
                "strokes-3rd-round": {
                    "code": "result:strokes-3rd-round",
                    "name": "Strokes 3rd Round",
                    "value": "74"
                },
                "strokes-4th-round": {
                    "code": "result:strokes-4th-round",
                    "name": "Strokes 4th Round",
                    "value": "70"
                }
            },
            "meta": {
                "current-hole": {
                    "code": "event-participant:current-hole",
                    "name": "Current Hole",
                    "value": "18"
                }
            }
        },
        {
            "id": 8217032,
            "number": 2,
            "participant": {
                "id": 548725,
                "name": "Daniel Berger",
                "firstName": "Daniel",
                "lastName": "Berger",
                "gender": "male",
                "type": "athlete",
                "country": {
                    "id": 16,
                    "name": "USA"
                },
                "meta": {
                    "date-of-birth": {
                        "code": "participant:date-of-birth",
                        "name": "Date Of Birth",
                        "value": "1993-04-07"
                    },
                    "height": {
                        "code": "participant:height",
                        "name": "Height",
                        "value": "185"
                    },
                    "weight": {
                        "code": "participant:weight",
                        "name": "Weight",
                        "value": "79"
                    },
                    "status": {
                        "code": "participant:status",
                        "name": "Status",
                        "value": "active"
                    },
                    "place-of-birth": {
                        "code": "participant:place-of-birth",
                        "name": "Place Of Birth",
                        "value": "Plantation, FL"
                    },
                    "professional-status": {
                        "code": "participant:professional-status",
                        "name": "Professional Status",
                        "value": "yes"
                    }
                }
            },
            "results": {
                "made-cut": {
                    "code": "result:made-cut",
                    "name": "Made Cut",
                    "value": "yes"
                },
                "par": {
                    "code": "result:par",
                    "name": "Par",
                    "value": "3"
                },
                "rank": {
                    "code": "result:rank",
                    "name": "Rank",
                    "value": "27"
                },
                "strokes-1st-round": {
                    "code": "result:strokes-1st-round",
                    "name": "Strokes 1st Round",
                    "value": "77"
                },
                "strokes-2nd-round": {
                    "code": "result:strokes-2nd-round",
                    "name": "Strokes 2nd Round",
                    "value": "73"
                },
                "strokes-3rd-round": {
                    "code": "result:strokes-3rd-round",
                    "name": "Strokes 3rd Round",
                    "value": "72"
                },
                "strokes-4th-round": {
                    "code": "result:strokes-4th-round",
                    "name": "Strokes 4th Round",
                    "value": "69"
                }
            },
            "meta": {
                "current-hole": {
                    "code": "event-participant:current-hole",
                    "name": "Current Hole",
                    "value": "18"
                }
            }
        },
        {
            "id": 8217033,
            "number": 3,
            "participant": {
                "id": 62106,
                "name": "Rafael Cabrera",
                "firstName": "Rafael",
                "lastName": "Cabrera",
                "gender": "male",
                "type": "athlete",
                "country": {
                    "id": 8,
                    "name": "Spain"
                },
                "meta": {
                    "date-of-birth": {
                        "code": "participant:date-of-birth",
                        "name": "Date Of Birth",
                        "value": "1984-05-25"
                    },
                    "height": {
                        "code": "participant:height",
                        "name": "Height",
                        "value": "185"
                    },
                    "weight": {
                        "code": "participant:weight",
                        "name": "Weight",
                        "value": "82"
                    },
                    "status": {
                        "code": "participant:status",
                        "name": "Status",
                        "value": "active"
                    },
                    "place-of-birth": {
                        "code": "participant:place-of-birth",
                        "name": "Place Of Birth",
                        "value": "Las Palmas"
                    },
                    "professional-status": {
                        "code": "participant:professional-status",
                        "name": "Professional Status",
                        "value": "yes"
                    }
                }
            },
            "results": {
                "made-cut": {
                    "code": "result:made-cut",
                    "name": "Made Cut",
                    "value": "no"
                },
                "par": {
                    "code": "result:par",
                    "name": "Par",
                    "value": "8"
                },
                "rank": {
                    "code": "result:rank",
                    "name": "Rank",
                    "value": "62"
                },
                "strokes-1st-round": {
                    "code": "result:strokes-1st-round",
                    "name": "Strokes 1st Round",
                    "value": "75"
                },
                "strokes-2nd-round": {
                    "code": "result:strokes-2nd-round",
                    "name": "Strokes 2nd Round",
                    "value": "77"
                }
            },
            "meta": {
                "current-hole": {
                    "code": "event-participant:current-hole",
                    "name": "Current Hole",
                    "value": "0"
                }
            }
        }        
    ],
    "stage": {
        "id": 845656,
        "name": "Masters Tournament",
        "gender": "male",
        "start": "2017-04-06",
        "end": "2017-04-09",
        "country": {
            "id": 16,
            "name": "USA"
        },
        "venues": [
            {
                "id": 4193,
                "name": "Augusta National Golf Club",
                "type": "Golf course",
                "country": {
                    "id": 16,
                    "name": "USA"
                },
                "meta": {
                    "city": {
                        "code": "venue:city",
                        "name": "City",
                        "value": "Augusta"
                    },
                    "latitude": {
                        "code": "venue:latitude",
                        "name": "Latitude",
                        "value": "33.501707"
                    },
                    "longitude": {
                        "code": "venue:longitude",
                        "name": "Longitude",
                        "value": "-82.022971"
                    },
                    "length1": {
                        "code": "venue:length1",
                        "name": "Length1",
                        "value": "445"
                    },
                    "length2": {
                        "code": "venue:length2",
                        "name": "Length2",
                        "value": "575"
                    },
                    "length3": {
                        "code": "venue:length3",
                        "name": "Length3",
                        "value": "350"
                    },
                    "length4": {
                        "code": "venue:length4",
                        "name": "Length4",
                        "value": "240"
                    },
                    "length5": {
                        "code": "venue:length5",
                        "name": "Length5",
                        "value": "455"
                    },
                    "length6": {
                        "code": "venue:length6",
                        "name": "Length6",
                        "value": "180"
                    },
                    "length7": {
                        "code": "venue:length7",
                        "name": "Length7",
                        "value": "450"
                    },
                    "length8": {
                        "code": "venue:length8",
                        "name": "Length8",
                        "value": "570"
                    },
                    "length9": {
                        "code": "venue:length9",
                        "name": "Length9",
                        "value": "460"
                    },
                    "length10": {
                        "code": "venue:length10",
                        "name": "Length10",
                        "value": "495"
                    },
                    "length11": {
                        "code": "venue:length11",
                        "name": "Length11",
                        "value": "505"
                    },
                    "length12": {
                        "code": "venue:length12",
                        "name": "Length12",
                        "value": "155"
                    },
                    "length13": {
                        "code": "venue:length13",
                        "name": "Length13",
                        "value": "510"
                    },
                    "length14": {
                        "code": "venue:length14",
                        "name": "Length14",
                        "value": "440"
                    },
                    "length15": {
                        "code": "venue:length15",
                        "name": "Length15",
                        "value": "530"
                    },
                    "length16": {
                        "code": "venue:length16",
                        "name": "Length16",
                        "value": "170"
                    },
                    "length17": {
                        "code": "venue:length17",
                        "name": "Length17",
                        "value": "440"
                    },
                    "length18": {
                        "code": "venue:length18",
                        "name": "Length18",
                        "value": "465"
                    },
                    "par1": {
                        "code": "venue:par1",
                        "name": "Par1",
                        "value": "4"
                    },
                    "par2": {
                        "code": "venue:par2",
                        "name": "Par2",
                        "value": "5"
                    },
                    "par3": {
                        "code": "venue:par3",
                        "name": "Par3",
                        "value": "4"
                    },
                    "par4": {
                        "code": "venue:par4",
                        "name": "Par4",
                        "value": "3"
                    },
                    "par5": {
                        "code": "venue:par5",
                        "name": "Par5",
                        "value": "4"
                    },
                    "par6": {
                        "code": "venue:par6",
                        "name": "Par6",
                        "value": "3"
                    },
                    "par7": {
                        "code": "venue:par7",
                        "name": "Par7",
                        "value": "4"
                    },
                    "par8": {
                        "code": "venue:par8",
                        "name": "Par8",
                        "value": "5"
                    },
                    "par9": {
                        "code": "venue:par9",
                        "name": "Par9",
                        "value": "4"
                    },
                    "par10": {
                        "code": "venue:par10",
                        "name": "Par10",
                        "value": "4"
                    },
                    "par11": {
                        "code": "venue:par11",
                        "name": "Par11",
                        "value": "4"
                    },
                    "par12": {
                        "code": "venue:par12",
                        "name": "Par12",
                        "value": "3"
                    },
                    "par13": {
                        "code": "venue:par13",
                        "name": "Par13",
                        "value": "5"
                    },
                    "par14": {
                        "code": "venue:par14",
                        "name": "Par14",
                        "value": "4"
                    },
                    "par15": {
                        "code": "venue:par15",
                        "name": "Par15",
                        "value": "5"
                    },
                    "par16": {
                        "code": "venue:par16",
                        "name": "Par16",
                        "value": "3"
                    },
                    "par17": {
                        "code": "venue:par17",
                        "name": "Par17",
                        "value": "4"
                    },
                    "par18": {
                        "code": "venue:par18",
                        "name": "Par18",
                        "value": "4"
                    }
                }
            }
        ]
    },
    "season": {
        "id": 10684,
        "name": "2017"
    },
    "tournament": {
        "id": 430,
        "name": "European Tour and PGA Tour",
        "gender": "male"
    },
    "sport": {
        "id": 3,
        "name": "Golf"
    },
    "meta": {
        "last-updated": {
            "code": "event:last-updated",
            "name": "Last Updated",
            "value": "2017-04-09T23:05:39Z"
        },
        "live": {
            "code": "event:live",
            "name": "Live",
            "value": "yes"
        },
        "rounds": {
            "code": "event:rounds",
            "name": "Rounds",
            "value": "4"
        },
        "type": {
            "code": "event:type",
            "name": "Type",
            "value": "Stroke Play"
        }
    },
    "links": [
        {
            "rel": "self",
            "href": "http://sport.api.press.net/v1/event/2314552"
        },
        {
            "rel": "event-composition",
            "href": "http://sport.api.press.net/v1/event/2314552/composition"
        }
    ]
}
<?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/event/2314552" document-class="pa:event-detail">
        <sports-title>Masters Tournament</sports-title>
    </pa:sports-metadata>
    <pa:sports-event id="event.2314552">
        <event-metadata start-date-time="2017-04-06T12:00:00Z" event-status="pa:finished">
            <sports-content-codes>
                <sports-content-code code-type="pa:sport" code-key="sport:3" code-name="Golf"/>
                <sports-content-code code-type="pa:tournament" code-key="tournament:430" code-name="European Tour and PGA Tour"/>
                <sports-content-code code-type="pa:season" code-key="season:10684" code-name="2017"/>
                <sports-content-code code-type="pa:stage" code-key="stage:845656" code-name="Masters Tournament"/>
                <sports-content-code code-type="pa:event" code-key="event:2314552" code-name="Masters Tournament" xsi:type="pa:sportsContentCodeComplexType">
                    <pa:link pa:href="http://sport.api.press.net/v1/event/2314552/composition" pa:rel="event-composition"/>
                </sports-content-code>
            </sports-content-codes>
            <sports-property formal-name="event:last-updated" value="2017-04-09T23:05:39Z"/>
            <sports-property formal-name="event:live" value="yes"/>
            <sports-property formal-name="event:rounds" value="4"/>
            <sports-property formal-name="event:type" value="Stroke Play"/>
            <sports-property formal-name="common:updated" value="2017-04-09T23:37:17Z"/>
            <name>Masters Tournament</name>
        </event-metadata>
        <player>
            <player-metadata key="player:198332" gender="male" nationality="South Korea">
                <name>Byeong-Hun An</name>
            </player-metadata>
            <player-stats>
                <stats>
                    <stat stat-type="result:made-cut" value="yes"/>
                    <stat stat-type="result:par" value="5"/>
                    <stat stat-type="result:rank" value="33"/>
                    <stat stat-type="result:strokes-1st-round" value="76"/>
                    <stat stat-type="result:strokes-2nd-round" value="73"/>
                    <stat stat-type="result:strokes-3rd-round" value="74"/>
                    <stat stat-type="result:strokes-4th-round" value="70"/>
                </stats>
            </player-stats>
        </player>
        <player>
            <player-metadata key="player:548725" gender="male" nationality="USA">
                <name>Daniel Berger</name>
            </player-metadata>
            <player-stats>
                <stats>
                    <stat stat-type="result:made-cut" value="yes"/>
                    <stat stat-type="result:par" value="3"/>
                    <stat stat-type="result:rank" value="27"/>
                    <stat stat-type="result:strokes-1st-round" value="77"/>
                    <stat stat-type="result:strokes-2nd-round" value="73"/>
                    <stat stat-type="result:strokes-3rd-round" value="72"/>
                    <stat stat-type="result:strokes-4th-round" value="69"/>
                </stats>
            </player-stats>
        </player>
        <player>
            <player-metadata key="player:62106" gender="male" nationality="Spain">
                <name>Rafael Cabrera</name>
            </player-metadata>
            <player-stats>
                <stats>
                    <stat stat-type="result:made-cut" value="no"/>
                    <stat stat-type="result:par" value="8"/>
                    <stat stat-type="result:rank" value="62"/>
                    <stat stat-type="result:strokes-1st-round" value="75"/>
                    <stat stat-type="result:strokes-2nd-round" value="77"/>
                </stats>
            </player-stats>
        </player>
        <player>
            <player-metadata key="player:60034" gender="male" nationality="Argentina">
                <name>Angel Cabrera</name>
            </player-metadata>
            <player-stats>
                <stats>
                    <stat stat-type="result:made-cut" value="no"/>
                    <stat stat-type="result:par" value="10"/>
                    <stat stat-type="result:rank" value="78"/>
                    <stat stat-type="result:strokes-1st-round" value="79"/>
                    <stat stat-type="result:strokes-2nd-round" value="75"/>
                </stats>
            </player-stats>
        </player>
    </pa:sports-event>
</pa:sports-content>

Event Meta Property Locations and Values

Content Type

Path

JSON

$.meta

XML

/:sports-content/:sports-event/:event-metadata/:sports-property

Property

Code

Example

Unit

current-hole

event:current-hole

1

Number

game-type

event:game-type

Fourball*

String

last-updated

event:last-updated

2015-05-17 17:07:30

DateTime

live

event:live

no*

Boolean

round

event:round

1

Number

rounds

event:rounds

2*

Number

type

event:type

Match Play*

String

verified

event:verified

yes*

Boolean

Enumeration values

Code: event:game-type

Fourball

Foursome

Single

Code: event:live

no

yes

Code: event:rounds

2

3

4

Code: event:type

Matchplay

Stableford

Stroke Play

Greensome matchplay

Code: event:verified

yes




##Participant, Results, Property, Locations and Values

Content Type

Path

JSON

$.entrants[*].results

XML

/:sports-content/:sports-event/:player/:player-stats/:stats/:stat

Property

Code

Example

Unit

comment

result:comment

DQ*

String

final-result

result:final-result

draw*

String

made-cut

result:made-cut

no*

Boolean

match-play-score

result:match-play-score

2up

String

par

result:par

+1

String

rank

result:rank

1

Number

strokes-1st-round

result:strokes-1st-round

-3

String

strokes-2nd-round

result:strokes-2nd-round

-2

String

strokes-3rd-round

result:strokes-3rd-round

+4

String

strokes-4th-round

result:strokes-4th-round

-5

String

Enumeration values

Code: result:comment

Description

DQ

Disqualified

MDF

Made cut Did not Finish

WD

Withdrawn

Code: result:final-result

draw

lost

won

Code: result:made-cut

no

yes

Code: status

Comment

Not started

not-started

Finished

finished

Postponed

postponed

Interrupted

interrupted

Cancelled

cancelled

--st/nd/rd Round started

Eg. 1st-round-started

--st/nd/rd Round finished

Eg. 2nd-round-finished

--st/nd/rd Round postponed

Eg. 3rd-round-postponed

--st/nd/rd Round interrupted

Eg. 4th-round-interrupted

Stage round started (bracketed events)

1/32-round-started
1/16-round-started
1/8-round-started
quarterfinal-round-started
semifinal-round-started
final-round-started

Play-off (extra round) started; postponed; interrupted

Eg. play-off-started


What’s Next