{
"id": "cafe.dummy.lsky.defs",
"defs": {
"likeView": {
"type": "object",
"required": [
"emoji"
],
"properties": {
"emoji": {
"type": "string"
}
},
"description": "A like on a post, showing the liker's emoji."
},
"postView": {
"type": "object",
"required": [
"uri",
"cid",
"author",
"type",
"content",
"createdAt"
],
"properties": {
"cid": {
"type": "string"
},
"uri": {
"type": "string",
"format": "at-uri"
},
"type": {
"type": "string",
"knownValues": [
"post",
"chirp"
]
},
"likes": {
"type": "array",
"items": {
"ref": "#likeView",
"type": "ref"
}
},
"author": {
"ref": "#personView",
"type": "ref"
},
"facets": {
"type": "array",
"items": {
"refs": [
"cafe.dummy.lsky.facet#annotation",
"cafe.dummy.lsky.facet#insert"
],
"type": "union"
}
},
"content": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"followupChain": {
"type": "array",
"items": {
"ref": "#postView",
"type": "ref"
},
"description": "Parent posts in the followup chain, from root to direct parent."
}
},
"description": "Hydrated view of a post, used in feed and profile responses."
},
"personView": {
"type": "object",
"required": [
"did",
"handle"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"emoji": {
"type": "string"
},
"handle": {
"type": "string"
},
"pronouns": {
"type": "string"
},
"avatarUrl": {
"type": "string",
"description": "Fully resolved URL to the avatar image."
},
"displayName": {
"type": "string"
}
},
"description": "Compact view of a person, used as author in post views and search results."
},
"profileView": {
"type": "object",
"required": [
"did",
"handle"
],
"properties": {
"bio": {
"type": "string"
},
"did": {
"type": "string",
"format": "did"
},
"emoji": {
"type": "string"
},
"handle": {
"type": "string"
},
"pronouns": {
"type": "string"
},
"avatarUrl": {
"type": "string"
},
"bannerUrl": {
"type": "string"
},
"displayName": {
"type": "string"
},
"isFollowing": {
"type": "boolean",
"description": "Whether the authenticated user follows this person. Only present when authenticated."
}
},
"description": "Full profile view of a person, including bio and banner."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}