Back to Simocracy

org.simocracy.communityMembership

Sidecar declaring that a sim is a member of a Simocracy community. Open communities are self-joined by the sim owner; approval communities are written by the community admin.

record · key any

Sidecar declaring that a sim is a member of a Simocracy community. Open communities are self-joined by the sim owner; approval communities are written by the community admin.

gathering*

Strong reference to the org.simocracy.gathering community.

strongRef
sim*

Strong reference to the org.simocracy.sim record that is a community member.

strongRef
source

How this membership was created.

string · max 32
values: open · approval · admin
status

Current membership status. Omitted means active for legacy records; left lets a sim owner leave even when the active membership was written by the admin.

string · max 32
values: active · left
application

Optional application record this membership approved.

strongRef
createdAt*
datetime
updatedAt
datetime
Raw lexicon JSON
{
  "lexicon": 1,
  "id": "org.simocracy.communityMembership",
  "defs": {
    "main": {
      "type": "record",
      "description": "Sidecar declaring that a sim is a member of a Simocracy community. Open communities are self-joined by the sim owner; approval communities are written by the community admin.",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "gathering",
          "sim",
          "createdAt"
        ],
        "properties": {
          "gathering": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "description": "Strong reference to the org.simocracy.gathering community."
          },
          "sim": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "description": "Strong reference to the org.simocracy.sim record that is a community member."
          },
          "source": {
            "type": "string",
            "maxLength": 32,
            "maxGraphemes": 32,
            "description": "How this membership was created.",
            "knownValues": [
              "open",
              "approval",
              "admin"
            ]
          },
          "status": {
            "type": "string",
            "maxLength": 32,
            "maxGraphemes": 32,
            "description": "Current membership status. Omitted means active for legacy records; left lets a sim owner leave even when the active membership was written by the admin.",
            "knownValues": [
              "active",
              "left"
            ]
          },
          "application": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "description": "Optional application record this membership approved."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  }
}
org.simocracy.communityMembership