io.atcr.hold.requestCrew

seamark.cr View official

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Request crew membership for the hold. Authorization depends on the captain record: if allowAllCrew is true, any authenticated user can join; otherwise, only the owner can join.",
      "errors": [
        {
          "name": "AuthRequired"
        },
        {
          "name": "RegistrationDisabled"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "permissions": {
              "description": "Requested permissions (default: ['blob:read', 'blob:write'])",
              "items": {
                "maxLength": 64,
                "type": "string"
              },
              "type": "array"
            },
            "role": {
              "default": "member",
              "description": "Requested role (default: 'member')",
              "maxLength": 32,
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "description": "CID of the crew record",
              "format": "cid",
              "type": "string"
            },
            "message": {
              "description": "Human-readable status message",
              "maxLength": 256,
              "type": "string"
            },
            "status": {
              "description": "Result status",
              "knownValues": [
                "created",
                "already_member"
              ],
              "maxLength": 32,
              "type": "string"
            },
            "uri": {
              "description": "AT-URI of the crew record (if created or already exists)",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "status"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "io.atcr.hold.requestCrew",
  "lexicon": 1
}

Validate Record

Validate a record against io.atcr.hold.requestCrew

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:wfj5kyialpmcv2fzk6uqwsln
CID
bafyreibq6q4g23lovz5yhtc3sygycaxz2zsrs2bemws2awsjuw3ixef27y
Indexed At
2026-02-18 19:30 UTC
AT-URI
at://did:plc:wfj5kyialpmcv2fzk6uqwsln/com.atproto.lexicon.schema/io.atcr.hold.requestCrew

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 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).

Lexicon Garden

@