Atmosphere GroupsOpen specificationBeta
MenuClose

The spec's lexicons

Every schema the spec defines, one page each, from the files in its repository.

They're published on the network under the same names, and the reference host publishes its own versions of most of them. Both are under Published lexicons, and each page here links to its counterparts.

Spaces

LexiconWhat it is
org.atgrp.metaBasic information and settings for the group. Often public, even when the rest of the group is not.
org.atgrp.membersMembership and administrative information for the group. Usually readable only by members.
org.atgrp.inboxA user's inbox for group invites, under their own DID. Created with a memberspace policy that sets publicWrite, so groups may write invites here and read only their own.

Records

LexiconWhat it is
org.atgrp.declarationDeclares an account as a group. Published in the group's public repo for discovery.
org.atgrp.aboutBasic information for presenting the group. Written by the group in the meta space.
org.atgrp.configThe group's configuration, such as how to join. Written by the group in the meta space.
org.atgrp.ruleA group rule, written by the group in the members space. Reports can cite it by URI.
org.atgrp.labelerThe group's label values and the reports it accepts. Written by the group in the members space.
org.atgrp.spaceAn entry in the group's space index, in the members space. The group host maintains these records as spaces are created, deleted, or unlisted, and rejects direct writes.
org.atgrp.roleA group role and its group-wide grants, keyed by role ID. Role IDs follow label value syntax ([a-z-]+) and are at least 3 characters. Written by the group in the members space. Grants within a space live in that space's policy.
org.atgrp.membershipA member's roles in the group, keyed by the member's DID. Written by the group in the members space, and paired with the member's confirmation.
org.atgrp.confirmationA member's confirmation of their group membership. Written by the member in the group's members space.
org.atgrp.inviteAn invitation to join the group, written by the group into the invitee's inbox space. Deleting it revokes the invite.

Space policy

LexiconWhat it is
org.atgrp.policySpace policy for group spaces: each role's access and permissions in the space, whether it is public, and whether it is listed in the space index. The host always publishes it in the space as a com.atproto.space.policy record.

Permission sets

LexiconWhat it is
org.atgrp.authManageBasicFor group account sessions. Limited to what the authorizing user's roles grant.
org.atgrp.authManageMembersFor group account sessions. Limited to what the authorizing user's roles grant.
org.atgrp.authModerateFor group account sessions. Limited to what the authorizing user's roles grant.
org.atgrp.authManageAdminFor group account sessions. Limited to what the authorizing user's roles grant.
org.atgrp.authParticipateFor personal sessions, acting as the user rather than the group.

Methods

LexiconWhat it is
org.atgrp.listJoinRequestsList pending join requests, which the host stores privately. Approve one by writing the requester's membership record. Deny requests with 'denyJoinRequest'. Requires auth as the group.
org.atgrp.denyJoinRequestDeny a pending join request, deleting it. To approve one, write the requester's membership instead. Requires auth as the group.
org.atgrp.mod.querySubjectsList subjects in the moderation queue. Requires auth as the group.
org.atgrp.mod.querySubjectHistoryGet a subject's moderation history. Requires auth as the group.
org.atgrp.mod.updateSubjectChange a subject's status or tags, or add a note. Omitted fields are left as they are. Requires auth as the group.
org.atgrp.requestJoinRequest to join a group, optionally redeeming an invite. Admits the caller right away when the join policy is open or with a valid invite, and otherwise queues a request. Returns the caller's existing request or membership if they have one. Requires service auth.
org.atgrp.cancelJoinRequestWithdraw the caller's pending join request. Requires service auth.
org.atgrp.leaveGroupLeave a group, deleting the caller's membership, which the group authored. The caller should also delete their confirmation. Requires service auth.
org.atgrp.mod.submitReportReport an account or record in a group, opening or reopening it in the moderation queue. The caller must be able to read the subject's space. Requires service auth.
org.atgrp.mod.submitAppealAppeal a label or ejection on the caller's account or one of their records, reopening it in the moderation queue. Works for former members. Requires service auth.
org.atgrp.mod.querySelfHistoryGet moderation history for the caller's account and records. Omits reports, notes, tags, and who acted. Works for former members. Requires service auth.

Shared definitions