# net.olamaelcu.livtet.clubInvite.request

> One submission of a club's join form, written by the requester inside their invitation space. Each submission is a new record: the answers a moderator is looking at never change underneath them, and the club can see every version. The field type and label are copied in so a decision still reads correctly after the club edits or removes the field.

- Kind: record
- Record key: tid
- Authority: clubInvite.livtet.olamaelcu.net
- Lexicon: 1
- Published by [biblio.livtet.olamaelcu.net](https://lexicon.garden/identity/did:plc:e2x3ihw2ntxt7pcgzmtu3abi), not the NSID's authority

## Links

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

## Record (`net.olamaelcu.livtet.clubInvite.request`)

Type: record · key tid

### Properties

- `answers` (array, required)
  - Constraints: maxLength: 10
  - `items` (ref)
    - Reference: `#answer`
- `club` (string · at-uri, required): The club space this request is for. A record naming a different club is ignored.
- `submittedAt` (string · datetime, required)

## #answer (`net.olamaelcu.livtet.clubInvite.request#answer`)

Type: object

One answer, carrying exactly one value whose shape matches `type`.

### Properties

- `blob` (blob)
  - Constraints: maxSize: 5242880, accept: application/pdf, image/png, image/jpeg, image/webp
- `checked` (boolean)
- `date` (string)
  - Constraints: maxLength: 10
- `fieldId` (string, required)
  - Constraints: maxLength: 64
- `fileName` (string)
  - Constraints: maxLength: 255
- `label` (string, required)
  - Constraints: maxLength: 120
- `number` (integer): Lexicon has no floating-point number type; a numeric answer is a whole number.
- `selected` (array)
  - Constraints: maxLength: 20
  - `items` (string)
    - Constraints: maxLength: 120
- `text` (string)
  - Constraints: maxLength: 2000
- `type` (string, required)
  - Constraints: knownValues: text | longText | select | multiSelect | checkbox | number | date | file

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "answer": {
      "description": "One answer, carrying exactly one value whose shape matches `type`.",
      "properties": {
        "blob": {
          "accept": [
            "application/pdf",
            "image/png",
            "image/jpeg",
            "image/webp"
          ],
          "maxSize": 5242880,
          "type": "blob"
        },
        "checked": {
          "type": "boolean"
        },
        "date": {
          "maxLength": 10,
          "type": "string"
        },
        "fieldId": {
          "maxLength": 64,
          "type": "string"
        },
        "fileName": {
          "maxLength": 255,
          "type": "string"
        },
        "label": {
          "maxLength": 120,
          "type": "string"
        },
        "number": {
          "description": "Lexicon has no floating-point number type; a numeric answer is a whole number.",
          "type": "integer"
        },
        "selected": {
          "items": {
            "maxLength": 120,
            "type": "string"
          },
          "maxLength": 20,
          "type": "array"
        },
        "text": {
          "maxLength": 2000,
          "type": "string"
        },
        "type": {
          "knownValues": [
            "text",
            "longText",
            "select",
            "multiSelect",
            "checkbox",
            "number",
            "date",
            "file"
          ],
          "type": "string"
        }
      },
      "required": [
        "fieldId",
        "label",
        "type"
      ],
      "type": "object"
    },
    "main": {
      "description": "One submission of a club's join form, written by the requester inside their invitation space. Each submission is a new record: the answers a moderator is looking at never change underneath them, and the club can see every version. The field type and label are copied in so a decision still reads correctly after the club edits or removes the field.",
      "key": "tid",
      "record": {
        "properties": {
          "answers": {
            "items": {
              "ref": "#answer",
              "type": "ref"
            },
            "maxLength": 10,
            "type": "array"
          },
          "club": {
            "description": "The club space this request is for. A record naming a different club is ignored.",
            "format": "at-uri",
            "type": "string"
          },
          "submittedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "club",
          "answers",
          "submittedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.olamaelcu.livtet.clubInvite.request",
  "lexicon": 1
}
```
