# computer.spaces.rsvp

> Your answer to an event in a shared calendar at spaces.computer, stored in your own repo inside the calendar space. Everyone in the calendar can read it. Record key: the event writer and the event's record key, so there is one answer per person per event. Changing the answer rewrites it.

- Kind: record
- Record key: any
- Authority: spaces.computer
- Lexicon: 1
- Published by [spaces.computer](https://lexicon.garden/identity/did:plc:fcup7ltuhyvyayda32fru55z), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.rsvp)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.rsvp/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.rsvp/analytics)

## Record (`computer.spaces.rsvp`)

Type: record · key any

### Properties

- `answer` (string, required): going, maybe, or no.
  - Constraints: knownValues: going | maybe | no
- `createdAt` (string · datetime, required): When you first answered.
- `event` (string, required): The event answered: its record's address inside the calendar space, at:space/{authority}/computer.spaces.calendar/{key}/{writer}/computer.spaces.event/{rkey}.
  - Constraints: maxLength: 2048
- `note` (string): Anything to add, e.g. what you are bringing.
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `updatedAt` (string · datetime): When you last changed your answer.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Your answer to an event in a shared calendar at spaces.computer, stored in your own repo inside the calendar space. Everyone in the calendar can read it. Record key: the event writer and the event's record key, so there is one answer per person per event. Changing the answer rewrites it.",
      "key": "any",
      "record": {
        "properties": {
          "answer": {
            "description": "going, maybe, or no.",
            "knownValues": [
              "going",
              "maybe",
              "no"
            ],
            "type": "string"
          },
          "createdAt": {
            "description": "When you first answered.",
            "format": "datetime",
            "type": "string"
          },
          "event": {
            "description": "The event answered: its record's address inside the calendar space, at:space/{authority}/computer.spaces.calendar/{key}/{writer}/computer.spaces.event/{rkey}.",
            "maxLength": 2048,
            "type": "string"
          },
          "note": {
            "description": "Anything to add, e.g. what you are bringing.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "updatedAt": {
            "description": "When you last changed your answer.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "event",
          "answer",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.spaces.rsvp",
  "lexicon": 1
}
```
