agency.portable.membership

portable.agency

{
  "id": "agency.portable.membership",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "service",
          "attestedBy",
          "createdAt"
        ],
        "properties": {
          "role": {
            "type": "string",
            "description": "Optional role, rank, or status within the service or community (e.g. 'admin', 'maintainer', 'fascinator')."
          },
          "service": {
            "ref": "#service",
            "type": "ref"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "attestedBy": {
            "type": "string",
            "format": "did",
            "description": "DID of the attester that verified this claim."
          }
        }
      },
      "description": "A self-attested claim by an atproto account that it is linked to an identity, community, or role in an external service. Paired with a matching agency.portable.attestation record on the attester's PDS."
    },
    "service": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "description": "External service identifier (e.g. 'discord', 'github', 'slack')."
        },
        "community": {
          "type": "string",
          "description": "Optional identifier for a specific group, server, workspace, or organization within the service (e.g. a Discord guild ID, a GitHub org slug)."
        },
        "identifier": {
          "type": "string",
          "description": "Optional external identity within the service (e.g. a user ID or handle). Include when proving platform identity; may be omitted when only proving community or role membership."
        }
      },
      "description": "Identifies an external service and, optionally, a specific community and identity within it."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against agency.portable.membership

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:y564i3jkoqqb5of5bcnq4xee
CID
bafyreifnqzssddtmr5tgcuhec7i6i4khhsownhi6gr3xzrqisiihpyv6ra
Indexed At
2026-04-23 12:32 UTC
AT-URI
at://did:plc:y564i3jkoqqb5of5bcnq4xee/com.atproto.lexicon.schema/agency.portable.membership

Lexicon Garden

@