PB Vision schemas: Stats 2.2.1
Version 2.2.1 (latest) · all versions · changelog
What changed in 2.2.1
Released 2026-08-19.
- Documentation:
player.team_short_length_rallies_won,player.team_medium_length_rallies_won, andplayer.team_long_length_rallies_wonnow state that rallies whose winner could not be determined are excluded from the denominator, and that the field is absent when no rally of that length had a determined winner. session.num_playersdescription no longer refers to ball machines oris_ball_machine.
Stats
Various stats about the game for advanced players.
Contains data about the game overall.
Each player's advanced stats over the whole game. If the player's location is unknown, the value for that player will be null.
Each item: Contains player-specific stats over the whole game.
Defines aspects of the session or game being played.
a version string matching x.x.x where x represents one or more digits
Game Data
Contains data about the game overall.
Represents the average number of shots per rally.
the result (e.g., points scored) by each team
Each item: Describes the team's result (score or won/lost, if known)
One of:
Represents the number of rallies where all players get to the kitchen.
- longest_rally Longest Rally
Contains the rally index and number of shots for the longest rally in the game.
Number of shots in the longest rally.
The rally which was the longest (0 is the first rally in the game).
Minimal amount of points needed to win, as in "first to 11".
Outputs from the retired relative DUPr adjustment models: how strongly they nudged ratings between the two teams (Stage 2) and between partners on each team (Stage 3). Those two models have been removed and nothing writes this any more; it is present only on documents produced before the neural rating model replaced them.
- between_teams number
Team-differential correction based on comparative performance of the teams. Each player on the higher-ranked team receives +between_teams/4, while the opponents get -between_teams/4. Positive values indicate the model boosted the predicted winners, negative values indicate a penalty.
Partner-differential corrections. Index 0 is the within-team adjustment applied between players 0 and 1, index 1 is applied between players 2 and 3.
The scoring system most likely used in the game.
Percent of rallies where all players on a team successfully arrived at the kitchen.
Each item: A percentage value between 0 and 100.
Role Data
data about this player in each serving and receiving role
- receiving Rally data when Receiving
data while this player's team was receiving
- oneself Rally Category Counts
data while this player's team was receiving and this player was the receiver
number of times the player arrived near the kitchen line (for rallies with at least 3 shots)
total number of rallies counted with player in this role and at least 3 shots
- partner Rally Category Counts
data while this player's team was receiving and this player's partner was the receiver
number of times the player arrived near the kitchen line (for rallies with at least 3 shots)
total number of rallies counted with player in this role and at least 3 shots
- serving Rally data when Serving
data while this player's team was serving
- oneself Rally Category Counts
data while this player's team was serving and this player was the server
number of times the player arrived near the kitchen line (for rallies with at least 4 shots)
total number of rallies counted with player in this role and at least 4 shots
- partner Rally Category Counts
data while this player's team was serving and this player's partner was the server
number of times the player arrived near the kitchen line (for rallies with at least 4 shots)
total number of rallies counted with player in this role and at least 4 shots
Player Stats
Contains player-specific stats over the whole game.
The average quality score of all shots taken by the player.
The average percentage of court width coverage assigned to the player during rallies, based on their positioning relative to their partner. It's only relevant in doubles; not included for singles games.
Stats about backhands. Omitted if the player did not hit any backhands.
- ball_directions Ball Directions
Categorizes ball directions across a player's shots (9 total).
A shot played from the left straight down the left sideline.
A shot played from the right straight down the right sideline.
A shot played from the middle straight down the middle of the court.
A shot played from the left side of the court that crosses over to the right side.
A shot played from the left side of the court towards the middle.
A shot played from the middle of the court that crosses over to the left side.
A shot played from the middle of the court that crosses over to the right side.
A shot played from the right side of the court that crosses over to the left side.
A shot played from the right side of the court towards the middle.
Stats about dink. Omitted if the player did not hit any dink.
Stats about drives. Omitted if the player did not hit any drives.
Stats about drops. Omitted if the player did not hit any drops.
Stats about fifths. Omitted if the player did not hit any fifths.
The total number of final shots by the player.
Stats about forehands. Omitted if the player did not hit any forehands.
Stats about fourths. Omitted if the player did not hit any fourths.
The total number of ground strokes by the player.
Stats about shots from the kitchen or near the kitchen area. Omitted if the player did not hit any shots from the kitchen or near the kitchen area.
- kitchen_arrival_percentage Kitchen Arrival Opportunity Stats
Counts of fair kitchen-arrival opportunities (denominator) and successful arrivals (numerator), broken down by serving/returning roles for the player and their partner.
- returning object
- oneself object
Number of rallies where the player had a fair opportunity to arrive within a few feet of the kitchen when on the returning team, as the returner (requires at least 3 non-fault shots).
Number of rallies where the player successfully arrived within a few feet of the kitchen when on the returning team, as the returner (requires at least 3 non-fault shots).
- partner object
Number of rallies where the player had a fair opportunity to arrive within a few feet of the kitchen when on the returning team, as the partner of the returner (requires at least 3 non-fault shots).
Number of rallies where the player successfully arrived within a few feet of the kitchen when on the returning team, as the partner of the returner (requires at least 3 non-fault shots).
- serving object
- oneself object
Number of rallies where the player had a fair opportunity to arrive within a few feet of the kitchen when on the serving team, as the server (requires at least 4 non-fault shots).
Number of rallies where the player successfully arrived within a few feet of the kitchen when on the serving team, as the server (requires at least 4 non-fault shots).
- partner object
Number of rallies where the player had a fair opportunity to arrive within a few feet of the kitchen when on the serving team, as the partner of the server (requires at least 4 non-fault shots).
Number of rallies where the player successfully arrived within a few feet of the kitchen when on the serving team, as the partner of the server (requires at least 4 non-fault shots).
Stats about shots as the left-side player. Omitted if the player did not hit any shots as the left-side player.
Stats about lobs. Omitted if the player did not hit any lobs.
Stats about shots from the mid-court area. Omitted if the player did not hit any shots from the mid-court area.
Stats about shots from near the baseline area. Omitted if the player did not hit any shots from near the baseline area.
Stats about shots taken near the left sideline. Omitted if the player did not hit any shots taken near the left sideline.
Stats about shots taken near the middle line. Omitted if the player did not hit any shots taken near the middle line.
Stats about shots taken near the right sideline. Omitted if the player did not hit any shots taken near the right sideline.
The percentage of shots that hit the net out of the total attempts.
The net impact score is a measure of the player's overall impact on the game's outcome.
The percentage of shots hit out of the total attempts.
Stats about passing shots. Omitted if the player did not hit any passing shots.
Stats about poaches. Omitted if the player did not hit any poaches.
Stats about resets. Omitted if the player did not hit any resets.
Stats about returns. Omitted if the player did not hit any returns.
Stats about shots as the right-side player. Omitted if the player did not hit any shots as the right-side player.
data about this player in each serving and receiving role
Stats about serves. Omitted if the player did not hit any serves.
The total number of shots by the player.
Stats about smash shots. Omitted if the player did not hit any smash shots.
Stats about speedups. Omitted if the player did not hit any speedups.
The team to which the player belongs.
The number of 5th shots taken by the player as a percentage of the total 5th shots taken by the team.
The number of 4th shots taken by the player as a percentage of the total 4th shots taken by the team. An indicator of 3rd shot targeting.
- team_kitchen_arrival Team Kitchen Arrival Stats
Counts of rallies where both teammates had a fair opportunity to arrive at the kitchen (denominator) and both successfully arrived (numerator), broken down by serving/returning roles. Both players on the same team share identical values.
- returning object
Number of rallies where both teammates had a fair opportunity to arrive at the kitchen when on the returning team (requires at least 3 non-fault shots).
Number of rallies where both teammates arrived at the kitchen when on the returning team (requires at least 3 non-fault shots and both players having a fair opportunity).
- serving object
Number of rallies where both teammates had a fair opportunity to arrive at the kitchen when on the serving team (requires at least 4 non-fault shots).
Number of rallies where both teammates arrived at the kitchen when on the serving team (requires at least 4 non-fault shots and both players having a fair opportunity).
The percentage of time when this player was to the left of their partner.
Percent of rallies won by this player's team when the rally is 11 or more shots long. Rallies whose winner could not be determined are excluded; absent when no such rally had a determined winner.
Percent of rallies won by this player's team when the rally is [6,10] shots long. Rallies whose winner could not be determined are excluded; absent when no such rally had a determined winner.
Percent of rallies won by this player's team when the rally is [1,5] shots long. Rallies whose winner could not be determined are excluded; absent when no such rally had a determined winner.
The percentage of total team shots taken by the player.
The number of 3rd shots taken by the player as a percentage of the total 3rd shots taken by the team.
Stats about third shot drives. Omitted if the player did not hit any third shot drives.
Stats about third shot drops. Omitted if the player did not hit any third shot drops.
Stats about third shot lobs. Omitted if the player did not hit any third shot lobs.
Stats about thirds. Omitted if the player did not hit any thirds.
- total_distance_covered number
The number of feet each player travels between shots in all rallies combined.
The total number of volleys by the player.
Shot Stats
Contains stats about the player's shots.
Average distance from the opponent's baseline
Average height above the net as the ball crosses it
Average quality score of shots
Total number of shots
Median distance from the opponent's baseline
Median height above the net as the ball crosses it
Categorizes shot outcomes for this type of shot. Omitted if there are none attempted.
The percentage of attempted shots out of the total opportunities for the shot.
The percentage of high quality shots where the player's team won the rally. A high quality shot has a score of .8 or greater. Omitted if no high quality shots were attempted.
The percentage of low quality shots where the player's team won the rally. A high quality shot has a score of .4 or less. Omitted if no low quality shots were attempted.
The percentage of shots that hit the net out of the total attempts.
The percentage of shots hit out of the total attempts.
The percentage of rallies won out of the total number of rallies with attempts
The percentage of successful shots out of the total attempts.
The average shot speed across all shots by the player (MPH).
The fastest shot by the player (MPH).
The median shot speed across all shots by the player (MPH).
Count
An integer value greater than or equal to 0.
Percentage
A percentage value between 0 and 100.
Quality Score
A measure of quality where 1 is the best score.
Session
Defines aspects of the session or game being played.
The number of players in the session.
- session_index integer
Index of this session within the play session (starts at 0)
The type of session being played
- vid string
Video identifier
Speed
The speed in mph. This accounts the combined velocity in each of the x, y and z dimensions.
Version
a version string matching x.x.x where x represents one or more digits