{
  "graph_code": "learning-path-review",
  "root_node_id": 10,
  "default_lang": "en",
  "allowed_langs": [
    "en",
    "es"
  ],
  "nodes": [
    {
      "id": 10
    },
    {
      "id": 20,
      "is_terminal": true
    },
    {
      "id": 30,
      "is_terminal": true
    }
  ],
  "edges": [
    {
      "id": 101,
      "from": 10,
      "to": 20
    },
    {
      "id": 102,
      "from": 10,
      "to": 30
    }
  ],
  "conditions": [
    {
      "edge_id": 102,
      "rule": "context_value",
      "params": {
        "key": "practiceEnabled",
        "operator": "==",
        "value": true
      }
    }
  ],
  "metadata": [
    {
      "node_id": 10,
      "lang": "en",
      "title": "How would you like to learn?",
      "description": "Choose a guide to read or an exercise to try.",
      "extras": {
        "screen": "learning-choice"
      }
    },
    {
      "node_id": 10,
      "lang": "es",
      "title": "¿Cómo quieres aprender?",
      "description": "Elige una guía para leer o un ejercicio para practicar.",
      "extras": {
        "screen": "learning-choice"
      }
    },
    {
      "node_id": 20,
      "lang": "en",
      "title": "Guide selected",
      "extras": {
        "mode": "guide"
      }
    },
    {
      "node_id": 20,
      "lang": "es",
      "title": "Guía seleccionada",
      "extras": {
        "mode": "guide"
      }
    },
    {
      "node_id": 30,
      "lang": "en",
      "title": "Practice selected",
      "extras": {
        "mode": "practice"
      }
    },
    {
      "node_id": 30,
      "lang": "es",
      "title": "Práctica seleccionada",
      "extras": {
        "mode": "practice"
      }
    }
  ],
  "labels": [
    {
      "edge_id": 101,
      "lang": "en",
      "text": "Read the guide"
    },
    {
      "edge_id": 101,
      "lang": "es",
      "text": "Leer la guía"
    },
    {
      "edge_id": 102,
      "lang": "en",
      "text": "Practise in the browser"
    },
    {
      "edge_id": 102,
      "lang": "es",
      "text": "Practicar en el navegador"
    }
  ],
  "outputs": [
    {
      "node_id": 20,
      "type": "content",
      "lang": "en",
      "content": "Read the guide at your own pace."
    },
    {
      "node_id": 20,
      "type": "url",
      "lang": "en",
      "url": "https://example.org/learning/guide",
      "label": "Open the guide"
    },
    {
      "node_id": 20,
      "type": "content",
      "lang": "es",
      "content": "Lee la guía a tu ritmo."
    },
    {
      "node_id": 20,
      "type": "url",
      "lang": "es",
      "url": "https://example.org/learning/guide",
      "label": "Abrir la guía"
    },
    {
      "node_id": 30,
      "type": "redirect",
      "url": "https://example.org/learning/practice"
    }
  ]
}
