# PB Vision schemas: Stats 2.2.1

<!-- version-nav -->
Version 2.2.1 (latest) · [all versions](../../versions.md) · [changelog](changelog.md)
<!-- /version-nav -->

Every field of every schema in this package. Objects allow no keys beyond those listed unless marked *may have other keys*. A linked type is defined in its own section.

## What changed in 2.2.1

_Released 2026-08-19._

- Documentation: `player.team_short_length_rallies_won`, `player.team_medium_length_rallies_won`, and `player.team_long_length_rallies_won` now 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_players` description no longer refers to ball machines or `is_ball_machine`.

## Contents

- [Stats](#stats/game) `/stats/game`
- [Game Data](#insights/game_data) `/insights/game_data`
- [Role Data](#insights/role_data) `/insights/role_data`
- [Player Stats](#stats/player) `/stats/player`
- [Shot Stats](#stats/shot) `/stats/shot`
- [Count](#types/count) `/types/count`
- [Percentage](#types/percentage) `/types/percentage`
- [Quality Score](#types/quality_score) `/types/quality_score`
- [Session](#types/session) `/types/session`
- [Speed](#types/speed) `/types/speed`
- [Version](#types/version) `/types/version`

---

<a id="stats/game"></a>

## Stats

`/stats/game`

Various stats about the game for advanced players.

Version hashes: functional `2300f72312a682de0d9b0adf853ce5c0`, full `3736b57d4598d505f2cfcea45d4d2a7d`

Properties:

- <a id="stats/game.game"></a>**`game`** [Game Data](#insights/game_data)

  Contains data about the game overall.

- <a id="stats/game.players"></a>**`players`** [array of Player Stats](#stats/player) · exactly 4 items · items may be null

  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.

- <a id="stats/game.session"></a>**`session`** [Session](#types/session)

  Defines aspects of the session or game being played.

- <a id="stats/game.version"></a>**`version`** [Version (string)](#types/version) · matches `^\d+\.\d+\.\d+(-[^\s]+)?$`

  a version string matching x.x.x where x represents one or more digits


---

<a id="insights/game_data"></a>

## Game Data

`/insights/game_data`

Contains data about the game overall.

Version hashes: functional `b9df94fa021870b5ce0b09cf7e991fbc`, full `713b895293fd2b75a081d26bb525cfdf`

Properties:

- <a id="insights/game_data.avg_shots"></a>**`avg_shots`** `number` · ≥ 1

  Represents the average number of shots per rally.

- <a id="insights/game_data.game_outcome"></a>**`game_outcome`** `array of one of` · exactly 2 items

  the result (e.g., points scored) by each team

  Each item: Describes the team's result (score or won/lost, if known)

  One of:

  - <a id="insights/game_data.game_outcome[].@0"></a>**null**

    we don't know the team's score or whether they won or lost

  - <a id="insights/game_data.game_outcome[].@1"></a>**string** · one of `"won"`, `"lost"`

    whether the team won or lost (we don't know how points they scored)

  - <a id="insights/game_data.game_outcome[].@2"></a>**integer** · ≥ 0

    how many points the team scored (and by comparing it with the other team's score, we can also determine which team win)')

- <a id="insights/game_data.kitchen_rallies"></a>**`kitchen_rallies`** `integer` · ≥ 0

  Represents the number of rallies where all players get to the kitchen.

- <a id="insights/game_data.longest_rally"></a>**`longest_rally`** `Longest Rally`

  Contains the rally index and number of shots for the longest rally in the game.

  - <a id="insights/game_data.longest_rally.num_shots"></a>**`num_shots`** `integer` · ≥ 0

    Number of shots in the longest rally.

  - <a id="insights/game_data.longest_rally.rally_idx"></a>**`rally_idx`** `integer` · ≥ 0

    The rally which was the longest (0 is the first rally in the game).

- <a id="insights/game_data.min_points"></a>**`min_points`** `enum` · optional · one of `11`, `15`, `21`, `25`

  Minimal amount of points needed to win, as in "first to 11".

- <a id="insights/game_data.relative_adjustments"></a>**`relative_adjustments`** `object` · optional

  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.

  - <a id="insights/game_data.relative_adjustments.between_teams"></a>**`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.

  - <a id="insights/game_data.relative_adjustments.within_teams"></a>**`within_teams`** `array of number` · exactly 2 items

    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.

