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