{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A nominee's most-liked top-level Bluesky posts of the year, counted once when they joined the pool.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"countedAt": {
"description": "When the counts were taken; only with status done.",
"format": "datetime",
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"posts": {
"items": {
"ref": "#topPost",
"type": "ref"
},
"type": "array"
},
"since": {
"description": "Start of the window posts are drawn from (inclusive).",
"format": "datetime",
"type": "string"
},
"status": {
"description": "disabled: the feature is off. pending: no pull has finished yet (queued, retrying, or not in the pool). done: posts are final. unavailable: the repo could not be read. too_large: the export passed the size cap.",
"knownValues": [
"disabled",
"pending",
"done",
"unavailable",
"too_large"
],
"type": "string"
},
"until": {
"description": "End of the window (exclusive).",
"format": "datetime",
"type": "string"
}
},
"required": [
"did",
"since",
"until",
"status",
"posts"
],
"type": "object"
}
},
"parameters": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"limit": {
"default": 5,
"maximum": 5,
"minimum": 1,
"type": "integer"
}
},
"required": [
"did"
],
"type": "params"
},
"type": "query"
},
"topPost": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"createdAt": {
"description": "Decoded from the record key's TID, not the record's own createdAt.",
"format": "datetime",
"type": "string"
},
"likeCount": {
"type": "integer"
},
"quoteCount": {
"type": "integer"
},
"replyCount": {
"type": "integer"
},
"repostCount": {
"type": "integer"
},
"text": {
"description": "The post text as stored in the repo; omitted when empty.",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid",
"createdAt",
"likeCount",
"repostCount",
"quoteCount",
"replyCount"
],
"type": "object"
}
},
"id": "com.bsky38.influential.getTopPosts",
"lexicon": 1
}