{
  "params": {
    "cut": {
      "type": "choice",
      "options": [
        "brilliant",
        "crystal",
        "octahedron",
        "emerald"
      ],
      "default": "brilliant",
      "label": "Cut",
      "describe": "brilliant (round diamond: flat table, sloped crown, deep pointed pavilion), crystal (tall hexagonal shard pointed at both ends), octahedron (double pyramid), emerald (rectangular step cut with clipped corners)."
    },
    "color": {
      "type": "color",
      "default": "#2fd6a0",
      "label": "Colour",
      "describe": "Gem colour. #2fd6a0 emerald green, #ff3b6b ruby, #3f7bff sapphire, #b35cff amethyst, #ffd23f topaz, #bff3ff diamond."
    },
    "size": {
      "type": "range",
      "min": 0.2,
      "max": 1.2,
      "step": 0.05,
      "default": 0.5,
      "label": "Size",
      "describe": "Height of the gem in metres. 0.5 suits a 1.8 m character; 1.2 is a level-end super gem."
    },
    "halo": {
      "type": "toggle",
      "default": true,
      "label": "Halo",
      "describe": "A thin bright ring around the waist and three little four-point sparkles, so the pickup reads from far away."
    }
  },
  "presets": {
    "ruby": {
      "color": "#ff3b6b",
      "cut": "brilliant"
    },
    "power crystal": {
      "color": "#b35cff",
      "cut": "crystal",
      "size": 0.9
    },
    "diamond bonus": {
      "color": "#bff3ff",
      "cut": "octahedron",
      "size": 0.7,
      "halo": false
    }
  },
  "night": {
    "gem": {
      "zone": "gem",
      "intensity": 1.2,
      "describe": "The gem, its halo and sparkles glow in the gem colour after dark."
    }
  }
}