# com.joshuashew.games.authScores

- Kind: permission-set
- Authority: games.joshuashew.com
- Lexicon: 1
- Published by [joshuashew.bsky.social](https://lexicon.garden/identity/did:plc:sfmur4r4wzriaupbgmz7sshy), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:sfmur4r4wzriaupbgmz7sshy/com.joshuashew.games.authScores)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:sfmur4r4wzriaupbgmz7sshy/com.joshuashew.games.authScores/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:sfmur4r4wzriaupbgmz7sshy/com.joshuashew.games.authScores/analytics)

## Permission set (`com.joshuashew.games.authScores`)

Type: permission-set

### Shown at sign-in

- `title` (string): Game scores
- `detail` (string): Save your best scores from joshuashew.com games to your Bluesky account

### Permissions

- `repo` (permission): Create records in com.joshuashew.games.score.
  - Constraints: action: create
  - Collections: `com.joshuashew.games.score`

### Asking for it (OAuth scope)

- `include:com.joshuashew.games.authScores` (scope): A client asks for this permission set with this scope. The scope builder lists what the set grants.
  - Scope builder: `Open in the scope builder`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "detail": "Save your best scores from joshuashew.com games to your Bluesky account",
      "permissions": [
        {
          "action": [
            "create"
          ],
          "collection": [
            "com.joshuashew.games.score"
          ],
          "resource": "repo",
          "type": "permission"
        }
      ],
      "title": "Game scores",
      "type": "permission-set"
    }
  },
  "id": "com.joshuashew.games.authScores",
  "lexicon": 1
}
```
