# dev.tsunagite.profile

> Published by [tsunagite.dev](https://lexicon.garden/identity/did:plc:pz4sp2vf5w26wnaee253gfms)

✓ This is the authoritative definition for this NSID.

## Description

Definitions related to player profiles in games hosting leaderboards via Tsunagite.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:pz4sp2vf5w26wnaee253gfms/dev.tsunagite.profile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pz4sp2vf5w26wnaee253gfms/dev.tsunagite.profile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pz4sp2vf5w26wnaee253gfms/dev.tsunagite.profile/examples)

## Definitions

### `dev.tsunagite.profile`

**Type**: `record`

The player profile for a given game, determined by an NSID of the game publisher's handle succeeded by the game's key.

**Key**: `nsid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `game` | `string` (at-uri) | Yes | The URI of the game this profile is for. |
| `displayName` | `string` | Yes | The display name for the player on leaderboards. |

## Raw Schema

```json
{
  "id": "dev.tsunagite.profile",
  "defs": {
    "main": {
      "key": "nsid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "game",
          "displayName"
        ],
        "properties": {
          "game": {
            "type": "string",
            "format": "at-uri",
            "description": "The URI of the game this profile is for."
          },
          "displayName": {
            "type": "string",
            "maxLength": 500,
            "minLength": 1,
            "description": "The display name for the player on leaderboards.",
            "maxGraphemes": 50
          }
        }
      },
      "description": "The player profile for a given game, determined by an NSID of the game publisher's handle succeeded by the game's key."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Definitions related to player profiles in games hosting leaderboards via Tsunagite."
}
```
