app.offprint.block.imageGrid
Details · object
| Kind | object |
|---|---|
| Authority | block.offprint.app |
| Indexed |
Showing version bafyreicqxp7sgknj3lduzwrvcd5nymijqci7zry3mmzuk3emvvh3ejdwdy. Show the latest
Checks
Validunlimited-stringdefs.main.properties.aspectRatioNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.properties.captionNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"gridImage": {
"properties": {
"alt": {
"maxGraphemes": 300,
"type": "string"
},
"aspectRatio": {
"ref": "app.offprint.block.image#aspectRatio",
"type": "ref"
},
"blob": {
"accept": [
"image/*"
],
"maxSize": 1000000,
"type": "blob"
}
},
"type": "object"
},
"main": {
"properties": {
"aspectRatio": {
"description": "Aspect ratio mode",
"enum": [
"landscape",
"portrait",
"square",
"mosaic"
],
"type": "string"
},
"caption": {
"description": "Grid caption",
"type": "string"
},
"gridRows": {
"description": "Number of rows in the grid",
"maximum": 2,
"minimum": 1,
"type": "integer"
},
"images": {
"description": "Array of images in the grid (2-6)",
"items": {
"ref": "#gridImage",
"type": "ref"
},
"maxLength": 6,
"minLength": 2,
"required": true,
"type": "array"
}
},
"required": [
"images"
],
"type": "object"
}
},
"id": "app.offprint.block.imageGrid",
"lexicon": 1
}