# cards.sunshine.authReview

- Kind: permission-set
- Authority: sunshine.cards
- Lexicon: 1
- Published by [sunshine.cards](https://lexicon.garden/identity/did:web:sunshine.cards), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:web:sunshine.cards/cards.sunshine.authReview)
- [Schema JSON](https://lexicon.garden/lexicon/did:web:sunshine.cards/cards.sunshine.authReview/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:web:sunshine.cards/cards.sunshine.authReview/analytics)

## Permission set (`cards.sunshine.authReview`)

Type: permission-set

### Shown at sign-in

- `title` (string): Review Sunshine Cards
- `detail` (string): See draft cards you've been asked to review.

### Permissions

- `rpc` (permission): Call cards.sunshine.getDraft on the service named by the scope's aud parameter. Without one, it isn't granted.
  - Constraints: inheritAud: true
  - Methods: `cards.sunshine.getDraft`

### Asking for it (OAuth scope)

- `include:cards.sunshine.authReview` (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": "See draft cards you've been asked to review.",
      "permissions": [
        {
          "inheritAud": true,
          "lxm": [
            "cards.sunshine.getDraft"
          ],
          "resource": "rpc",
          "type": "permission"
        }
      ],
      "title": "Review Sunshine Cards",
      "type": "permission-set"
    }
  },
  "id": "cards.sunshine.authReview",
  "lexicon": 1
}
```
