{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stat-api-com/json-schema/stat-api-com-pgaplayer-shots-schema.json",
  "title": "PGAPlayerShots",
  "description": "Shot-by-shot tracking for each player at each professional tournament — every stroke with its type, start/end location, distance, ShotLink/TOURCAST course coordinates, and radar metrics (club & ball speed, spin, launch angle, apex, carry). Available for regular PGA Tour events with ShotLink; majors such as the Masters do not publish shot tracking.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stat-api-com-pga-api-openapi.yml#/components/schemas/PGAPlayerShots",
  "properties": {
    "apex_height": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "ball_speed": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "carry_distance": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "club_speed": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "distance_remaining_yards": {
      "description": "Distance to the hole after the shot, in yards",
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "distance_yards": {
      "description": "Shot distance in yards (null when the source reports feet near the green)",
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "final_stroke": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "from_location": {
      "type": [
        "string",
        "null"
      ]
    },
    "from_location_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "from_x": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "from_y": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "from_z": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "hole_number": {
      "type": "integer"
    },
    "id": {
      "description": "Primary Key",
      "format": "int64",
      "type": "integer"
    },
    "launch_angle": {
      "description": "Vertical launch angle (degrees)",
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "launch_spin": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "par": {
      "type": [
        "integer",
        "null"
      ]
    },
    "play_by_play": {
      "type": [
        "string",
        "null"
      ]
    },
    "player_id": {
      "format": "int64",
      "type": "integer"
    },
    "round_number": {
      "type": "integer"
    },
    "shot_number": {
      "description": "Stroke sequence within the hole (1 = first stroke)",
      "type": "integer"
    },
    "smash_factor": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "spin_axis": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "stroke_type": {
      "description": "STROKE, PENALTY, DROP, PROVISIONAL",
      "type": [
        "string",
        "null"
      ]
    },
    "to_location": {
      "type": [
        "string",
        "null"
      ]
    },
    "to_location_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "to_x": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "to_y": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "to_z": {
      "format": "float",
      "type": [
        "number",
        "null"
      ]
    },
    "tournament_id": {
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "id",
    "player_id",
    "tournament_id",
    "hole_number",
    "round_number",
    "shot_number"
  ],
  "type": "object"
}