{
  "params": {
    "style": {
      "type": "choice",
      "options": [
        "plank",
        "bars"
      ],
      "default": "plank",
      "label": "Style",
      "describe": "plank (solid vertical planks with iron straps and studs, a treasure room or keep door) or bars (an iron grid gate, like a prison cell or a small portcullis you can see through)."
    },
    "wood": {
      "type": "choice",
      "options": [
        "oak",
        "dark",
        "red stained",
        "grey"
      ],
      "default": "oak",
      "label": "Wood",
      "describe": "Plank colour: oak (warm brown), dark (old, near black), red stained (painted, a bit sinister), grey (weathered, damp). Bars style shows wood only on the frame-side post."
    },
    "iron": {
      "type": "choice",
      "options": [
        "black",
        "rusty",
        "bronze",
        "silver"
      ],
      "default": "black",
      "label": "Iron",
      "describe": "Metal of straps, studs, bars, hinges and lock: black (wrought iron), rusty (orange-brown), bronze (old gold-brown), silver (bright, enchanted or royal)."
    },
    "lock": {
      "type": "toggle",
      "default": true,
      "label": "Lock",
      "describe": "Lock plate with a keyhole and a ring pull on the latch side. Off leaves only a plain pull ring."
    },
    "open": {
      "type": "range",
      "min": 0,
      "max": 1,
      "step": 0.05,
      "default": 0,
      "label": "Open",
      "describe": "How far the door is swung open, outward toward +Z. 0 shut, 1 open about 100 degrees."
    }
  },
  "presets": {
    "prison cell": {
      "style": "bars",
      "iron": "rusty",
      "lock": true
    },
    "vault door": {
      "wood": "dark",
      "iron": "bronze"
    },
    "enchanted gate": {
      "style": "bars",
      "iron": "silver",
      "open": 0.35
    }
  },
  "night": null
}