themes-noir/schemas/lightbox_gallery.schema.json
Alex Dunmow 1bebbea5ad initial: theme plugin noir
Bootstrapped during the 2026-06-06 BlockNinja consolidation. Was previously
an unversioned directory inside ~/src/blockninja-themes/noir.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-06 14:11:40 +08:00

42 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Lightbox Gallery",
"description": "Grid of photographs that expand to a full-viewport lightbox overlay on click.",
"type": "object",
"properties": {
"items": {
"type": "array",
"title": "Photographs",
"description": "Image entries with optional captions.",
"x-editor": "array",
"default": [],
"items": {
"type": "object",
"properties": {
"image": {
"type": "string",
"title": "Image",
"description": "Photograph to display.",
"x-editor": "media"
},
"caption": {
"type": "string",
"title": "Caption",
"description": "Optional caption shown beneath the image and in the lightbox.",
"x-editor": "text"
}
},
"required": ["image"]
}
},
"columns": {
"type": "integer",
"title": "Columns",
"description": "Number of columns on desktop (2, 3, or 4).",
"x-editor": "select",
"enum": [2, 3, 4],
"default": 3
}
}
}