app.didpic.notification.defs

Details · defs
Kinddefs
Authoritynotification.didpic.app
Indexed

Showing version bafyreidkmmhct7xiywzn3d2d4isa23wtlg522m4d5gseuz7i5yiktp5gqy. Show the latest

cid bafyreidkmmhct7xiywzn3d2d4isa23wtlg522m4d5gseuz7i5yiktp5gqy

Checks

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