app.didpic.notification.defs

lexicons.didpic.app

Documentation

notificationView object

No description available.

Properties

count integer Required

Number of records collapsed into this notification. Always 1 except for likes.

minimum: 1
createdAt string datetime Required

An RFC 3339 formatted timestamp.

id string Required

No description available.

indexedAt string datetime Required

An RFC 3339 formatted timestamp.

isRead boolean Required

No description available.

postUri string at-uri Optional

Thread-root post URI for post-context reasons. Absent for follow.

reason string Required

No description available.

Known values: like, comment, reply, follow, subscribed-post, mention
recordCid string cid Required

A content identifier (CID) referencing immutable data.

recordUri string at-uri Required

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

subjectCid string cid Optional

A content identifier (CID) referencing immutable data.

subjectUri string at-uri Optional

URI of the target record. Post for post-likes and top-level comments, comment for comment-likes and replies. Absent for follow.

View raw schema
{
  "type": "object",
  "required": [
    "id",
    "reason",
    "author",
    "recordUri",
    "recordCid",
    "count",
    "isRead",
    "createdAt",
    "indexedAt"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "post": {
      "ref": "app.didpic.feed.defs#postView",
      "type": "ref",
      "description": "Hydrated post view for reasons that involve a post."
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "description": "Number of records collapsed into this notification. Always 1 except for likes."
    },
    "author": {
      "ref": "app.didpic.actor.defs#profileBasic",
      "type": "ref"
    },
    "isRead": {
      "type": "boolean"
    },
    "reason": {
      "type": "string",
      "knownValues": [
        "like",
        "comment",
        "reply",
        "follow",
        "subscribed-post",
        "mention"
      ]
    },
    "comment": {
      "ref": "app.didpic.feed.defs#commentView",
      "type": "ref",
      "description": "Hydrated comment view when the subject is a comment."
    },
    "postUri": {
      "type": "string",
      "format": "at-uri",
      "description": "Thread-root post URI for post-context reasons. Absent for follow."
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "indexedAt": {
      "type": "string",
      "format": "datetime"
    },
    "recordCid": {
      "type": "string",
      "format": "cid"
    },
    "recordUri": {
      "type": "string",
      "format": "at-uri"
    },
    "subjectCid": {
      "type": "string",
      "format": "cid"
    },
    "subjectUri": {
      "type": "string",
      "format": "at-uri",
      "description": "URI of the target record. Post for post-likes and top-level comments, comment for comment-likes and replies. Absent for follow."
    }
  }
}

Lexicon Garden

@