app.protoimsg.chat.community

lexicons.protoimsg.app

Documentation

The user's community list. Portable across any app implementing the Lexicon.

main record

The user's community list. Portable across any app implementing the Lexicon.

Record Key literal:self Fixed literal value

Properties

groups array of ref #communityGroup Required

Named groups of community members, like AIM's buddy list categories.

maxLength: 50 items
View raw schema
{
  "description": "The user's community list. Portable across any app implementing the Lexicon.",
  "key": "literal:self",
  "record": {
    "properties": {
      "groups": {
        "description": "Named groups of community members, like AIM's buddy list categories.",
        "items": {
          "ref": "#communityGroup",
          "type": "ref"
        },
        "maxLength": 50,
        "type": "array"
      }
    },
    "required": [
      "groups"
    ],
    "type": "object"
  },
  "type": "record"
}
communityGroup object

A named group of community members.

Properties

isInnerCircle boolean Optional

Whether this is an inner circle group for presence visibility.

members array of ref#communityMember Required

DIDs of group members.

maxLength: 500 items
name string Required

Group label.

maxLength: 100 bytes
View raw schema
{
  "description": "A named group of community members.",
  "properties": {
    "isInnerCircle": {
      "default": false,
      "description": "Whether this is an inner circle group for presence visibility.",
      "type": "boolean"
    },
    "members": {
      "description": "DIDs of group members.",
      "items": {
        "ref": "#communityMember",
        "type": "ref"
      },
      "maxLength": 500,
      "type": "array"
    },
    "name": {
      "description": "Group label.",
      "maxLength": 100,
      "type": "string"
    }
  },
  "required": [
    "name",
    "members"
  ],
  "type": "object"
}
communityMember object

A member in a community group.

Properties

addedAt string datetime Required

When this member was added.

did string did Required

The member's DID.

View raw schema
{
  "description": "A member in a community group.",
  "properties": {
    "addedAt": {
      "description": "When this member was added.",
      "format": "datetime",
      "type": "string"
    },
    "did": {
      "description": "The member's DID.",
      "format": "did",
      "type": "string"
    }
  },
  "required": [
    "did",
    "addedAt"
  ],
  "type": "object"
}

Lexicon Garden

@