pub.leaflet.blocks.imageGallery
Details · object
| Kind | object |
|---|---|
| Authority | blocks.leaflet.pub |
| Indexed |
Showing version bafyreifadl2u2rx35obmpn22bklyiwpuietspz77avnmkgtqczzyfo3nou. Show the latest
Checks
Validunlimited-stringdefs.image.properties.altNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.properties.formatNo maxLength, maxGraphemes or format limits this string.
{
"$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"
],
"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 view (px); drives how many columns fit.",
"type": "integer"
}
},
"required": [
"images"
],
"type": "object"
}
},
"id": "pub.leaflet.blocks.imageGallery",
"lexicon": 1
}