# dev.tsunagite.difficulty

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

✓ This is the authoritative definition for this NSID.

## Description

Definitions related to difficulty slots in games hosting leaderboards via Tsunagite.

## Links

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

## Definitions

### `dev.tsunagite.difficulty`

**Type**: `record`

A difficulty slot in a game hosting leaderboards via Tsunagite.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `ref` → `dev.tsunagite.translatable` | Yes | The human-readable name of the difficulty slot for use in UI. |
| `color` | `string` | No | The hex code color of the difficulty slot. |

## Raw Schema

```json
{
  "id": "dev.tsunagite.difficulty",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "ref": "dev.tsunagite.translatable",
            "type": "ref",
            "description": "The human-readable name of the difficulty slot for use in UI."
          },
          "color": {
            "type": "string",
            "description": "The hex code color of the difficulty slot."
          }
        }
      },
      "description": "A difficulty slot in a game hosting leaderboards via Tsunagite."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Definitions related to difficulty slots in games hosting leaderboards via Tsunagite."
}
```
