{
  "params": {
    "pattern": {
      "type": "choice",
      "options": [
        "kilim",
        "medallion",
        "stripes",
        "lattice",
        "border"
      ],
      "default": "kilim",
      "label": "Pattern",
      "describe": "kilim (rows of stepped diamonds between zigzag borders), medallion (a classic rug: a central medallion, corner pieces, guard stripes and a wide border), stripes (bold bands of varying width across the rug), lattice (a pale Berber field crossed by a thin dark diamond lattice), border (a plain field inside a simple contrasting border)."
    },
    "shape": {
      "type": "choice",
      "options": [
        "rect",
        "runner",
        "round"
      ],
      "default": "rect",
      "label": "Shape",
      "describe": "rect (a 2:3 rectangle), runner (a long narrow hallway rug, 60 to 90 cm wide), round (a circle with a bound edge, no fringe)."
    },
    "size": {
      "type": "range",
      "min": 1.2,
      "max": 3.5,
      "step": 0.1,
      "default": 2.4,
      "label": "Length",
      "describe": "Length of the long side in metres (the diameter of a round rug). A 2.4 m rect is 1.6 m wide."
    },
    "colors": {
      "type": "choice",
      "options": [
        "terracotta",
        "indigo",
        "sage",
        "neutral",
        "charcoal"
      ],
      "default": "terracotta",
      "label": "Colourway",
      "describe": "terracotta (rust red, cream, navy, ochre), indigo (deep blue, cream, brick red, gold), sage (soft green, cream, moss, clay), neutral (oatmeal, cream, dark brown), charcoal (dark grey, chalk, burnt orange)."
    },
    "fringe": {
      "type": "toggle",
      "default": true,
      "label": "Fringe",
      "describe": "Cream tassels along both short ends (rect and runner)."
    }
  },
  "presets": {
    "living room kilim": {
      "pattern": "kilim",
      "shape": "rect",
      "size": 2.4,
      "colors": "terracotta"
    },
    "heirloom runner": {
      "pattern": "medallion",
      "shape": "runner",
      "size": 3,
      "colors": "indigo"
    },
    "scandi round": {
      "pattern": "lattice",
      "shape": "round",
      "size": 1.8,
      "colors": "neutral",
      "fringe": false
    }
  },
  "night": null
}