# gg.infinitetavern.herald.battleReport

> Published by [infinitetavern.gg](https://lexicon.garden/identity/did:plc:vxwgn77hp5ikvbiggm5es3rv)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vxwgn77hp5ikvbiggm5es3rv/gg.infinitetavern.herald.battleReport)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vxwgn77hp5ikvbiggm5es3rv/gg.infinitetavern.herald.battleReport/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vxwgn77hp5ikvbiggm5es3rv/gg.infinitetavern.herald.battleReport/examples)

## Definitions

### `gg.infinitetavern.herald.battleReport`

**Type**: `record`

A herald's battle report — a structured summary of a tavern battle written by the town crier bot to its own PDS. The AT-URI of this record may be embedded in Bluesky feed posts to announce match results.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `gifUrl` | `string` (uri) | No | Optional URL to an animated battle summary. |
| `lobbyId` | `string` | Yes | Server-assigned lobby UUID identifying the tavern battle. |
| `playedAt` | `string` (datetime) | Yes | ISO 8601 UTC timestamp when the battle concluded. |
| `placements` | `array` | Yes | Final standings of all adventurers, ordered by placement. |
| `roundCount` | `integer` | Yes | Total combat rounds in the battle. |
| `seasonName` | `string` | No | Display name of the campaign season. |
| `seasonNumber` | `integer` | Yes | The campaign season this battle took place in. |

### `gg.infinitetavern.herald.battleReport#placementEntry`

**Type**: `object`

One adventurer's final standing in the battle.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `handle` | `string` | Yes |  |
| `heroKey` | `string` | Yes |  |
| `heroName` | `string` | Yes |  |
| `mmrChange` | `number` | No | Signed rating change for this adventurer. |
| `placement` | `integer` | Yes |  |

## Raw Schema

```json
{
  "id": "gg.infinitetavern.herald.battleReport",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "lobbyId",
          "seasonNumber",
          "roundCount",
          "playedAt",
          "placements"
        ],
        "properties": {
          "gifUrl": {
            "type": "string",
            "format": "uri",
            "description": "Optional URL to an animated battle summary."
          },
          "lobbyId": {
            "type": "string",
            "description": "Server-assigned lobby UUID identifying the tavern battle."
          },
          "playedAt": {
            "type": "string",
            "format": "datetime",
            "description": "ISO 8601 UTC timestamp when the battle concluded."
          },
          "placements": {
            "type": "array",
            "items": {
              "ref": "#placementEntry",
              "type": "ref"
            },
            "maxLength": 8,
            "description": "Final standings of all adventurers, ordered by placement."
          },
          "roundCount": {
            "type": "integer",
            "minimum": 1,
            "description": "Total combat rounds in the battle."
          },
          "seasonName": {
            "type": "string",
            "description": "Display name of the campaign season."
          },
          "seasonNumber": {
            "type": "integer",
            "minimum": 1,
            "description": "The campaign season this battle took place in."
          }
        }
      },
      "description": "A herald's battle report — a structured summary of a tavern battle written by the town crier bot to its own PDS. The AT-URI of this record may be embedded in Bluesky feed posts to announce match results."
    },
    "placementEntry": {
      "type": "object",
      "required": [
        "placement",
        "did",
        "handle",
        "heroKey",
        "heroName"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "handle": {
          "type": "string"
        },
        "heroKey": {
          "type": "string"
        },
        "heroName": {
          "type": "string"
        },
        "mmrChange": {
          "type": "number",
          "description": "Signed rating change for this adventurer."
        },
        "placement": {
          "type": "integer",
          "maximum": 8,
          "minimum": 1
        }
      },
      "description": "One adventurer's final standing in the battle."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
