# com.livtet.clubInvite

> One reader's application to one club. A space is created per (club, requester) pair and owned by the club's authority, so the club can read every submission and the requester can read the decision without either repo being shared. A request is one record per submission (tid key) in the requester's repo inside the space, so editing while pending appends a version instead of overwriting the one a moderator already read. A decision is one record per decision (tid key) in the owner's repo, pointing at the exact request version it answers.

- Kind: space
- Authority: livtet.com
- Lexicon: 1
- Published by [biblio.livtet.com](https://lexicon.garden/identity/did:plc:e2x3ihw2ntxt7pcgzmtu3abi), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.clubInvite)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.clubInvite/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.clubInvite/analytics)

## Space (`com.livtet.clubInvite`)

Type: space · key tid

### Shown at sign-in

- `title` (string): Club invitation

### Collections

- `collections` (array · nsid): The record collections clients of this space type use. A space: scope covers these unless it names its own.
  - Collections: `com.livtet.clubInvite.request`, `com.livtet.clubInvite.decision`

### Asking for it (OAuth scope)

- `space:com.livtet.clubInvite` (scope): A client asks for access to spaces of this type with this scope. On its own it covers your own spaces, with any key, and reading, creating, updating and deleting records in the collections above; authority, skey, collection, action and manage narrow or widen that. From the Atproto Spaces proposal (0016).
  - Scope builder: `Open in the scope builder`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "collections": [
        "com.livtet.clubInvite.request",
        "com.livtet.clubInvite.decision"
      ],
      "description": "One reader's application to one club. A space is created per (club, requester) pair and owned by the club's authority, so the club can read every submission and the requester can read the decision without either repo being shared. A request is one record per submission (tid key) in the requester's repo inside the space, so editing while pending appends a version instead of overwriting the one a moderator already read. A decision is one record per decision (tid key) in the owner's repo, pointing at the exact request version it answers.",
      "key": "tid",
      "name": "Club invitation",
      "title": "Club invitation",
      "type": "space"
    }
  },
  "id": "com.livtet.clubInvite",
  "lexicon": 1
}
```
