{
  "params": {
    "style": {
      "type": "choice",
      "options": [
        "can",
        "crate",
        "scifi"
      ],
      "default": "can",
      "label": "Style",
      "describe": "can (a 30 cm steel ammo can with a folding handle and a belt of rounds), crate (an 80 cm wooden crate with rope handles and two rows of rifle magazines) or scifi (a 60 cm armoured case with glowing strips and energy cells)."
    },
    "finish": {
      "type": "choice",
      "options": [
        "olive",
        "tan",
        "grey",
        "black",
        "red"
      ],
      "default": "olive",
      "label": "Paint",
      "describe": "Paint of the can or case, and of the crate hardware and magazines: olive (olive drab), tan (desert), grey, black or red (explosives / special ammo)."
    },
    "open": {
      "type": "range",
      "min": 0,
      "max": 1,
      "step": 0.05,
      "default": 0.65,
      "label": "Open",
      "describe": "How far the lid is open: 0 shut, 1 fully open (about 110 degrees) showing the ammo."
    },
    "contents": {
      "type": "toggle",
      "default": true,
      "label": "Contents",
      "describe": "Ammo inside: a belt of brass rounds (can), rifle magazines (crate) or energy cells (scifi). Off: an empty dark interior."
    },
    "glow": {
      "type": "color",
      "default": "#4fd8ff",
      "label": "Glow",
      "describe": "Colour of the sci-fi strips and energy cells (scifi style only). #4fd8ff cyan, #7dff6a green, #ffb02e amber, #ff4a5a red."
    }
  },
  "presets": {
    "ammo can": {
      "style": "can",
      "finish": "olive",
      "open": 0
    },
    "open ammo crate": {
      "style": "crate",
      "finish": "olive",
      "open": 0.8
    },
    "energy cell case": {
      "style": "scifi",
      "finish": "black",
      "glow": "#7dff6a",
      "open": 0.75
    }
  },
  "night": {
    "glow": {
      "zone": "glow",
      "intensity": 1.6,
      "describe": "Sci-fi strips, the lock light and energy cells glow."
    }
  }
}