# PointScored packets

### Fields

In addition to the basic packet fields point scored packets have the following additional fields:

| Field Name | JSON type           | Description                                     |
| ---------- | ------------------- | ----------------------------------------------- |
| server     | string              | The server for the point                        |
| scoredBy   | sttring             | The team that scored the point                  |
| game       | int                 | The game in which the point was scored          |
| scores     | array (scores)      | An array of the game scores up until this point |
| matchScore | array (match score) | An array of the match score up until this point |
| nextServer | string              | The team who will serve next                    |

```
{
    "eventElementType": "PointScored",
    "game": 1,
    "id": 99991,
    "matchScore": {
        "pointsA": 0,
        "pointsB": 0
    },
    "scoredBy": "TeamB",
    "scores": [
        {
            "pointsA": 0,
            "pointsB": 1
        },
        {
            "pointsA": 0,
            "pointsB": 0
        },
        {
            "pointsA": 0,
            "pointsB": 0
        },
        {
            "pointsA": 0,
            "pointsB": 0
        },
        {
            "pointsA": 0,
            "pointsB": 0
        }
    ],
    "seqNum": 7,
    "server": "TeamA",
    "nextServer": "TeamA",
    "timestamp": "2021-07-13T13:42:28.808Z"
}
```
