# app.cosmosis.clusterMember

> A single account's membership in a Cluster. Lives inside the same Space as its parent `app.cosmosis.cluster` record. Delete this record to remove the account from the Cluster. The record key SHOULD be the subject's DID when that DID is a valid record key (true for all did:plc and most did:web identifiers), which makes writes idempotent and lets clients remove a member without a lookup; otherwise use a tid.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:ahyfb4aosesmcpkc34kmc6mo/app.cosmosis.clusterMember)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:ahyfb4aosesmcpkc34kmc6mo/app.cosmosis.clusterMember/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:ahyfb4aosesmcpkc34kmc6mo/app.cosmosis.clusterMember/analytics)

## Record (`app.cosmosis.clusterMember`)

Type: record · key any

### Properties

- `cluster` (string · uri, required): URI of the parent Cluster record. Because Clusters are permissioned this is a space record URI (`at://<authority>/space/...`), and it must refer to the Cluster record in the same Space as this record. A plain URI (not a strongRef) is used so that editing the Cluster's name/description doesn't invalidate its members.
- `createdAt` (string · datetime, required)
- `subject` (string · did, required): The DID of the account in the Cluster.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single account's membership in a Cluster. Lives inside the same Space as its parent `app.cosmosis.cluster` record. Delete this record to remove the account from the Cluster. The record key SHOULD be the subject's DID when that DID is a valid record key (true for all did:plc and most did:web identifiers), which makes writes idempotent and lets clients remove a member without a lookup; otherwise use a tid.",
      "key": "any",
      "record": {
        "properties": {
          "cluster": {
            "description": "URI of the parent Cluster record. Because Clusters are permissioned this is a space record URI (`at://<authority>/space/...`), and it must refer to the Cluster record in the same Space as this record. A plain URI (not a strongRef) is used so that editing the Cluster's name/description doesn't invalidate its members.",
            "format": "uri",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The DID of the account in the Cluster.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "cluster",
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.cosmosis.clusterMember",
  "lexicon": 1
}
```
