app.didpic.notification.defs

lexicons.didpic.app

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

Validate Record

Validate a record against app.didpic.notification.defs

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

Metadata

DID
did:plc:an2jtp4jgkkbtmwfzhpbxawd
CID
bafyreihrkql3nomxlra6pf5pm256h6std4ojua7obl6vzwix6q5mvk3i7u
Indexed At
2026-05-18 08:37 UTC
AT-URI
at://did:plc:an2jtp4jgkkbtmwfzhpbxawd/com.atproto.lexicon.schema/app.didpic.notification.defs

Version History (5 versions)

Referenced Schemas (3)

Lexicon Garden

@