{
  "graph_code": "technical-support",
  "graph_id": 62001,
  "root_node_id": 10,
  "graph_version": "1.0.0",
  "dsl_version": "1.0",
  "schema_version": "1.0",
  "strict_validation": true,
  "default_lang": "en",
  "allowed_langs": [
    "en",
    "es"
  ],
  "nodes": [
    {
      "id": 10,
      "is_terminal": false
    },
    {
      "id": 20,
      "is_terminal": false
    },
    {
      "id": 21,
      "is_terminal": false
    },
    {
      "id": 30,
      "is_terminal": false
    },
    {
      "id": 31,
      "is_terminal": false
    },
    {
      "id": 32,
      "is_terminal": false
    },
    {
      "id": 40,
      "is_terminal": false
    },
    {
      "id": 41,
      "is_terminal": false
    },
    {
      "id": 50,
      "is_terminal": false
    },
    {
      "id": 90,
      "is_terminal": true
    },
    {
      "id": 92,
      "is_terminal": true
    },
    {
      "id": 93,
      "is_terminal": true
    }
  ],
  "edges": [
    {
      "id": 101,
      "from": 10,
      "to": 20
    },
    {
      "id": 102,
      "from": 10,
      "to": 30
    },
    {
      "id": 201,
      "from": 20,
      "to": 21
    },
    {
      "id": 202,
      "from": 20,
      "to": 40
    },
    {
      "id": 203,
      "from": 20,
      "to": 93
    },
    {
      "id": 211,
      "from": 21,
      "to": 50
    },
    {
      "id": 301,
      "from": 30,
      "to": 31
    },
    {
      "id": 302,
      "from": 30,
      "to": 32
    },
    {
      "id": 303,
      "from": 30,
      "to": 40
    },
    {
      "id": 304,
      "from": 30,
      "to": 93
    },
    {
      "id": 311,
      "from": 31,
      "to": 92
    },
    {
      "id": 321,
      "from": 32,
      "to": 50
    },
    {
      "id": 401,
      "from": 40,
      "to": 41
    },
    {
      "id": 402,
      "from": 40,
      "to": 50
    },
    {
      "id": 411,
      "from": 41,
      "to": 50
    },
    {
      "id": 501,
      "from": 50,
      "to": 90
    },
    {
      "id": 502,
      "from": 50,
      "to": 20
    },
    {
      "id": 503,
      "from": 50,
      "to": 30
    },
    {
      "id": 504,
      "from": 50,
      "to": 93
    }
  ],
  "labels": [
    {
      "edge_id": 101,
      "lang": "en",
      "text": "Only one device is affected"
    },
    {
      "edge_id": 101,
      "lang": "es",
      "text": "Solo falla un dispositivo"
    },
    {
      "edge_id": 102,
      "lang": "en",
      "text": "Several devices are affected"
    },
    {
      "edge_id": 102,
      "lang": "es",
      "text": "Fallan varios dispositivos"
    },
    {
      "edge_id": 201,
      "lang": "en",
      "text": "Wi-Fi is disconnected"
    },
    {
      "edge_id": 201,
      "lang": "es",
      "text": "El Wi-Fi está desconectado"
    },
    {
      "edge_id": 202,
      "lang": "en",
      "text": "Wi-Fi is connected; check DNS"
    },
    {
      "edge_id": 202,
      "lang": "es",
      "text": "El Wi-Fi está conectado; comprobar DNS"
    },
    {
      "edge_id": 203,
      "lang": "en",
      "text": "Escalate the device issue"
    },
    {
      "edge_id": 203,
      "lang": "es",
      "text": "Derivar la incidencia del dispositivo"
    },
    {
      "edge_id": 211,
      "lang": "en",
      "text": "Reconnect and test"
    },
    {
      "edge_id": 211,
      "lang": "es",
      "text": "Reconectar y comprobar"
    },
    {
      "edge_id": 301,
      "lang": "en",
      "text": "Operator reports an incident"
    },
    {
      "edge_id": 301,
      "lang": "es",
      "text": "El operador informa de una incidencia"
    },
    {
      "edge_id": 302,
      "lang": "en",
      "text": "Router is offline"
    },
    {
      "edge_id": 302,
      "lang": "es",
      "text": "El router está desconectado"
    },
    {
      "edge_id": 303,
      "lang": "en",
      "text": "Router is online; check DNS"
    },
    {
      "edge_id": 303,
      "lang": "es",
      "text": "El router está conectado; comprobar DNS"
    },
    {
      "edge_id": 304,
      "lang": "en",
      "text": "Escalate the network issue"
    },
    {
      "edge_id": 304,
      "lang": "es",
      "text": "Derivar la incidencia de red"
    },
    {
      "edge_id": 311,
      "lang": "en",
      "text": "Confirm simulated service incident"
    },
    {
      "edge_id": 311,
      "lang": "es",
      "text": "Confirmar incidencia de servicio simulada"
    },
    {
      "edge_id": 321,
      "lang": "en",
      "text": "Restart and test"
    },
    {
      "edge_id": 321,
      "lang": "es",
      "text": "Reiniciar y comprobar"
    },
    {
      "edge_id": 401,
      "lang": "en",
      "text": "DNS check failed"
    },
    {
      "edge_id": 401,
      "lang": "es",
      "text": "Ha fallado la comprobación DNS"
    },
    {
      "edge_id": 402,
      "lang": "en",
      "text": "DNS check passed"
    },
    {
      "edge_id": 402,
      "lang": "es",
      "text": "La comprobación DNS es correcta"
    },
    {
      "edge_id": 411,
      "lang": "en",
      "text": "Refresh DNS and test"
    },
    {
      "edge_id": 411,
      "lang": "es",
      "text": "Actualizar DNS y comprobar"
    },
    {
      "edge_id": 501,
      "lang": "en",
      "text": "Connectivity test passed"
    },
    {
      "edge_id": 501,
      "lang": "es",
      "text": "La prueba de conexión es correcta"
    },
    {
      "edge_id": 502,
      "lang": "en",
      "text": "Repeat the device diagnosis"
    },
    {
      "edge_id": 502,
      "lang": "es",
      "text": "Repetir diagnóstico del dispositivo"
    },
    {
      "edge_id": 503,
      "lang": "en",
      "text": "Repeat the network diagnosis"
    },
    {
      "edge_id": 503,
      "lang": "es",
      "text": "Repetir diagnóstico de la red"
    },
    {
      "edge_id": 504,
      "lang": "en",
      "text": "Connectivity still fails; escalate"
    },
    {
      "edge_id": 504,
      "lang": "es",
      "text": "La conexión sigue fallando; derivar"
    }
  ],
  "conditions": [
    {
      "edge_id": 101,
      "rule": "context_value",
      "params": {
        "key": "scope",
        "operator": "==",
        "value": "device"
      }
    },
    {
      "edge_id": 102,
      "rule": "context_value",
      "params": {
        "key": "scope",
        "operator": "==",
        "value": "network"
      }
    },
    {
      "edge_id": 201,
      "rule": "context_value",
      "params": {
        "key": "wifi_connected",
        "operator": "==",
        "value": false
      }
    },
    {
      "edge_id": 202,
      "rule": "context_value",
      "params": {
        "key": "wifi_connected",
        "operator": "==",
        "value": true
      }
    },
    {
      "edge_id": 301,
      "rule": "context_value",
      "params": {
        "key": "operator_incident",
        "operator": "==",
        "value": true
      }
    },
    {
      "edge_id": 302,
      "rule": "context_value",
      "params": {
        "key": "operator_incident",
        "operator": "==",
        "value": false
      }
    },
    {
      "edge_id": 302,
      "rule": "context_value",
      "params": {
        "key": "router_online",
        "operator": "==",
        "value": false
      }
    },
    {
      "edge_id": 303,
      "rule": "context_value",
      "params": {
        "key": "operator_incident",
        "operator": "==",
        "value": false
      }
    },
    {
      "edge_id": 303,
      "rule": "context_value",
      "params": {
        "key": "router_online",
        "operator": "==",
        "value": true
      }
    },
    {
      "edge_id": 401,
      "rule": "context_value",
      "params": {
        "key": "dns_ok",
        "operator": "==",
        "value": false
      }
    },
    {
      "edge_id": 402,
      "rule": "context_value",
      "params": {
        "key": "dns_ok",
        "operator": "==",
        "value": true
      }
    },
    {
      "edge_id": 501,
      "rule": "context_value",
      "params": {
        "key": "connection_restored",
        "operator": "==",
        "value": true
      }
    },
    {
      "edge_id": 502,
      "rule": "context_value",
      "params": {
        "key": "connection_restored",
        "operator": "==",
        "value": false
      }
    },
    {
      "edge_id": 502,
      "rule": "context_value",
      "params": {
        "key": "scope",
        "operator": "==",
        "value": "device"
      }
    },
    {
      "edge_id": 503,
      "rule": "context_value",
      "params": {
        "key": "connection_restored",
        "operator": "==",
        "value": false
      }
    },
    {
      "edge_id": 503,
      "rule": "context_value",
      "params": {
        "key": "scope",
        "operator": "==",
        "value": "network"
      }
    },
    {
      "edge_id": 504,
      "rule": "context_value",
      "params": {
        "key": "connection_restored",
        "operator": "==",
        "value": false
      }
    }
  ],
  "metadata": [
    {
      "id": 101,
      "node_id": 10,
      "lang": "en",
      "title": "Where is the connection problem?"
    },
    {
      "id": 102,
      "node_id": 10,
      "lang": "es",
      "title": "¿Dónde aparece el problema de conexión?"
    },
    {
      "id": 201,
      "node_id": 20,
      "lang": "en",
      "title": "Check the device and Wi-Fi"
    },
    {
      "id": 202,
      "node_id": 20,
      "lang": "es",
      "title": "Comprobar el dispositivo y el Wi-Fi"
    },
    {
      "id": 211,
      "node_id": 21,
      "lang": "en",
      "title": "Reconnect the device to Wi-Fi"
    },
    {
      "id": 212,
      "node_id": 21,
      "lang": "es",
      "title": "Reconectar el dispositivo al Wi-Fi"
    },
    {
      "id": 301,
      "node_id": 30,
      "lang": "en",
      "title": "Check the service and router"
    },
    {
      "id": 302,
      "node_id": 30,
      "lang": "es",
      "title": "Comprobar el servicio y el router"
    },
    {
      "id": 311,
      "node_id": 31,
      "lang": "en",
      "title": "Service incident detected"
    },
    {
      "id": 312,
      "node_id": 31,
      "lang": "es",
      "title": "Incidencia de servicio detectada"
    },
    {
      "id": 321,
      "node_id": 32,
      "lang": "en",
      "title": "Restart the router in the simulation"
    },
    {
      "id": 322,
      "node_id": 32,
      "lang": "es",
      "title": "Reiniciar el router en la simulación"
    },
    {
      "id": 401,
      "node_id": 40,
      "lang": "en",
      "title": "Check name resolution (DNS)"
    },
    {
      "id": 402,
      "node_id": 40,
      "lang": "es",
      "title": "Comprobar la resolución de nombres (DNS)"
    },
    {
      "id": 411,
      "node_id": 41,
      "lang": "en",
      "title": "Refresh the DNS configuration in the simulation"
    },
    {
      "id": 412,
      "node_id": 41,
      "lang": "es",
      "title": "Actualizar la configuración DNS en la simulación"
    },
    {
      "id": 501,
      "node_id": 50,
      "lang": "en",
      "title": "Verify internet connectivity"
    },
    {
      "id": 502,
      "node_id": 50,
      "lang": "es",
      "title": "Verificar la conexión a internet"
    },
    {
      "id": 901,
      "node_id": 90,
      "lang": "en",
      "title": "Connection restored"
    },
    {
      "id": 902,
      "node_id": 90,
      "lang": "es",
      "title": "Conexión restablecida"
    },
    {
      "id": 921,
      "node_id": 92,
      "lang": "en",
      "title": "Operator incident identified"
    },
    {
      "id": 922,
      "node_id": 92,
      "lang": "es",
      "title": "Incidencia del operador identificada"
    },
    {
      "id": 931,
      "node_id": 93,
      "lang": "en",
      "title": "Escalated to technical support"
    },
    {
      "id": 932,
      "node_id": 93,
      "lang": "es",
      "title": "Derivado a soporte técnico"
    }
  ],
  "outputs": [
    {
      "node_id": 90,
      "type": "content",
      "lang": "en",
      "content": "The simulated connectivity check passed. No real device settings were changed."
    },
    {
      "node_id": 90,
      "type": "content",
      "lang": "es",
      "content": "La comprobación de conectividad simulada ha sido correcta. No se ha modificado ningún dispositivo real."
    },
    {
      "node_id": 92,
      "type": "content",
      "lang": "en",
      "content": "The fictional operator reports a service incident. This is a simulated diagnosis; no ticket was sent."
    },
    {
      "node_id": 92,
      "type": "content",
      "lang": "es",
      "content": "El operador ficticio comunica una incidencia de servicio. Es un diagnóstico simulado; no se ha enviado ningún ticket."
    },
    {
      "node_id": 93,
      "type": "content",
      "lang": "en",
      "content": "The issue needs further investigation. A support handoff has been simulated; no real request was submitted."
    },
    {
      "node_id": 93,
      "type": "content",
      "lang": "es",
      "content": "La incidencia requiere más investigación. Se ha simulado la derivación a soporte; no se ha enviado ninguna solicitud real."
    }
  ]
}
