{
  "format": "automata-studio/workspace",
  "schema": 1,
  "app": "dev",
  "machine": "DFA",
  "config": {
    "sym": {
      "eps": "ε",
      "any": "Σ",
      "blank": "⊔",
      "leftMarker": "⊢",
      "rightMarker": "⊣",
      "stackBottom": "Z",
      "lambda": "λ"
    }
  },
  "sigma": [
    "a",
    "0",
    "#"
  ],
  "stackAlpha": [],
  "outputAlpha": [],
  "tapeCount": 1,
  "states": [
    {
      "id": "s1",
      "x": 140,
      "y": 330,
      "name": "none"
    },
    {
      "id": "s2",
      "x": 310,
      "y": 160,
      "name": "a"
    },
    {
      "id": "s3",
      "x": 310,
      "y": 330,
      "name": "0"
    },
    {
      "id": "s4",
      "x": 310,
      "y": 500,
      "name": "#"
    },
    {
      "id": "s5",
      "x": 480,
      "y": 160,
      "name": "a0"
    },
    {
      "id": "s6",
      "x": 480,
      "y": 330,
      "name": "a#"
    },
    {
      "id": "s7",
      "x": 480,
      "y": 500,
      "name": "0#"
    },
    {
      "id": "s8",
      "x": 650,
      "y": 330,
      "name": "a0#"
    }
  ],
  "transitions": [
    {
      "id": "t1",
      "from": "s1",
      "to": "s2",
      "symbol": "a"
    },
    {
      "id": "t2",
      "from": "s1",
      "to": "s3",
      "symbol": "0"
    },
    {
      "id": "t3",
      "from": "s1",
      "to": "s4",
      "symbol": "#"
    },
    {
      "id": "t4",
      "from": "s2",
      "to": "s2",
      "symbol": "a"
    },
    {
      "id": "t5",
      "from": "s2",
      "to": "s5",
      "symbol": "0"
    },
    {
      "id": "t6",
      "from": "s2",
      "to": "s6",
      "symbol": "#"
    },
    {
      "id": "t7",
      "from": "s3",
      "to": "s5",
      "symbol": "a"
    },
    {
      "id": "t8",
      "from": "s3",
      "to": "s3",
      "symbol": "0"
    },
    {
      "id": "t9",
      "from": "s3",
      "to": "s7",
      "symbol": "#"
    },
    {
      "id": "t10",
      "from": "s4",
      "to": "s6",
      "symbol": "a"
    },
    {
      "id": "t11",
      "from": "s4",
      "to": "s7",
      "symbol": "0"
    },
    {
      "id": "t12",
      "from": "s4",
      "to": "s4",
      "symbol": "#"
    },
    {
      "id": "t13",
      "from": "s5",
      "to": "s5",
      "symbol": "a"
    },
    {
      "id": "t14",
      "from": "s5",
      "to": "s5",
      "symbol": "0"
    },
    {
      "id": "t15",
      "from": "s5",
      "to": "s8",
      "symbol": "#"
    },
    {
      "id": "t16",
      "from": "s6",
      "to": "s6",
      "symbol": "a"
    },
    {
      "id": "t17",
      "from": "s6",
      "to": "s8",
      "symbol": "0"
    },
    {
      "id": "t18",
      "from": "s6",
      "to": "s6",
      "symbol": "#"
    },
    {
      "id": "t19",
      "from": "s7",
      "to": "s8",
      "symbol": "a"
    },
    {
      "id": "t20",
      "from": "s7",
      "to": "s7",
      "symbol": "0"
    },
    {
      "id": "t21",
      "from": "s7",
      "to": "s7",
      "symbol": "#"
    },
    {
      "id": "t22",
      "from": "s8",
      "to": "s8",
      "symbol": "a"
    },
    {
      "id": "t23",
      "from": "s8",
      "to": "s8",
      "symbol": "0"
    },
    {
      "id": "t24",
      "from": "s8",
      "to": "s8",
      "symbol": "#"
    }
  ],
  "startId": "s1",
  "accepts": [
    "s8"
  ],
  "notes": [],
  "dividers": [],
  "blocks": [],
  "meta": {
    "title": "A password with a letter, a digit and a symbol",
    "blurb": "Three yes-or-no facts, eight states — a cube, one axis per requirement. a, 0 and # stand for any letter, digit and symbol.",
    "inputs": [
      {
        "w": "#0a",
        "expect": "accept"
      },
      {
        "w": "##aa00#",
        "expect": "accept"
      },
      {
        "w": "#0a#",
        "expect": "accept"
      },
      {
        "w": "#0#a00a#aaaa##",
        "expect": "accept"
      },
      {
        "w": "a0a",
        "expect": "reject"
      },
      {
        "w": "#aa#",
        "expect": "reject"
      },
      {
        "w": "",
        "expect": "reject"
      },
      {
        "w": "##00#",
        "expect": "reject"
      }
    ],
    "library": {
      "author": {
        "login": "thethinkmachine"
      },
      "license": "CC-BY-4.0",
      "tags": [
        "validation",
        "product-construction",
        "security"
      ],
      "difficulty": "intro"
    }
  }
}
