# place.stream.live.viewCount

> Published by [did:web:longos.iameli.link](https://lexicon.garden/identity/did:web:longos.iameli.link)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.live.viewCount)
- [Documentation](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.live.viewCount/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.live.viewCount/examples)

## Definitions

### `place.stream.live.viewCount`

**Type**: `record`

Current view count for a livestream on a particular server.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `count` | `integer` | Yes | The current view count for the livestream. |
| `server` | `string` (did) | Yes | The DID of the server to get the view count for. |
| `streamer` | `string` (did) | Yes | The DID of the streamer to teleport to. |
| `updatedAt` | `string` (datetime) | No | The time the view count was last updated. |

## Raw Schema

```json
{
  "id": "place.stream.live.viewCount",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "streamer",
          "server",
          "count"
        ],
        "properties": {
          "count": {
            "type": "integer",
            "description": "The current view count for the livestream."
          },
          "server": {
            "type": "string",
            "format": "did",
            "description": "The DID of the server to get the view count for."
          },
          "streamer": {
            "type": "string",
            "format": "did",
            "description": "The DID of the streamer to teleport to."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "The time the view count was last updated."
          }
        }
      },
      "description": "Current view count for a livestream on a particular server."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
