~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0
90 lines · 1.9 KB Raw History
{
	"lexicon": 1,
	"id": "social.grain.comment.defs",
	"defs": {
		"commentView": {
			"type": "object",
			"required": [
				"uri",
				"cid",
				"author",
				"text",
				"createdAt"
			],
			"properties": {
				"uri": {
					"type": "string",
					"format": "at-uri"
				},
				"cid": {
					"type": "string",
					"format": "cid"
				},
				"author": {
					"type": "ref",
					"ref": "social.grain.actor.defs#profileView"
				},
				"record": {
					"type": "unknown"
				},
				"text": {
					"type": "string",
					"maxLength": 3000,
					"maxGraphemes": 300
				},
				"facets": {
					"type": "array",
					"description": "Annotations of description text (mentions and URLs, hashtags, etc)",
					"items": {
						"type": "ref",
						"ref": "app.bsky.richtext.facet"
					}
				},
				"subject": {
					"type": "union",
					"refs": [
						"social.grain.gallery.defs#galleryView"
					],
					"description": "The subject of the comment, which can be a gallery or a photo."
				},
				"focus": {
					"type": "union",
					"refs": [
						"social.grain.photo.defs#photoView"
					],
					"description": "The photo that the comment is focused on, if applicable."
				},
				"replyTo": {
					"type": "string",
					"format": "at-uri",
					"description": "The URI of the comment this comment is replying to, if applicable."
				},
				"createdAt": {
					"type": "string",
					"format": "datetime"
				},
				"favCount": {
					"type": "integer"
				},
				"viewer": {
					"type": "ref",
					"ref": "#viewerState"
				},
				"muted": {
					"type": "boolean",
					"description": "True if the viewer has muted the comment author. Client should show collapsed with option to expand."
				}
			}
		},
		"viewerState": {
			"type": "object",
			"description": "Metadata about the requesting account's relationship with the comment. Only has meaningful content for authed requests.",
			"properties": {
				"fav": {
					"type": "string",
					"format": "at-uri"
				}
			}
		}
	}
}