# id.sifa.project.membership

> Published by [sifa.id](https://lexicon.garden/identity/did:plc:2f2ahswozqy4v5lvu676375y)

## Description

Acceptance of a project team invitation. Written by the invited user in their own PDS. References the id.sifa.project.member invitation record. Both records existing = confirmed team member. Either party can delete their record to revoke membership.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2f2ahswozqy4v5lvu676375y/id.sifa.project.membership)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2f2ahswozqy4v5lvu676375y/id.sifa.project.membership/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2f2ahswozqy4v5lvu676375y/id.sifa.project.membership/examples)

## Definitions

### `id.sifa.project.membership`

**Type**: `record`

Record representing acceptance of a project team invitation. Lives in the invited user's PDS.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `project` | `ref` → `com.atproto.repo.strongRef` | Yes | StrongRef to the id.sifa.project.self record being joined. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this acceptance was created. |
| `invitation` | `ref` → `com.atproto.repo.strongRef` | Yes | StrongRef to the id.sifa.project.member invitation record that this acceptance corresponds to. |

## Raw Schema

```json
{
  "id": "id.sifa.project.membership",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "project",
          "invitation",
          "createdAt"
        ],
        "properties": {
          "project": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "StrongRef to the id.sifa.project.self record being joined."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when this acceptance was created."
          },
          "invitation": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "StrongRef to the id.sifa.project.member invitation record that this acceptance corresponds to."
          }
        }
      },
      "description": "Record representing acceptance of a project team invitation. Lives in the invited user's PDS."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Acceptance of a project team invitation. Written by the invited user in their own PDS. References the id.sifa.project.member invitation record. Both records existing = confirmed team member. Either party can delete their record to revoke membership."
}
```
