~ 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
228 lines · 4.6 KB Raw History
{
	"lexicon": 1,
	"id": "social.grain.gallery.defs",
	"defs": {
		"galleryView": {
			"type": "object",
			"required": [
				"uri",
				"cid",
				"creator",
				"record",
				"indexedAt"
			],
			"properties": {
				"uri": {
					"type": "string",
					"format": "at-uri"
				},
				"cid": {
					"type": "string",
					"format": "cid"
				},
				"title": {
					"type": "string"
				},
				"description": {
					"type": "string"
				},
				"cameras": {
					"type": "array",
					"description": "List of camera make and models used in this gallery derived from EXIF data.",
					"items": {
						"type": "string"
					}
				},
				"location": {
					"type": "ref",
					"ref": "community.lexicon.location.hthree"
				},
				"address": {
					"type": "ref",
					"ref": "community.lexicon.location.address"
				},
				"locationDisplay": {
					"type": "string",
					"description": "Formatted location label for display."
				},
				"facets": {
					"type": "array",
					"description": "Annotations of description text (mentions, URLs, hashtags, etc)",
					"items": {
						"type": "ref",
						"ref": "app.bsky.richtext.facet"
					}
				},
				"creator": {
					"type": "ref",
					"ref": "social.grain.actor.defs#profileView"
				},
				"record": {
					"type": "unknown"
				},
				"items": {
					"type": "array",
					"items": {
						"type": "union",
						"refs": [
							"social.grain.photo.defs#photoView"
						]
					}
				},
				"favCount": {
					"type": "integer"
				},
				"favedByFollowing": {
					"type": "array",
					"description": "Profiles of accounts the viewer follows who favorited this gallery. Capped for display — see favCount for the total. Excludes the viewer.",
					"items": {
						"type": "ref",
						"ref": "social.grain.actor.defs#profileView"
					}
				},
				"commentCount": {
					"type": "integer"
				},
				"labels": {
					"type": "array",
					"items": {
						"type": "ref",
						"ref": "com.atproto.label.defs#label"
					}
				},
				"createdAt": {
					"type": "string",
					"format": "datetime"
				},
				"indexedAt": {
					"type": "string",
					"format": "datetime"
				},
				"viewer": {
					"type": "ref",
					"ref": "#viewerState"
				},
				"crossPost": {
					"type": "ref",
					"ref": "#crossPostInfo"
				},
				"group": {
					"type": "ref",
					"ref": "social.grain.group.defs#groupRef",
					"description": "The group whose pool this gallery is in, if any."
				}
			}
		},
		"crossPostInfo": {
			"type": "object",
			"required": [
				"url"
			],
			"properties": {
				"url": {
					"type": "string",
					"format": "uri",
					"description": "URL to the cross-posted Bluesky post."
				}
			}
		},
		"viewerState": {
			"type": "object",
			"description": "Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.",
			"properties": {
				"fav": {
					"type": "string",
					"format": "at-uri"
				}
			}
		},
		"favoriteItem": {
			"type": "object",
			"required": [
				"did"
			],
			"properties": {
				"did": {
					"type": "string",
					"format": "did"
				},
				"handle": {
					"type": "string"
				},
				"displayName": {
					"type": "string"
				},
				"description": {
					"type": "string"
				},
				"avatar": {
					"type": "string"
				},
				"viewer": {
					"type": "ref",
					"ref": "social.grain.actor.defs#viewerState"
				}
			}
		},
		"cameraItem": {
			"type": "object",
			"required": [
				"camera",
				"photoCount"
			],
			"properties": {
				"camera": {
					"type": "string"
				},
				"photoCount": {
					"type": "integer"
				},
				"thumbs": {
					"type": "array",
					"description": "Up to four representative photo thumbnails, most recent first. Lets the index render without a feed request per camera.",
					"maxLength": 4,
					"items": {
						"type": "string",
						"format": "uri"
					}
				}
			}
		},
		"locationItem": {
			"type": "object",
			"required": [
				"name",
				"h3Index",
				"galleryCount"
			],
			"properties": {
				"name": {
					"type": "string"
				},
				"h3Index": {
					"type": "string",
					"description": "Canonical H3 cell for the place (densest cell in the group)."
				},
				"galleryCount": {
					"type": "integer"
				},
				"h3Cells": {
					"type": "array",
					"description": "All H3 cells whose galleries map to this place. Ordered by gallery count desc.",
					"items": {
						"type": "string"
					}
				},
				"thumbs": {
					"type": "array",
					"description": "Up to four representative photo thumbnails, most recent first. Lets the index render without a feed request per location.",
					"maxLength": 4,
					"items": {
						"type": "string",
						"format": "uri"
					}
				}
			}
		}
	}
}