pub.leaflet.blocks.imageGallery

leaflet.pub

{
  "id": "pub.leaflet.blocks.imageGallery",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "images"
      ],
      "properties": {
        "gap": {
          "type": "integer",
          "description": "Gap between images in pixels."
        },
        "format": {
          "type": "string",
          "knownValues": [
            "grid",
            "carousel",
            "strip"
          ]
        },
        "images": {
          "type": "array",
          "items": {
            "ref": "#image",
            "type": "ref"
          }
        },
        "maxWidth": {
          "type": "integer",
          "description": "Max width per image in grid view (px); drives how many columns fit."
        }
      }
    },
    "image": {
      "type": "object",
      "required": [
        "image",
        "aspectRatio"
      ],
      "properties": {
        "alt": {
          "type": "string",
          "description": "Alt text description of the image, for accessibility."
        },
        "image": {
          "type": "blob",
          "accept": [
            "image/*"
          ],
          "maxSize": 1000000
        },
        "aspectRatio": {
          "ref": "#aspectRatio",
          "type": "ref"
        }
      }
    },
    "aspectRatio": {
      "type": "object",
      "required": [
        "width",
        "height"
      ],
      "properties": {
        "width": {
          "type": "integer"
        },
        "height": {
          "type": "integer"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against pub.leaflet.blocks.imageGallery

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:btxrwcaeyodrap5mnjw2fvmz
CID
bafyreifadl2u2rx35obmpn22bklyiwpuietspz77avnmkgtqczzyfo3nou
Indexed At
2026-07-26 20:07 UTC
AT-URI
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.blocks.imageGallery

Lexicon Garden

@