pub.leaflet.blocks.imageGallery
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"aspectRatio": {
"properties": {
"height": {
"type": "integer"
},
"width": {
"type": "integer"
}
},
"required": [
"width",
"height"
],
"type": "object"
},
"image": {
"properties": {
"alt": {
"description": "Alt text description of the image, for accessibility.",
"type": "string"
},
"aspectRatio": {
"ref": "#aspectRatio",
"type": "ref"
},
"image": {
"accept": [
"image/*"
],
"maxSize": 1000000,
"type": "blob"
}
},
"required": [
"image",
"aspectRatio"
],
"type": "object"
},
"main": {
"properties": {
"format": {
"knownValues": [
"grid",
"carousel",
"strip",
"masonry"
],
"type": "string"
},
"gap": {
"description": "Gap between images in pixels.",
"type": "integer"
},
"images": {
"items": {
"ref": "#image",
"type": "ref"
},
"type": "array"
},
"maxWidth": {
"description": "Max width per image in grid and masonry views (px); drives how many columns fit.",
"type": "integer"
}
},
"required": [
"images"
],
"type": "object"
}
},
"id": "pub.leaflet.blocks.imageGallery",
"lexicon": 1
}
Metadata
- DID
-
did:plc:btxrwcaeyodrap5mnjw2fvmz - CID
-
bafyreigbqysbbzjl5u4kgrctstakh7pqwo7drav5k6vcthahrvp2n6haku - Indexed At
- 2026-10-08 20:03 UTC
- AT-URI
-
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.blocks.imageGallery
Version History (2 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pub.leaflet.blocks.image object
-
app.offprint.block.imageGrid object
-
blog.pckt.gallery record
A standalone image gallery that can be embedded in posts or other content.
-
is.logue.block.image object
width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.
-
Gallery component. An ordered collection of images displayed as a swipeable gallery or grid.