{
  "configVersion": 1,
  "designId": "homes-print",
  "rendererVersion": "homes-print/1.0.0",
  "service": {
    "origin": "",
    "savePath": "/v1/designs",
    "analyticsPath": "/v1/analytics/events",
    "previewDebounceMs": 120,
    "geocodeDebounceMs": 450,
    "$comment": "geocodeByCountry: set true once the worker serves /v1/geocode/<country> (release list); the composer then points the stops search at the buyer's country.",
    "geocodeByCountry": true
  },
  "sheet": {
    "width": 1000,
    "height": 1500
  },
  "assetVersion": "1",
  "preview": {
    "exampleAsset": "design-homes-print-example.jpg",
    "exampleAlt": "A cream print titled The Hendersons, Every home we’ve lived in: four round engraved street maps of Leith, Chorlton, Bath and Frome joined by a dotted red path, with the years 2009–2012, 2012–2016, 2016–2021 and 2021–now written along it.",
    "seed": {
      "homes": [
        {
          "label": "The Shore, Leith, Edinburgh",
          "city": "Edinburgh",
          "lat": 55.9757,
          "lon": -3.1702,
          "when": "2009–2012"
        },
        {
          "label": "Beech Road, Chorlton, Manchester",
          "city": "Manchester",
          "lat": 53.4423,
          "lon": -2.2822,
          "when": "2012–2016"
        },
        {
          "label": "Brock Street, Bath",
          "city": "Bath",
          "lat": 51.3862,
          "lon": -2.3627,
          "when": "2016–2021"
        },
        {
          "label": "Catherine Hill, Frome",
          "city": "Frome",
          "lat": 51.2296,
          "lon": -2.322,
          "when": "2021–now"
        }
      ],
      "title": "The Hendersons",
      "subtitle": "every",
      "ownSubtitle": "",
      "captions": "Flat 2, Leith, Edinburgh\nChorlton, Manchester\nBath\nFrome, Somerset",
      "foot": "",
      "look": "journey",
      "typeface": "classic",
      "marker": "heart",
      "order": "year",
      "country": "auto"
    }
  },
  "fields": {
    "requiredLabel": "Your homes",
    "optionsLabel": "The look",
    "moreLabel": "Finishing touches",
    "required": [
      {
        "key": "homes",
        "type": "stops",
        "label": "Every home, in any order",
        "affects": "render",
        "presetSamples": true,
        "min": 2,
        "max": 12,
        "hint": "Add 2 to 12 homes. Search each address or street and pick it from the list; the heart goes on that exact spot. They print in year order.",
        "placeholder": "Search an address or street",
        "add": "Add a home",
        "remove": "×",
        "stopLabel": "Home",
        "needMore": "Choose a search result for each home.",
        "when": {
          "label": "Years",
          "persistentLabel": true,
          "placeholder": "2009–2012, or 2021–now",
          "maxLength": 20,
          "optional": true
        },
        "placeholders": [
          "12 Beech Road, Manchester",
          "Brock Street, Bath",
          "Catherine Hill, Frome",
          "The Shore, Leith"
        ],
        "$comment": "caption: inert until the shell keeps a caption per row (receipt shell seam); until then the captions paragraph below holds one caption per home.",
        "caption": {
          "label": "Caption",
          "placeholder": "Flat 2, Leith, Edinburgh",
          "maxLength": 40,
          "optional": true
        }
      },
      {
        "key": "wordsGroup",
        "type": "columns",
        "$comment": "The title and subtitle as one group: the shell shows four top-level fields.",
        "columns": [
          [
            {
              "key": "title",
              "type": "text",
              "label": "Family name or names",
              "placeholder": "The Hendersons",
              "maxLength": 36,
              "affects": "render",
              "hint": "The Hendersons · Sam & Priya · The Okafor-Reids"
            },
            {
              "key": "subtitle",
              "type": "thumbnails",
              "label": "Under the name",
              "default": "every",
              "affects": "render",
              "options": [
                {
                  "value": "every",
                  "label": "Every home we’ve lived in"
                },
                {
                  "value": "called",
                  "label": "Everywhere we’ve called home"
                },
                {
                  "value": "door",
                  "label": "Our story, one front door at a time"
                },
                {
                  "value": "own",
                  "label": "Your own"
                }
              ]
            },
            {
              "key": "ownSubtitle",
              "type": "text",
              "label": "Your own words",
              "maxLength": 48,
              "optional": true,
              "affects": "render",
              "placeholder": "Home is wherever we’re together",
              "showWhen": {
                "key": "subtitle",
                "equals": [
                  "own"
                ]
              }
            }
          ]
        ]
      },
      {
        "key": "captions",
        "type": "paragraph",
        "label": "The words under each home, one line each",
        "rows": 5,
        "maxLength": 492,
        "optional": true,
        "affects": "render",
        "hint": "In the same order as your homes above, up to 40 letters each: Flat 2, Leith, Edinburgh · Our first home, Bath. Leave a line empty to use the street and town.",
        "placeholder": "Flat 2, Leith, Edinburgh\nChorlton, Manchester"
      },
      {
        "key": "foot",
        "type": "text",
        "label": "A line at the foot",
        "optional": true,
        "maxLength": 60,
        "affects": "render",
        "placeholder": "Wherever we are, we’re home"
      }
    ],
    "options": [
      {
        "key": "look",
        "type": "thumbnails",
        "label": "Look",
        "default": "journey",
        "affects": "render",
        "hint": "Gold tone is printed ink, not foil.",
        "options": [
          {
            "value": "journey",
            "label": "Journey line",
            "thumbnail": "design-homes-print-look-journey.jpg"
          },
          {
            "value": "grid",
            "label": "Round grid",
            "thumbnail": "design-homes-print-look-grid.jpg"
          },
          {
            "value": "house",
            "label": "House shapes",
            "thumbnail": "design-homes-print-look-house.jpg"
          },
          {
            "value": "blueprint",
            "label": "Dark blueprint",
            "thumbnail": "design-homes-print-look-blueprint.jpg"
          }
        ]
      },
      {
        "key": "typeface",
        "type": "thumbnails",
        "label": "Lettering",
        "default": "classic",
        "affects": "render",
        "options": [
          {
            "value": "classic",
            "label": "Classic"
          },
          {
            "value": "editorial",
            "label": "Editorial"
          },
          {
            "value": "modern",
            "label": "Modern"
          }
        ]
      },
      {
        "key": "marker",
        "type": "thumbnails",
        "label": "On each home",
        "default": "heart",
        "affects": "render",
        "options": [
          {
            "value": "heart",
            "label": "Heart"
          },
          {
            "value": "pin",
            "label": "Pin"
          },
          {
            "value": "dot",
            "label": "Dot"
          }
        ]
      }
    ],
    "more": [
      {
        "key": "order",
        "type": "thumbnails",
        "label": "Order",
        "default": "year",
        "affects": "render",
        "options": [
          {
            "value": "year",
            "label": "By year"
          },
          {
            "value": "listed",
            "label": "As listed"
          }
        ],
        "hint": "By year sorts on the first year you type; As listed keeps your own order (drag the ⠿ handle)."
      },
      {
        "key": "country",
        "type": "thumbnails",
        "label": "Search addresses in",
        "default": "auto",
        "affects": "render",
        "options": [
          {
            "value": "auto",
            "label": "This shop’s country"
          },
          {
            "value": "gb",
            "label": "United Kingdom"
          },
          {
            "value": "ie",
            "label": "Ireland"
          },
          {
            "value": "us",
            "label": "United States"
          },
          {
            "value": "ca",
            "label": "Canada"
          },
          {
            "value": "au",
            "label": "Australia"
          },
          {
            "value": "nz",
            "label": "New Zealand"
          }
        ]
      }
    ]
  },
  "presets": {
    "label": "Try a starting point",
    "options": [
      {
        "id": "journey",
        "label": "Our journey",
        "values": {
          "homes": [
            {
              "label": "The Shore, Leith, Edinburgh",
              "city": "Edinburgh",
              "lat": 55.9757,
              "lon": -3.1702,
              "when": "2009–2012"
            },
            {
              "label": "Beech Road, Chorlton, Manchester",
              "city": "Manchester",
              "lat": 53.4423,
              "lon": -2.2822,
              "when": "2012–2016"
            },
            {
              "label": "Brock Street, Bath",
              "city": "Bath",
              "lat": 51.3862,
              "lon": -2.3627,
              "when": "2016–2021"
            },
            {
              "label": "Catherine Hill, Frome",
              "city": "Frome",
              "lat": 51.2296,
              "lon": -2.322,
              "when": "2021–now"
            }
          ],
          "title": "The Hendersons",
          "subtitle": "every",
          "ownSubtitle": "",
          "captions": "Flat 2, Leith, Edinburgh\nChorlton, Manchester\nBath\nFrome, Somerset",
          "foot": "",
          "look": "journey",
          "typeface": "classic",
          "marker": "heart",
          "order": "year",
          "country": "auto"
        },
        "thumbnail": "design-homes-print-preset-journey.jpg"
      },
      {
        "id": "grid",
        "label": "Every front door",
        "values": {
          "homes": [
            {
              "label": "The Shore, Leith, Edinburgh",
              "city": "Edinburgh",
              "lat": 55.9757,
              "lon": -3.1702,
              "when": "2009–2012"
            },
            {
              "label": "Beech Road, Chorlton, Manchester",
              "city": "Manchester",
              "lat": 53.4423,
              "lon": -2.2822,
              "when": "2012–2016"
            },
            {
              "label": "Brock Street, Bath",
              "city": "Bath",
              "lat": 51.3862,
              "lon": -2.3627,
              "when": "2016–2021"
            },
            {
              "label": "Catherine Hill, Frome",
              "city": "Frome",
              "lat": 51.2296,
              "lon": -2.322,
              "when": "2021–now"
            }
          ],
          "title": "The Hendersons",
          "subtitle": "called",
          "ownSubtitle": "",
          "captions": "Flat 2, Leith, Edinburgh\nChorlton, Manchester\nBath\nFrome, Somerset",
          "foot": "",
          "look": "grid",
          "typeface": "classic",
          "marker": "heart",
          "order": "year",
          "country": "auto"
        },
        "thumbnail": "design-homes-print-preset-grid.jpg"
      },
      {
        "id": "house",
        "label": "Home sweet homes",
        "values": {
          "homes": [
            {
              "label": "The Shore, Leith, Edinburgh",
              "city": "Edinburgh",
              "lat": 55.9757,
              "lon": -3.1702,
              "when": "2009–2012"
            },
            {
              "label": "Beech Road, Chorlton, Manchester",
              "city": "Manchester",
              "lat": 53.4423,
              "lon": -2.2822,
              "when": "2012–2016"
            },
            {
              "label": "Brock Street, Bath",
              "city": "Bath",
              "lat": 51.3862,
              "lon": -2.3627,
              "when": "2016–2021"
            },
            {
              "label": "Catherine Hill, Frome",
              "city": "Frome",
              "lat": 51.2296,
              "lon": -2.322,
              "when": "2021–now"
            }
          ],
          "title": "The Hendersons",
          "subtitle": "door",
          "ownSubtitle": "",
          "captions": "Flat 2, Leith, Edinburgh\nChorlton, Manchester\nBath\nFrome, Somerset",
          "foot": "Wherever we are, we’re home",
          "look": "house",
          "typeface": "classic",
          "marker": "heart",
          "order": "year",
          "country": "auto"
        },
        "thumbnail": "design-homes-print-preset-house.jpg"
      },
      {
        "id": "blueprint",
        "label": "The blueprint",
        "values": {
          "homes": [
            {
              "label": "The Shore, Leith, Edinburgh",
              "city": "Edinburgh",
              "lat": 55.9757,
              "lon": -3.1702,
              "when": "2009–2012"
            },
            {
              "label": "Beech Road, Chorlton, Manchester",
              "city": "Manchester",
              "lat": 53.4423,
              "lon": -2.2822,
              "when": "2012–2016"
            },
            {
              "label": "Brock Street, Bath",
              "city": "Bath",
              "lat": 51.3862,
              "lon": -2.3627,
              "when": "2016–2021"
            },
            {
              "label": "Catherine Hill, Frome",
              "city": "Frome",
              "lat": 51.2296,
              "lon": -2.322,
              "when": "2021–now"
            }
          ],
          "title": "The Hendersons",
          "subtitle": "every",
          "ownSubtitle": "",
          "captions": "Flat 2, Leith, Edinburgh\nChorlton, Manchester\nBath\nFrome, Somerset",
          "foot": "",
          "look": "blueprint",
          "typeface": "classic",
          "marker": "heart",
          "order": "year",
          "country": "auto"
        },
        "thumbnail": "design-homes-print-preset-blueprint.jpg"
      }
    ]
  },
  "recipes": {
    "label": "Ready-made looks",
    "items": [
      {
        "id": "navy-gold",
        "label": "Navy and gold tone",
        "look": {
          "look": "blueprint",
          "typeface": "classic",
          "marker": "heart"
        }
      },
      {
        "id": "garden",
        "label": "Soft garden green",
        "look": {
          "look": "grid",
          "typeface": "editorial",
          "marker": "heart"
        }
      }
    ]
  },
  "cart": {
    "summary": "{title} · {look.label}"
  }
}
