dev.knotless.getOrg

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The accounts an organization (any account keeping a dev.knotless.org record) invited, as the appview has indexed its records. To anyone, those who are members in public: named by a dev.knotless.orgMember record in its public records, taken in, and keeping a public dev.knotless.orgAcceptance record naming it. Optional authentication: to the organization itself and to its members, its invitations and hidden members too, from its space; to an account it invited, its own entry.",
      "errors": [
        {
          "description": "No account by that DID or handle.",
          "name": "ProfileNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "gateway": {
              "description": "The gateway its public dev.knotless.org record names, which members join and leave through, and admins change its members through.",
              "format": "did",
              "type": "string"
            },
            "inside": {
              "description": "Whether the asker sees its invitations and hidden members: it is the organization, or one of its members.",
              "type": "boolean"
            },
            "members": {
              "description": "The first invited first: to an asker inside, every account it invited; to anyone else, its members in public.",
              "items": {
                "ref": "#memberView",
                "type": "ref"
              },
              "type": "array"
            },
            "org": {
              "ref": "dev.knotless.defs#actorView",
              "type": "ref"
            },
            "organization": {
              "description": "Whether the account is an organization: it keeps a public dev.knotless.org record.",
              "type": "boolean"
            }
          },
          "required": [
            "org",
            "organization",
            "inside",
            "members"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "The organization, by DID or handle.",
            "format": "at-identifier",
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "memberView": {
      "description": "An account an organization invited, and where it stands.",
      "properties": {
        "actor": {
          "ref": "dev.knotless.defs#actorView",
          "type": "ref"
        },
        "expiresAt": {
          "description": "When the invitation lapses, when its record says.",
          "format": "datetime",
          "type": "string"
        },
        "invitedAt": {
          "format": "datetime",
          "type": "string"
        },
        "joinedAt": {
          "description": "When the organization took it in.",
          "format": "datetime",
          "type": "string"
        },
        "role": {
          "description": "What it may do: an admin also invites and removes members.",
          "knownValues": [
            "admin",
            "member"
          ],
          "type": "string"
        },
        "standing": {
          "description": "Invited and not yet a member; invited, and the invitation lapsed; a member anyone may see; or a member only the organization's members see.",
          "knownValues": [
            "invited",
            "lapsed",
            "public",
            "hidden"
          ],
          "type": "string"
        }
      },
      "required": [
        "actor",
        "role",
        "standing",
        "invitedAt"
      ],
      "type": "object"
    }
  },
  "description": "An organization's members on knotless.",
  "id": "dev.knotless.getOrg",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.getOrg

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreiavgwl3bkqk2we2vozezs6452kfd6pylk25egwkdsnwa7nvj4tdfe
Indexed At
2026-10-29 17:40 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.getOrg

Version History (2 versions)

Referenced Schemas (1)

Similar Lexicons

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

  • Takes the caller into an organization that invited them, once they keep a dev.knotless.orgAcceptance record naming it, through the gateway the organization delegated writes to: names them in its public record when their…

  • An organization's side of its membership: an account it invited, and their roles.

  • Invites an account to an organization, or changes a member's role, through the gateway the organization delegated writes to, which writes as the organization. The caller must be an admin of it who joined. Requires a ser…

  • Invites an account to an organization as the account logged in to this appview's pages, or changes its role, as `knotless org add` does.

  • That an account is an organization on knotless.

Lexicon Garden

@