{
  "version": 2,
  "kind": "door",
  "states": {
    "closed": {
      "appearance": "inherit"
    },
    "open": {
      "appearance": "inherit"
    },
    "locked": {
      "appearance": "inherit"
    }
  },
  "graphs": {
    "interact": {
      "nodes": [
        {
          "id": "start",
          "type": "event",
          "x": 40,
          "y": 80,
          "event": "interact"
        },
        {
          "id": "sample",
          "type": "requestRoll",
          "x": 300,
          "y": 80,
          "audience": {
            "scope": "trigger"
          },
          "expression": "1d20+2",
          "label": "Inspect the chest",
          "visibility": "public"
        }
      ],
      "edges": [
        {
          "from": "start",
          "to": "sample",
          "output": "next",
          "kind": "execution"
        }
      ]
    }
  }
}
