social.coves.feed.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | feed.coves.social |
| Indexed |
Showing version bafyreidurthmkyqtprkzjey55f3ls6w25hvkjnbyxapw3omyzy36ruflre. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"feedViewPost": {
"description": "A post with optional context about why it appears in a feed",
"properties": {
"post": {
"ref": "social.coves.community.post.defs#postView",
"type": "ref"
},
"reason": {
"description": "Additional context for why this post is in the feed",
"refs": [
"#reasonRepost",
"#reasonPin"
],
"type": "union"
},
"reply": {
"ref": "#replyRef",
"type": "ref"
}
},
"required": [
"post"
],
"type": "object"
},
"postRef": {
"description": "Minimal reference to a post",
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
},
"reasonPin": {
"description": "Indicates this post is pinned in a community",
"properties": {
"community": {
"ref": "social.coves.community.post.defs#communityRef",
"type": "ref"
}
},
"required": [
"community"
],
"type": "object"
},
"reasonRepost": {
"description": "Indicates this post was reposted",
"properties": {
"by": {
"ref": "social.coves.community.post.defs#authorView",
"type": "ref"
},
"indexedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"by",
"indexedAt"
],
"type": "object"
},
"replyRef": {
"description": "Reference to parent and root posts in a reply thread",
"properties": {
"parent": {
"ref": "#postRef",
"type": "ref"
},
"root": {
"ref": "#postRef",
"type": "ref"
}
},
"required": [
"root",
"parent"
],
"type": "object"
}
},
"id": "social.coves.feed.defs",
"lexicon": 1
}