# live.streamface.pokemonCrystalMgba.petCount

> Published by [streamface.live](https://lexicon.garden/identity/did:plc:j66wyknizjxecbnrenjzj7l3)

✓ This is the authoritative definition for this NSID.

## Description

Per-individual Pokémon and petter counts. Repository identity is the streamer. Record key is SHA-256 of Pokémon identity and petter DID. No party, HP, EXP or badges are stored. Recent chat record keys prevent duplicate counting across overlays and restarts.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:j66wyknizjxecbnrenjzj7l3/live.streamface.pokemonCrystalMgba.petCount)
- [Documentation](https://lexicon.garden/lexicon/did:plc:j66wyknizjxecbnrenjzj7l3/live.streamface.pokemonCrystalMgba.petCount/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:j66wyknizjxecbnrenjzj7l3/live.streamface.pokemonCrystalMgba.petCount/examples)

## Definitions

### `live.streamface.pokemonCrystalMgba.petCount`

**Type**: `record`

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `count` | `integer` | Yes |  |
| `messages` | `array` | Yes |  |
| `petterDid` | `string` (did) | Yes |  |
| `pokemonId` | `string` | Yes |  |
| `updatedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "count": {
            "minimum": 1,
            "type": "integer"
          },
          "messages": {
            "items": {
              "maxLength": 1024,
              "type": "string"
            },
            "maxLength": 1000,
            "type": "array"
          },
          "petterDid": {
            "format": "did",
            "type": "string"
          },
          "pokemonId": {
            "maxLength": 9,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "pokemonId",
          "petterDid",
          "count",
          "messages",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Per-individual Pokémon and petter counts. Repository identity is the streamer. Record key is SHA-256 of Pokémon identity and petter DID. No party, HP, EXP or badges are stored. Recent chat record keys prevent duplicate counting across overlays and restarts.",
  "id": "live.streamface.pokemonCrystalMgba.petCount",
  "lexicon": 1
}
```
