# tech.devrelish.membership

> Published by [devrelish.tech](https://lexicon.garden/identity/did:plc:6d3psjptpouatzj7t7sk5qrt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6d3psjptpouatzj7t7sk5qrt/tech.devrelish.membership)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6d3psjptpouatzj7t7sk5qrt/tech.devrelish.membership/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6d3psjptpouatzj7t7sk5qrt/tech.devrelish.membership/examples)

## Definitions

### `tech.devrelish.membership`

**Type**: `record`

A user's declared membership in a DevRel-ish group.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `role` | `string` | No | The member's role within the group. |
| `group` | `ref` → `com.atproto.repo.strongRef` | Yes | Strong reference to the tech.devrelish.group record. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when the membership was created. |

### `tech.devrelish.membership#member`

**Type**: `token`

A regular member of the group.

A regular member of the group.

### `tech.devrelish.membership#organizer`

**Type**: `token`

An organizer with management permissions for the group.

An organizer with management permissions for the group.

## Raw Schema

```json
{
  "id": "tech.devrelish.membership",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "group",
          "createdAt"
        ],
        "properties": {
          "role": {
            "type": "string",
            "default": "tech.devrelish.membership#member",
            "description": "The member's role within the group.",
            "knownValues": [
              "tech.devrelish.membership#member",
              "tech.devrelish.membership#organizer"
            ]
          },
          "group": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Strong reference to the tech.devrelish.group record."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when the membership was created."
          }
        }
      },
      "description": "A user's declared membership in a DevRel-ish group."
    },
    "member": {
      "type": "token",
      "description": "A regular member of the group."
    },
    "organizer": {
      "type": "token",
      "description": "An organizer with management permissions for the group."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
