Full Events Statistics schema

Please find a breakdown of the full schema for /statistics endpoint

Statistics Packet:

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$id": "SetStatistics$",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "teamA": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "breakpointsPlayed": {
          "type": "integer"
        },
        "faults": {
          "type": "integer"
        },
        "1stServePointsWon": {
          "type": "integer"
        },
        "1stServePointsWon%": {
          "type": "double"
        },
        "totalServes": {
          "type": "integer"
        },
        "2ndServePointsWon": {
          "type": "integer"
        },
        "2ndServePointsWon%": {
          "type": "double"
        },
        "breakpointsSaved": {
          "type": "integer"
        },
        "doubleFaults": {
          "type": "integer"
        },
        "1stServes%": {
          "type": "double"
        },
        "1stServes": {
          "type": "integer"
        },
        "2ndServes": {
          "type": "integer"
        },
        "aces": {
          "type": "integer"
        }
      },
      "required": [
        "faults",
        "2ndServePointsWon",
        "totalServes",
        "1stServes",
        "2ndServes",
        "breakpointsPlayed",
        "doubleFaults",
        "aces",
        "breakpointsSaved",
        "1stServePointsWon"
      ]
    },
    "teamB": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "breakpointsPlayed": {
          "type": "integer"
        },
        "faults": {
          "type": "integer"
        },
        "1stServePointsWon": {
          "type": "integer"
        },
        "1stServePointsWon%": {
          "type": "double"
        },
        "totalServes": {
          "type": "integer"
        },
        "2ndServePointsWon": {
          "type": "integer"
        },
        "2ndServePointsWon%": {
          "type": "double"
        },
        "breakpointsSaved": {
          "type": "integer"
        },
        "doubleFaults": {
          "type": "integer"
        },
        "1stServes%": {
          "type": "double"
        },
        "1stServes": {
          "type": "integer"
        },
        "2ndServes": {
          "type": "integer"
        },
        "aces": {
          "type": "integer"
        }
      },
      "required": [
        "faults",
        "2ndServePointsWon",
        "totalServes",
        "1stServes",
        "2ndServes",
        "breakpointsPlayed",
        "doubleFaults",
        "aces",
        "breakpointsSaved",
        "1stServePointsWon"
      ]
    },
    "required": [
      "teamA",
      "teamB"
    ]
  }

Team Statistics Packet:

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$id": "TeamStatistics$",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "breakpointsPlayed": {
      "default": 0,
      "type": "integer"
    },
    "faults": {
      "default": 0,
      "type": "integer"
    },
    "1stServePointsWon": {
      "default": 0,
      "type": "integer"
    },
    "1stServePointsWon%": {
      "default": 0,
      "type": "double"
    },
    "totalServes": {
      "default": 0,
      "type": "integer"
    },
    "2ndServePointsWon": {
      "default": 0,
      "type": "integer"
    },
    "2ndServePointsWon%": {
      "default": 0,
      "type": "double"
    },
    "breakpointsSaved": {
      "default": 0,
      "type": "integer"
    },
    "doubleFaults": {
      "default": 0,
      "type": "integer"
    },
    "1stServes%": {
      "default": 0,
      "type": "double"
    },
    "1stServes": {
      "default": 0,
      "type": "integer"
    },
    "2ndServes": {
      "default": 0,
      "type": "integer"
    },
    "aces": {
      "default": 0,
      "type": "integer"
    }
  }
}

Last updated