# pub.chive.collaboration.inviteAcceptance

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Description

Acceptance record created by an invitee, acknowledging a collaboration invite. Lives in the invitee's PDS. The combination of an existing invite and a matching acceptance — both non-deleted — is what grants the invitee's writes to be surfaced against the subject record.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.collaboration.inviteAcceptance)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.collaboration.inviteAcceptance/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.collaboration.inviteAcceptance/examples)

## Definitions

### `pub.chive.collaboration.inviteAcceptance`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `invite` | `ref` → `com.atproto.repo.strongRef` | Yes | StrongRef to the corresponding pub.chive.collaboration.invite record. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | StrongRef to the subject record of the invite (collection, eprint, etc.). Redundant with the invite reference but convenient for firehose-time indexing before the invite is resolved. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "pub.chive.collaboration.inviteAcceptance",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "invite",
          "subject",
          "createdAt"
        ],
        "properties": {
          "invite": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "StrongRef to the corresponding pub.chive.collaboration.invite record."
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "StrongRef to the subject record of the invite (collection, eprint, etc.). Redundant with the invite reference but convenient for firehose-time indexing before the invite is resolved."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1,
  "description": "Acceptance record created by an invitee, acknowledging a collaboration invite. Lives in the invitee's PDS. The combination of an existing invite and a matching acceptance — both non-deleted — is what grants the invitee's writes to be surfaced against the subject record."
}
```
