{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Cake Gallery", "description": "A scalloped showcase of cakes with flavour, price and an order link per cake", "type": "object", "properties": { "heading": { "type": "string", "title": "Heading", "x-editor": "text" }, "intro": { "type": "string", "title": "Intro", "x-editor": "textarea" }, "currency": { "type": "string", "title": "Currency Symbol", "default": "$", "x-editor": "text" }, "cakes": { "type": "array", "title": "Cakes", "x-editor": "collection", "items": { "type": "object", "properties": { "image": { "type": "string", "title": "Image", "x-editor": "media" }, "name": { "type": "string", "title": "Name", "x-editor": "text" }, "flavour": { "type": "string", "title": "Flavour", "x-editor": "text" }, "price": { "type": "string", "title": "Price", "x-editor": "text" }, "orderUrl": { "type": "string", "title": "Order Link", "x-editor": "text" } } } } } }