- <a id="insights/game_data.scoring"></a>**`scoring`** `enum` · optional · one of `"side_out"`, `"rally"`

  The scoring system most likely used in the game.

- <a id="insights/game_data.team_percentage_to_kitchen"></a>**`team_percentage_to_kitchen`** [array of Percentage (number)](#types/percentage) · exactly 2 items · items: range [0, 100]

  Percent of rallies where all players on a team successfully arrived at the kitchen.

  Each item: A percentage value between 0 and 100.


---

<a id="insights/role_data"></a>

## Role Data

`/insights/role_data`

data about this player in each serving and receiving role

Version hashes: functional `2b7739497e8203053b616ba83726b67b`, full `8e0fa0fe3ba260a156994e3c5583f0e4`

Properties:

- <a id="insights/role_data.receiving"></a>**`receiving`** `Rally data when Receiving`

  data while this player's team was receiving

  - <a id="insights/role_data.receiving.oneself"></a>**`oneself`** `Rally Category Counts`

    data while this player's team was receiving and this player was the receiver

    - <a id="insights/role_data.receiving.oneself.kitchen_arrival"></a>**`kitchen_arrival`** [Count (integer)](#types/count) · ≥ 0

      number of times the player arrived near the kitchen line (for rallies with at least 3 shots)

    - <a id="insights/role_data.receiving.oneself.total"></a>**`total`** [Count (integer)](#types/count) · ≥ 0

      total number of rallies counted with player in this role and at least 3 shots

  - <a id="insights/role_data.receiving.partner"></a>**`partner`** `Rally Category Counts`

    data while this player's team was receiving and this player's partner was the receiver

    - <a id="insights/role_data.receiving.partner.kitchen_arrival"></a>**`kitchen_arrival`** [Count (integer)](#types/count) · ≥ 0

      number of times the player arrived near the kitchen line (for rallies with at least 3 shots)

    - <a id="insights/role_data.receiving.partner.total"></a>**`total`** [Count (integer)](#types/count) · ≥ 0

      total number of rallies counted with player in this role and at least 3 shots

- <a id="insights/role_data.serving"></a>**`serving`** `Rally data when Serving`

  data while this player's team was serving

  - <a id="insights/role_data.serving.oneself"></a>**`oneself`** `Rally Category Counts`

    data while this player's team was serving and this player was the server

    - <a id="insights/role_data.serving.oneself.kitchen_arrival"></a>**`kitchen_arrival`** [Count (integer)](#types/count) · ≥ 0

      number of times the player arrived near the kitchen line (for rallies with at least 4 shots)

    - <a id="insights/role_data.serving.oneself.total"></a>**`total`** [Count (integer)](#types/count) · ≥ 0

      total number of rallies counted with player in this role and at least 4 shots

  - <a id="insights/role_data.serving.partner"></a>**`partner`** `Rally Category Counts`

    data while this player's team was serving and this player's partner was the server

    - <a id="insights/role_data.serving.partner.kitchen_arrival"></a>**`kitchen_arrival`** [Count (integer)](#types/count) · ≥ 0

      number of times the player arrived near the kitchen line (for rallies with at least 4 shots)

    - <a id="insights/role_data.serving.partner.total"></a>**`total`** [Count (integer)](#types/count) · ≥ 0

      total number of rallies counted with player in this role and at least 4 shots


---

<a id="stats/player"></a>

## Player Stats

`/stats/player`

Contains player-specific stats over the whole game.

Version hashes: functional `a2ee9be438cb891e85da3665d6ff7f04`, full `b94e549c799cb645c782cb806ae0f9c3`

Properties:

- <a id="stats/player.average_shot_quality"></a>**`average_shot_quality`** [Quality Score (number)](#types/quality_score) · range [0, 1]

  The average quality score of all shots taken by the player.

- <a id="stats/player.average_x_coverage_percentage"></a>**`average_x_coverage_percentage`** [Percentage (number)](#types/percentage) · optional · range [0, 100]

  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.

- <a id="stats/player.backhands"></a>**`backhands`** [Shot Stats](#stats/shot) · optional

  Stats about backhands. Omitted if the player did not hit any backhands.

- <a id="stats/player.ball_directions"></a>**`ball_directions`** `Ball Directions`

  Categorizes ball directions across a player's shots (9 total).

  - <a id="stats/player.ball_directions.down_the_line_left_count"></a>**`down_the_line_left_count`** [Count (integer)](#types/count) · ≥ 0

    A shot played from the left straight down the left sideline.

  - <a id="stats/player.ball_directions.down_the_line_right_count"></a>**`down_the_line_right_count`** [Count (integer)](#types/count) · ≥ 0

    A shot played from the right straight down the right sideline.

  - <a id="stats/player.ball_directions.down_the_middle_count"></a>**`down_the_middle_count`** [Count (integer)](#types/count) · ≥ 0

    A shot played from the middle straight down the middle of the court.

  - <a id="stats/player.ball_directions.left_cross_right_count"></a>**`left_cross_right_count`** [Count (integer)](#types/count) · ≥ 0

    A shot played from the left side of the court that crosses over to the right side.

  - <a id="stats/player.ball_directions.left_to_middle_count"></a>**`left_to_middle_count`** [Count (integer)](#types/count) · ≥ 0

    A shot played from the left side of the court towards the middle.

  - <a id="stats/player.ball_directions.mid_cross_left_count"></a>**`mid_cross_left_count`** [Count (integer)](#types/count) · ≥ 0

    A shot played from the middle of the court that crosses over to the left side.

  - <a id="stats/player.ball_directions.mid_cross_right_count"></a>**`mid_cross_right_count`** [Count (integer)](#types/count) · ≥ 0

    A shot played from the middle of the court that crosses over to the right side.

  - <a id="stats/player.ball_directions.right_cross_left_count"></a>**`right_cross_left_count`** [Count (integer)](#types/count) · ≥ 0

    A shot played from the right side of the court that crosses over to the left side.

  - <a id="stats/player.ball_directions.right_to_middle_count"></a>**`right_to_middle_count`** [Count (integer)](#types/count) · ≥ 0

    A shot played from the right side of the court towards the middle.

- <a id="stats/player.dinks"></a>**`dinks`** [Shot Stats](#stats/shot) · optional

  Stats about dink. Omitted if the player did not hit any dink.

- <a id="stats/player.drives"></a>**`drives`** [Shot Stats](#stats/shot) · optional

  Stats about drives. Omitted if the player did not hit any drives.

- <a id="stats/player.drops"></a>**`drops`** [Shot Stats](#stats/shot) · optional

  Stats about drops. Omitted if the player did not hit any drops.

- <a id="stats/player.fifths"></a>**`fifths`** [Shot Stats](#stats/shot) · optional

  Stats about fifths. Omitted if the player did not hit any fifths.

- <a id="stats/player.final_shot_count"></a>**`final_shot_count`** [Count (integer)](#types/count) · ≥ 0

  The total number of final shots by the player.

- <a id="stats/player.forehands"></a>**`forehands`** [Shot Stats](#stats/shot) · optional

  Stats about forehands. Omitted if the player did not hit any forehands.

- <a id="stats/player.fourths"></a>**`fourths`** [Shot Stats](#stats/shot) · optional

  Stats about fourths. Omitted if the player did not hit any fourths.

- <a id="stats/player.ground_stroke_count"></a>**`ground_stroke_count`** [Count (integer)](#types/count) · ≥ 0

  The total number of ground strokes by the player.

- <a id="stats/player.kitchen_area"></a>**`kitchen_area`** [Shot Stats](#stats/shot) · optional

  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.

- <a id="stats/player.kitchen_arrival_percentage"></a>**`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.

  - <a id="stats/player.kitchen_arrival_percentage.returning"></a>**`returning`** `object`

    - <a id="stats/player.kitchen_arrival_percentage.returning.oneself"></a>**`oneself`** `object`

      - <a id="stats/player.kitchen_arrival_percentage.returning.oneself.denominator"></a>**`denominator`** [Count (integer)](#types/count) · ≥ 0

        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).

      - <a id="stats/player.kitchen_arrival_percentage.returning.oneself.numerator"></a>**`numerator`** [Count (integer)](#types/count) · ≥ 0

        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).

    - <a id="stats/player.kitchen_arrival_percentage.returning.partner"></a>**`partner`** `object`

      - <a id="stats/player.kitchen_arrival_percentage.returning.partner.denominator"></a>**`denominator`** [Count (integer)](#types/count) · ≥ 0

        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).

      - <a id="stats/player.kitchen_arrival_percentage.returning.partner.numerator"></a>**`numerator`** [Count (integer)](#types/count) · ≥ 0

        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).

  - <a id="stats/player.kitchen_arrival_percentage.serving"></a>**`serving`** `object`

    - <a id="stats/player.kitchen_arrival_percentage.serving.oneself"></a>**`oneself`** `object`

      - <a id="stats/player.kitchen_arrival_percentage.serving.oneself.denominator"></a>**`denominator`** [Count (integer)](#types/count) · ≥ 0

        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).

      - <a id="stats/player.kitchen_arrival_percentage.serving.oneself.numerator"></a>**`numerator`** [Count (integer)](#types/count) · ≥ 0

        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).

    - <a id="stats/player.kitchen_arrival_percentage.serving.partner"></a>**`partner`** `object`

      - <a id="stats/player.kitchen_arrival_percentage.serving.partner.denominator"></a>**`denominator`** [Count (integer)](#types/count) · ≥ 0

        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).

      - <a id="stats/player.kitchen_arrival_percentage.serving.partner.numerator"></a>**`numerator`** [Count (integer)](#types/count) · ≥ 0

        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).

- <a id="stats/player.left_side_player"></a>**`left_side_player`** [Shot Stats](#stats/shot) · optional

  Stats about shots as the left-side player. Omitted if the player did not hit any shots as the left-side player.

- <a id="stats/player.lobs"></a>**`lobs`** [Shot Stats](#stats/shot) · optional

  Stats about lobs. Omitted if the player did not hit any lobs.

- <a id="stats/player.mid_court_area"></a>**`mid_court_area`** [Shot Stats](#stats/shot) · optional

  Stats about shots from the mid-court area. Omitted if the player did not hit any shots from the mid-court area.

- <a id="stats/player.near_baseline_area"></a>**`near_baseline_area`** [Shot Stats](#stats/shot) · optional

  Stats about shots from near the baseline area. Omitted if the player did not hit any shots from near the baseline area.

- <a id="stats/player.near_left_sideline_area"></a>**`near_left_sideline_area`** [Shot Stats](#stats/shot) · optional

  Stats about shots taken near the left sideline. Omitted if the player did not hit any shots taken near the left sideline.

- <a id="stats/player.near_midline_area"></a>**`near_midline_area`** [Shot Stats](#stats/shot) · optional

  Stats about shots taken near the middle line. Omitted if the player did not hit any shots taken near the middle line.

- <a id="stats/player.near_right_sideline_area"></a>**`near_right_sideline_area`** [Shot Stats](#stats/shot) · optional

  Stats about shots taken near the right sideline. Omitted if the player did not hit any shots taken near the right sideline.

- <a id="stats/player.net_fault_percentage"></a>**`net_fault_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

  The percentage of shots that hit the net out of the total attempts.

- <a id="stats/player.net_impact_score"></a>**`net_impact_score`** [Quality Score (number)](#types/quality_score) · range [0, 1]

  The net impact score is a measure of the player's overall impact on the game's outcome.

- <a id="stats/player.out_fault_percentage"></a>**`out_fault_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

  The percentage of shots hit out of the total attempts.

- <a id="stats/player.passing"></a>**`passing`** [Shot Stats](#stats/shot) · optional

  Stats about passing shots. Omitted if the player did not hit any passing shots.

- <a id="stats/player.poaches"></a>**`poaches`** [Shot Stats](#stats/shot) · optional

  Stats about poaches. Omitted if the player did not hit any poaches.

- <a id="stats/player.resets"></a>**`resets`** [Shot Stats](#stats/shot) · optional

  Stats about resets. Omitted if the player did not hit any resets.

- <a id="stats/player.returns"></a>**`returns`** [Shot Stats](#stats/shot) · optional

  Stats about returns. Omitted if the player did not hit any returns.

- <a id="stats/player.right_side_player"></a>**`right_side_player`** [Shot Stats](#stats/shot) · optional

  Stats about shots as the right-side player. Omitted if the player did not hit any shots as the right-side player.

- <a id="stats/player.role_stats"></a>**`role_stats`** [Role Data](#insights/role_data)

  data about this player in each serving and receiving role

- <a id="stats/player.serves"></a>**`serves`** [Shot Stats](#stats/shot) · optional

  Stats about serves. Omitted if the player did not hit any serves.

- <a id="stats/player.shot_count"></a>**`shot_count`** [Count (integer)](#types/count) · ≥ 0

  The total number of shots by the player.

- <a id="stats/player.smashes"></a>**`smashes`** [Shot Stats](#stats/shot) · optional

  Stats about smash shots. Omitted if the player did not hit any smash shots.

- <a id="stats/player.speedups"></a>**`speedups`** [Shot Stats](#stats/shot) · optional

  Stats about speedups. Omitted if the player did not hit any speedups.

- <a id="stats/player.team"></a>**`team`** `integer` · range [0, 1]

  The team to which the player belongs.

- <a id="stats/player.team_fifths_percentage"></a>**`team_fifths_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

  The number of 5th shots taken by the player as a percentage of the total 5th shots taken by the team.

- <a id="stats/player.team_fourths_percentage"></a>**`team_fourths_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

  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.

- <a id="stats/player.team_kitchen_arrival"></a>**`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.

  - <a id="stats/player.team_kitchen_arrival.returning"></a>**`returning`** `object`

    - <a id="stats/player.team_kitchen_arrival.returning.denominator"></a>**`denominator`** [Count (integer)](#types/count) · ≥ 0

      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).

    - <a id="stats/player.team_kitchen_arrival.returning.numerator"></a>**`numerator`** [Count (integer)](#types/count) · ≥ 0

      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).

  - <a id="stats/player.team_kitchen_arrival.serving"></a>**`serving`** `object`

    - <a id="stats/player.team_kitchen_arrival.serving.denominator"></a>**`denominator`** [Count (integer)](#types/count) · ≥ 0

      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).

    - <a id="stats/player.team_kitchen_arrival.serving.numerator"></a>**`numerator`** [Count (integer)](#types/count) · ≥ 0

      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).

- <a id="stats/player.team_left_side_percentage"></a>**`team_left_side_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

  The percentage of time when this player was to the left of their partner.

- <a id="stats/player.team_long_length_rallies_won"></a>**`team_long_length_rallies_won`** [Percentage (number)](#types/percentage) · optional · range [0, 100]

  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.

- <a id="stats/player.team_medium_length_rallies_won"></a>**`team_medium_length_rallies_won`** [Percentage (number)](#types/percentage) · optional · range [0, 100]

  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.

- <a id="stats/player.team_short_length_rallies_won"></a>**`team_short_length_rallies_won`** [Percentage (number)](#types/percentage) · optional · range [0, 100]

  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.

- <a id="stats/player.team_shot_percentage"></a>**`team_shot_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

  The percentage of total team shots taken by the player.

- <a id="stats/player.team_thirds_percentage"></a>**`team_thirds_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

  The number of 3rd shots taken by the player as a percentage of the total 3rd shots taken by the team.

- <a id="stats/player.third_drives"></a>**`third_drives`** [Shot Stats](#stats/shot) · optional

  Stats about third shot drives. Omitted if the player did not hit any third shot drives.

- <a id="stats/player.third_drops"></a>**`third_drops`** [Shot Stats](#stats/shot) · optional

  Stats about third shot drops. Omitted if the player did not hit any third shot drops.

- <a id="stats/player.third_lobs"></a>**`third_lobs`** [Shot Stats](#stats/shot) · optional

  Stats about third shot lobs. Omitted if the player did not hit any third shot lobs.

- <a id="stats/player.thirds"></a>**`thirds`** [Shot Stats](#stats/shot) · optional

  Stats about thirds. Omitted if the player did not hit any thirds.

- <a id="stats/player.total_distance_covered"></a>**`total_distance_covered`** `number`

  The number of feet each player travels between shots in all rallies combined.

- <a id="stats/player.volley_count"></a>**`volley_count`** [Count (integer)](#types/count) · ≥ 0

  The total number of volleys by the player.


---

<a id="stats/shot"></a>

## Shot Stats

`/stats/shot`

Contains stats about the player's shots.

Version hashes: functional `e3c3c45cd3f5d3f651d6d5e0aad74440`, full `2a118a9e6cc9c7a824273f2d01e02b68`

Properties:

- <a id="stats/shot.average_baseline_distance"></a>**`average_baseline_distance`** `number` · optional

  Average distance from the opponent's baseline

- <a id="stats/shot.average_height_above_net"></a>**`average_height_above_net`** `number` · optional

  Average height above the net as the ball crosses it

- <a id="stats/shot.average_quality"></a>**`average_quality`** [Quality Score (number)](#types/quality_score) · optional · range [0, 1]

  Average quality score of shots

- <a id="stats/shot.count"></a>**`count`** [Count (integer)](#types/count) · ≥ 0

  Total number of shots

- <a id="stats/shot.median_baseline_distance"></a>**`median_baseline_distance`** `number` · optional

  Median distance from the opponent's baseline

- <a id="stats/shot.median_height_above_net"></a>**`median_height_above_net`** `number` · optional

  Median height above the net as the ball crosses it

- <a id="stats/shot.outcome_stats"></a>**`outcome_stats`** `Shot Outcome Stats` · optional

  Categorizes shot outcomes for this type of shot. Omitted if there are none attempted.

  - <a id="stats/shot.outcome_stats.attempt_percentage"></a>**`attempt_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

    The percentage of attempted shots out of the total opportunities for the shot.

  - <a id="stats/shot.outcome_stats.high_quality_shot_rally_won_percentage"></a>**`high_quality_shot_rally_won_percentage`** [Percentage (number)](#types/percentage) · optional · range [0, 100]

    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.

  - <a id="stats/shot.outcome_stats.low_quality_shot_rally_won_percentage"></a>**`low_quality_shot_rally_won_percentage`** [Percentage (number)](#types/percentage) · optional · range [0, 100]

    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.

  - <a id="stats/shot.outcome_stats.net_fault_percentage"></a>**`net_fault_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

    The percentage of shots that hit the net out of the total attempts.

  - <a id="stats/shot.outcome_stats.out_fault_percentage"></a>**`out_fault_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

    The percentage of shots hit out of the total attempts.

  - <a id="stats/shot.outcome_stats.rally_won_percentage"></a>**`rally_won_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

    The percentage of rallies won out of the total number of rallies with attempts

  - <a id="stats/shot.outcome_stats.success_percentage"></a>**`success_percentage`** [Percentage (number)](#types/percentage) · range [0, 100]

    The percentage of successful shots out of the total attempts.

- <a id="stats/shot.speed_stats"></a>**`speed_stats`** `Shot Speed` · optional

  - <a id="stats/shot.speed_stats.average"></a>**`average`** [Speed (number)](#types/speed) · range [0, 99]

    The average shot speed across all shots by the player (MPH).

  - <a id="stats/shot.speed_stats.fastest"></a>**`fastest`** [Speed (number)](#types/speed) · range [0, 99]

    The fastest shot by the player (MPH).

  - <a id="stats/shot.speed_stats.median"></a>**`median`** [Speed (number)](#types/speed) · range [0, 99]

    The median shot speed across all shots by the player (MPH).


---

<a id="types/count"></a>

## Count

`/types/count` · `integer` · ≥ 0

An integer value greater than or equal to 0.

---

<a id="types/percentage"></a>

## Percentage

`/types/percentage` · `number` · range [0, 100]

A percentage value between 0 and 100.

---

<a id="types/quality_score"></a>

## Quality Score

`/types/quality_score` · `number` · range [0, 1]

A measure of quality where 1 is the best score.

---

<a id="types/session"></a>

## Session

`/types/session`

Defines aspects of the session or game being played.

Version hashes: functional `bc2200cd637ec98b8f33e3396ff0f7de`, full `ac272105692acf5b3bf1dfc6454bf4a2`

Properties:

- <a id="types/session.num_players"></a>**`num_players`** `integer` · range [1, 4]

  The number of players in the session.

- <a id="types/session.session_index"></a>**`session_index`** `integer`

  Index of this session within the play session (starts at 0)

- <a id="types/session.session_type"></a>**`session_type`** `enum` · one of `"game"`, `"drill"`

  The type of session being played

- <a id="types/session.vid"></a>**`vid`** `string`

  Video identifier


---

<a id="types/speed"></a>

## Speed

`/types/speed` · `number` · range [0, 99]

The speed in mph. This accounts the combined velocity in each of the x, y and z dimensions.

---

<a id="types/version"></a>

## Version

`/types/version` · `string` · matches `^\d+\.\d+\.\d+(-[^\s]+)?$`

a version string matching x.x.x where x represents one or more digits
