# io.atcr.hold.crew

> Crew member in a hold's embedded PDS. Grants access permissions to push blobs to the hold. Stored in the hold's embedded PDS (one record per member).

- Kind: record
- Record key: any
- Authority: hold.atcr.io
- Lexicon: 1
- Published by [did:web:lexicon.atcr.io](https://lexicon.garden/identity/did:web:lexicon.atcr.io), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:web:lexicon.atcr.io/io.atcr.hold.crew)
- [Schema JSON](https://lexicon.garden/lexicon/did:web:lexicon.atcr.io/io.atcr.hold.crew/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:web:lexicon.atcr.io/io.atcr.hold.crew/analytics)

## Record (`io.atcr.hold.crew`)

Type: record · key any

### Properties

- `addedAt` (string · datetime, required): RFC3339 timestamp of when the member was added
- `member` (string · did, required): DID of the crew member
- `permissions` (array, required): Specific permissions granted to this member
  - `items` (string)
    - Constraints: maxLength: 64
- `role` (string, required): Member's role in the hold
  - Constraints: maxLength: 32, knownValues: owner | admin | write | read
- `tier` (string): Optional tier for quota limits (e.g., 'deckhand', 'bosun', 'quartermaster'). If empty, uses defaults.new_crew_tier from quotas.yaml.
  - Constraints: maxLength: 32

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Crew member in a hold's embedded PDS. Grants access permissions to push blobs to the hold. Stored in the hold's embedded PDS (one record per member).",
      "key": "any",
      "record": {
        "properties": {
          "addedAt": {
            "description": "RFC3339 timestamp of when the member was added",
            "format": "datetime",
            "type": "string"
          },
          "member": {
            "description": "DID of the crew member",
            "format": "did",
            "type": "string"
          },
          "permissions": {
            "description": "Specific permissions granted to this member",
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "type": "array"
          },
          "role": {
            "description": "Member's role in the hold",
            "knownValues": [
              "owner",
              "admin",
              "write",
              "read"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "tier": {
            "description": "Optional tier for quota limits (e.g., 'deckhand', 'bosun', 'quartermaster'). If empty, uses defaults.new_crew_tier from quotas.yaml.",
            "maxLength": 32,
            "type": "string"
          }
        },
        "required": [
          "member",
          "role",
          "permissions",
          "addedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "io.atcr.hold.crew",
  "lexicon": 1
}
```
