# com.tynanpurdy.giftlist.authClaim

- 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.authClaim)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tlm5sbbtmcj55u33t2l35cat/com.tynanpurdy.giftlist.authClaim/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tlm5sbbtmcj55u33t2l35cat/com.tynanpurdy.giftlist.authClaim/analytics)

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

Type: permission-set

### Shown at sign-in

- `title` (string): Gift List claims
- `detail` (string): Claim gifts on other people's lists. Claims are kept private: the list's owner never sees them.

### Permissions

- `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.authClaim` (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": "Claim gifts on other people's lists. Claims are kept private: the list's owner never sees them.",
      "permissions": [
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "authority": "*",
          "collection": [
            "com.tynanpurdy.giftlist.claim"
          ],
          "resource": "space",
          "spaceType": "com.tynanpurdy.giftlist.claims",
          "type": "permission"
        }
      ],
      "title": "Gift List claims",
      "type": "permission-set"
    }
  },
  "id": "com.tynanpurdy.giftlist.authClaim",
  "lexicon": 1
}
```
