{
  "$comment": "The personalised Christmas ornament (26 Nov 2026): its own product, Gelato's ceramic circle and heart (Size: Circle ornament / Heart ornament, Finish: Ornament). The Shape row is the merch group `ornament` (design-page.js ornamentProductFor); the renderer draws the chosen shape on the ceramic, and the basket line carries _family=ornament and Shape for the order lane (render-ornament-master.mjs).",
  "configVersion": 1,
  "designId": "christmas-ornament",
  "rendererVersion": "christmasornament/1.2.0",
  "service": {
    "origin": "",
    "savePath": "/v1/designs",
    "analyticsPath": "/v1/analytics/events",
    "previewDebounceMs": 120
  },
  "sheet": {
    "width": 900,
    "height": 900
  },
  "assetVersion": "2026-11-27.6",
  "preview": {
    "wall": false,
    "exampleAsset": "design-christmas-ornament-example.jpg",
    "exampleAlt": "A white ceramic circle ornament ringed with a painted holly wreath tied with a red velvet bow, with “Olivia” in red script and “Baby’s First Christmas 2026” beneath.",
    "seed": {
      "name": "Olivia",
      "line": "Baby’s First Christmas",
      "year": "2026",
      "look": "wreath",
      "ink": "berry",
      "typeface": "script",
      "bow": "velvet"
    }
  },
  "fields": {
    "requiredLabel": "Your words",
    "optionsLabel": "The look",
    "required": [
      {
        "key": "name",
        "type": "text",
        "label": "Name",
        "hint": "Olivia · Sam & Alex · The Wilsons · Biscuit",
        "placeholder": "Olivia",
        "maxLength": 24,
        "affects": "render",
        "labelWhen": [
          {
            "key": "look",
            "equals": "portrait",
            "label": "Who is it?",
            "hint": "For your basket and a set: not printed. The portrait prints alone."
          }
        ]
      },
      {
        "key": "line",
        "type": "text",
        "label": "Line under the name",
        "hint": "Baby’s First Christmas · Our First Christmas · Forever in our hearts",
        "maxLength": 30,
        "optional": true,
        "affects": "render",
        "showWhen": {
          "key": "look",
          "equals": [
            "wreath",
            "sprig",
            "snowflake",
            "photo"
          ]
        }
      },
      {
        "key": "year",
        "type": "text",
        "label": "Year",
        "placeholder": "2026",
        "maxLength": 4,
        "optional": true,
        "affects": "render",
        "inputMode": "numeric",
        "showWhen": {
          "key": "look",
          "equals": [
            "wreath",
            "sprig",
            "snowflake",
            "photo"
          ]
        }
      }
    ],
    "options": [
      {
        "key": "look",
        "type": "thumbnails",
        "label": "Style",
        "default": "wreath",
        "affects": "render",
        "options": [
          {
            "value": "wreath",
            "label": "Holly wreath",
            "description": "painted holly all the way round, tied with a bow",
            "thumbnail": "design-christmas-ornament-look-wreath.jpg"
          },
          {
            "value": "sprig",
            "label": "Holly sprig",
            "description": "a painted holly corsage over the words",
            "thumbnail": "design-christmas-ornament-look-sprig.jpg"
          },
          {
            "value": "snowflake",
            "label": "Snowflakes",
            "description": "fine snowflakes and a dotted edge in your colour",
            "thumbnail": "design-christmas-ornament-look-snowflake.jpg"
          },
          {
            "value": "photo",
            "label": "Your photo, painted",
            "description": "your child, pet or family painted in watercolour from your photo",
            "thumbnail": "design-christmas-ornament-look-photo.jpg"
          },
          {
            "value": "portrait",
            "label": "Their portrait alone",
            "description": "just them in watercolour, filling the ornament, no words",
            "thumbnail": "design-christmas-ornament-look-portrait.jpg"
          }
        ]
      },
      {
        "key": "photoConsent",
        "type": "toggle",
        "label": "I may use this photo, and I'm the parent or guardian of any child in it",
        "default": false,
        "affects": "render",
        "showWhen": {
          "key": "look",
          "equals": [
            "photo",
            "portrait"
          ]
        }
      },
      {
        "key": "photo",
        "type": "file",
        "label": "Their photo",
        "hint": "A clear, well-lit photo of their face: a child, a pet, a couple, or the whole family, up to six together. We paint it in watercolour in about 30 seconds. We never keep your photo.",
        "accept": "image/*",
        "maxBytes": 26214400,
        "reading": "Painting your photo — about 30 seconds…",
        "waitSteps": [
          "Looking at your photo…",
          "Mixing the colours…",
          "Laying the first washes…",
          "Painting the eyes…",
          "Letting it dry…",
          "Nearly there…"
        ],
        "tooLarge": "That photo is too large. Try one under 25 MB.",
        "progressSeconds": 30,
        "waitPulse": "image[href*=\"miy-motif-\"]",
        "optional": true,
        "affects": "render",
        "valueKey": "photo",
        "showWhen": {
          "key": "look",
          "equals": [
            "photo",
            "portrait"
          ]
        }
      },
      {
        "key": "ink",
        "type": "thumbnails",
        "label": "Colour",
        "default": "berry",
        "affects": "render",
        "options": [
          {
            "value": "berry",
            "label": "Berry red",
            "thumbnail": "design-christmas-ornament-ink-berry.jpg"
          },
          {
            "value": "holly",
            "label": "Holly green",
            "thumbnail": "design-christmas-ornament-ink-holly.jpg"
          },
          {
            "value": "gold",
            "label": "Gold tone",
            "thumbnail": "design-christmas-ornament-ink-gold.jpg"
          },
          {
            "value": "midnight",
            "label": "Midnight",
            "thumbnail": "design-christmas-ornament-ink-midnight.jpg"
          }
        ],
        "showWhen": {
          "key": "look",
          "equals": [
            "wreath",
            "sprig",
            "snowflake",
            "photo"
          ]
        }
      },
      {
        "key": "typeface",
        "type": "thumbnails",
        "label": "Lettering",
        "default": "script",
        "affects": "render",
        "options": [
          {
            "value": "script",
            "label": "Script",
            "thumbnail": "design-christmas-ornament-typeface-script.jpg"
          },
          {
            "value": "classic",
            "label": "Classic",
            "thumbnail": "design-christmas-ornament-typeface-classic.jpg"
          },
          {
            "value": "modern",
            "label": "Modern",
            "thumbnail": "design-christmas-ornament-typeface-modern.jpg"
          }
        ],
        "showWhen": {
          "key": "look",
          "equals": [
            "wreath",
            "sprig",
            "snowflake",
            "photo"
          ]
        }
      },
      {
        "key": "bow",
        "type": "thumbnails",
        "label": "Bow",
        "default": "velvet",
        "affects": "render",
        "showWhen": {
          "key": "look",
          "equals": [
            "wreath",
            "sprig"
          ]
        },
        "options": [
          {
            "value": "velvet",
            "label": "Red velvet bow",
            "thumbnail": "design-christmas-ornament-bow-velvet.jpg"
          },
          {
            "value": "raffia",
            "label": "Raffia bow",
            "thumbnail": "design-christmas-ornament-bow-raffia.jpg"
          },
          {
            "value": "none",
            "label": "Holly alone",
            "thumbnail": "design-christmas-ornament-bow-none.jpg"
          }
        ]
      }
    ]
  },
  "presets": {
    "label": "Try a starting point",
    "options": [
      {
        "id": "first",
        "label": "Baby’s first Christmas",
        "values": {
          "name": "Olivia",
          "line": "Baby’s First Christmas",
          "year": "2026",
          "look": "wreath",
          "ink": "berry",
          "typeface": "script",
          "bow": "velvet"
        },
        "thumbnail": "design-christmas-ornament-preset-first.jpg"
      },
      {
        "id": "couple",
        "label": "Our first Christmas",
        "values": {
          "name": "Sam & Alex",
          "line": "Our First Christmas",
          "year": "2026",
          "look": "sprig",
          "ink": "holly",
          "typeface": "script",
          "bow": "velvet"
        },
        "thumbnail": "design-christmas-ornament-preset-couple.jpg"
      },
      {
        "id": "family",
        "label": "The family",
        "values": {
          "name": "The Wilsons",
          "line": "Merry Christmas",
          "year": "2026",
          "look": "snowflake",
          "ink": "midnight",
          "typeface": "classic",
          "bow": "velvet"
        },
        "thumbnail": "design-christmas-ornament-preset-family.jpg"
      },
      {
        "id": "pet",
        "label": "The dog",
        "values": {
          "name": "Biscuit",
          "line": "Santa Paws",
          "year": "2026",
          "look": "wreath",
          "ink": "holly",
          "typeface": "modern",
          "bow": "raffia"
        },
        "thumbnail": "design-christmas-ornament-preset-pet.jpg"
      },
      {
        "id": "memory",
        "label": "In loving memory",
        "values": {
          "name": "Grandad",
          "line": "Forever in our hearts",
          "year": "",
          "look": "sprig",
          "ink": "gold",
          "typeface": "script",
          "bow": "velvet"
        },
        "thumbnail": "design-christmas-ornament-preset-memory.jpg"
      },
      {
        "id": "photo-pet",
        "label": "Your pet, painted",
        "values": {
          "name": "Biscuit",
          "line": "Merry Christmas",
          "year": "2026",
          "look": "photo",
          "sample": "dog",
          "ink": "berry",
          "typeface": "script",
          "bow": "velvet"
        },
        "thumbnail": "design-christmas-ornament-preset-photo-pet.jpg"
      },
      {
        "id": "photo-family",
        "label": "The whole family, painted",
        "values": {
          "name": "The Wilsons",
          "line": "Merry Christmas",
          "year": "2026",
          "look": "photo",
          "sample": "family",
          "ink": "berry",
          "typeface": "script",
          "bow": "velvet"
        },
        "thumbnail": "design-christmas-ornament-preset-photo-family.jpg"
      },
      {
        "id": "portrait-pet",
        "label": "Just their portrait",
        "values": {
          "name": "Biscuit",
          "line": "",
          "year": "",
          "look": "portrait",
          "sample": "dog",
          "ink": "berry",
          "typeface": "script",
          "bow": "velvet"
        },
        "thumbnail": "design-christmas-ornament-preset-portrait-pet.jpg"
      },
      {
        "id": "photo-child",
        "label": "Your little one, painted",
        "values": {
          "name": "Olivia",
          "line": "Baby’s First Christmas",
          "year": "2026",
          "look": "photo",
          "sample": "child",
          "ink": "berry",
          "typeface": "script",
          "bow": "velvet"
        },
        "thumbnail": "design-christmas-ornament-preset-photo-child.jpg"
      }
    ]
  },
  "cart": {
    "summary": "{name} · {line} {year} · {look.label} · {ink.label}"
  },
  "merch": {
    "$comment": "Ornament-only product. Each material is a group (finish Ceramic / Glass / Metal ornament, 27 Nov 2026), so the material buttons come first and the Shape row is the size row.",
    "groups": {
      "ornament": "Ceramic",
      "ornament-glass": "Glass",
      "ornament-metal": "Metal"
    },
    "match": {
      "ornament-glass": "glass",
      "ornament-metal": "metal"
    }
  }
}
