# com.tynanpurdy.giftlist.authFull

- Kind: permission-set
- Authority: giftlist.tynanpurdy.com
- Lexicon: 1
- Published by [giftlist.tynanpurdy.com](https://lexicon.garden/identity/did:plc:tlm5sbbtmcj55u33t2l35cat), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:tlm5sbbtmcj55u33t2l35cat/com.tynanpurdy.giftlist.authFull)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tlm5sbbtmcj55u33t2l35cat/com.tynanpurdy.giftlist.authFull/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tlm5sbbtmcj55u33t2l35cat/com.tynanpurdy.giftlist.authFull/analytics)

## Permission set (`com.tynanpurdy.giftlist.authFull`)

Type: permission-set

### Shown at sign-in

- `title` (string): Gift List
- `detail` (string): Mark your Semble collections as gift lists, and claim gifts on other people's lists (claims are kept private from the list's owner).

### Permissions

- `repo` (permission): Create, update and delete records in com.tynanpurdy.giftlist.list.
  - Constraints: action: create, update, delete
  - Collections: `com.tynanpurdy.giftlist.list`
- `space` (permission): Create, update and delete com.tynanpurdy.giftlist.claim records in anyone's com.tynanpurdy.giftlist.claims spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: authority: *, collection: com.tynanpurdy.giftlist.claim, action: create, update, delete
  - Space type: `com.tynanpurdy.giftlist.claims`

### Asking for it (OAuth scope)

- `include:com.tynanpurdy.giftlist.authFull` (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": "Mark your Semble collections as gift lists, and claim gifts on other people's lists (claims are kept private from the list's owner).",
      "permissions": [
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "com.tynanpurdy.giftlist.list"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "authority": "*",
          "collection": [
            "com.tynanpurdy.giftlist.claim"
          ],
          "resource": "space",
          "spaceType": "com.tynanpurdy.giftlist.claims",
          "type": "permission"
        }
      ],
      "title": "Gift List",
      "type": "permission-set"
    }
  },
  "id": "com.tynanpurdy.giftlist.authFull",
  "lexicon": 1
}
```
