social.colibri.notification.defs

colibri.social

Documentation

notificationMessage object

The message a notification refers to.

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

edited boolean Optional

No description available.

parent string at-uri Optional

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

text string Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "text",
    "facets",
    "createdAt",
    "attachments"
  ],
  "properties": {
    "text": {
      "type": "string"
    },
    "edited": {
      "type": "boolean"
    },
    "facets": {
      "type": "array",
      "items": {
        "ref": "lex:social.colibri.richtext.facet",
        "type": "ref"
      }
    },
    "parent": {
      "type": "string",
      "format": "at-uri"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "attachments": {
      "type": "array",
      "items": {
        "ref": "lex:social.colibri.channel.defs#attachment",
        "type": "ref"
      }
    }
  },
  "description": "The message a notification refers to."
}
notificationView object

A notification in the authenticated user's feed.

Properties

authorDid string did Required

A decentralized identifier (DID).

channelUri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

id integer Required

No description available.

indexedAt string datetime Required

An RFC 3339 formatted timestamp.

kind string Required

No description available.

mentionRoleName string Optional

Display name of the role that triggered this notification, when it was a role mention rather than a direct mention.

messageUri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

recipientDid string did Required

A decentralized identifier (DID).

seenAt string datetime Optional

An RFC 3339 formatted timestamp.

View raw schema
{
  "type": "object",
  "required": [
    "id",
    "recipientDid",
    "kind",
    "messageUri",
    "authorDid",
    "channelUri",
    "indexedAt",
    "message"
  ],
  "properties": {
    "id": {
      "type": "integer"
    },
    "kind": {
      "type": "string"
    },
    "seenAt": {
      "type": "string",
      "format": "datetime"
    },
    "message": {
      "ref": "lex:social.colibri.notification.defs#notificationMessage",
      "type": "ref"
    },
    "authorDid": {
      "type": "string",
      "format": "did"
    },
    "indexedAt": {
      "type": "string",
      "format": "datetime"
    },
    "channelUri": {
      "type": "string",
      "format": "at-uri"
    },
    "messageUri": {
      "type": "string",
      "format": "at-uri"
    },
    "recipientDid": {
      "type": "string",
      "format": "did"
    },
    "mentionRoleName": {
      "type": "string",
      "description": "Display name of the role that triggered this notification, when it was a role mention rather than a direct mention."
    }
  },
  "description": "A notification in the authenticated user's feed."
}
unseenNotification object

A minimal unseen-notification pointer.

Properties

id integer Required

No description available.

indexedAt string datetime Required

An RFC 3339 formatted timestamp.

messageUri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

View raw schema
{
  "type": "object",
  "required": [
    "id",
    "messageUri",
    "indexedAt"
  ],
  "properties": {
    "id": {
      "type": "integer"
    },
    "indexedAt": {
      "type": "string",
      "format": "datetime"
    },
    "messageUri": {
      "type": "string",
      "format": "at-uri"
    }
  },
  "description": "A minimal unseen-notification pointer."
}

Lexicon Garden

@