{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Gallery of Art", "description": "Polaroid-style grid for kid artwork with privacy toggle for child names.", "type": "object", "properties": { "title": { "type": "string", "title": "Title", "description": "Optional heading above the gallery.", "x-editor": "text" }, "showChildName": { "type": "string", "title": "Show Child Names", "description": "Privacy toggle. When 'false', child names are omitted from the rendered gallery.", "x-editor": "select", "enum": ["true", "false"], "default": "true" }, "items": { "type": "array", "title": "Artworks", "description": "Collection of artworks. Each entry has an image, child name, and age.", "default": [], "x-editor": "collection", "items": { "type": "object", "properties": { "image": { "type": "string", "title": "Image", "description": "Artwork image (media reference).", "x-editor": "media" }, "childName": { "type": "string", "title": "Child Name", "description": "Artist's first name. Hidden when 'Show Child Names' is off.", "x-editor": "text" }, "age": { "type": "integer", "title": "Age", "description": "Artist's age (years).", "x-editor": "number" } } } } } }