# games.atplay.authPlayer

> Published by [atplay.games](https://lexicon.garden/identity/did:plc:xawtkr77srkxlwhxjf7whbml)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xawtkr77srkxlwhxjf7whbml/games.atplay.authPlayer)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xawtkr77srkxlwhxjf7whbml/games.atplay.authPlayer/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xawtkr77srkxlwhxjf7whbml/games.atplay.authPlayer/examples)

## Definitions

### `games.atplay.authPlayer`

**Type**: `permission-set`

```json
{
  "key": "literal:self",
  "type": "permission-set",
  "title": "Play games with At Play",
  "detail": "Create game invitations and turns in your public repo, and create or update your player profile.",
  "permissions": [
    {
      "type": "permission",
      "action": [
        "create",
        "update"
      ],
      "resource": "repo",
      "collection": [
        "games.atplay.game.invitation"
      ]
    },
    {
      "type": "permission",
      "action": [
        "create"
      ],
      "resource": "repo",
      "collection": [
        "games.atplay.game.turn"
      ]
    },
    {
      "type": "permission",
      "action": [
        "create",
        "update"
      ],
      "resource": "repo",
      "collection": [
        "games.atplay.player.profile"
      ]
    },
    {
      "lxm": [
        "games.atplay.game.createInvitation",
        "games.atplay.game.createTurn",
        "games.atplay.player.putProfile"
      ],
      "type": "permission",
      "resource": "rpc",
      "inheritAud": true
    }
  ]
}
```

## Raw Schema

```json
{
  "id": "games.atplay.authPlayer",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "permission-set",
      "title": "Play games with At Play",
      "detail": "Create game invitations and turns in your public repo, and create or update your player profile.",
      "permissions": [
        {
          "type": "permission",
          "action": [
            "create",
            "update"
          ],
          "resource": "repo",
          "collection": [
            "games.atplay.game.invitation"
          ]
        },
        {
          "type": "permission",
          "action": [
            "create"
          ],
          "resource": "repo",
          "collection": [
            "games.atplay.game.turn"
          ]
        },
        {
          "type": "permission",
          "action": [
            "create",
            "update"
          ],
          "resource": "repo",
          "collection": [
            "games.atplay.player.profile"
          ]
        },
        {
          "lxm": [
            "games.atplay.game.createInvitation",
            "games.atplay.game.createTurn",
            "games.atplay.player.putProfile"
          ],
          "type": "permission",
          "resource": "rpc",
          "inheritAud": true
        }
      ]
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
