app.didpic.feed.defs

lexicons.didpic.app

Documentation

commentView object

No description available.

Properties

cid string cid Required

A content identifier (CID) referencing immutable data.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

indexedAt string datetime Required

An RFC 3339 formatted timestamp.

likeCount integer Optional

No description available.

minimum: 0
replyCount integer Optional

No description available.

minimum: 0
text string Required

No description available.

uri string at-uri Required

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

viewerLike string at-uri Optional

URI of the viewer's like record on this comment, if any.

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "cid",
    "author",
    "text",
    "createdAt",
    "indexedAt"
  ],
  "properties": {
    "cid": {
      "type": "string",
      "format": "cid"
    },
    "uri": {
      "type": "string",
      "format": "at-uri"
    },
    "text": {
      "type": "string"
    },
    "author": {
      "ref": "app.didpic.actor.defs#profileBasic",
      "type": "ref"
    },
    "facets": {
      "type": "array",
      "items": {
        "ref": "app.didpic.richtext.facet",
        "type": "ref"
      }
    },
    "parent": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref",
      "description": "If this comment is a reply, the comment it replies to."
    },
    "replies": {
      "type": "array",
      "items": {
        "ref": "app.didpic.feed.defs#commentView",
        "type": "ref"
      },
      "description": "Capped inline preview of replies. Fetch the remainder via feed.getCommentReplies."
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "indexedAt": {
      "type": "string",
      "format": "datetime"
    },
    "likeCount": {
      "type": "integer",
      "minimum": 0
    },
    "replyCount": {
      "type": "integer",
      "minimum": 0
    },
    "viewerLike": {
      "type": "string",
      "format": "at-uri",
      "description": "URI of the viewer's like record on this comment, if any."
    }
  }
}
likeView object

No description available.

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

indexedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "type": "object",
  "required": [
    "actor",
    "createdAt",
    "indexedAt"
  ],
  "properties": {
    "actor": {
      "ref": "app.didpic.actor.defs#profileBasic",
      "type": "ref"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "indexedAt": {
      "type": "string",
      "format": "datetime"
    }
  }
}
postView object

No description available.

Properties

alt string Optional

No description available.

cid string cid Required

A content identifier (CID) referencing immutable data.

commentCount integer Optional

No description available.

minimum: 0
createdAt string datetime Required

An RFC 3339 formatted timestamp.

editedAt string datetime Optional

Set when the post has been edited at least once via putRecord. Absent for never-edited posts. Clients render an Edited badge when present.

imageCid string cid Required

A content identifier (CID) referencing immutable data.

indexedAt string datetime Required

An RFC 3339 formatted timestamp.

likeCount integer Optional

No description available.

minimum: 0
text string Optional

No description available.

uri string at-uri Required

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

viewerLike string at-uri Optional

URI of the viewer's like record on this post, if any.

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "cid",
    "author",
    "imageCid",
    "createdAt",
    "indexedAt"
  ],
  "properties": {
    "alt": {
      "type": "string"
    },
    "cid": {
      "type": "string",
      "format": "cid"
    },
    "uri": {
      "type": "string",
      "format": "at-uri"
    },
    "text": {
      "type": "string"
    },
    "author": {
      "ref": "app.didpic.actor.defs#profileBasic",
      "type": "ref"
    },
    "facets": {
      "type": "array",
      "items": {
        "ref": "app.didpic.richtext.facet",
        "type": "ref"
      }
    },
    "editedAt": {
      "type": "string",
      "format": "datetime",
      "description": "Set when the post has been edited at least once via putRecord. Absent for never-edited posts. Clients render an Edited badge when present."
    },
    "imageCid": {
      "type": "string",
      "format": "cid"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "indexedAt": {
      "type": "string",
      "format": "datetime"
    },
    "likeCount": {
      "type": "integer",
      "minimum": 0
    },
    "viewerLike": {
      "type": "string",
      "format": "at-uri",
      "description": "URI of the viewer's like record on this post, if any."
    },
    "aspectRatio": {
      "ref": "app.didpic.feed.post#aspectRatio",
      "type": "ref"
    },
    "commentCount": {
      "type": "integer",
      "minimum": 0
    }
  }
}

Lexicon Garden

@