social.colibri.notification.defs

colibri.social

{
  "id": "social.colibri.notification.defs",
  "defs": {
    "notificationView": {
      "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": {
      "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."
    },
    "notificationMessage": {
      "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against social.colibri.notification.defs

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

Metadata

DID
did:plc:mprdjqjluoswa7awzggaggj3
CID
bafyreib2so6fls636uuzxiq3anctw7obtpxhsm3borycxyh7me2t4e7lqq
Indexed At
2026-07-24 14:44 UTC
AT-URI
at://did:plc:mprdjqjluoswa7awzggaggj3/com.atproto.lexicon.schema/social.colibri.notification.defs

Referenced Schemas (3)

  • lex:social.colibri.channel.defs#attachment
  • lex:social.colibri.notification.defs#notificationMessage
  • lex:social.colibri.richtext.facet

Lexicon Garden

@