Skip to content

Data Schema Preferences — Rounds & Mobile App Partners

FieldTypeDescription
sourceIdstringUnique shot identifier, stable across re-fetches.
roundIdstringParent round identifier.
holeIdstringIdentifier for the hole this shot belongs to.
clubTypestring | nullClub used (see Appendix C).
startLat / startLonnumberGPS coordinates where the shot was struck.
shotTimestringISO 8601 timestamp of the shot.
FieldTypeDescription
startTerrainstringLie at the start of the shot. One of: TEE, FAIRWAY, ROUGH, SAND, RECOVERY, GREEN, UNKNOWN.
endTerrainstringLie where the ball ended up (same enum).
penaltiesintegerNumber of penalty strokes assessed on this shot (0 if none).
FieldTypeDescription
shotInHoleinteger1-indexed sequence number of this shot within the hole. If not provided, we infer ordering from timestamps.
endLat / endLonnumber | nullGPS coordinates where the ball came to rest. Highly valuable for distance and strokes-gained calculations.
startMetersToGreennumber | nullDistance from shot origin to center of green, in meters.
endMetersToGreennumber | nullDistance from ball resting position to center of green, in meters.
shotDistancenumber | nullStraight-line distance the ball traveled, in meters.
FieldTypeDescription
holeNumberinteger1–18.
parintegerPar for the hole.
scoreintegerPlayer's score on the hole.
FieldTypeDescription
puttsintegerNumber of putts taken.
fairwayResultstring | null"HIT", "LEFT", "RIGHT", or null (for par 3s).
totalPenaltiesintegerSum of penalty strokes on the hole.
firstPuttDistanceFeetnumber | nullDistance of the first putt in feet.
pinLatitude / pinLongitudenumber | nullActual pin position for this round.
FieldTypeDescription
girbooleanGreen in regulation.
upDownboolean | nullWhether the player got up-and-down from off the green.
FieldTypeDescription
roundIdstringUnique round identifier.
courseIdstringIdentifier for the course played. Ideally the USGA course identifier.
courseNamestringHuman-readable course name.
teeNamestring | nullTee set played (e.g., "Blue", "White").
courseRatingnumber | nullUSGA course rating for the tee played.
slopeRatingnumber | nullUSGA slope rating for the tee played.
roundDatestringISO 8601 date of the round.